1 2005-02-22 Tom Tromey <tromey@redhat.com>
3 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
5 2005-02-22 Tom Tromey <tromey@redhat.com>
8 * verify.cc (type::EITHER): New constant.
9 (check_field_constant): Use it.
10 (type::compatible): Handle it.
12 2005-02-22 Michael Koch <konqueror@gmx.de>
14 * gnu/java/security/PolicyFile.java,
15 gnu/java/security/pkcs/PKCS7SignedData.java,
16 gnu/java/security/pkcs/SignerInfo.java:
17 Fixed copyright header.
19 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
21 * java/beans/PropertyDescriptor.java
22 (PropertyDescriptor,setReadMethod): Set propertyType.
24 2005-02-22 Michael Koch <konqueror@gmx.de>
26 * java/nio/DirectByteBufferImpl.java
27 (owner): Fixed formatting of javadoc.
28 * java/text/DateFormat.java
29 (getAvailableLocales): Fixed formatting.
30 * java/text/SimpleDateFormat.java:
31 Fixed formatting and import statement order.
32 * java/util/Calendar.java
33 (Calendar): Fixed javadoc to be HTML compliant.
34 * java/util/SimpleTimeZone.java:
37 2005-02-22 Roman Kennke <roman@ontographics.com>
39 * javax/swing/plaf/basic/BasicLookAndFeel.java
40 (initComponentDefaults): Fixed Button left and right margin.
42 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
44 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
48 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
49 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
50 (getWidth): New method.
51 (getHeight): Likewise.
52 (create): Remove width, height and insets parameters. Move size
54 (realize_cb): ... here. New function.
55 (connectSignals): Connect realize_cb.
56 (request_frame_extents): Remove FIXME. Move
57 postInsetsChangedEvent lookup ...
58 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
59 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
60 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
62 (windowGetWidthID): Likewise.
63 (windowGetHeightID): Likewise.
65 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
68 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
69 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
71 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
73 Merge serialization from GNU Classpath.
74 * gcj/method.h: Add missing #includes.
75 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
76 primitive class IDs on the stream here...
77 (resolveClass): ...not here.
78 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
80 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
81 setLongNative, setIntNative, setShortNative, setCharNative,
82 setByteNative, setBooleanNative, setObjectNative): New native methods.
83 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
84 setLongNative, setIntNative, setShortNative, setCharNative,
85 setByteNative, setBooleanNative, setObjectNative): Implement them.
86 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
87 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
89 (callConstructor): Removed.
90 (getCallersClassLoader): Removed.
91 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
92 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
93 to control whether setting final field values is permitted. Call
94 getAddr() with checkFinal parameter instead of setAddr().
95 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
96 only if not done already.
97 (getAddr): Add checkFinal parameter. Do the final field check only if
101 2005-02-21 Mark Wielaard <mark@klomp.org>
104 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
107 2005-02-21 Mark Wielaard <mark@klomp.org>
110 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
111 without a super class and us ObjectStreamClass.lookupForClassObject().
112 (resolveClass): Check for primitive types.
113 (lookupClass): Return null when argument is null.
115 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
117 * java/io/ObjectInputStream.java
118 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
120 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
122 * java/io/ObjectOutputStream.java
123 (writeObject, callWriteMethod): Replaced reflection with accessing
124 cached info in ObjectStreamClass.
125 (getMethod): Removed.
126 * java/io/ObjectStreamClass.java
127 (findMethod): Added check to make sure the method found has the
129 (cacheMethods): Added writeReplace and writeObject methods.
130 (setFlags): Look at new writeObjectMethod field instead of doing
132 (writeReplaceMethod): New field.
133 (writeObjectMethod): New field.
135 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
136 Jeroen Frijters <jeroen@frijters.net>
138 * java/io/ObjectInputStream.java
139 (newObject): Changed prototype. Get a constructor reflect object
141 (callConstructor): Removed.
142 (allocateObject): Changed prototype.
143 (readClassDescriptor): Build the constructor reflection directly.
144 (readObject): Invoke newObject using the new prototype.
146 * java/io/ObjectStreamClass.java
147 (firstNonSerializableParent): Removed.
148 (firstNonSerializableParentConstructor): Added.
150 2005-02-21 Mark Wielaard <mark@klomp.org>
152 * gnu/java/locale/LocaleInformation_en.java: Extend
153 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
155 2005-02-21 Mark Wielaard <mark@klomp.org>
157 * java/text/SimpleDateFormat.java
158 (SimpleDateFormat(String, DateFormatSymbols)): Throw
159 NullPointerException when formatData is null.
161 2005-02-21 Mark Wielaard <mark@klomp.org>
163 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
164 taking dstSavings into account.
166 2005-02-21 Sven de Marothy <sven@physto.se>
168 * java/text/SimpleDateFormat.java,
169 (parse): Set correct DST_OFFSET to the correct value.
171 2005-02-21 Mark Wielaard <mark@klomp.org>
173 * java/util/SimpleTimeZone.java (checkRule): Throw
174 IllegalArgumentException when month out of range.
176 2005-02-21 Sven de Marothy <sven@physto.se>
178 * java/util/GregorianCalendar.java,
179 (add): Don't set fields directly anymore. Use set()
181 2005-02-21 Mark Wielaard <mark@klomp.org>
183 * java/text/SimpleDateFormat.java (CompiledField.toString):
184 Use StringBuffer, not StringBuilder.
185 (toString): Likewise.
187 2005-02-21 Sven de Marothy <sven@physto.se>
189 * java/util/Calendar.java
190 (clear): Dates should clear to local time.
191 * java/util/GregorianCalendar.java
192 (computeTime): Fix priority problem with DAY_OF_WEEK,
193 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
195 2005-02-21 Sven de Marothy <sven@physto.se>
197 * java/util/Calendar.java
198 (Calendar): Constructor should clear fields.
200 2005-02-21 Sven de Marothy <sven@physto.se>
202 * java/text/SimpleDateFormat.java
203 (parse): Tweak handling of 2-year dates
204 * java/util/Calendar.java
205 (clear): Clear fields to correct value.
206 * java/util/GregorianCalendar.java
207 (computeTime): Correct handling of time zones.
208 Correct field minimum values.
210 2005-02-21 Sven de Marothy <sven@physto.se>
212 * java/util/Calendar.java
213 (set) Invalidate all fields on first call to set().
215 2005-02-21 Sven de Marothy <sven@physto.se>
217 * java/util/GregorianCalendar.java
218 (computeTime): Fixed handling of time zones.
220 2005-02-21 Sven de Marothy <sven@physto.se>
222 * java/util/Calendar.java
223 (clear): Set values to Epoch instead of zero.
224 (set): Set isSet to the relevant field pattern instead of just
226 * java/util/GregorianCalendar.java
227 (getBundle): Removed.
228 (getDayOfYear): Removed.
229 (getFirstDayOfMonth): New private method.
230 (nonLeniencyCheck): New private method.
231 (computeTime): Correct handling of insufficient data.
233 2005-02-21 Sven de Marothy <sven@physto.se>
235 * java/util/Calendar.java: Invalidate ERA field on setting
237 * java/util/SimpleTimeZone.java:
238 (getDaysInMonth): Reimplemented.
239 * java/util/GregorianCalendar.java:
240 (getLinearTime): Removed.
241 (isLeapYear(int,boolean)): Removed.
242 (before(), after()): Removed.
243 (computeTime): Reimplemented.
245 2005-02-21 Sven de Marothy <sven@physto.se>
247 * java/util/Calendar.java: Reformatted.
248 * java/util/GregorianCalendar.java: Reformatted.
249 * java/util/SimpleTimeZone.java: Reformatted.
251 2005-02-21 Sven de Marothy <sven@physto.se>
253 * java/util/GregorianCalendar.java
254 (GregorianCalendar): Update fields in the constructor
256 2005-02-21 Noa Resare <noa@resare.com>
258 * java/util/Calendar.java (explicitDSTOffset): New instance field.
259 (set(int,int)): Set and use new field.
260 (set(int,int,int)): Check new field.
262 2005-02-21 Noa Resare <address@hidden>
264 * java/util/Calendar.java(set):
265 Fix for DST related regression.
267 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
269 * java/util/Calendar.java
270 (setTimeInMillis): Added call to clear, removed computeFields call.
271 * java/util/Date.java
272 (Date(int,int,int,int,int,int)): Removed workaround for
273 GregorianCalendar bug.
274 * java/util/GregorianCalendar.java
275 (GregorianCalendar): Chained all constructors to a (new)
277 (computeTime): Fixed support for lenient month treatment.
278 (getLinearDay): Return long instead of int.
279 (calculateDay): Added fields argument and changed day argument
282 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
284 * java/text/SimpleDateFormat.java
285 Lots of documentation updates.
286 (readObject(java.io.ObjectInputStream)): Wraps
287 IllegalArgumentException as specified.
288 (compileFormat(String)): Uses standardChars
289 rather than the local pattern characters.
290 Throws IllegalArgumentException rather than
292 (toString()): Extended to include all variables
294 (translateLocalizedPattern(String, String, String)):
295 Renamed to better define the use of this method.
297 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
299 * java/text/DateFormat.java:
300 Documented pattern character offset constants and
302 (Field): Added new static fields for new pattern chars.
303 * java/text/SimpleDateFormat.java:
304 (CompiledField): Changed name of FieldSizePair class
305 to CompiledField after adding the character as an
306 attribute. Changed fields to private and added
307 accessors to give encapsulation.
308 (CompiledField.CompiledField(int,int,char)): Extended
309 with character field.
310 (CompiledField.getField()): New accessor method.
311 (CompiledField.getSize()): New acceessor method.
312 (CompiledField.getCharacter()): New accessor method.
313 (CompiledField.toString()): Added primarily for debugging.
314 (standardChars): Now uses extended 24 character sequence.
315 (compileFormat(String)): Changed to use CompiledField.
316 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
317 java.text.FieldPosition)): Changed to use CompiledField.
318 New handler for RFC 822 timezones added.
320 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
322 * java/text/SimpleDateFormat.java:
323 (parse(String, java.text.ParsePosition)):
324 Changed 'E' and 'M' cases to use both
325 short and long names. Extended 'z'
326 case to also handle 'Z', and deal
327 with simple GMT offsets such as +0100.
328 (computeOffset(String)): New private method,
329 which converts a GMT offset specification,
330 such as GMT-0500 to a numeric offset in
332 * java/util/TimeZone.java:
333 (timezones()): Added "CEST", the daylight
334 savings time version of "CET", or Central
337 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
339 * java/text/SimpleDateFormat.java:
340 (parse): Set the DST offset to 0 when parsing
341 GMT offset timezones.
343 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
345 * java/text/SimpleDateFormat.java:
346 (parse): Use offset to set ZONE_OFFSET
347 rather than the DST_OFFSET, so that
348 GMT offset timezones change the right
351 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
353 * java/text/SimpleDateFormat.java:
354 (getDateFormatSymbols()): return a copy
355 (setDateFormatSymbols(java.text.DateFormatSymbols)):
356 throw exception on null input
357 (clone()): implemented to clone
360 2005-02-21 Sven de Marothy <sven@physto.se>
362 * java/text/SimpleDateFormat.java
363 (parse): comparison should be case-insensitive, ignore null
366 2005-02-21 Robert Schuster <theBohemian@gmx.net>
368 * gnu/java/beans/IntrospectionIncubator.java
369 (addMethod) Reverts the patch that ntroduced a regression (see bug
370 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
372 2005-02-21 Michael Koch <konqueror@gmx.de>
374 * java/awt/Checkbox.java
375 (next_checkbox_number): New static variable.
376 (generateName): New method.
377 (getUniqueLong): Likewise.
378 * java/awt/Window.java
379 (next_window_number): New static variable.
380 (generateName): New method.
381 (getUniqueLong): Likewise.
383 2005-02-21 Mark Wielaard <mark@klomp.org>
385 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
388 2005-02-21 Andrew Haley <aph@redhat.com>
390 * Makefile.in: Rebuilt.
391 * Makefile.am (nat_source_files): Added natLogger.cc.
392 * java/util/logging/natLogger.cc: New file.
393 * java/util/logging/Logger.java (getCallerStackFrame): Now
396 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
398 * Makefile.am (all_property_files): Remove left over.
399 (classes.stamp): Add stamp for the ONESTEP build, also known as
400 --enable-libgcj-multifile.
401 * Makefile.in: Regenerated.
403 2005-02-21 Michael Koch <konqueror@gmx.de>
405 * java/awt/Button.java,
406 java/awt/Container.java,
409 java/text/CollationElementIterator.java,
410 java/text/RuleBasedCollator.java,
411 java/util/PropertyPermission.java:
412 Fixed formatting issues all over.
414 2005-02-21 Mark Wielaard <mark@klomp.org>
416 * java/io/FileDescriptor.java (sync): Add real exception to
419 2005-02-21 Michael Koch <konqueror@gmx.de>
421 * java/io/InputStreamReader.java:
424 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
427 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
429 2005-02-20 Dalibor Topic <robilad@kaffe.org>
431 * libraries/javalib/gnu/regexp/RE.java,
432 libraries/javalib/java/io/ObjectInputStream.java,
433 libraries/javalib/java/security/AllPermission.java,
434 libraries/javalib/java/security/BasicPermission.java,
435 libraries/javalib/java/security/Permissions.java,
436 libraries/javalib/java/text/MessageFormat.java:
437 Made 'inner' classes real public static inner classes,
438 and made them final where possible, or removed them
441 2005-02-20 Michael Koch <konqueror@gmx.de>
443 * gnu/java/text/FormatCharacterIterator.java:
444 Removed redundant modifiers.
446 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
448 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
451 2005-02-19 Michael Koch <konqueror@gmx.de>
453 * Makefile.am: Added new files in gnu/java/beans and
454 java/beans/XMLDecoder.java.
455 * Makefile.in: Regenerated.
457 2005-02-19 Robert Schuster <thebohemian@gmx.net>
459 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
460 assignment behavior by using java.lang.reflect.Array.set()
463 2005-02-19 Dalibor Topic <robilad@kaffe.org>
465 * gnu/java/beans/EmptyBeanInfo.java,
466 gnu/java/beans/info/ComponentBeanInfo.java:
467 Removed unused files.
469 2005-02-19 Robert Schuster <thebohemian@gmx.net>
471 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
472 of AppletStub for java.beans.Beans.instantiate.
473 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
475 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
476 to be conformant with Javadoc guidelines.
477 (instantiate): Added two more overloaded variants, reworked user
478 documentation, fixed exception behavior, fixed behavior when
481 2005-02-19 Mark Wielaard <mark@klomp.org>
483 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
485 * gnu/java/beans/decoder/DummyContext.java: Likewise.
487 2005-02-19 Robert Schuster <theBohemian@gmx.net>
489 * gnu/java/beans/decoder/AbstractContext.java,
490 gnu/java/beans/decoder/AbstractCreatableContext.java,
491 gnu/java/beans/decoder/AbstractElementHandler.java,
492 gnu/java/beans/decoder/AbstractObjectContext.java,
493 gnu/java/beans/decoder/ArrayContext.java,
494 gnu/java/beans/decoder/ArrayHandler.java,
495 gnu/java/beans/decoder/AssemblyException.java,
496 gnu/java/beans/decoder/BooleanHandler.java,
497 gnu/java/beans/decoder/ByteHandler.java,
498 gnu/java/beans/decoder/CharHandler.java,
499 gnu/java/beans/decoder/ClassHandler.java,
500 gnu/java/beans/decoder/ConstructorContext.java,
501 gnu/java/beans/decoder/Context.java,
502 gnu/java/beans/decoder/DecoderContext.java,
503 gnu/java/beans/decoder/DefaultExceptionListener.java,
504 gnu/java/beans/decoder/DoubleHandler.java,
505 gnu/java/beans/decoder/DummyContext.java,
506 gnu/java/beans/decoder/DummyHandler.java,
507 gnu/java/beans/decoder/ElementHandler.java,
508 gnu/java/beans/decoder/FloatHandler.java,
509 gnu/java/beans/decoder/GrowableArrayContext.java,
510 gnu/java/beans/decoder/IndexContext.java,
511 gnu/java/beans/decoder/IntHandler.java,
512 gnu/java/beans/decoder/JavaHandler.java,
513 gnu/java/beans/decoder/LongHandler.java,
514 gnu/java/beans/decoder/MethodContext.java,
515 gnu/java/beans/decoder/MethodFinder.java,
516 gnu/java/beans/decoder/NullHandler.java,
517 gnu/java/beans/decoder/ObjectContext.java,
518 gnu/java/beans/decoder/ObjectHandler.java,
519 gnu/java/beans/decoder/PersistenceParser.java,
520 gnu/java/beans/decoder/PropertyContext.java,
521 gnu/java/beans/decoder/ShortHandler.java,
522 gnu/java/beans/decoder/SimpleHandler.java,
523 gnu/java/beans/decoder/StaticMethodContext.java,
524 gnu/java/beans/decoder/StringHandler.java,
525 gnu/java/beans/decoder/VoidHandler.java: New class
526 implementing java.beans.XMLDecoder decoding functionality.
527 * java/beans/XMLDecoder.java: New class.
529 2005-02-19 Michael Koch <konqueror@gmx.de>
531 * javax/swing/JTextField.java
532 (notfiyAction): Added javadoc.
534 2005-02-19 Sven de Marothy <sven@physto.se>
536 * javax/swing/SpinnerDateModel.java: Implemented.
538 2005-02-19 Michael Koch <konqueror@gmx.de>
540 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
541 * Makefile.in: Regenerated.
543 2005-02-19 Michael Koch <konqueror@gmx.de>
545 * gnu/java/nio/SelectorImpl.java:
546 Reworked import statements.
547 (register): Removed unused code.
548 * java/nio/channels/Channels.java: Reformatted.
549 * java/nio/charset/Charset.java: Likewise.
550 * java/rmi/server/RemoteObject.java
551 (serialVersionUID): Made private.
552 * java/rmi/server/UID.java
553 (serialVersionUID): Likewise.
555 2005-02-19 Michael Koch <konqueror@gmx.de>
557 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
558 gnu/java/net/protocol/ftp/BlockInputStream.java,
559 gnu/java/net/protocol/ftp/BlockOutputStream.java,
560 gnu/java/net/protocol/ftp/CompressedInputStream.java,
561 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
562 gnu/java/net/protocol/ftp/DTPInputStream.java,
563 gnu/java/net/protocol/ftp/DTP.java,
564 gnu/java/net/protocol/ftp/DTPOutputStream.java,
565 gnu/java/net/protocol/ftp/FTPConnection.java,
566 gnu/java/net/protocol/ftp/FTPException.java,
567 gnu/java/net/protocol/ftp/FTPResponse.java,
568 gnu/java/net/protocol/ftp/FTPURLConnection.java,
569 gnu/java/net/protocol/ftp/Handler.java,
570 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
571 gnu/java/net/protocol/ftp/StreamInputStream.java,
572 gnu/java/net/protocol/ftp/StreamOutputStream.java,
573 gnu/java/net/CRLFInputStream.java,
574 gnu/java/net/CRLFOutputStream.java,
575 gnu/java/net/GetLocalHostAction.java,
576 gnu/java/net/protocol/ftp/package.html: New files.
577 * Makefile.am: Added new files.
578 * Makefile.in: Regenerated.
580 2005-02-18 Tom Tromey <tromey@redhat.com>
582 * link.cc (make_vtable): Remove abstract method check.
583 (append_partial_itable): Likewise.
586 * verify.cc (type::equals): Fixed test.
587 * testsuite/libjava.lang/PR20056.out: New file.
588 * testsuite/libjava.lang/PR20056.java: New file.
590 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
592 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
593 not the HashEntry. Reported by Jean-Marie White.
595 2005-02-18 Tom Tromey <tromey@redhat.com>
598 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
599 * link.cc (has_field_p): New function.
600 * verify.cc (check_field_constant): Added 'putfield' argument.
601 (verify_instructions_0): Updated.
602 (type::equals): New method.
604 2005-02-18 Anthony Green <green@redhat.com>
606 * NEWS: Draft of libgcj NEWS for 4.0.
608 2005-02-18 Anthony Green <green@redhat.com>
610 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
611 architecture names to "i386" for compatibility reasons. Win32
614 2005-02-18 Anthony Green <green@redhat.com>
616 * gij.cc (version): Change year for '--version' to 2005.
617 * gnu/gcj/convert/Convert.java: Ditto.
618 * gnu/java/rmi/rmic/RMIC.java: Ditto.
619 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
621 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
622 recent copyright year in `--version' output.
624 2005-02-18 Robert Schuster <thebohemian@gmx.net>
626 * java/nio/charset/Charset.java (forName): Throws
627 IllegalArgumentException when argument is null
628 and added documentation.
630 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
632 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
633 Move the position of the source buffer forward.
635 2005-02-17 Tom Tromey <tromey@redhat.com>
637 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
638 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
639 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
640 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
641 Changed type of second argument. Rewrote.
642 (make_vtable): Use it.
643 (append_partial_itable): Updated.
644 (layout_vtable_methods): Updated.
646 2005-02-17 Michael Koch <konqueror@gmx.de>
648 * gnu/java/net/PlainSocketImpl.java
649 (shutdownInput): Added javadoc.
650 (shutdownOutput): Likewise.
652 2005-02-17 Michael Koch <konqueror@gmx.de>
654 * javax/print/attribute/standard/Chromaticity.java,
655 javax/print/attribute/standard/Destination.java,
656 javax/print/attribute/standard/MediaPrintableArea.java,
657 javax/print/attribute/standard/MediaSize.java: New files.
658 * Makefile.am: Added new files.
659 * Makefile.in: Regenerated.
661 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
662 Michael Koch <konqueror@gmx.de>
664 * gnu/java/net/protocol/http/Cookie.java,
665 gnu/java/net/protocol/http/HTTPConnection.java,
666 gnu/java/net/protocol/http/HTTPDateFormat.java,
667 gnu/java/net/protocol/http/Request.java,
668 gnu/java/nio/PipeImpl.java,
669 gnu/java/rmi/dgc/DGCImpl.java,
670 gnu/java/rmi/server/ConnectionRunnerPool.java,
671 gnu/java/rmi/server/UnicastConnectionManager.java,
672 gnu/java/security/der/DERWriter.java,
673 gnu/java/security/pkcs/SignerInfo.java,
674 gnu/java/security/provider/EncodedKeyFactory.java,
675 gnu/java/security/provider/GnuDHPublicKey.java,
676 gnu/java/security/provider/GnuDSAPrivateKey.java,
677 gnu/java/security/provider/GnuDSAPublicKey.java,
678 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
679 gnu/java/security/x509/X500DistinguishedName.java,
680 gnu/java/security/x509/X509CRL.java,
681 gnu/java/security/x509/X509CRLEntry.java,
682 gnu/java/security/x509/X509Certificate.java,
683 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
684 gnu/java/security/x509/ext/CertificatePolicies.java,
685 gnu/java/security/x509/ext/PolicyConstraint.java,
686 gnu/xml/dom/Consumer.java,
687 gnu/xml/dom/DomCharacterData.java,
688 gnu/xml/dom/DomDocument.java,
689 gnu/xml/dom/DomDocumentBuilder.java,
690 gnu/xml/dom/DomIterator.java,
691 gnu/xml/dom/DomNode.java,
692 gnu/xml/dom/DomXPathExpression.java,
693 gnu/xml/dom/DomXPathResult.java,
694 gnu/xml/dom/JAXPFactory.java,
695 gnu/xml/pipeline/CallFilter.java,
696 gnu/xml/pipeline/DomConsumer.java,
697 gnu/xml/pipeline/LinkFilter.java,
698 gnu/xml/pipeline/NSFilter.java,
699 gnu/xml/pipeline/TeeConsumer.java,
700 gnu/xml/pipeline/ValidationConsumer.java,
701 gnu/xml/pipeline/WellFormednessFilter.java,
702 gnu/xml/pipeline/XIncludeFilter.java,
703 gnu/xml/pipeline/XsltFilter.java,
704 gnu/xml/transform/ApplyImportsNode.java,
705 gnu/xml/transform/Bindings.java,
706 gnu/xml/transform/DocumentFunction.java,
707 gnu/xml/transform/FormatNumberFunction.java,
708 gnu/xml/transform/NodeNumberNode.java,
709 gnu/xml/transform/NumberNode.java,
710 gnu/xml/transform/Stylesheet.java,
711 gnu/xml/transform/SystemPropertyFunction.java,
712 gnu/xml/transform/Template.java,
713 gnu/xml/transform/TemplatesImpl.java,
714 gnu/xml/transform/TransformerImpl.java,
715 gnu/xml/transform/ValueOfNode.java,
716 gnu/xml/transform/XSLURIResolver.java,
717 gnu/xml/util/DoParse.java,
718 gnu/xml/util/Resolver.java,
719 gnu/xml/xpath/Expr.java,
720 gnu/xml/xpath/FunctionCall.java,
721 gnu/xml/xpath/RelationalExpr.java,
722 gnu/xml/xpath/Selector.java,
723 gnu/xml/xpath/XPathParser.java:
724 Reworked import statements, fixed modifier order and some little
727 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
729 * java/nio/ByteBufferImpl.java (compact):
730 Set position and limit even if no bytes were moved.
732 2005-02-17 Michael Koch <konqueror@gmx.de>
734 * java/nio/CharViewBufferImpl.java (compact): Likewise.
735 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
736 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
737 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
738 * java/nio/IntViewBufferImpl.java (compact): Likewise.
739 * java/nio/LongViewBufferImpl.java (compact): Likewise.
740 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
741 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
742 * java/nio/FloatBufferImpl.java (compact): Set position.
743 * java/nio/CharBufferImpl.java (compact): Likewise.
744 * java/nio/DoubleBufferImpl.java (compact): Likewise.
745 * java/nio/IntBufferImpl.java (compact): Likewise.
746 * java/nio/LongBufferImpl.java (compact): Likewise.
747 * java/nio/ShortBufferImpl.java (compact): Likewise.
749 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
751 * java/nio/ByteBufferImpl.java,
752 java/nio/CharBufferImpl.java,
753 java/nio/DirectByteBufferImpl.java,
754 java/nio/DoubleBufferImpl.java,
755 java/nio/FloatBufferImpl.java,
756 java/nio/IntBufferImpl.java,
757 java/nio/LongBufferImpl.java,
758 java/nio/MappedByteBufferImpl.java,
759 java/nio/ShortBufferImpl.java
760 (compact): Added explicit read-only check and invalidate mark.
762 2005-02-17 Michael Koch <konqueror@gmx.de>
764 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
765 gnu/java/awt/peer/gtk/GdkFontPeer.java,
766 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
767 gnu/java/awt/peer/gtk/GdkGraphics.java,
768 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
769 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
770 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
771 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
772 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
773 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
774 gnu/java/awt/peer/gtk/GdkTextLayout.java,
775 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
776 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
777 gnu/java/awt/peer/gtk/GtkClipboard.java,
778 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
779 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
780 gnu/java/awt/peer/gtk/GtkFontPeer.java,
781 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
782 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
783 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
784 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
785 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
786 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
787 gnu/java/awt/peer/gtk/GtkToolkit.java,
788 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
789 java/applet/Applet.java,
790 java/awt/AWTError.java,
791 java/awt/AWTEvent.java,
792 java/awt/AWTEventMulticaster.java,
793 java/awt/AWTException.java,
794 java/awt/AWTKeyStroke.java,
795 java/awt/AWTPermission.java,
796 java/awt/ActiveEvent.java,
797 java/awt/Adjustable.java,
798 java/awt/AlphaComposite.java,
799 java/awt/AttributeValue.java,
800 java/awt/BorderLayout.java,
801 java/awt/BufferCapabilities.java,
802 java/awt/Button.java,
803 java/awt/Canvas.java,
804 java/awt/CheckboxGroup.java,
805 java/awt/CheckboxMenuItem.java,
807 java/awt/ColorPaintContext.java,
808 java/awt/Component.java,
809 java/awt/ComponentOrientation.java,
810 java/awt/Composite.java,
811 java/awt/CompositeContext.java,
812 java/awt/Container.java,
813 java/awt/ContainerOrderFocusTraversalPolicy.java,
814 java/awt/DefaultFocusTraversalPolicy.java,
815 java/awt/Dialog.java,
816 java/awt/Dimension.java,
817 java/awt/DisplayMode.java,
818 java/awt/EventQueue.java,
819 java/awt/FileDialog.java,
820 java/awt/FontFormatException.java,
821 java/awt/Graphics.java,
822 java/awt/Graphics2D.java,
823 java/awt/GraphicsConfigTemplate.java,
824 java/awt/GraphicsConfiguration.java,
825 java/awt/GraphicsDevice.java,
826 java/awt/GridBagLayout.java,
827 java/awt/GridBagLayoutInfo.java,
828 java/awt/GridLayout.java,
829 java/awt/HeadlessException.java,
830 java/awt/IllegalComponentStateException.java,
832 java/awt/Insets.java,
833 java/awt/ItemSelectable.java,
834 java/awt/JobAttributes.java,
835 java/awt/KeyEventDispatcher.java,
836 java/awt/KeyEventPostProcessor.java,
837 java/awt/KeyboardFocusManager.java,
839 java/awt/LayoutManager.java,
840 java/awt/MenuBar.java,
841 java/awt/MenuComponent.java,
842 java/awt/MenuContainer.java,
843 java/awt/PageAttributes.java,
845 java/awt/PaintContext.java,
848 java/awt/Polygon.java,
849 java/awt/PrintGraphics.java,
850 java/awt/PrintJob.java,
851 java/awt/Rectangle.java,
852 java/awt/RenderingHints.java,
854 java/awt/Stroke.java,
855 java/awt/SystemColor.java,
856 java/awt/Toolkit.java,
857 java/awt/Transparency.java,
858 java/awt/Window.java,
859 java/awt/color/CMMException.java,
860 java/awt/color/ColorSpace.java,
861 java/awt/color/ICC_ColorSpace.java,
862 java/awt/color/ICC_Profile.java,
863 java/awt/color/ProfileDataException.java,
864 java/awt/datatransfer/FlavorTable.java,
865 java/awt/datatransfer/MimeTypeParseException.java,
866 java/awt/datatransfer/Transferable.java,
867 java/awt/datatransfer/UnsupportedFlavorException.java,
868 java/awt/dnd/Autoscroll.java,
869 java/awt/dnd/DnDConstants.java,
870 java/awt/dnd/DragGestureListener.java,
871 java/awt/dnd/DragSourceAdapter.java,
872 java/awt/dnd/DragSourceDropEvent.java,
873 java/awt/dnd/DragSourceListener.java,
874 java/awt/dnd/DragSourceMotionListener.java,
875 java/awt/dnd/DropTargetAdapter.java,
876 java/awt/dnd/DropTargetContext.java,
877 java/awt/dnd/DropTargetListener.java,
878 java/awt/dnd/InvalidDnDOperationException.java,
879 java/awt/dnd/MouseDragGestureRecognizer.java,
880 java/awt/dnd/peer/DropTargetContextPeer.java,
881 java/awt/event/AWTEventListener.java,
882 java/awt/event/AWTEventListenerProxy.java,
883 java/awt/event/ActionEvent.java,
884 java/awt/event/AdjustmentEvent.java,
885 java/awt/event/AdjustmentListener.java,
886 java/awt/event/ComponentAdapter.java,
887 java/awt/event/ComponentEvent.java,
888 java/awt/event/ComponentListener.java,
889 java/awt/event/ContainerAdapter.java,
890 java/awt/event/ContainerEvent.java,
891 java/awt/event/ContainerListener.java,
892 java/awt/event/FocusAdapter.java,
893 java/awt/event/FocusEvent.java,
894 java/awt/event/FocusListener.java,
895 java/awt/event/InputEvent.java,
896 java/awt/event/InputMethodEvent.java,
897 java/awt/event/InputMethodListener.java,
898 java/awt/event/InvocationEvent.java,
899 java/awt/event/ItemEvent.java,
900 java/awt/event/ItemListener.java,
901 java/awt/event/KeyAdapter.java,
902 java/awt/event/KeyEvent.java,
903 java/awt/event/KeyListener.java,
904 java/awt/event/MouseAdapter.java,
905 java/awt/event/MouseEvent.java,
906 java/awt/event/MouseListener.java,
907 java/awt/event/MouseMotionAdapter.java,
908 java/awt/event/MouseMotionListener.java,
909 java/awt/event/MouseWheelEvent.java,
910 java/awt/event/MouseWheelListener.java,
911 java/awt/event/PaintEvent.java,
912 java/awt/event/TextEvent.java,
913 java/awt/event/TextListener.java,
914 java/awt/event/WindowAdapter.java,
915 java/awt/event/WindowEvent.java,
916 java/awt/event/WindowFocusListener.java,
917 java/awt/event/WindowListener.java,
918 java/awt/event/WindowStateListener.java,
919 java/awt/font/TextHitInfo.java,
920 java/awt/geom/CubicCurve2D.java,
921 java/awt/geom/Dimension2D.java,
922 java/awt/geom/Ellipse2D.java,
923 java/awt/geom/IllegalPathStateException.java,
924 java/awt/geom/Line2D.java,
925 java/awt/geom/NoninvertibleTransformException.java,
926 java/awt/geom/PathIterator.java,
927 java/awt/geom/Point2D.java,
928 java/awt/geom/QuadCurve2D.java,
929 java/awt/geom/RectangularShape.java,
930 java/awt/geom/RoundRectangle2D.java,
931 java/awt/im/InputContext.java,
932 java/awt/im/InputMethodHighlight.java,
933 java/awt/im/InputMethodRequests.java,
934 java/awt/im/InputSubset.java,
935 java/awt/im/spi/InputMethod.java,
936 java/awt/im/spi/InputMethodDescriptor.java,
937 java/awt/image/BandCombineOp.java,
938 java/awt/image/BandedSampleModel.java,
939 java/awt/image/ByteLookupTable.java,
940 java/awt/image/ComponentSampleModel.java,
941 java/awt/image/DataBuffer.java,
942 java/awt/image/DataBufferByte.java,
943 java/awt/image/DataBufferDouble.java,
944 java/awt/image/DataBufferFloat.java,
945 java/awt/image/DataBufferInt.java,
946 java/awt/image/DataBufferShort.java,
947 java/awt/image/DataBufferUShort.java,
948 java/awt/image/ImagingOpException.java,
949 java/awt/image/Kernel.java,
950 java/awt/image/LookupTable.java,
951 java/awt/image/MultiPixelPackedSampleModel.java,
952 java/awt/image/PackedColorModel.java,
953 java/awt/image/PixelInterleavedSampleModel.java,
954 java/awt/image/RGBImageFilter.java,
955 java/awt/image/Raster.java,
956 java/awt/image/RasterFormatException.java,
957 java/awt/image/SampleModel.java,
958 java/awt/image/ShortLookupTable.java,
959 java/awt/image/SinglePixelPackedSampleModel.java,
960 java/awt/image/WritableRaster.java,
961 java/awt/print/PrinterAbortException.java,
962 java/awt/print/PrinterException.java,
963 java/awt/print/PrinterIOException.java,
964 java/beans/AppletInitializer.java,
965 java/beans/ExceptionListener.java,
966 java/beans/PropertyChangeEvent.java,
967 java/beans/PropertyChangeListenerProxy.java,
968 java/beans/PropertyChangeSupport.java,
969 java/beans/PropertyDescriptor.java,
970 java/beans/VetoableChangeListenerProxy.java,
971 java/beans/VetoableChangeSupport.java,
972 java/io/BufferedReader.java,
973 java/io/ByteArrayInputStream.java,
974 java/io/ByteArrayOutputStream.java,
975 java/io/CharArrayReader.java,
976 java/io/CharArrayWriter.java,
977 java/io/CharConversionException.java,
978 java/io/DataInput.java,
979 java/io/DataInputStream.java,
980 java/io/DataOutput.java,
981 java/io/DataOutputStream.java,
982 java/io/EOFException.java,
983 java/io/FileInputStream.java,
984 java/io/FileNotFoundException.java,
985 java/io/FileOutputStream.java,
986 java/io/FilenameFilter.java,
987 java/io/FilterInputStream.java,
988 java/io/FilterOutputStream.java,
989 java/io/FilterReader.java,
990 java/io/FilterWriter.java,
991 java/io/IOException.java,
992 java/io/InputStream.java,
993 java/io/InterruptedIOException.java,
994 java/io/LineNumberInputStream.java,
995 java/io/LineNumberReader.java,
996 java/io/ObjectInputStream.java,
997 java/io/ObjectStreamException.java,
998 java/io/OptionalDataException.java,
999 java/io/OutputStream.java,
1000 java/io/OutputStreamWriter.java,
1001 java/io/PrintStream.java,
1002 java/io/PrintWriter.java,
1003 java/io/PushbackInputStream.java,
1004 java/io/PushbackReader.java,
1005 java/io/RandomAccessFile.java,
1006 java/io/Reader.java,
1007 java/io/SequenceInputStream.java,
1008 java/io/Serializable.java,
1009 java/io/StreamCorruptedException.java,
1010 java/io/StreamTokenizer.java,
1011 java/io/StringBufferInputStream.java,
1012 java/io/StringWriter.java,
1013 java/io/SyncFailedException.java,
1014 java/io/UTFDataFormatException.java,
1015 java/io/UnsupportedEncodingException.java,
1016 java/io/WriteAbortedException.java,
1017 java/io/Writer.java,
1018 java/lang/AbstractMethodError.java,
1019 java/lang/ArithmeticException.java,
1020 java/lang/ArrayIndexOutOfBoundsException.java,
1021 java/lang/ArrayStoreException.java,
1022 java/lang/AssertionError.java,
1023 java/lang/Boolean.java,
1024 java/lang/Byte.java,
1025 java/lang/Class.java,
1026 java/lang/ClassCastException.java,
1027 java/lang/ClassCircularityError.java,
1028 java/lang/ClassLoader.java,
1029 java/lang/ClassNotFoundException.java,
1030 java/lang/CloneNotSupportedException.java,
1031 java/lang/Cloneable.java,
1032 java/lang/Comparable.java,
1033 java/lang/Compiler.java,
1034 java/lang/Double.java,
1035 java/lang/Error.java,
1036 java/lang/Exception.java,
1037 java/lang/ExceptionInInitializerError.java,
1038 java/lang/Float.java,
1039 java/lang/IllegalAccessError.java,
1040 java/lang/IllegalAccessException.java,
1041 java/lang/IllegalArgumentException.java,
1042 java/lang/IllegalMonitorStateException.java,
1043 java/lang/IllegalStateException.java,
1044 java/lang/IllegalThreadStateException.java,
1045 java/lang/IncompatibleClassChangeError.java,
1046 java/lang/IndexOutOfBoundsException.java,
1047 java/lang/InheritableThreadLocal.java,
1048 java/lang/InstantiationError.java,
1049 java/lang/InstantiationException.java,
1050 java/lang/Integer.java,
1051 java/lang/InternalError.java,
1052 java/lang/InterruptedException.java,
1053 java/lang/LinkageError.java,
1054 java/lang/Long.java,
1055 java/lang/NegativeArraySizeException.java,
1056 java/lang/NoClassDefFoundError.java,
1057 java/lang/NoSuchFieldError.java,
1058 java/lang/NoSuchFieldException.java,
1059 java/lang/NoSuchMethodError.java,
1060 java/lang/NoSuchMethodException.java,
1061 java/lang/NullPointerException.java,
1062 java/lang/Number.java,
1063 java/lang/NumberFormatException.java,
1064 java/lang/OutOfMemoryError.java,
1065 java/lang/Process.java,
1066 java/lang/Runnable.java,
1067 java/lang/Runtime.java,
1068 java/lang/RuntimeException.java,
1069 java/lang/RuntimePermission.java,
1070 java/lang/SecurityException.java,
1071 java/lang/SecurityManager.java,
1072 java/lang/Short.java,
1073 java/lang/StackOverflowError.java,
1074 java/lang/StackTraceElement.java,
1075 java/lang/StringBuffer.java,
1076 java/lang/StringIndexOutOfBoundsException.java,
1077 java/lang/ThreadDeath.java,
1078 java/lang/ThreadGroup.java,
1079 java/lang/Throwable.java,
1080 java/lang/UnsatisfiedLinkError.java,
1081 java/lang/UnsupportedOperationException.java,
1082 java/lang/VerifyError.java,
1083 java/lang/VirtualMachineError.java,
1084 java/lang/reflect/AccessibleObject.java,
1085 java/lang/reflect/Array.java,
1086 java/lang/reflect/InvocationTargetException.java,
1087 java/lang/reflect/Member.java,
1088 java/lang/reflect/Modifier.java,
1089 java/lang/reflect/Proxy.java,
1090 java/lang/reflect/ReflectPermission.java,
1091 java/lang/reflect/UndeclaredThrowableException.java,
1092 java/math/BigInteger.java,
1093 java/net/NetworkInterface.java,
1094 java/nio/ByteBufferHelper.java,
1095 java/nio/ByteBufferImpl.java,
1096 java/nio/DirectByteBufferImpl.java,
1097 java/nio/DoubleBufferImpl.java,
1098 java/nio/FloatBufferImpl.java,
1099 java/nio/IntBufferImpl.java,
1100 java/nio/LongBufferImpl.java,
1101 java/nio/ShortBufferImpl.java,
1102 java/nio/channels/Channel.java,
1103 java/nio/channels/IllegalBlockingModeException.java,
1104 java/nio/charset/spi/CharsetProvider.java,
1105 java/security/AccessControlException.java,
1106 java/security/BasicPermission.java,
1107 java/security/DigestException.java,
1108 java/security/DigestInputStream.java,
1109 java/security/DigestOutputStream.java,
1110 java/security/GeneralSecurityException.java,
1111 java/security/Guard.java,
1112 java/security/GuardedObject.java,
1113 java/security/InvalidAlgorithmParameterException.java,
1114 java/security/InvalidKeyException.java,
1115 java/security/InvalidParameterException.java,
1116 java/security/Key.java,
1117 java/security/KeyException.java,
1118 java/security/KeyManagementException.java,
1119 java/security/KeyStoreException.java,
1120 java/security/MessageDigestSpi.java,
1121 java/security/NoSuchAlgorithmException.java,
1122 java/security/NoSuchProviderException.java,
1123 java/security/Permission.java,
1124 java/security/PermissionCollection.java,
1125 java/security/Permissions.java,
1126 java/security/Principal.java,
1127 java/security/PrivateKey.java,
1128 java/security/PrivilegedActionException.java,
1129 java/security/ProviderException.java,
1130 java/security/PublicKey.java,
1131 java/security/SecureRandom.java,
1132 java/security/SecureRandomSpi.java,
1133 java/security/SignatureException.java,
1134 java/security/SignatureSpi.java,
1135 java/security/SignedObject.java,
1136 java/security/Signer.java,
1137 java/security/UnrecoverableKeyException.java,
1138 java/security/UnresolvedPermission.java,
1139 java/security/acl/AclNotFoundException.java,
1140 java/security/acl/LastOwnerException.java,
1141 java/security/acl/NotOwnerException.java,
1142 java/security/cert/CertPath.java,
1143 java/security/cert/CertPathBuilderException.java,
1144 java/security/cert/CertPathValidatorException.java,
1145 java/security/cert/CertStoreException.java,
1146 java/text/BreakIterator.java,
1147 java/text/ChoiceFormat.java,
1148 java/text/CollationElementIterator.java,
1149 java/text/CollationKey.java,
1150 java/text/Collator.java,
1151 java/text/DateFormat.java,
1152 java/text/DateFormatSymbols.java,
1153 java/text/DecimalFormat.java,
1154 java/text/DecimalFormatSymbols.java,
1155 java/text/FieldPosition.java,
1156 java/text/Format.java,
1157 java/text/NumberFormat.java,
1158 java/text/ParseException.java,
1159 java/text/ParsePosition.java,
1160 java/text/StringCharacterIterator.java,
1161 java/util/AbstractCollection.java,
1162 java/util/AbstractList.java,
1163 java/util/AbstractMap.java,
1164 java/util/AbstractSequentialList.java,
1165 java/util/AbstractSet.java,
1166 java/util/ArrayList.java,
1167 java/util/Arrays.java,
1168 java/util/BitSet.java,
1169 java/util/Collection.java,
1170 java/util/Collections.java,
1171 java/util/Comparator.java,
1172 java/util/ConcurrentModificationException.java,
1173 java/util/Currency.java,
1174 java/util/Date.java,
1175 java/util/EmptyStackException.java,
1176 java/util/Enumeration.java,
1177 java/util/EventListener.java,
1178 java/util/EventListenerProxy.java,
1179 java/util/EventObject.java,
1180 java/util/HashMap.java,
1181 java/util/HashSet.java,
1182 java/util/Hashtable.java,
1183 java/util/IdentityHashMap.java,
1184 java/util/Iterator.java,
1185 java/util/LinkedHashSet.java,
1186 java/util/LinkedList.java,
1187 java/util/List.java,
1188 java/util/ListIterator.java,
1189 java/util/ListResourceBundle.java,
1191 java/util/MissingResourceException.java,
1192 java/util/NoSuchElementException.java,
1193 java/util/Observable.java,
1194 java/util/Observer.java,
1195 java/util/Properties.java,
1196 java/util/PropertyPermissionCollection.java,
1197 java/util/RandomAccess.java,
1199 java/util/SortedMap.java,
1200 java/util/SortedSet.java,
1201 java/util/Stack.java,
1202 java/util/StringTokenizer.java,
1203 java/util/TooManyListenersException.java,
1204 java/util/TreeMap.java,
1205 java/util/TreeSet.java,
1206 java/util/Vector.java,
1207 java/util/logging/FileHandler.java,
1208 java/util/logging/Level.java,
1209 java/util/prefs/BackingStoreException.java,
1210 java/util/prefs/InvalidPreferencesFormatException.java,
1211 java/util/prefs/Preferences.java,
1212 javax/accessibility/Accessible.java,
1213 javax/accessibility/AccessibleAction.java,
1214 javax/accessibility/AccessibleBundle.java,
1215 javax/accessibility/AccessibleComponent.java,
1216 javax/accessibility/AccessibleContext.java,
1217 javax/accessibility/AccessibleEditableText.java,
1218 javax/accessibility/AccessibleExtendedComponent.java,
1219 javax/accessibility/AccessibleExtendedTable.java,
1220 javax/accessibility/AccessibleHyperlink.java,
1221 javax/accessibility/AccessibleHypertext.java,
1222 javax/accessibility/AccessibleIcon.java,
1223 javax/accessibility/AccessibleKeyBinding.java,
1224 javax/accessibility/AccessibleRelation.java,
1225 javax/accessibility/AccessibleRelationSet.java,
1226 javax/accessibility/AccessibleResourceBundle.java,
1227 javax/accessibility/AccessibleRole.java,
1228 javax/accessibility/AccessibleSelection.java,
1229 javax/accessibility/AccessibleState.java,
1230 javax/accessibility/AccessibleStateSet.java,
1231 javax/accessibility/AccessibleTable.java,
1232 javax/accessibility/AccessibleTableModelChange.java,
1233 javax/accessibility/AccessibleText.java,
1234 javax/accessibility/AccessibleValue.java,
1235 javax/imageio/IIOException.java,
1236 javax/imageio/ImageIO.java,
1237 javax/imageio/spi/IIOServiceProvider.java,
1238 javax/imageio/spi/ImageInputStreamSpi.java,
1239 javax/imageio/spi/ImageOutputStreamSpi.java,
1240 javax/imageio/spi/ImageReaderWriterSpi.java,
1241 javax/imageio/spi/ImageTranscoderSpi.java,
1242 javax/imageio/spi/RegisterableService.java,
1243 javax/imageio/spi/ServiceRegistry.java,
1244 javax/imageio/stream/IIOByteBuffer.java,
1245 javax/imageio/stream/ImageInputStream.java,
1246 javax/imageio/stream/ImageOutputStream.java,
1247 javax/naming/Binding.java,
1248 javax/naming/CannotProceedException.java,
1249 javax/naming/CompositeName.java,
1250 javax/naming/CompoundName.java,
1251 javax/naming/LinkException.java,
1252 javax/naming/LinkRef.java,
1253 javax/naming/NameClassPair.java,
1254 javax/naming/Reference.java,
1255 javax/naming/ReferralException.java,
1256 javax/naming/directory/Attribute.java,
1257 javax/naming/directory/AttributeModificationException.java,
1258 javax/naming/directory/Attributes.java,
1259 javax/naming/directory/DirContext.java,
1260 javax/naming/directory/ModificationItem.java,
1261 javax/naming/directory/SearchControls.java,
1262 javax/naming/directory/SearchResult.java,
1263 javax/naming/event/EventContext.java,
1264 javax/naming/event/EventDirContext.java,
1265 javax/naming/event/NamespaceChangeListener.java,
1266 javax/naming/event/NamingExceptionEvent.java,
1267 javax/naming/event/NamingListener.java,
1268 javax/naming/event/ObjectChangeListener.java,
1269 javax/naming/ldap/Control.java,
1270 javax/naming/ldap/ExtendedResponse.java,
1271 javax/naming/ldap/HasControls.java,
1272 javax/naming/ldap/LdapContext.java,
1273 javax/naming/ldap/UnsolicitedNotification.java,
1274 javax/naming/ldap/UnsolicitedNotificationEvent.java,
1275 javax/naming/ldap/UnsolicitedNotificationListener.java,
1276 javax/naming/spi/DirectoryManager.java,
1277 javax/naming/spi/ResolveResult.java,
1278 javax/naming/spi/Resolver.java,
1279 javax/security/auth/callback/Callback.java,
1280 javax/security/auth/callback/CallbackHandler.java,
1281 javax/security/auth/callback/ChoiceCallback.java,
1282 javax/security/auth/callback/ConfirmationCallback.java,
1283 javax/security/auth/callback/LanguageCallback.java,
1284 javax/security/auth/callback/NameCallback.java,
1285 javax/security/auth/callback/PasswordCallback.java,
1286 javax/security/auth/callback/TextInputCallback.java,
1287 javax/security/auth/callback/TextOutputCallback.java,
1288 javax/security/auth/callback/UnsupportedCallbackException.java,
1289 javax/security/sasl/Sasl.java,
1290 javax/security/sasl/SaslServerFactory.java,
1291 javax/swing/DefaultBoundedRangeModel.java,
1292 javax/swing/JComponent.java,
1293 javax/swing/JList.java,
1294 javax/swing/JProgressBar.java,
1295 javax/swing/JRadioButton.java,
1296 javax/swing/JTextArea.java,
1297 javax/swing/JTextField.java,
1298 javax/swing/JToggleButton.java,
1299 javax/swing/JTree.java,
1300 javax/swing/SpinnerListModel.java,
1301 javax/swing/event/EventListenerList.java,
1302 javax/swing/text/JTextComponent.java,
1303 javax/swing/text/StringContent.java,
1304 javax/swing/text/Utilities.java,
1305 javax/swing/undo/UndoManager.java,
1306 javax/swing/undo/UndoableEditSupport.java,
1307 javax/transaction/HeuristicCommitException.java,
1308 javax/transaction/HeuristicMixedException.java,
1309 javax/transaction/HeuristicRollbackException.java,
1310 javax/transaction/InvalidTransactionException.java,
1311 javax/transaction/NotSupportedException.java,
1312 javax/transaction/RollbackException.java,
1313 javax/transaction/Status.java,
1314 javax/transaction/Synchronization.java,
1315 javax/transaction/SystemException.java,
1316 javax/transaction/Transaction.java,
1317 javax/transaction/TransactionManager.java,
1318 javax/transaction/TransactionRequiredException.java,
1319 javax/transaction/TransactionRolledbackException.java,
1320 javax/transaction/UserTransaction.java,
1321 javax/transaction/xa/XAException.java,
1322 javax/transaction/xa/XAResource.java,
1323 javax/transaction/xa/Xid.java,
1324 javax/xml/XMLConstants.java,
1325 javax/xml/datatype/DatatypeConfigurationException.java,
1326 javax/xml/datatype/DatatypeConstants.java,
1327 javax/xml/datatype/DatatypeFactory.java,
1328 javax/xml/datatype/Duration.java,
1329 javax/xml/datatype/XMLGregorianCalendar.java,
1330 javax/xml/namespace/NamespaceContext.java,
1331 javax/xml/namespace/QName.java,
1332 javax/xml/parsers/DocumentBuilder.java,
1333 javax/xml/parsers/DocumentBuilderFactory.java,
1334 javax/xml/parsers/FactoryConfigurationError.java,
1335 javax/xml/parsers/ParserConfigurationException.java,
1336 javax/xml/parsers/SAXParser.java,
1337 javax/xml/parsers/SAXParserFactory.java,
1338 javax/xml/transform/ErrorListener.java,
1339 javax/xml/transform/OutputKeys.java,
1340 javax/xml/transform/Result.java,
1341 javax/xml/transform/Source.java,
1342 javax/xml/transform/SourceLocator.java,
1343 javax/xml/transform/Templates.java,
1344 javax/xml/transform/Transformer.java,
1345 javax/xml/transform/TransformerConfigurationException.java,
1346 javax/xml/transform/TransformerException.java,
1347 javax/xml/transform/TransformerFactory.java,
1348 javax/xml/transform/TransformerFactoryConfigurationError.java,
1349 javax/xml/transform/URIResolver.java,
1350 javax/xml/transform/dom/DOMLocator.java,
1351 javax/xml/transform/dom/DOMResult.java,
1352 javax/xml/transform/dom/DOMSource.java,
1353 javax/xml/transform/sax/SAXResult.java,
1354 javax/xml/transform/sax/SAXSource.java,
1355 javax/xml/transform/sax/SAXTransformerFactory.java,
1356 javax/xml/transform/sax/TemplatesHandler.java,
1357 javax/xml/transform/sax/TransformerHandler.java,
1358 javax/xml/transform/stream/StreamResult.java,
1359 javax/xml/transform/stream/StreamSource.java,
1360 javax/xml/validation/Schema.java,
1361 javax/xml/validation/SchemaFactory.java,
1362 javax/xml/validation/TypeInfoProvider.java,
1363 javax/xml/validation/Validator.java,
1364 javax/xml/validation/ValidatorHandler.java,
1365 javax/xml/xpath/XPathConstants.java,
1366 javax/xml/xpath/XPathException.java,
1367 javax/xml/xpath/XPathExpression.java,
1368 javax/xml/xpath/XPathExpressionException.java,
1369 javax/xml/xpath/XPathFactory.java,
1370 javax/xml/xpath/XPathFactoryConfigurationException.java,
1371 javax/xml/xpath/XPathFunction.java,
1372 javax/xml/xpath/XPathFunctionException.java,
1373 javax/xml/xpath/XPathFunctionResolver.java:
1374 Fixed usage of @author tag, reworked import statements,
1375 removed CVS tags, changed the modifier order and fixed
1376 HTML usage in javadocs.
1378 2005-02-16 Julian Scheid <julian@sektor37.de>
1380 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
1382 (encodeLoop): Likewise.
1384 2005-02-16 Mark Wielaard <mark@klomp.org>
1386 * Makefile.am (ordinary_java_source_files): Add new files
1387 gnu/java/security/ber/BER.java,
1388 gnu/java/security/ber/BEREncodingException.java,
1389 gnu/java/security/ber/BERReader.java,
1390 gnu/java/security/ber/BERValue.java,
1391 gnu/java/security/pkcs/PKCS7SignedData.java and
1392 gnu/java/security/pkcs/SignerInfo.java.
1393 * Makefile.in: Regenerated.
1395 2005-02-16 Casey Marshall <csm@gnu.org>
1397 * gnu/java/security/provider/GnuDSAPrivateKey.java
1398 (encodedKey): new field.
1399 (getFormat): return "PKCS#8".
1400 (getEncoded): implemented.
1401 (toString): check for 'null' values.
1402 * gnu/java/security/provider/GnuDSAPublicKey.java
1403 (encodedKey): new field.
1404 (getFormat): return "X.509".
1405 (getEncoded): implemented.
1406 (toString): check for 'null' values.
1408 2005-02-16 Michael Koch <konqueror@gmx.de>
1410 * java/util/jar/JarFile.java: Imports reworked.
1412 2005-02-16 Mark Wielaard <mark@klomp.org>
1414 * java/util/jar/JarFile.java (verify): Make package private.
1415 (signaturesRead): Likewise.
1416 (verified): Likewise.
1417 (entryCerts): Likewise.
1420 (entries): Construct new JarEnumeration with reference to this.
1421 (JarEnumeration): Make static.
1422 (JarEnumeration.jarfile): New field.
1423 (JarEnumeration.nextElement): Use and synchronize on jarfile.
1424 Compare verified value to Boolean.TRUE or Boolean.False only
1425 when verify is true.
1426 (getEntry): Make synchronized. Compare value of verified to
1428 (getInputStream): Construct EntryInputStream with reference to this.
1429 (getManifest): Make synchronized.
1430 (EntryInputStream): Make static.
1431 (EntryInputStream.jarfile): New field.
1432 (EntryInputStream.EntryInputStream): Check if manifest exists,
1433 before getting attributes.
1434 (eof): Synchronize on jarfile.
1436 2005-02-16 Casey Marshall <csm@gnu.org>
1438 * java/util/jar/JarFile.java (verify): return if the jar is signed
1439 with an unsupported algorithm.
1441 2005-02-16 Mark Wielaard <mark@klomp.org>
1443 * java/util/jar/JarFile.java (EntryInputStream): Add actual
1444 InputStream as argument.
1445 (getInputStream): Construct a new EntryInputStream with the result of
1446 super.getInputStream(entry).
1448 2005-02-16 Casey Marshall <csm@gnu.org>
1450 Signed JAR file support.
1451 * java/net/URLClassLoader.java
1452 (JarURLResource.getCertificates): re-read jar entry to ensure
1453 certificates are picked up.
1454 (findClass): fill in class `signers' field, too.
1455 * java/util/jar/JarFile.java (META_INF): new constant.
1456 (PKCS7_DSA_SUFFIX): new constant.
1457 (PKCS7_RSA_SUFFIX): new constant.
1458 (DIGEST_KEY_SUFFIX): new constant.
1459 (SF_SUFFIX): new constant.
1460 (MD2_OID): new constant.
1461 (MD4_OID): new constant.
1462 (MD5_OID): new constant.
1463 (SHA1_OID): new constant.
1464 (DSA_ENCRYPTION_OID): new constant.
1465 (RSA_ENCRYPTION_OID): new constant.
1466 (signaturesRead): new field.
1467 (verified): new field.
1468 (entryCerts): new field.
1469 (DEBUG): new constant.
1470 (debug): new method.
1471 (JarEnumeration.nextElement): fill in entry certificates, read
1472 signatures if they haven't been read.
1473 (getEntry): likewise.
1474 (getInputStream): verify stream if it hasn't been verified yet.
1475 (readSignatures): new method.
1476 (verify): new method.
1477 (verifyHashes): new method.
1478 (readManifestEntry): new method.
1479 (EntryInputStream): new class.
1480 * gnu/java/io/Base64InputStream.java (decode): new class
1482 * gnu/java/security/der/DERReader.java don't make class
1484 (in): made protected.
1486 (readLength): likewise.
1487 * gnu/java/security/ber/BER.java,
1488 * gnu/java/security/ber/BEREncodingException.java,
1489 * gnu/java/security/ber/BERReader.java,
1490 * gnu/java/security/ber/BERValue.java,
1491 * gnu/java/security/pkcs/PKCS7SignedData.java,
1492 * gnu/java/security/pkcs/SignerInfo.java:
1495 2005-02-16 Tom Tromey <tromey@redhat.com>
1497 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
1498 copied file on exit.
1500 2005-02-15 Mark Wielaard <mark@klomp.org>
1502 * java/awt/BasicStroke.java (hashCode): Check for null dash.
1504 2005-02-15 Michael Koch <konqueror@gmx.de>
1506 * gnu/java/awt/peer/gtk/GtkArg.java,
1507 gnu/java/awt/peer/gtk/GtkArgList.java:
1510 2005-02-15 Craig Black <craig.black@aonix.com>
1512 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
1513 (postMenuActionEvent): Implement to notify ItemListeners.
1514 * java/awt/CheckboxMenuItem.java
1515 (dispatchEventImpl): Update state on ItemEvent.
1516 * java/awt/MenuItem.java
1517 (processActionEvent): Retarget event source.
1519 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
1521 * gnu/java/awt/color/ClutProfileConverter.java,
1522 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
1523 gnu/java/awt/peer/gtk/GdkFontPeer.java,
1524 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1525 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1526 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1527 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1528 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1529 gnu/java/awt/peer/gtk/GdkTextLayout.java,
1530 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1531 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1532 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1533 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1534 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1535 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1536 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1537 gnu/java/awt/peer/gtk/GtkFontPeer.java,
1538 gnu/java/awt/peer/gtk/GtkFramePeer.java,
1539 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1540 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
1541 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1542 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1543 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
1544 gnu/java/awt/peer/gtk/GtkToolkit.java,
1545 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1546 javax/swing/JPopupMenu.java,
1547 javax/swing/JSpinner.java,
1548 javax/swing/SortingFocusTraversalPolicy.java,
1549 javax/swing/SwingUtilities.java,
1550 javax/swing/plaf/basic/BasicComboBoxEditor.java,
1551 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1552 javax/swing/tree/DefaultMutableTreeNode.java:
1553 Removed unused imports and expanded starred
1556 2005-02-15 Mark Wielaard <mark@klomp.org>
1558 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
1559 IllegalArgumentException when the given String is null.
1561 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
1562 when given keystoke sequence cannot be parsed.
1564 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
1565 if one is installed. Only install the given menubar is not null.
1567 * javax/swing/JViewport.java (getViewSize): Return an empty
1568 Dimension when the view isn't set or preferred component size when
1571 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
1572 empty Dimension when there is no view set.
1573 (minimumLayoutSize): Likewise.
1574 (layoutContainer): Don't try to layout when there is no view.
1576 2005-02-15 Anthony Green <green@redhat.com>
1578 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
1579 classpath_jawt_lock, classpath_jawt_unlock): New functions.
1580 * jawt.c (_Jv_JAWT_Lock, _Jv_JAWT_Unlock): New functions.
1581 (_Jv_GetDrawingSurface): Set visualID.
1582 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
1583 (JAWT_GetAWT): Set Lock and Unlock.
1584 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add visualID.
1585 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
1586 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
1587 JAWT_LOCK_SURFACE_CHANGED): New macros.
1588 (struct _JAWT): Add Lock and Unlock.
1590 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1593 * include/jawt.h: Likewise.
1594 * include/jawt_md.h: Likewise.
1595 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
1597 * jni/classpath/classpath_jawt.h: Likewise.
1598 * jni/gtk-peer/gtk_jawt.c: Likewise.
1599 * Makefile.am: Build libjawt.so.
1601 2005-02-15 Michael Koch <konqueror@gmx.de>
1603 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
1604 Merged file header with classpath CVS head.
1605 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
1606 Merged code formatting with classpath CVS head.
1607 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
1609 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
1610 Handle special JNI strings with 2 '\0' at the end.
1611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1612 Merged file header with classpath CVS head.
1613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
1614 Merged code formatting with classpath CVS head.
1616 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
1619 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
1620 (handle_response): Use GTK_RESPONSE_ACCEPT.
1622 2005-02-15 Graydon Hoare <graydon@redhat.com>
1624 * Makefile.am: Fix library build breakage.
1625 * Makefile.in: Regenerate.
1627 2005-02-15 Michael Koch <konqueror@gmx.de>
1629 * javax/swing/JTabbedPane.java
1630 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
1632 2005-02-15 Michael Koch <konqueror@gmx.de>
1634 * javax/swing/tree/DefaultMutableTreeNode.java:
1635 Reworked Javadocs all over.
1636 (getPathToRoot): Fixed direction of result array initialization.
1638 2005-02-15 Michael Koch <konqueror@gmx.de>
1640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1641 Fix includes for cairo 0.3.0 snappshot.
1642 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
1643 Merged file header from classpath CVS HEAD.
1645 2005-02-15 Craig Black <craig.black@aonix.com>
1647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1648 (copyState): Pass a JNI global reference to signal handler.
1649 (realize_cb): Use and free JNI global reference.
1650 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1651 (create): Pass a JNI global reference to signal handler.
1652 (selection_changed): Match declaration.
1653 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
1654 (dispose): Do not remove entries from state tables until after widget is
1657 2005-02-15 Michael Koch <konqueror@gmx.de>
1659 * java/awt/Container.javai (paramString):
1660 If layoutMgr is null just return result of super.paramString().
1661 * java/awt/Scrollbar.java: Reformatted.
1662 * java/awt/im/InputContext.java (static):
1663 Removed redundant initializations.
1665 2005-02-15 Michael Koch <konqueror@gmx.de>
1667 * javax/swing/ImageIcon.java,
1668 javax/swing/UIManager.java,
1669 javax/swing/text/EditorKit.java,
1670 javax/swing/text/Segment.java:
1671 More whitespace cleanups.
1673 2005-02-15 Michael Koch <konqueror@gmx.de>
1675 * gnu/java/awt/EmbeddedWindow.java,
1676 gnu/java/awt/image/ImageDecoder.java,
1677 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1678 java/awt/DefaultKeyboardFocusManager.java,
1679 java/awt/Frame.java,
1680 java/awt/image/RGBImageFilter.java,
1681 javax/swing/AbstractButton.java,
1682 javax/swing/ActionMap.java,
1683 javax/swing/ComponentInputMap.java,
1684 javax/swing/DefaultDesktopManager.java,
1685 javax/swing/ImageIcon.java,
1686 javax/swing/InputMap.java,
1687 javax/swing/JButton.java,
1688 javax/swing/JCheckBox.java,
1689 javax/swing/JCheckBoxMenuItem.java,
1690 javax/swing/JEditorPane.java,
1691 javax/swing/JMenu.java,
1692 javax/swing/JMenuItem.java,
1693 javax/swing/JOptionPane.java,
1694 javax/swing/JRootPane.java,
1695 javax/swing/JTable.java,
1696 javax/swing/MenuSelectionManager.java,
1697 javax/swing/RepaintManager.java,
1698 javax/swing/ScrollPaneLayout.java,
1699 javax/swing/SortingFocusTraversalPolicy.java,
1700 javax/swing/UIManager.java,
1701 javax/swing/ViewportLayout.java,
1702 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
1703 javax/swing/plaf/basic/BasicInternalFrameUI.java,
1704 javax/swing/plaf/basic/BasicLabelUI.java,
1705 javax/swing/plaf/basic/BasicListUI.java,
1706 javax/swing/plaf/basic/BasicMenuItemUI.java,
1707 javax/swing/plaf/basic/BasicMenuUI.java,
1708 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1709 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
1710 javax/swing/plaf/basic/BasicRootPaneUI.java,
1711 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1712 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1713 javax/swing/plaf/basic/BasicTextUI.java,
1714 javax/swing/table/TableColumnModel.java,
1715 javax/swing/text/AbstractDocument.java,
1716 javax/swing/text/EditorKit.java,
1717 javax/swing/text/Position.java,
1718 javax/swing/text/Segment.java,
1719 javax/swing/text/StyledEditorKit.java,
1720 javax/swing/text/ViewFactory.java:
1721 Cleanup whitespace differences to classpath CVS HEAD.
1723 2005-02-15 Graydon Hoare <graydon@redhat.com>
1725 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
1726 (finalize): Call finish from here.
1727 (produce): Not from here.
1728 * Makefile.am (gtk_c_source_files):
1729 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
1730 * Makefile.in: Regenerate.
1731 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1733 (cairoDrawGdkTextLayout):
1735 (getPeerTextMetrics):
1736 (getPeerFontMetrics): Remove.
1737 (setFont): Don't call cairoSetFont.
1738 (cairoDrawGlyphVector): Accept font peer argument.
1739 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
1740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1741 (ensure_metrics_cairo):
1742 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
1743 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
1744 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
1745 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
1747 (metrics_surface): Remove.
1748 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
1749 Pass and install font peer.
1751 2005-02-15 Graydon Hoare <graydon@redhat.com>
1753 * Makefile.am: Create "split library" structure.
1754 * Makefile.in: Regenerate.
1756 2005-02-15 Graydon Hoare <graydon@redhat.com>
1758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
1759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1762 Release GDK lock during upcalls.
1764 2005-02-15 Graydon Hoare <graydon@redhat.com>
1766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
1767 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1768 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
1769 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
1770 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
1771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
1772 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1775 (getTextMetrics): New native methods.
1776 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
1777 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
1778 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
1779 * Makefile.in: Regenerate.
1781 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
1783 * javax/swing/SwingUtilities.java:
1784 (getAccessibleAt(java.awt.Component, java.awt.Point)):
1785 Implemented and documented.
1786 (getAccessibleChild(java.awt.Component, int)): Likewise.
1787 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
1788 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
1789 (getAccessibleStateSet(java.awt.Component)): Likewise.
1791 2005-02-15 Michael Koch <konqueror@gmx.de>
1793 * javax/swing/SwingUtilities.java
1794 (getFontMetrics): Removed.
1796 2005-02-15 Michael Koch <konqueror@gmx.de>
1798 * java/awt/Container.java
1799 (paramString): Implemented.
1800 * javax/swing/AbstractButton.java
1801 (paramString): Implemented.
1802 * javax/swing/JComponent.java
1803 (paramString): Implemented.
1804 * javax/swing/JMenu.java
1805 (paramString): Implemented.
1806 * javax/swing/JMenuBar.java
1807 (paramString): Implemented.
1808 * javax/swing/JMenuItem.java
1809 (paramString): Implemented.
1810 * javax/swing/JPopupMenu.java
1811 (paramString): Implemented.
1813 2005-02-15 Michael Koch <konqueror@gmx.de>
1815 * javax/swing/JMenu.java
1816 (uiClassID): Removed.
1817 (JMenu): Set invoker on popup menu.
1818 (getUIClassID): Return id directly.
1819 (getItemCount): Simply return getMenuComponentCount().
1821 (isTopLevelMenu): Simplified.
1822 * javax/swing/JMenuItem.java
1823 (uiClassID): Removed.
1824 (getUIClassID): Return id directly.
1825 * javax/swing/JPopupMenu.java
1826 (uiClassID): Removed.
1827 (JPopupMenu): Always initialize correctly.
1828 (getSubElements): Only return components implementing MenuElement
1830 (HeavyWeightPopup.hide): Removed.
1832 2005-02-15 Michael Koch <konqueror@gmx.de>
1834 * java/awt/image/ReplicateScaleFilter.java
1835 (replicatePixels): Made private.
1836 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1837 (DefaultRGBChooserPanel): Made package private.
1838 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1839 (RecentSwatchPanel): Likewise.
1840 * javax/swing/event/MouseInputAdapter.java: Reformatted.
1841 (MouseInputAdapter): Made abstract.
1842 * javax/swing/tree/DefaultMutableTreeNode.java
1844 (growTree): Likewise.
1846 2005-02-15 Michael Koch <konqueror@gmx.de>
1848 * java/awt/dnd/DropTarget.java (addDropTargetListener):
1851 2005-02-15 Michael Koch <konqueror@gmx.de>
1853 * javax/swing/JComponent.java (getComponentGraphics):
1854 Removed accidently commited code.
1856 2005-02-15 Graydon Hoare <graydon@redhat.com>
1858 * java/awt/dnd/DropTarget.java
1859 (addDropTargetListener): Despite documentation, do not throw.
1860 * javax/swing/JComponent.java: Set a default DropTarget.
1862 2005-02-15 Michael Koch <konqueror@gmx.de>
1864 * javax/swing/AbstractAction.java
1865 (ENABLED_PROPERTY): Removed.
1866 (setEnabled): Replaced constant with real string.
1867 * javax/swing/AbstractButton.java
1868 (createActionPropertyChangeListener.propertyChange): Likewise.
1869 * javax/swing/JComboBox.java
1870 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
1871 (EDITABLE_CHANGED_PROPERTY): Removed.
1872 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
1873 (ENABLED_CHANGED_PROPERTY):Likewise.
1874 (RENDERER_CHANGED_PROPERTY):Likewise.
1875 (EDITOR_CHANGED_PROPERTY):Likewise.
1876 (MODEL_CHANGED_PROPERTY):Likewise.
1877 (uiClassID):Likewise.
1878 (getUIClassID): Replaced constant with real string.
1879 (setModel):Likewise.
1880 (setEditable):Likewise.
1881 (setMaximumRowCount):Likewise.
1882 (setRenderer):Likewise.
1883 (setEditor):Likewise.
1884 (setEnabled):Likewise.
1885 * javax/swing/JLabel.java
1886 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
1887 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
1888 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
1889 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
1890 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
1891 (ICON_CHANGED_PROPERTY): Likewise.
1892 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
1893 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
1894 (TEXT_CHANGED_PROPERTY): Likewise.
1895 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
1896 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
1897 (setText): Replaced constant with real string.
1898 (setIcon): Likewise.
1899 (setDisabledIcon): Likewise.
1900 (setDisplayedMnemonic): Likewise.
1901 (setIconTextGap): Likewise.
1902 (setVerticalAlignment): Likewise.
1903 (setHorizontalAlignment): Likewise.
1904 (setVerticalTextPosition): Likewise.
1905 (setHorizontalTextPosition): Likewise.
1906 (setLabelFor): Replaced constant with real string.
1907 Fire property change event after property got changed.
1908 * javax/swing/JList.java
1909 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
1910 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
1911 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
1912 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
1913 (MODEL_PROPERTY_CHANGED): Likewise.
1914 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
1915 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
1916 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
1917 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
1918 (setFixedCellWidth): Reimplemented.
1919 (setFixedCellHeight): Exit if new value is identical.
1920 Replaced constant with real string.
1921 (setSelectionBackground): Likewise.
1922 (setSelectionForeground): Likewise.
1923 (setPrototypeCellValue): Likewise.
1924 (setCellRenderer): Replaced constant with real string.
1925 (setModel): Likewise.
1926 (setSelectionModel): Likewise.
1927 * javax/swing/JMenuBar.java
1928 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
1929 (MODEL_CHANGED_PROPERTY): Likewise.
1930 (MARGIN_CHANGED_PROPERTY): Likewise.
1931 (setBorderPainted): Reimplemented.
1932 (setMargin): Likewise.
1933 (setSelectionModel): Replaced constant with real string.
1934 * javax/swing/JPopupMenu.java
1935 (LABEL_CHANGED_PROPERTY): Removed.
1936 (VISIBLE_CHANGED_PROPERTY): Likewise.
1937 (borderPainted): Likewise.
1938 (setLabel): Replaced constant with real string.
1939 (setVisible): Exit if new value is identical.
1940 Replaced constant with real string.
1941 * javax/swing/JProgressBar.java
1942 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
1943 (ORIENTATION_CHANGED_PROPERTY): Likewise.
1944 (STRING_CHANGED_PROPERTY): Likewise.
1945 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
1946 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
1947 (setOrientation): Replaced constant with real string.
1948 (setStringPainted): Likewise.
1949 (setString): Likewise.
1950 (setBorderPainted): Likewise.
1951 (setIndeterminate): Likewise.
1952 * javax/swing/JScrollBar.java
1953 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
1954 (MODEL_CHANGED_PROPERTY): Likewise.
1955 (ORIENTATION_CHANGED_PROPERTY): Likewise.
1956 (setOrientation): Replaced constant with real string.
1957 (setModel): Likewise.
1958 (setUnitIncrement): Likewise.
1959 (setBlockIncrement): Likewise.
1960 * javax/swing/JScrollPane.java
1961 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
1962 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
1963 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
1964 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
1965 (LAYOUT_CHANGED_PROPERTY): Likewise.
1966 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
1967 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
1968 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
1969 (VIEWPORT_CHANGED_PROPERTY): Likewise.
1970 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
1971 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
1972 (setComponentOrientation): Replaced constant with real string.
1973 (setColumnHeader): Likewise.
1974 (setHorizontalScrollBar): Likewise.
1975 (setHorizontalScrollBarPolicy): Likewise.
1976 (setRowHeader): Likewise.
1977 (setVerticalScrollBar): Likewise.
1978 (setVerticalScrollBarPolicy): Likewise.
1979 (setWheelScrollingEnabled): Likewise.
1980 (setViewport): Likewise.
1981 (setViewportBorder): Likewise.
1982 * javax/swing/JSlider.java
1983 (INVERTED_CHANGED_PROPERTY): Removed.
1984 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
1985 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
1986 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
1987 (MODEL_CHANGED_PROPERTY): Likewise.
1988 (ORIENTATION_CHANGED_PROPERTY): Likewise.
1989 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
1990 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
1991 (setModel): Replaced constant with real string.
1992 (setOrientation): Likewise.
1993 (setLabelTable): Likewise.
1994 (setInverted): Likewise.
1995 (setMajorTickSpacing): Likewise.
1996 (setMinorTickSpacing): Likewise.
1997 (setPaintTicks): Likewise.
1998 (setPaintLabels): Likewise.
1999 * javax/swing/JTabbedPane.java
2000 (MODEL_CHANGED_PROPERTY): Removed.
2001 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2002 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2003 (setModel): Replaced constant with real string.
2004 (setTabPlacement): Likewise.
2005 (setTabLayoutPolicy): Likewise.
2006 * javax/swing/JToolBar.java
2007 (ORIENTATION_CHANGED_PROPERTY): Removed.
2008 (FLOATABLE_CHANGED_PROPERTY): Likewise.
2009 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2010 (MARGIN_CHANGED_PROPERTY): Likewise.
2011 (ROLLOVER_CHANGED_PROPERTY): Likewise.
2012 (setRollover): Replaced constant with real string.
2013 (setMargin): Likewise.
2014 (setBorderPainted): Likewise.
2015 (setFloatable): Likewise.
2016 (setOrientation): Likewise.
2017 * javax/swing/plaf/basic/BasicComboBoxUI.java
2018 (PropertyChangeHandler.propertyChange): Likewise.
2019 * javax/swing/plaf/basic/BasicComboPopup.java
2020 (PropertyChangeHandler.propertyChange): Likewise.
2021 * javax/swing/plaf/basic/BasicMenuBarUI.java
2022 (PropertyChangeHandler.propertyChange): Likewise.
2023 * javax/swing/plaf/basic/BasicProgressBarUI.java
2024 (PropertyChangeHandler.propertyChange): Likewise.
2025 * javax/swing/plaf/basic/BasicScrollBarUI.java
2026 (PropertyChangeHandler.propertyChange): Likewise.
2027 * javax/swing/plaf/basic/BasicSliderUI.java
2028 (PropertyChangeHandler.propertyChange): Likewise.
2029 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2030 (PropertyChangeHandler.propertyChange): Likewise.
2031 * javax/swing/plaf/basic/BasicToolBarUI.java
2032 (PropertyChangeHandler.propertyChange): Likewise.
2034 2005-02-15 Michael Koch <konqueror@gmx.de>
2036 * javax/swing/DefaultButtonModel.java
2037 (changeState): Made private.
2038 * javax/swing/DefaultDesktopManager.java
2039 (setWasIcon): Fixed second argument to be java.lang.Boolean.
2040 * javax/swing/JLayeredPane.java
2041 (layerToRange): Made private.
2042 (incrLayer): Likewise.
2043 (decrLayer): Likewise.
2044 * javax/swing/JTable.java
2045 (dragEnabled): Likewise.
2046 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2047 * javax/swing/KeyStroke.java
2048 (Keystroke): Made private.
2049 * javax/swing/TransferHandler.java
2050 (COMMAND_COPY): Likewise.
2051 (COMMAND_CUT): Likewise.
2052 (COMMAND_PASTE): Likewise.
2054 2005-02-15 Michael Koch <konqueror@gmx.de>
2056 * javax/swing/JTextField.java
2057 (postActionEvent): Use text in field when actionCommand is null.
2058 (getActionCommand): Removed.
2060 2005-02-15 Michael Koch <konqueror@gmx.de>
2062 * javax/swing/AbstractSet.java: Removed.
2063 * Makefile.am: Removed javax/swing/AbstractSet.java.
2064 * Makefile.in: Regenerated.
2066 2005-02-15 Michael Koch <konqueror@gmx.de>
2068 * java/awt/Window.java
2069 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2070 * java/awt/dnd/DnDConstants.java
2071 (DnDConstants): New private constructor.
2073 2005-02-15 Michael Koch <konqueror@gmx.de>
2075 * javax/swing/DefaultCellRenderer.java: Removed.
2076 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2077 * Makefile.in: Regenerated.
2079 2005-02-15 Michael Koch <konqueror@gmx.de>
2081 * javax/swing/AbstractButton.java
2082 (fireItemStateChanged): Made protected.
2083 (fireActionPerformed): Likewise.
2084 (fireStateChanged): Likewise.
2085 * javax/swing/DefaultButtonModel.java
2086 (fireItemStateChanged): Likewise.
2087 (fireActionPerformed): Likewise.
2088 (fireStateChanged): Likewise.
2089 * javax/swing/JApplet.java
2091 (frameInit): Likewise.
2092 (setRootPane): Made protected.
2093 (createRootPane): Likewise.
2094 * javax/swing/JComponent.java
2095 (getClientProperty): Likewise.
2096 (putClientProperty): Likewise.
2097 * javax/swing/JEditorPane.java
2098 (getContentType): Likewise.
2099 (setContentType): Likewise.
2100 * javax/swing/JFrame.java
2101 (setRootPane): Likewise.
2102 (createRootPane): Likewise.
2103 * javax/swing/JInternalFrame.java
2104 (getFocusCycleRootAncestor): Made final. Added @since tag.
2105 (isFocusCycleRoot): Likewise.
2106 (getWarningString): Made final.
2107 * javax/swing/JScrollBar.java
2108 (changeListener): Removed.
2109 (changeEvent): Likewise.
2110 (createChangeListener): Likewise.
2111 (fireStateChanged): Likewise.
2112 (addChangeListener): Likewise.
2113 (removeChangeListener): Likewise.
2114 (getChangeListeners): Likewise.
2115 * javax/swing/JScrollPane.java
2116 (createViewport): Made protected.
2117 * javax/swing/JViewport.java
2118 (addImpl): Likewise.
2119 (setBorder): New method.
2120 * javax/swing/JWindow.java
2121 (setRootPane): Made protected.
2122 (createRootPane): Likewise.
2123 * javax/swing/plaf/basic/BasicButtonUI.java
2124 (installListeners): Likewise.
2125 (uninstallListeners): Likewise.
2126 * javax/swing/plaf/basic/BasicProgressBarUI.java
2127 (incrementAnimationIndex): Likewise.
2128 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2129 (createLayoutManager): Likewise.
2130 * javax/swing/table/DefaultTableCellRenderer.java
2131 (firePropertyChange): Likewise.
2132 * javax/swing/table/JTableHeader.java
2133 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
2135 * javax/swing/text/PlainDocument.java
2136 (reindex): Made private.
2137 * javax/swing/text/PlainView.java
2138 (drawLine): Made protected.
2139 (getTabSize): Likewise.
2140 * javax/swing/text/View.java
2142 (preferenceChanged): New method.
2143 (getBreakWeight): Likewise.
2144 (breakView): Likewise.
2145 (getViewIndex): Likewise.
2147 2005-02-15 Michael Koch <konqueror@gmx.de>
2149 * javax/swing/JScrollPane.java
2150 (ScrollBar): Made class protected.
2151 * javax/swing/JSpinner.java
2152 (JSpinner): Added @since tag.
2153 (listenerList): Removed.
2154 * javax/swing/JTable.java
2155 (setValueAt): New method.
2156 (getColumn): Likewise.
2157 * javax/swing/JWindow.java
2158 (rootPaneCheckingEnabled): Renamed from checking.
2160 2005-02-15 Michael Koch <konqueror@gmx.de>
2162 * javax/swing/plaf/basic/BasicTextUI.java
2163 (RootView.modelToView): Made it public and return a java.awt.Shape.
2164 Handle null subview.
2165 (uninstall): Set textComponent to null when its not possible used
2167 * javax/swing/text/View.java
2168 (setParent): Use better argument name.
2169 (getContainer): Get parent via getParent().
2170 (getViewFactory): Likewise.
2171 (getAttributes): Get element via getElement().
2172 (getStartOffset): Likewise.
2173 (getEndOffset): Likewise.
2174 (getResizeWeight): New method.
2175 (getMaximumSpan): Likewise.
2176 (getMinimumSpan): Likewise.
2177 (setSize): Likewise.
2178 (getGraphics): Likewise.
2180 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2182 * java/awt/Checkbox.java:
2183 (AccessibleAWTCheckbox()): Added public constructor
2185 * java/awt/Choice.java:
2186 (AccessibleAWTChoice): Added class documentation.
2187 (AccessibleAWTChoice()): Added public constructor
2189 (AccessibleAWTChoice.getAccessibleAction()): Documented.
2190 (AccessibleAWTChoice.getAccessibleRole()): Documented,
2191 and changed role to COMBO_BOX.
2192 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
2193 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
2194 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
2196 2005-02-15 Graydon Hoare <graydon@redhat.com>
2197 Michael Koch <konqueror@gmx.de>
2199 * javax/swing/LayoutFocusTraversalPolicy.java,
2200 javax/swing/SortingFocusTraversalPolicy.java:
2202 * Makefile.am: Added new classes.
2203 * Makefike.in: Regenerated.
2206 2005-02-15 Michael Koch <konqueror@gmx.de>
2208 * javax/swing/DebugGraphics.java: Mostly implemented.
2210 2005-02-15 Michael Koch <konqueror@gmx.de>
2212 * javax/swing/SwingUtilities.java
2213 (findFocusOwner): New method.
2215 2005-02-15 Michael Koch <konqueror@gmx.de>
2217 * javax/swing/text/DefaultEditorKit.java
2218 (read): Added '\n' after each line.
2219 * javax/swing/text/PlainView.java
2220 (modelToView): Update metrics.
2221 (drawLine): Use offsets from element.
2222 (paint): Update metrics. Draw all lines.
2224 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2226 * java/awt/Checkbox.java:
2227 (AccessibleAWTCheckbox): Added class documentation
2228 * java/awt/Scrollbar.java:
2229 (AccessibleAWTScrollBar): typo corrected and docs added
2230 (AccessibleAWTScrollBar.getAccessibleRole()): documented
2231 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
2232 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
2233 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
2234 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
2235 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
2236 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
2237 (getAccessibleContext()): name of accessible class corrected
2239 2005-02-15 Mark Wielaard <mark@klomp.org>
2241 * java/awt/BasicStroke.java (hashCode): Implement.
2244 2005-02-15 Michael Koch <konqueror@gmx.de>
2246 * java/awt/print/PrinterJob.java
2247 (pageDialog): Throws java.awt.HeadlessException.
2248 (printDialog): Likewise.
2250 2005-02-15 Mark Wielaard <mark@klomp.org>
2252 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
2254 2005-02-15 Michael Koch <konqueror@gmx.de>
2256 * javax/swing/JTable.java
2257 (getValueAt): New method.
2258 * javax/swing/table/JTableHeader.java
2259 (columnAtPoint): New method.
2261 2005-02-15 Michael Koch <konqueror@gmx.de>
2263 * javax/swing/JTextField.java
2264 (actions): New field.
2265 (static): Initalize actions field.
2266 (getActions): New method.
2268 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2270 * java/awt/Checkbox.java:
2271 (AccessibleAWTCheckbox): name capitalization corrected
2272 and serialization UID added.
2273 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
2275 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
2276 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
2277 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
2278 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
2279 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
2280 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
2281 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
2282 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
2283 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
2284 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
2285 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
2287 (getAccessibleContext()): name of accessible class corrected
2289 2005-02-15 Sven de Marothy <sven@physto.se>
2291 * java/awt/geom/doc-files/Area-1.png,
2292 java/awt/geom/doc-files/Ellipse-1.png,
2293 java/awt/geom/doc-files/GeneralPath-1.png:
2296 2005-02-15 Graydon Hoare <graydon@redhat.com>
2298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
2299 Use union to avoid type-punning warning.
2301 2005-02-15 Michael Koch <konqueror@gmx.de>
2303 * javax/swing/DefaultListSelectionModel.java
2304 (clone): New method.
2306 2005-02-15 Mark Wielaard <mark@klomp.org>
2308 Reported by Martin Platter <motse@complang.tuwien.ac.at>
2309 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2310 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
2311 Correct method signature of gtkSetFilename.
2313 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
2315 * javax/swing/text/StringContent.java: New file.
2317 2005-02-15 Michael Koch <konqueror@gmx.de>
2319 * Makefile.am: Added javax/swing/text/StringContent.java.
2320 * Makefile.in: Regenerated.
2322 2005-02-15 Michael Koch <konqueror@gmx.de>
2324 * gnu/java/awt/ClasspathToolkit.java:
2325 Import statements reworked.
2326 (imageCache): Made it of type java.util.HashMap.
2328 2005-02-15 Michael Koch <konqueror@gmx.de>
2330 * javax/imageio/stream/MemoryCacheImageInputStream.java:
2331 Reworked import statements.
2333 2005-02-15 Graydon Hoare <graydon@redhat.com>
2335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
2336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
2338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2339 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
2340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
2341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
2342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2346 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
2348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2351 Rewrite uses of extern variable to be function calls.
2352 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
2353 function, from extern variable.
2354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2355 (gdk_env): Remove variable, add new function.
2356 (java_vm): Add new variable.
2357 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
2358 java_vm rather than old gdk_env variable.
2360 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
2362 * javax/swing/DefaultListModel.java
2363 (add): fire correct event,
2364 (addElement): corrected interval indices in event,
2365 (clear): corrected upper bound for interval, only fire event if
2367 (setSize): fire appropriate event.
2369 2005-02-15 Graydon Hoare <graydon@redhat.com>
2371 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
2372 * gnu/awt/xlib/XToolkit.java: Likewise.
2373 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
2374 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
2375 * gnu/java/awt/ClasspathToolkit.java: Likewise.
2376 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
2377 * java/awt/EventQueue.java (getNextEvent):
2378 Adjust event loop to switch to native mode after 100ms.
2379 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
2380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2381 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
2382 Wake up event thread.
2383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2384 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
2385 Adjust event loop to switch to java mode after 100ms.
2387 2005-02-15 Graydon Hoare <graydon@redhat.com>
2389 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
2390 accidentally removed in last change.
2392 2005-02-15 Michael Koch <konqueror@gmx.de>
2394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2395 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
2397 2005-02-15 Graydon Hoare <graydon@redhat.com>
2399 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
2400 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
2401 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
2402 * jni.cc: Reuse bottom frame between calls, avoid clearing
2403 frame when no local references are made.
2405 2005-02-15 Michael Koch <konqueror@gmx.de>
2407 * javax/swing/UIDefaults.java (UIDefaults):
2408 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
2409 Fixed HTML entity and removed a redundant comma.
2411 2005-02-15 Michael Koch <konqueror@gmx.de>
2413 * javax/swing/text/DefaultEditorKit.java
2414 (deinstall): Removed.
2415 (install): Likewise.
2417 2005-02-15 Michael Koch <konqueror@gmx.de>
2419 * javax/swing/UIDefaults.java (put): Handle value of null.
2421 2005-02-15 Michael Koch <konqueror@gmx.de>
2423 * java/awt/Robot.java,
2424 java/awt/Scrollbar.java,
2425 java/awt/print/PrinterJob.java,
2426 javax/swing/JTable.java,
2427 javax/swing/text/AbstractDocument.java:
2428 Reworked import statements.
2430 2005-02-15 Michael Koch <konqueror@gmx.de>
2432 * javax/swing/JEditorPane.java
2433 (read): Implemented.
2435 * javax/swing/text/DefaultEditorKit.java
2436 (page): Renamed from page_url. Made private.
2437 (editorKit): Renamed from kit. Made private.
2439 (JEditorPane): All constructors reimplemented.
2440 (getContentType): Use content type from editor kit.
2441 (getEditorKit): Return editorKit.
2442 (getEditorKitForContentType):Likewise.
2443 (getPage): Return page.
2444 (setContentType): Reimplemented.
2445 (setEditorKit): Likewise.
2446 (setEditorKitForContentType): Removed wrong implementation.
2447 (setPage): Implemented.
2449 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2452 (nativeSetIconImageFromData): Re-add native implementation.
2454 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
2456 * javax/swing/table/DefaultTableModel.java
2457 (DefaultTableModel()): Added Javadocs.
2458 (DefaultTableModel(int, int)): Fixed implementation.
2459 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
2460 for negative rowCount.
2461 (DefaultTableModel(Object[], int)): Added Javadocs.
2462 (DefaultTableModel(Vector, Vector)): Likewise.
2463 (DefaultTableModel(Object[][], Object[])): Likewise.
2464 (getDataVector): Likewise.
2465 (setDataVector(Vector, Vector)): Likewise.
2466 (setDataVector(Object[][], Object[])): Likewise.
2467 (newDataAvailable): Likewise.
2468 (newRowsAdded): Likewise.
2469 (rowsRemoved): Likewise.
2470 (setColumnIdentifiers(Vector)): Allow for null argument.
2471 (setColumnIdentifiers(Object[])): Added Javadocs.
2472 (setNumRows): Likewise.
2473 (setRowCount): Adds new rows if necessary, and sends more specific
2475 (setColumnCount): Allow for null columnIdentifiers.
2476 (addColumn(Object)): Added Javadocs.
2477 (addColumn(Object, Vector)): Handle null columnData.
2478 (addColumn(Object, Object[])): Handle columnData with more or less
2479 entries than rows in the table.
2480 (addRow(Vector)): Fire appropriate event.
2481 (addRow(Object[])): Added Javadocs.
2482 (insertRow(int, Vector)): Fire appropriate event.
2483 (insertRow(int, Object[])): Added Javadocs.
2484 (moveRow): Reimplemented.
2485 (removeRow(int)): Fire appropriate event.
2486 (getColumnCount): Allow for null columnIdentifiers.
2487 (getColumnName): Now returns empty string when column index is too
2489 (isCellEditable): Added Javadocs.
2490 (getValueAt): Likewise.
2491 (setValueAt): Fire more specific event.
2492 (convertToVector): Added Javadocs.
2493 * javax/swing/table/TableModel.java
2496 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2498 * libgcj.spec.in (lib): Add -l-javax-imageio.
2500 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2502 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
2503 references to event queue q with method call q().
2504 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
2505 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2506 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
2507 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
2508 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
2509 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
2512 2005-02-15 Graydon Hoare <graydon@redhat.com>
2514 * gnu/java/awt/ClasspathToolkit.java
2515 (registerImageIOSpis): New method.
2516 * gnu/java/awt/image/ImageDecoder.java
2517 (imageDecoder): New constructor using InputStream
2518 (startProduction): Handle existing InputStream.
2519 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2520 (findSimpleIntegerArray): Make public and static.
2521 (updateBufferedImage): Set each pixel, in a loop.
2522 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2523 Implement ImageIO SPI classes.
2524 (createBufferedImage): Rewrite in terms of SPI classes.
2525 * gnu/java/awt/peer/gtk/GtkToolkit.java
2526 (registerImageIOSpis): New method.
2527 * java/lang/reflect/natMethod.cc
2528 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
2529 which lets JNI call interface methods properly.
2530 * javax/imageio/ImageIO.java
2531 (WriterFormatFilter.filter): Fix copy-and-paste typos.
2532 (WriterMIMETypeFilter.filter): Likewise.
2533 (ImageReaderIterator): Pass extension argument through to SPI.
2534 (getReadersByFilter): Likewise.
2535 (getWritersByFilter): Likewise.
2536 (getImageReadersByFormatName): Likewise.
2537 (getImageReadersByMIMEType): Likewise.
2538 (getImageReadersBySuffix): Likewise.
2539 (getImageWritersByFormatName): Likewise.
2540 (getImageWritersByMIMEType): Likewise.
2541 (getImageWritersBySuffix): Likewise.
2544 * javax/imageio/ImageReader.java
2545 (progressListeners): Initialize.
2546 (setInput): Implement.
2547 * javax/imageio/ImageWriter.java
2548 (progressListeners): Initialize.
2549 (warningListeners): Likewise.
2550 (warningLocales): Likewise.
2551 (setOutput): Test "isInstance" rather than class equality.
2552 * javax/imageio/spi/IIORegistry.java
2553 (static): Add reader and writer SPIs.
2554 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
2555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2556 (query_formats): New function.
2557 (save_to_stream): Likewise.
2558 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
2560 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
2564 (keyPress): Likewise.
2565 (keyRelease): Likewise.
2567 2005-02-15 Olga Rodimina <rodimina@redhat.com>
2569 * javax/swing/JTable.java
2570 (columnAtPoint): New Method. Implemented.
2571 (rowAtPoint): Likewise.
2572 (countSelections): Fixed few small count errors.
2573 (getSelections): Likewise.
2574 (setSelectionMode): Set selection mode for column
2575 selection model in addition to row selection model.
2576 * javax/swing/plaf/basic/BasicTableUI.java:
2577 (getRowForPoint): Removed. Replaced by
2578 JTable.rowAtPoint().
2579 (getColForPoint): Removed. Replaced by
2580 JTable.columnAtPoint().
2581 (updateSelection): Updated to call JTable.columnAtPoint
2582 and JTable.rowAtPoint.
2583 * javax/swing/table/DefaultTableColumnModel.java:
2584 (getSelectedColumns): Implemented.
2585 (getSelectedColumnCount): Implemented.
2587 2005-02-15 Graydon Hoare <graydon@redhat.com>
2590 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
2591 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
2592 * Makefile.in: Regenerate.
2593 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
2594 * gnu/awt/xlib/XFramePeer.java: Likewise.
2595 * gnu/awt/xlib/XToolkit.java: Likewise.
2596 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
2597 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
2598 * gnu/java/awt/ClasspathToolkit.java
2601 (iterateNativeQueue): New methods.
2602 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
2603 * gnu/java/awt/peer/gtk/GtkToolkit.java
2604 (gtkInit): Absorb from defunct GtkMainThread class.
2605 (static): Run gtkInit in static startup block.
2606 (GtkToolkit): Remove construction of GtkMainThread and queue.
2607 (getSystemEventQueueImpl): Construct queue when requested.
2610 (iterateNativeQueue): New methods.
2611 * java/awt/Component.java (removeNotify): Remove race.
2612 * java/awt/EventDispatchThread.java
2613 (EventDispatchThread): Don't start on construction.
2614 (run): Remove isInterrupted check.
2615 * java/awt/EventQueue.java (shutdown): New flag.
2616 (isShutdown): New method checking J2SE shutdown condition.
2617 (setShutdown): New method.
2618 (getNextEvent): Restructure to use ClasspathToolkit.
2619 (postEvent): Activate new thread on posting, wake thread on
2620 post of possible shutdown condition event.
2621 * java/awt/Frame.java
2622 (Frame): Call noteFrame in all constructors.
2623 (fireDummyEvent): New helper method.
2624 (addNotify): Fire a dummy event to wake up queue.
2625 (removeNotify): Fire a dummy event to wake up queue.
2626 (noteFrame): New method.
2627 (weakFrames): New static field.
2628 (getFrames): Implement.
2629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
2631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
2632 Move everything from GtkMainThread into this file
2633 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
2634 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
2635 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
2636 New functions to implement single-threaded queue semantics.
2638 2005-02-15 Michael Koch <konqueror@gmx.de>
2640 * javax/swing/plaf/metal/MetalLookAndFeel.java
2641 (getControlTextFont): New method.
2642 (getMenuTextFont): Likewise.
2643 (getSubTextFont): Likewise.
2644 (getSystemTextFont): Likewise.
2645 (getUserTextFont): Likewise.
2646 (getWindowTitleFont): Likewise.
2648 2005-02-15 Michael Koch <konqueror@gmx.de>
2650 * javax/swing/text/AbstractDocument.java
2651 (documentFilter): New field.
2652 (getDocumentFilter): New method.
2653 (setDocumentFilter): Likewise.
2656 2005-02-15 Michael Koch <konqueror@gmx.de>
2658 * javax/swing/JTree.java
2659 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
2661 2005-02-15 Michael Koch <konqueror@gmx.de>
2663 * javax/swing/text/AbstractDocument.java
2664 (AbstractElement.getLength): Fixed off-by-one error.
2665 (AbstractElement.children): Made abstract.
2666 (AbstractElement.getAllowsChildren): Likewise.
2667 (AbstractElement.getElement): Likewise.
2668 (AbstractElement.dumpElement): New private method.
2669 (AbstractElement.dump): New method.
2670 (BranchElememt.getName): Fixed implementation.
2671 (BranchElememt.toString): Likewise.
2672 (BranchElememt.getElement): Fixed arguments.
2673 (LeafElement.getName): Fixed implementation.
2674 (LeafElement.toString): Likewise.
2675 * javax/swing/text/GapContent.java
2676 (GapContent): Put default content into buffer.
2677 * javax/swing/text/PlainDocument.java
2678 (reindex): Use empty attribute sets instead of null.
2679 (createDefaultRoot): Reimplemented.
2680 (insertUpdate): Call super method.
2681 (removeUpdate): Likewise.
2682 (getParagraphElement): Implemented.
2684 2005-02-15 Michael Koch <konqueror@gmx.de>
2686 * gnu/java/awt/ClasspathToolkit.java
2687 (createRobot): Throws java.awt.AWTException.
2688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
2689 Added '__attribute__((unused))' to all unused method arguments.
2691 2005-02-15 Michael Koch <konqueror@gmx.de>
2693 * javax/swing/DefaultBoundedRangeModel.java
2694 (fireValueChanged): Fixed off-by-one error.
2696 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2698 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
2699 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
2701 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
2702 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
2703 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
2704 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
2705 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
2706 (getDefaultScreenDevice): Implement.
2707 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
2708 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
2709 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
2710 * java/awt/Robot.java: Implement.
2711 * java/awt/peer/RobotPeer.java: Rename parameters.
2712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
2713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2714 (awt_keycode_to_keysym): Make non-static.
2715 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
2716 AWT_BUTTON3_MASK): Declare constants.
2717 (awt_keycode_to_keysym): Declare.
2719 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
2720 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
2721 and is non-empty pass its value to "make check".
2722 (test_mauve_sim): Likewise.
2724 2005-02-15 Michael Koch <konqueror@gmx.de>
2726 * javax/imageio/IIOParam.java
2727 (setSourceBands): New method.
2728 (setSourceSubsampling): Likewise.
2729 * javax/imageio/ImageReadParam.java
2730 (setDestination): Likewise.
2731 (setDestinationBands): Likewise.
2732 (setSourceProgressivePasses): Likewise.
2733 * javax/imageio/metadata/IIOInvalidTreeException.java
2734 (serialVersionUID): New static field.
2735 * javax/imageio/metadata/IIOMetadataNode.java
2736 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
2737 (parent): Dont initailize with default value explicitely.
2739 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
2740 (removeAttributeNode): Likewise.
2741 (removeAttributeNS): Likewise.
2742 (setAttribute): Likewise.
2743 (setAttributeNode): Likewise.
2744 (setAttributeNodeNS): Likewise.
2745 (setAttributeNS): Likewise.
2746 (appendChild): Likewise.
2747 (getNodeValue): Likewise.
2748 (insertBefore): Likewise.
2749 (removeChild): Likewise.
2750 (replaceChild): Likewise.
2751 (setPrefix): Likewise.
2753 2005-02-15 Michael Koch <konqueror@gmx.de>
2755 * javax/swing/LookAndFeel.java
2756 (getDesktopPropertyValue): New method.
2758 2005-02-15 Michael Koch <konqueror@gmx.de>
2760 * javax/swing/JTree.java
2761 (hasChildren): New instance field.
2763 2005-02-15 Michael Koch <konqueror@gmx.de>
2765 * javax/swing/JComponent.java
2766 (getToolTipText): New method.
2767 (getTitledBorderText): Likewise.
2768 (getAccessibleKeyBinding): Likewise.
2769 (getVerifyInputWhenFocusTarget): Likewise.
2770 (setVerifyInputWhenFocusTarget): Likewise.
2771 (verifyInputWhenFocusTarget): New instance field.
2773 2005-02-15 Michael Koch <konqueror@gmx.de>
2775 * javax/swing/DefaultListSelectionModel.java
2776 (fireValueChanged): New method.
2778 2005-02-15 Michael Koch <konqueror@gmx.de>
2780 * javax/swing/DefaultBoundedRangeModel.java:
2781 Fixed javadocs all over.
2782 (fireStateChanged): Simplified.
2783 * javax/swing/BoundedRangeModel.java:
2786 2005-02-15 Michael Koch <konqueror@gmx.de>
2788 * javax/swing/JRootPane.java
2789 (setMenuBar): Added @deprecated tag.
2790 (getMenuBar): Likewise.
2791 * javax/swing/JTable.java
2792 (sizeColumnsToFit): Likewise.
2794 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
2796 * javax/swing/ImageIcon.java (setImage): Implemented.
2798 2005-02-15 Michael Koch <konqueror@gmx.de>
2800 * javax/swing/JTable.java:
2801 Removed unused imports.
2803 2005-02-15 Olga Rodimina <rodimina@redhat.com>
2805 (prepareRenderer): Get column's index in dataModel instead
2806 of column's view index.
2807 (getColumnCount): return count of the columns in ColumnModel,
2809 (removeColumn): Implemented.
2810 (moveColumm): Likewise.
2811 (setRowHeight): throw IllegalArgumentException if height is
2813 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
2814 (DefaultTableColumnModel):Add call to createSelectionModel().
2815 (addColumn): Fire columnAdded event to registered listeners.
2816 (removeColumn): Fire columnRemoved event to registered listeners.
2817 (moveColumn): Fire columnMoved event to registered listeners.
2818 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
2819 (getColumnIndex): Changed parameter name.
2820 (setColumnSelectionAllowed): Likewise.
2821 (fireColumnAdded): Implemented.
2822 (fireColumnRemoved): Likewise.
2823 (fireColumnMoved): Likewise.
2824 (fireColumnMarginChanged): Likewise.
2825 (getListeners): Changed parameter name.
2826 (propertyChange): Implemented.
2827 (valueChanged): Changed parameter name.
2828 (createSelectionModel): Implemented.
2830 2005-02-15 Michael Koch <konqueror@gmx.de>
2832 * gnu/java/awt/peer/gtk/GtkToolkit.java:
2833 Explicitely import used classes.
2834 (getLocalGraphicsEnvironment): Simplify.
2835 * java/awt/Window.java (Window):
2836 Enable code to get the default GraphicsConfiguration.
2838 2005-02-15 Michael Koch <konqueror@gmx.de>
2840 * javax/swing/plaf/metal/DefaultMetalTheme.java
2841 (CONTROL_TEXT_FONT): New static field.
2842 (MENU_TEXT_FONT): Likewise.
2843 (SUB_TEXT_FONT): Likewise.
2844 (SYSTEM_TEXT_FONT): Likewise.
2845 (USER_TEXT_FONT): Likewise.
2846 (WINDOW_TITLE_FONT): Likewise.
2847 (getControlTextFont): New method.
2848 (getMenuTextFont): Likewise.
2849 (getSubTextFont): Likewise.
2850 (getSystemTextFont): Likewise.
2851 (getUserTextFont): Likewise.
2852 (getWindowTitleFont): Likewise.
2853 * javax/swing/plaf/metal/MetalTheme.java
2854 (BLACK): Initialize with Color.BLACK.
2855 (WHITE): Initialize with Color.WHITE.
2856 (getInactiveControlTextColor): Return getControlDisabled().
2857 (getMenuDisabledForeground): Return getSecondary3().
2858 (getControlTextFont): New abstract method.
2859 (getMenuTextFont): Likewise.
2860 (getSubTextFont): Likewise.
2861 (getSystemTextFont): Likewise.
2862 (getUserTextFont): Likewise.
2863 (getWindowTitleFont): Likewise.
2865 2005-02-15 Michael Koch <konqueror@gmx.de>
2867 * javax/swing/JFormattedTextField.java
2868 (getFocusLostBehavior): Fixed typo in method name.
2869 (setFocusLostBehavior): Likewise.
2871 2005-02-15 Michael Koch <konqueror@gmx.de>
2873 * javax/swing/TransferHandler.java:
2874 Reworked import statements.
2876 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2878 * java/awt/Button.java,
2879 java/awt/Canvas.java,
2880 java/awt/Checkbox.java,
2881 java/awt/CheckboxMenuItem.java,
2882 java/awt/Choice.java,
2883 java/awt/Dialog.java,
2884 java/awt/Frame.java,
2885 java/awt/Label.java,
2888 java/awt/MenuBar.java,
2889 java/awt/MenuItem.java,
2890 java/awt/PopupMenu.java,
2891 java/awt/ScrollPane.java,
2892 java/awt/Scrollbar.java,
2893 java/awt/TextArea.java,
2894 java/awt/Window.java (getAccessibleContext): Clean up comments.
2896 * java/awt/Button.java,
2897 java/awt/Checkbox.java,
2898 java/awt/Choice.java,
2900 java/awt/PopupMenu.java,
2901 java/awt/TextArea.java (getAccessibleContext): Only create new
2903 * java/awt/TextComponent.java (getAccessibleContext): Implement.
2905 2005-02-15 Michael Koch <konqueror@gmx.de>
2907 * java/awt/Button.java,
2908 javax/swing/JApplet.java,
2909 javax/swing/JFormattedTextField.java,
2910 javax/swing/JWindow.java,
2911 javax/swing/JTree.java,
2912 javax/swing/plaf/basic/BasicEditorPaneUI.java,
2913 javax/swing/plaf/basic/BasicTextPaneUI.java,
2914 javax/swing/plaf/basic/BasicTreeUI.java:
2915 Reworked import statements.
2917 2005-02-15 Michael Koch <konqueror@gmx.de>
2919 * Makefile.am: Put javax.imageio into its own library and link it
2920 against lib-org-w3c-dom.la to fix bootstrapping.
2921 * Makefile.in: Regenerated.
2923 2005-02-15 Michael Koch <konqueror@gmx.de>
2925 * javax/swing/text/TextAction.java
2926 (getTextComponent): Simplified. Added Javadoc.
2927 (augmentList): Implemented. Added Javadoc.
2928 (getFocusedComponent): Added javadoc.
2930 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2932 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
2933 getAccessibleContext): Implement.
2934 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
2935 getAccessibleContext): Implement.
2937 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2939 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
2941 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
2943 * java/awt/Window.java (getAccessibleContext): Fix comment.
2944 Remove extra import.
2946 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2948 * java/awt/Window.java (AccessibleAWTWindow): Implement.
2949 (isActive, isFocused, getAccessibleContext): Implement.
2951 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2953 * java/awt/MenuItem.java (getAccessibleContext): Implement.
2954 * java/awt/MenuComponent.java (accessibleContext): Make package
2956 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
2957 AccessibleAWTCheckboxMenuItem): Implement.
2959 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2961 * java/awt/List.java: Implement AccessibleAWTList,
2962 AccessibleAWTListChild.
2964 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2966 * java/awt/Choice.java: Add implements declaration for
2969 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2971 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
2974 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2976 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
2977 implemented interface list.
2979 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
2981 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
2982 * javax/imageio/metadata/IIOAttr.java: New class.
2983 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
2984 * javax/imageio/metadata/IIONodeList.java: New class.
2985 * Makefile.am: Added new files.
2986 * Makefile.in: Regenerated.
2988 2005-02-15 Michael Koch <konqueror@gmx.de>
2990 * javax/swing/AbstractAction.java,
2991 javax/swing/AbstractCellEditor.java,
2992 javax/swing/AbstractListModel.java,
2993 javax/swing/DefaultBoundedRangeModel.java,
2994 javax/swing/DefaultButtonModel.java,
2995 javax/swing/DefaultCellEditor.java,
2996 javax/swing/DefaultComboBoxModel.java,
2997 javax/swing/DefaultDesktopManager.java,
2998 javax/swing/JMenu.java,
2999 javax/swing/JSlider.java,
3000 javax/swing/KeyStroke.java,
3001 javax/swing/OverlayLayout.java,
3002 javax/swing/ScrollPaneLayout.java,
3003 javax/swing/SizeRequirements.java,
3004 javax/swing/ViewportLayout.java:
3005 Made serialVersionUID private.
3007 2005-02-15 Michael Koch <konqueror@gmx.de>
3009 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
3012 2005-02-15 Michael Koch <konqueror@gmx.de>
3014 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
3016 2005-02-15 Michael Koch <konqueror@gmx.de>
3018 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
3020 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
3022 * java/awt/EventDispatchThread.java,
3023 java/awt/Toolkit.java:
3024 Don't catch java.lang.ThreadDeath.
3026 2005-02-15 Michael Koch <konqueror@gmx.de>
3028 * javax/swing/text/PasswordView.java
3029 (drawEchoCharacter): Added javadoc.
3030 (drawSelectedText): Likewise.
3031 (drawUnselectedText): Likewise.
3033 2005-02-15 Michael Koch <konqueror@gmx.de>
3035 * javax/swing/JRootPane.java
3036 (windowDecorationStyle): New field.
3037 (setMenuBar): New method.
3038 (getMenuBar): Likewise.
3039 (getWindowDecorationStyle): Likewise.
3040 (setWindowDecorationStyle): Likewise.
3042 2005-02-15 Michael Koch <konqueror@gmx.de>
3044 * javax/swing/DefaultListSelectionModel.java
3045 (leadAnchorNotificationEnabled): Made protected.
3047 2005-02-15 Michael Koch <konqueror@gmx.de>
3049 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
3050 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
3051 * Makefile.in: Regenerated.
3054 2005-02-15 Michael Koch <konqueror@gmx.de>
3056 * javax/swing/JFormattedTextField.java: Implemented.
3057 * javax/swing/JWindow.java
3058 (JWindow): New constructors.
3059 (initWindow): Renamed from initFrame.
3060 * javax/swing/UIDefaults.java
3061 (ActiveValue): Made interface static.
3062 (LazyValue): Likewise.
3063 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
3064 (TitlePaneLayout.TitlePaneLayout): New constructor.
3065 * javax/swing/plaf/basic/BasicSliderUI.java
3066 (ChangeHandler): Made public.
3067 (FocusHandler): Likewise.
3068 (PropertyChangeHandler): Likewise.
3069 (ScrollListener): Likewise.
3070 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3071 (FocusHandler): Likewise.
3072 (MouseHandler): Likewise.
3073 * javax/swing/plaf/basic/BasicTextPaneUI.java
3074 (BasicTextPaneUI): Extend BasicEditorPaneUI.
3075 * javax/swing/plaf/basic/BasicToolBarUI.java
3076 (BasicToolBarUI): Simplified. Reworked javadoc.
3077 (canDock): Simplified. Make public.
3078 (DockingListener): Made public.
3079 * javax/swing/text/JTextComponent.java
3080 (navigationFilter): New field.
3081 (getNavigationFilter): New method.
3082 (setNavigationFilter): Likewise.
3084 2005-02-15 Michael Koch <konqueror@gmx.de>
3086 * javax/swing/plaf/metal/MetalTheme.java
3087 (getControlTextColor): Return getControlInfo().
3088 (getHighlightedTextColor): Return getControlTextColor().
3090 2005-02-15 Michael Koch <konqueror@gmx.de>
3092 * javax/swing/plaf/basic/BasicButtonListener.java
3093 (BasicButtonListener): New constructor.
3094 * javax/swing/plaf/basic/BasicButtonUI.java
3095 (createButtonListener): Usw new BasicButtonListener constructor.
3097 2005-02-15 Michael Koch <konqueror@gmx.de>
3099 * javax/imageio/event/package.html,
3100 javax/imageio/metadata/package.html: New files.
3102 2005-02-15 Michael Koch <konqueror@gmx.de>
3104 * java/awt/image/MemoryImageSource.java: Reformatted.
3106 2005-02-15 Michael Koch <konqueror@gmx.de>
3108 * javax/swing/tree/TreeCellEditor.java: Refomatted.
3110 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
3112 * java/awt/color/ICC_Profile.java
3113 (finalize): Removed pointless field assignments.
3115 2005-02-15 Michael Koch <konqueror@gmx.de>
3117 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
3118 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
3119 * Makefile.in: Regenerated.
3121 2005-02-15 Michael Koch <konqueror@gmx.de>
3123 * javax/swing/text/DefaultStyledDocument.java: New file.
3124 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
3125 * Makefile.in: Regenerated.
3127 2005-02-15 Michael Koch <konqueror@gmx.de>
3129 * javax/swing/JFileChooser.java
3130 (showDialog): Return CANCEL_OPTION for now.
3131 (showOpenDialog): Likewise.
3132 (showSaveDialog): Likewise.
3134 2005-02-15 Michael Koch <konqueror@gmx.de>
3136 * javax/swing/JApplet.java
3137 (HIDE_ON_CLOSE): Removed.
3138 (EXIT_ON_CLOSE): Likewise.
3139 (DISPOSE_ON_CLOSE): Likewise.
3140 (DO_NOTHING_ON_CLOSE): Likewise.
3141 (close_action): Likewise.
3142 (getDefaultCloseOperation): Likewise.
3143 (setDefaultCloseOperation): Likewise.
3144 (processWindowEvent): Likewise.
3145 (getPreferredSize): Simplified.
3146 * javax/swing/JInternalFrame.java
3147 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
3149 * javax/swing/JWindow.java
3150 (HIDE_ON_CLOSE): Removed.
3151 (EXIT_ON_CLOSE): Likewise.
3152 (DISPOSE_ON_CLOSE): Likewise.
3153 (DO_NOTHING_ON_CLOSE): Likewise.
3154 (close_action): Likewise.
3155 (processKeyEvent): Likewise.
3156 (setDefaultCloseOperation): Likewise.
3157 (getPreferredSize): Simplified.
3159 2005-02-15 Michael Koch <konqueror@gmx.de>
3161 * javax/swing/JTextField.java
3162 (getPreferredSize): Re-implemented.
3164 2005-02-15 Michael Koch <konqueror@gmx.de>
3166 * javax/swing/JLabel.java
3167 (setDisplayedMnemonic): Use only upper case characters.
3168 (setDisplayedMnemonicIndex): Handle index == -1 and fire
3169 PropertyChangeEvent after property got set to the new index.
3171 2005-02-15 Robert Schuster <thebohemian@gmx.net>
3173 * javax/swing/JComboBox.java:
3174 (JComboBox): Removed selection of the
3175 first item in the model.
3177 2005-02-15 Robert Schuster <thebohemian@gmx.net>
3179 * javax/swing/JComboBox.java
3180 added support for no item being selected
3181 (JComboBox): select first or nothing depending on element count
3182 (setModel): cleaned up unneeded "this." usage, added more
3183 docs, made exception behavior match that of the JDK
3184 (setLighWeightPopupEnabled): removed unneeded "this." usage
3186 (setMaximumRowCount): dito
3188 (setPrototypeDisplayValue): dito
3189 (getSelectedItem): simplified, added more user doc
3190 (setSelectedIndex): corrected exception behavior, added more user doc
3191 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
3192 added performance warning to user doc
3193 (addItem): fixed exception behavior, added user doc
3194 (insertItemAt): dito
3196 (removeItemAt): dito
3197 (removeAll): fixed exception behavior, added user doc, added support
3198 for model not being instance of DefaultComboBoxModel
3199 (getSelectedItemObjects): simplified
3200 (getItemCount): fixed dependency on DefaultComboBoxModel
3201 (getItemAt): fixed dependency on MutableComboBoxModel
3202 * javax/swing/DefaultComboBoxModel.java:
3203 (setSelectedItem): updates selected item only if new
3204 value is null or known (match JDK behavior)
3205 * javax/swing/plaf/basic/BasicComboBoxUI.java:
3206 (paintCurrentValue): renders "" if no item is selected
3208 2005-02-15 Michael Koch <konqueror@gmx.de>
3210 * javax/swing/plaf/metal/MetalTheme.java,
3211 javax/swing/plaf/metal/DefaultMetalTheme.java:
3213 * javax/swing/plaf/metal/MetalLookAndFeel.java
3214 * Makefile.am: Added the new files.
3215 * Makefile.in: Regenerated.
3217 2005-02-15 Olga Rodimina <rodimina@redhat.com>
3219 * javax/swing/JTable.java
3220 (editorComp): New field.
3221 (JTable): Initialize local variables and call updateUI
3222 (selectionBackground): Make protected.
3223 (selectionForeground): Likewise.
3224 (initializeLocalVars): Create default editors and renderers,
3225 initialize editingColumn, editingRow variables.
3226 (createDefaultEditors): New Method.
3227 (createDefaultRenderers): Likewise.
3228 (createDefaultListSelectionModel): Removed
3229 (createDefaultSelectionModel): New Method.
3230 (createDefaultTableHeader): Likewise
3231 (removeColumn): Likewise.
3232 (getEditingColumn): Likewise.
3233 (setEditingColumn): Likewise.
3234 (getEditingRow): Likewise.
3235 (setEditingRow): Likewise.
3236 (getEditorComponent): Likewise.
3237 (isEditing): Likewise.
3238 (setDefaultEditor): Likewise.
3239 (addColumnSelectionInterval): Likewise.
3240 (addRowSelectionInterval): Likewise.
3241 (setColumnSelectionInterval): Likewise.
3242 (setRowSelectionInterval): Likewise.
3243 (removeColumnSelectionInterval): Likewise.
3244 (removeRowSelectionInterval): Likewise.
3245 (isColumnSelected): Likewise.
3246 (isRowSelected): Likewise.
3247 (isCellSelected): Likewise.
3248 (selectAll): Likewise.
3250 2005-02-15 Michael Koch <konqueror@gmx.de>
3252 * javax/swing/JTable.java
3253 (addColumn): New method.
3254 (getColumnClass): Likewise.
3255 (getColumnName): Likewise.
3257 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
3259 * javax/swing/TransferHandler.java
3260 (createTransferable): Made protected.
3262 2005-02-15 Michael Koch <konqueror@gmx.de>
3264 * javax/swing/JTable.java,
3265 javax/swing/plaf/basic/BasicTableHeaderUI.java,
3266 javax/swing/plaf/basic/BasicTableUI.java:
3267 Use fixed get/setIntercellSpacing() methods.
3269 2005-02-15 Michael Koch <konqueror@gmx.de>
3271 * javax/swing/JTable.java
3272 (getIntercellSpacing): Fixed typo in method name.
3273 (setIntercellSpacing): Likewise.
3275 2005-02-15 Michael Koch <konqueror@gmx.de>
3277 * javax/swing/text/JTextComponent.java
3278 (focusAccelerator): New variable.
3279 (getFocusAccelerator): New method.
3280 (setFocusAccelerator): Likewise.
3282 2005-02-15 Michael Koch <konqueror@gmx.de>
3284 * javax/swing/JComponent.java
3285 (setTransferHandler): Made public. Fire property change event.
3286 * javax/swing/TransferHandler.java: Implemented.
3287 * javax/swing/text/JTextComponent.java
3288 (DefaultTransferHandler): New inner class.
3289 (defaultTransferHandler): New variable.
3293 (doTransferAction): Likewise.
3295 2005-02-15 Michael Koch <konqueror@gmx.de>
3297 * javax/swing/JTree.java
3298 (collapsePath): New method.
3299 (collapseRow): Likewise.
3300 (expandPath): Likewise.
3301 (expandRow): Likewise.
3302 (checkExpandParents): Likewise.
3303 (doExpandParents): Likewise.
3304 (setExpandedState): Likewise.
3305 (makeVisible): Likewise.
3307 2005-02-15 Michael Koch <konqueror@gmx.de>
3309 * javax/swing/JPasswordField.java: Updated javadocs.
3311 2005-02-15 Michael Koch <konqueror@gmx.de>
3313 * javax/swing/JLayeredPane.java
3314 (getLayer): Fixed return type, made public.
3315 (getPosition): Use new getLayer().
3316 (SetPosition): Likewise.
3317 (getIndexOf): Likewise.
3319 * javax/swing/JInternalFrame.java
3320 (getLayer): Use new JLayeredPane.getLayer().
3323 2005-02-15 Michael Koch <konqueror@gmx.de>
3325 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
3326 (setHeaderValue): Simplified. Do nothing when old value == new value.
3328 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3330 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
3331 against null clip region.
3332 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
3333 gtkWindowSetResizable.
3334 (postConfigureEvent): Only revalidate if frame size has changed.
3335 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
3336 Only revalidate if frame size has changed.
3337 * java/awt/Component.java (reshape): Only repaint and post
3338 component events if component is showing.
3339 * java/awt/Container.java (addImpl): Only post container event if
3340 container is showing.
3342 * java/awt/Window.java (setLocationRelativeTo): Implement.
3343 (setBoundsCallback): Only post component events if component is
3345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
3346 Protect against null graphics structure. Flush gdk event queue.
3348 2005-02-15 Michael Koch <konqueror@gmx.de>
3350 * javax/imageio/ImageReader.java,
3351 javax/imageio/ImageTranscoder.java,
3352 javax/imageio/ImageWriter.java,
3353 javax/imageio/spi/ImageInputStreamSpi.java,
3354 javax/imageio/spi/ImageOutputStreamSpi.java,
3355 javax/imageio/spi/ServiceRegistry.java,
3356 javax/imageio/stream/ImageInputStream.java,
3357 javax/imageio/stream/ImageOutputStream.java: Updated.
3358 * javax/imageio/IIOException.java,
3359 javax/imageio/IIOImage.java,
3360 javax/imageio/IIOParam.java,
3361 javax/imageio/IIOParamController.java,
3362 javax/imageio/ImageIO.java,
3363 javax/imageio/ImageReadParam.java,
3364 javax/imageio/ImageTypeSpecifier.java,
3365 javax/imageio/ImageWriteParam.java,
3366 javax/imageio/spi/IIORegistry.java,
3367 javax/imageio/spi/ImageReaderSpi.java,
3368 javax/imageio/spi/ImageWriterSpi.java,
3369 javax/imageio/stream/FileCacheImageInputStream.java,
3370 javax/imageio/stream/FileCacheImageOutputStream.java,
3371 javax/imageio/stream/FileImageInputStream.java,
3372 javax/imageio/stream/FileImageOutputStream.java,
3373 javax/imageio/stream/ImageInputStreamImpl.java,
3374 javax/imageio/stream/ImageOutputStreamImpl.java,
3375 javax/imageio/stream/MemoryCacheImageInputStream.java,
3376 javax/imageio/stream/MemoryCacheImageOutputStream.java,
3377 javax/imageio/event/IIOReadProgressListener.java,
3378 javax/imageio/event/IIOReadUpdateListener.java,
3379 javax/imageio/event/IIOReadWarningListener.java,
3380 javax/imageio/event/IIOWriteProgressListener.java,
3381 javax/imageio/event/IIOWriteWarningListener.java,
3382 javax/imageio/metadata/IIOMetadata.java,
3383 javax/imageio/metadata/IIOMetadataController.java,
3384 javax/imageio/metadata/IIOMetadataFormat.java,
3385 javax/imageio/metadata/IIOInvalidTreeException.java,
3386 javax/imageio/metadata/IIOMetadataFormatImpl.java,
3387 javax/imageio/metadata/IIOMetadataNode.java: New files.
3388 * Makefile.am (javax_source_files): Added new files
3389 * Makefile.in: Regenerated.
3391 2005-02-15 Graydon Hoare <graydon@redhat.com>
3393 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
3394 Rework painting into BufferedImages
3395 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3396 Construct BufferedImage with alpha only when alpha is
3397 present in colormodel.
3398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3399 Rework painting into client-side jint arrays.
3400 * jni/gtk-peer/gtkcairopeer.h:
3403 2005-02-15 Michael Koch <konqueror@gmx.de>
3405 * javax/swing/DefaultListCellRenderer.java
3406 (serialVersionUID): Made private.
3407 (getListCellRendererComponent): Set horizontal alignment.
3408 * javax/swing/JLabel.java
3409 (setVerticalAlignment): Re-implemented.
3410 (setHorizontalAlignment): Do nothing if old value = new value.
3411 * javax/swing/JList.java
3412 (setCellRenderer): Likewise.
3413 (setModel): Re-implemented.
3414 (setSelectionModel): Likewise.
3416 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
3418 * java/awt/Component.java,
3419 java/awt/geom/Rectangle2D.java:
3422 2005-02-15 Michael Koch <konqueror@gmx.de>
3424 * javax/swing/AbstractListModel.java
3425 (fireContentsChanged): Simplified.
3426 (fireIntervalAdded): Likewise.
3427 (fireIntervalRemoved): Likewise.
3428 * javax/swing/DefaultSingleSelectionModel.java:
3430 (fireStateChanged): Simplified.
3431 * javax/swing/JPopupMenu.java
3432 (setSelectionModel): Set property.
3434 2005-02-15 Michael Koch <konqueror@gmx.de>
3436 * java/awt/print/Book.java: Reformatted.
3438 2005-02-15 Michael Koch <konqueror@gmx.de>
3440 * java/awt/geom/Area.java
3441 (QuadSegment.curveArea): Remove unused variables.
3442 (CubicSegment.curveArea): Likewise.
3444 2005-02-15 Michael Koch <konqueror@gmx.de>
3446 * javax/swing/JTree.java
3447 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
3448 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
3449 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
3450 (EXPANDED): New constant.
3451 (COLLAPSED): Likewise.
3452 (nodeStates): New field.
3453 (cellEditor): New method.
3454 (cellRenderer): Likewise.
3455 (selectionModel): Likewise.
3456 (treeModel): Likewise.
3457 (scrollPathToVisible): Likewise.
3458 (scrollRowToVisible): Likewise.
3459 (isCollapsed): Likewise.
3460 (isExpanded): Likewise.
3461 (clearToggledPaths): Likewise.
3462 (getDescendantToggledPaths): Likewise.
3463 (hasBeenExpanded): Likewise.
3464 (isVisible): Likewise.
3465 (isPathEditable): Likewise.
3467 2005-02-15 Michael Koch <konqueror@gmx.de>
3469 * javax/swing/JLayeredPane.java: Reformatted.
3471 2005-02-15 Michael Koch <konqueror@gmx.de>
3473 * javax/swing/tree/DefaultMutableTreeNode.java:
3475 * javax/swing/tree/MutableTreeNode.java:
3478 2005-02-15 Michael Koch <konqueror@gmx.de>
3480 * javax/swing/JFormattedTextField.java
3481 (setDocument): Call setDocument of super class. Don't fire property
3484 2005-02-15 Sven de Marothy <sven@physto.se>
3486 * java/awt/image/IndexColorModel.java:
3487 Add FIXME with respect to alpha handling.
3488 (getAlpha): Default to returning opaque pixels.
3489 * java/awt/image/MultiPixelPackedSampleModel.java
3490 (MultiPixelPackedSampleModel): Corrected parameters, order of
3491 bit shifts and masks, stride length off by one.
3493 2005-02-15 Michael Koch <konqueror@gmx.de>
3495 * javax/swing/JList.java, javax/swing/JTree.java:
3496 Added much new methods and fixed much methods setting bound properties.
3498 2005-02-16 Mark Wielaard <mark@klomp.org>
3500 * Makefile.am (gnu_xml_source_files): Removed
3501 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
3502 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
3503 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
3504 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
3505 gnu/xml/dom/DomDocumentFragment.java,
3506 gnu/xml/dom/DomProcessingInstruction.java and
3507 gnu/xml/dom/ls/DomLSException.java.
3508 * Makefile.in: Regenerated.
3510 2005-02-16 Tom Tromey <tromey@redhat.com>
3512 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
3513 attribute index is out of bounds.
3515 2005-02-16 Chris Burdess <dog@gnu.org>
3517 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
3518 isDeclared methods. Improved performance of isSpecified methods.
3520 2005-02-16 Chris Burdess <dog@gnu.org>
3522 Fixes bug libgcj/19864
3523 * gnu/xml/dom/DomAttr.java,
3524 gnu/xml/dom/DomCDATA.java,
3525 gnu/xml/dom/DomCDATASection.java,
3526 gnu/xml/dom/DomCharacterData.java,
3527 gnu/xml/dom/DomDOMException.java,
3528 gnu/xml/dom/DomDoctype.java,
3529 gnu/xml/dom/DomDocument.java,
3530 gnu/xml/dom/DomDocumentConfiguration.java,
3531 gnu/xml/dom/DomDocumentFragment.java,
3532 gnu/xml/dom/DomElement.java,
3533 gnu/xml/dom/DomEx.java,
3534 gnu/xml/dom/DomFragment.java,
3535 gnu/xml/dom/DomImpl.java,
3536 gnu/xml/dom/DomIterator.java,
3537 gnu/xml/dom/DomNamedNodeMap.java,
3538 gnu/xml/dom/DomNode.java,
3539 gnu/xml/dom/DomNsNode.java,
3540 gnu/xml/dom/DomPI.java,
3541 gnu/xml/dom/DomProcessingInstruction.java,
3542 gnu/xml/dom/DomText.java,
3543 gnu/xml/dom/DomLSEx.java,
3544 gnu/xml/dom/DomLSException.java,
3545 gnu/xml/dom/DomLSParser.java,
3546 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
3547 implementation class names to conform to Classpath guidelines. Make
3548 DomLSException use JDK 1.4+ exception chaining.
3549 * gnu/xml/util/SAXNullTransformerFactory.java,
3550 gnu/xml/xpath/Predicate.java: Use constants relative to
3551 declaring class or interface.
3553 2005-02-16 Andrew Haley <aph@redhat.com>
3555 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
3556 null, create a new AccessControlContext.
3557 * java/security/SecureClassLoader.java (protectionDomainCache):
3559 (defineClass): Create a new protection domain and add it to our
3562 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
3563 addStub() to keep track of the stub we've exported.
3564 (unexportObject): Call deleteStub().
3565 * java/rmi/server/RemoteObject.java (stubs): New field.
3566 (addStub): New method.
3567 (deleteStub): New method.
3570 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
3571 true to findHelper (tryParents).
3572 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
3574 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
3575 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
3577 If tryParents is false, don't scan parent class loaders.
3579 * java/security/Permissions.java (PermissionsHash.implies):
3580 Iterate over the collection and invoke implies() on each
3583 2005-02-16 Andrew Haley <aph@redhat.com>
3585 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
3587 (PersistentByteMap): Set name
3588 Magic number changed to 0x67636a64 ("gcjd").
3589 (init): Force the map to be prime.
3590 (emptyPersistentByteMap): File name was a string, now a File.
3591 (addBytes): Share srings between entries.
3592 (stringTableSize): New method.
3593 (capacity): Scale by load factor.
3594 (force): New method.
3595 (getFile): New method.
3596 (close): New method.
3597 (putAll): New method.
3598 (ByteWrapper): New class.
3599 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
3600 (main): Guess the average string size as 32, not 64.
3601 Copy a database before modifying it, so that we can update a
3602 database in a running system.
3603 If a database isn't big enough, resize it.
3604 "-m": new option: merges databases.
3605 "-a": Create a new detabase if it doesn't exist.
3606 (usage): Correct, add new option.
3607 (addJar): Copy a database before modifying it.
3608 (resizeMap): New method.
3610 2005-02-15 David Daney <ddaney@avtrex.com>
3611 Bryce McKinlay <mckinlay@redhat.com>
3613 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
3614 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
3615 ensure that GC threads inherit the new signal mask.
3616 (block_sigchld): Call JvFail rather than throwing exception if
3617 pthread_sigmask() fails.
3619 2005-02-15 Mark Wielaard <mark@klomp.org>
3621 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
3622 file path elements are separated by spaces.
3624 2005-02-15 Mark Wielaard <mark@klomp.org>
3626 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
3627 to describe attributes without a constant field value in this class.
3629 2005-02-15 Michael Koch <konqueror@gmx.de>
3631 * java/util/jar/Attributes.java
3632 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
3634 2005-02-15 Mark Wielaard <mark@klomp.org>
3636 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
3637 space for parsing CLASS_PATH attribute.
3639 2005-02-15 Mark Wielaard <mark@klomp.org>
3641 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
3642 aside for "GCJLIBS" in directory where jarfiles are loaded.
3643 (JarURLLoader.getClass): Removed method.
3644 (JarURLLoader.toString): Removed method.
3645 (FileResource.toString): Removed method.
3647 2005-02-15 Mark Wielaard <mark@klomp.org>
3649 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
3650 and/or cause before throwing.
3652 2005-02-15 Richard Henderson <rth@redhat.com>
3654 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
3655 (libgcj0_convenience_la_SOURCES): ... here.
3656 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
3657 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
3658 * Makefile.in: Regenerate.
3660 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
3663 * include/jawt.h: Likewise.
3664 * include/jawt_md.h: Likewise.
3665 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
3667 * include/Makefile.in: Regenerate.
3668 * jni/classpath/classpath_jawt.h: Likewise.
3669 * jni/gtk-peer/gtk_jawt.c: Likewise.
3670 * Makefile.am: Build libjawt.so.
3671 * Makefile.in: Regenerate.
3673 2005-02-14 Tom Tromey <tromey@redhat.com>
3675 * testsuite/libjava.lang/PR19921.java: Use correct class name.
3677 2005-02-14 Tom Tromey <tromey@redhat.com>
3679 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
3680 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
3682 2005-02-14 Tom Tromey <tromey@redhat.com>
3685 * testsuite/libjava.lang/PR19929.out: New file.
3686 * testsuite/libjava.lang/PR19929.java: New file.
3688 2005-02-14 Anthony Green <green@redhat.com>
3691 * testsuite/libjava.jni/PR18116.c: New file.
3692 * testsuite/libjava.jni/PR18116.java: New file.
3693 * testsuite/libjava.jni/PR18116.out: New file.
3695 2005-02-13 Anthony Green <green@redhat.com>
3698 * jni.cc (nathash_add): Don't strdup the method signature.
3699 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
3703 2005-02-12 Mark Wielaard <mark@klomp.org>
3705 Fixes bug libgcj/8170
3706 * java/lang/ClassLoader.java (loadClass): Don't rewrap
3707 ClassNotFoundException.
3708 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
3709 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
3710 (remove_internal): New field superceding remove_interpreter.
3711 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
3712 Remove no-class methods starting with "_Jv_". And Replace null
3713 class or method names with the empty string. Stop at either the
3714 MainThread or a real Thread run() method.
3715 (newElement): Made static.
3716 * java/net/URLClassLoader.java (findClass): Throw
3717 ClassNotFoundExceptions including urls, plus parent using toString().
3718 (thisString): New field.
3719 (toString): New method.
3721 2005-02-10 Tom Tromey <tromey@redhat.com>
3723 * external/sax/Makefile.in: Rebuilt.
3724 * external/sax/Makefile.am (all-local): Removed.
3725 (BUILT_SOURCES): New variable.
3726 (mostlyclean-local): No error if no classes to delete.
3727 * external/w3c_dom/Makefile.in: Rebuilt.
3728 * external/w3c_dom/Makefile.am (all-local): Removed.
3729 (BUILT_SOURCES): New variable.
3730 (mostlyclean-local): No error if no classes to delete.
3732 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
3734 * testsuite/libjava.mauve/xfails: Updated to reflect current state
3735 of mauve and libjava.
3737 2005-02-09 Tom Tromey <tromey@redhat.com>
3739 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
3740 jar file with OPEN_DELETE.
3741 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
3742 OPEN_DELETE is used.
3744 2005-02-09 Tom Tromey <tromey@redhat.com>
3746 * java/util/zip/InflaterInputStream.java (markSupported):
3748 (mark, reset): Likewise.
3750 2005-02-08 Tom Tromey <tromey@redhat.com>
3752 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
3753 name or port is missing.
3754 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
3755 AUTHORITY_PORT_GROUP): Updated.
3757 2005-02-08 Tom Tromey <tromey@redhat.com>
3759 * configure: Rebuilt.
3760 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
3763 2005-02-07 Tom Tromey <tromey@redhat.com>
3765 * java/lang/natRuntime.cc (insertSystemProperties): Set
3766 sun.boot.class.path earlier.
3768 2005-02-07 Tom Tromey <tromey@redhat.com>
3770 * defineclass.cc (handleClassBegin): Use
3771 _Jv_RegisterInitiatingLoader.
3772 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
3773 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
3774 class. Use _Jv_UnregisterInitiatingLoader.
3775 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
3778 2005-02-07 Mark Wielaard <mark@klomp.org>
3780 Reported by Timo Lindfors <timo.lindfors@iki.fi>
3781 java/util/regex/Matcher.java (lookingAt): Set position when match
3783 (matches): Implemented through lookingAt().
3785 2005-02-07 Mark Wielaard <mark@klomp.org>
3787 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
3788 * java/util/regex/Pattern.java (split(CharSequence,int)):
3789 Fix while empties > 0 loops.
3791 2005-02-07 Robert Schuster <thebohemian@gmx.net>
3793 * gnu/java/nio/charset/ISO_8859_1.java,
3794 gnu/java/nio/charset/US_ASCII.java,
3795 gnu/java/nio/charset/UTF_16.java,
3796 gnu/java/nio/charset/UTF_16_LE.java,
3797 gnu/java/nio/charset/UTF_16_BE.java,
3798 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
3799 and aliases according to
3800 "http://www.iana.org/assignments/character-sets",
3801 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
3802 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
3803 * gnu/java/nio/charset/Provider.java: Made charset lookup
3804 case-insensitive which fixes bug #11740.
3806 2005-02-07 Tom Tromey <tromey@redhat.com>
3809 * Makefile.in: Rebuilt.
3810 * Makefile.am (src.zip): New target.
3811 (install-src.zip): Likewise.
3812 (sourcesdir): New variable.
3814 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
3816 * javax/imageio/metadata/IIOMetadataNode.java:
3818 * javax/imageio/metadata/IIOAttr.java,
3819 javax/imageio/metadata/IIONamedNodeMap.java,
3820 javax/imageio/metadata/IIONodeList.java:
3823 2005-02-06 Graydon Hoare <graydon@redhat.com>
3825 * gnu/java/awt/ClasspathToolkit.java
3826 (registerImageIOSpis): New method.
3827 * javax/imageio/ImageIO.java
3828 (WriterFormatFilter.filter): Fix copy-and-paste typos.
3829 (WriterMIMETypeFilter.filter): Likewise.
3830 (ImageReaderIterator): Pass extension argument through to SPI.
3831 (getReadersByFilter): Likewise.
3832 (getWritersByFilter): Likewise.
3833 (getImageReadersByFormatName): Likewise.
3834 (getImageReadersByMIMEType): Likewise.
3835 (getImageReadersBySuffix): Likewise.
3836 (getImageWritersByFormatName): Likewise.
3837 (getImageWritersByMIMEType): Likewise.
3838 (getImageWritersBySuffix): Likewise.
3841 * javax/imageio/ImageReader.java
3842 (progressListeners): Initialize.
3843 (setInput): Implement.
3844 * javax/imageio/ImageWriter.java
3845 (progressListeners): Initialize.
3846 (warningListeners): Likewise.
3847 (warningLocales): Likewise.
3848 (setOutput): Test "isInstance" rather than class equality.
3849 * javax/imageio/spi/IIORegistry.java
3850 (static): Add reader and writer SPIs.
3851 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
3853 2004-02-06 Michael Koch <konqueror@gmx.de>
3855 * javax/imageio/metadata/IIOInvalidTreeException.java
3856 (IIOInvalidTreeException): Reformatted.
3857 * javax/imageio/spi/IIORegistry.java
3858 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
3859 * javax/imageio/stream/MemoryCacheImageInputStream.java:
3860 Reworked import statements.
3862 2004-02-06 Michael Koch <konqueror@gmx.de>
3864 * javax/imageio/stream/FileImageOutputStream.java:
3867 2004-02-06 Michael Koch <konqueror@gmx.de>
3869 * javax/imageio/stream/FileCacheImageInputStream.java,
3870 javax/imageio/stream/FileCacheImageOutputStream.java,
3871 javax/imageio/stream/FileImageInputStream.java,
3872 javax/imageio/stream/ImageInputStreamImpl.java,
3873 javax/imageio/stream/ImageOutputStreamImpl.java,
3874 javax/imageio/stream/MemoryCacheImageInputStream.java,
3875 javax/imageio/stream/MemoryCacheImageOutputStream.java:
3876 Added all missing methods in javax.imageio.stream.
3878 2005-02-02 David Daney <ddaney@avtrex.com>
3880 * java/net/InetAddress.java (InetAddress): Make a private copy of
3882 * java/net/Inet4Address.java (getAddress): Return a copy of the
3884 * java/net/Inet6Address.java (Inet6Address): Use private copy of
3886 (getAddress): Return a copy of the address.
3889 2005-02-02 Tom Tromey <tromey@redhat.com>
3891 * Makefile.in: Rebuilt.
3892 * Makefile.am (classes.stamp): New target, broken out from
3894 ($(all_java_class_files)): Depend on it.
3895 (libgcj-@gcc_version@.jar): Likewise.
3896 (all-recursive): Likewise.
3897 (CLEANFILES): Include classes.stamp.
3899 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
3901 * link.cc: Include <stdio.h>
3903 2005-02-02 Tom Tromey <tromey@redhat.com>
3906 * Makefile.in: Rebuilt.
3907 * Makefile.am (ordinary_java_source_files): Added new class.
3908 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3909 Use system_instance, not instance.
3910 * gnu/gcj/runtime/SystemClassLoader.java: New file.
3911 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
3913 (system_instance): New field.
3914 (initialize): Initialize the system loader as well.
3915 (VMClassLoader): Default to LIB_CACHE.
3917 2005-02-02 Tom Tromey <tromey@redhat.com>
3919 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
3920 * prims.cc: Fixed comment.
3922 2005-02-01 Tom Tromey <tromey@redhat.com>
3924 * Makefile.in: Rebuilt.
3925 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
3926 (.java.class): Use BOOTCLASSPATH.
3928 2005-02-01 Tom Tromey <tromey@redhat.com>
3930 * external/w3c_dom/Makefile.am: New file.
3931 * external/w3c_dom/Makefile.in: New file.
3932 * external/sax/Makefile.am: New file.
3933 * external/sax/Makefile.in: New file.
3934 * external/Makefile.in: New file.
3935 * external/Makefile.am: New file.
3936 * external/README: New file from Classpath.
3937 * configure, aclocal.m4, Makefile.in: Rebuilt.
3938 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
3939 * Makefile.am (SUBDIRS): Added external.
3940 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
3941 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
3942 (BOOTCLASSPATH): New variable.
3943 (AM_GCJFLAGS): Use it.
3944 (gnu_xml_source_files): New variable.
3945 (libgcj_la_SOURCES): Use it.
3946 (libgcj_la_LDADD): Include new convenience libraries.
3947 (lib_org_ietf_jgss_la_SOURCES): Removed.
3948 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
3949 (lib_org_ietf_jgss_la_LIBADD): Likewise.
3950 (lib_org_w3c_dom_la_SOURCES): Removed.
3951 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
3952 (lib_org_w3c_dom_la_LIBADD): Likewise.
3953 (lib_org_xml_sax_la_SOURCES): Removed.
3954 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
3955 (lib_org_xml_sax_la_LIBADD): Likewise.
3956 (all_java_source_files): Updated.
3957 (property_files): Likewise.
3958 (libgcj-@gcc_version@.jar): Include classes from external/.
3959 (javax_source_files): Updated.
3960 (ordinary_java_source_files): Updated.
3961 * javax/xml/XMLConstants.java,
3962 javax/xml/datatype/DatatypeConfigurationException.java,
3963 javax/xml/datatype/DatatypeConstants.java,
3964 javax/xml/datatype/DatatypeFactory.java,
3965 javax/xml/datatype/Duration.java,
3966 javax/xml/datatype/XMLGregorianCalendar.java,
3967 javax/xml/datatype/package.html,
3968 javax/xml/namespace/NamespaceContext.java,
3969 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
3970 javax/xml/parsers/DocumentBuilder.java,
3971 javax/xml/parsers/DocumentBuilderFactory.java,
3972 javax/xml/parsers/FactoryConfigurationError.java,
3973 javax/xml/parsers/ParserConfigurationException.java,
3974 javax/xml/parsers/SAXParser.java,
3975 javax/xml/parsers/SAXParserFactory.java,
3976 javax/xml/parsers/package.html,
3977 javax/xml/transform/ErrorListener.java,
3978 javax/xml/transform/OutputKeys.java,
3979 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
3980 javax/xml/transform/SourceLocator.java,
3981 javax/xml/transform/Templates.java,
3982 javax/xml/transform/Transformer.java,
3983 javax/xml/transform/TransformerConfigurationException.java,
3984 javax/xml/transform/TransformerException.java,
3985 javax/xml/transform/TransformerFactory.java,
3986 javax/xml/transform/TransformerFactoryConfigurationError.java,
3987 javax/xml/transform/URIResolver.java,
3988 javax/xml/transform/package.html,
3989 javax/xml/transform/dom/DOMLocator.java,
3990 javax/xml/transform/dom/DOMResult.java,
3991 javax/xml/transform/dom/DOMSource.java,
3992 javax/xml/transform/dom/package.html,
3993 javax/xml/transform/sax/SAXResult.java,
3994 javax/xml/transform/sax/SAXSource.java,
3995 javax/xml/transform/sax/SAXTransformerFactory.java,
3996 javax/xml/transform/sax/TemplatesHandler.java,
3997 javax/xml/transform/sax/TransformerHandler.java,
3998 javax/xml/transform/sax/package.html,
3999 javax/xml/transform/stream/StreamResult.java,
4000 javax/xml/transform/stream/StreamSource.java,
4001 javax/xml/transform/stream/package.html,
4002 javax/xml/validation/Schema.java,
4003 javax/xml/validation/SchemaFactory.java,
4004 javax/xml/validation/TypeInfoProvider.java,
4005 javax/xml/validation/Validator.java,
4006 javax/xml/validation/ValidatorHandler.java,
4007 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
4008 javax/xml/xpath/XPathConstants.java,
4009 javax/xml/xpath/XPathException.java,
4010 javax/xml/xpath/XPathExpression.java,
4011 javax/xml/xpath/XPathExpressionException.java,
4012 javax/xml/xpath/XPathFactory.java,
4013 javax/xml/xpath/XPathFactoryConfigurationException.java,
4014 javax/xml/xpath/XPathFunction.java,
4015 javax/xml/xpath/XPathFunctionException.java,
4016 javax/xml/xpath/XPathFunctionResolver.java,
4017 javax/xml/xpath/XPathVariableResolver.java,
4018 javax/xml/xpath/package.html: New files, from GNU JAXP.
4019 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
4020 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
4021 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
4022 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
4023 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
4024 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
4025 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
4026 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
4027 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
4028 org/w3c/dom/ranges/DocumentRange.java,
4029 org/w3c/dom/ranges/Range.java,
4030 org/w3c/dom/ranges/RangeException.java,
4031 org/w3c/dom/traversal/DocumentTraversal.java,
4032 org/w3c/dom/traversal/NodeFilter.java,
4033 org/w3c/dom/traversal/NodeIterator.java,
4034 org/w3c/dom/traversal/TreeWalker.java,
4035 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
4036 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
4037 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
4038 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
4039 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
4040 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
4041 org/xml/sax/SAXNotRecognizedException.java,
4042 org/xml/sax/SAXNotSupportedException.java,
4043 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
4044 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
4045 org/xml/sax/ext/DeclHandler.java,
4046 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
4047 org/xml/sax/helpers/AttributeListImpl.java,
4048 org/xml/sax/helpers/AttributesImpl.java,
4049 org/xml/sax/helpers/DefaultHandler.java,
4050 org/xml/sax/helpers/LocatorImpl.java,
4051 org/xml/sax/helpers/NamespaceSupport.java,
4052 org/xml/sax/helpers/NewInstance.java,
4053 org/xml/sax/helpers/ParserAdapter.java,
4054 org/xml/sax/helpers/ParserFactory.java,
4055 org/xml/sax/helpers/XMLFilterImpl.java,
4056 org/xml/sax/helpers/XMLReaderAdapter.java,
4057 org/xml/sax/helpers/XMLReaderFactory.java,
4058 org/xml/sax/helpers/package.html: Moved to external/.
4059 * external/sax/README,
4060 external/sax/org/xml/sax/AttributeList.java,
4061 external/sax/org/xml/sax/Attributes.java,
4062 external/sax/org/xml/sax/ContentHandler.java,
4063 external/sax/org/xml/sax/DTDHandler.java,
4064 external/sax/org/xml/sax/DocumentHandler.java,
4065 external/sax/org/xml/sax/EntityResolver.java,
4066 external/sax/org/xml/sax/ErrorHandler.java,
4067 external/sax/org/xml/sax/HandlerBase.java,
4068 external/sax/org/xml/sax/InputSource.java,
4069 external/sax/org/xml/sax/Locator.java,
4070 external/sax/org/xml/sax/Parser.java,
4071 external/sax/org/xml/sax/SAXException.java,
4072 external/sax/org/xml/sax/SAXNotRecognizedException.java,
4073 external/sax/org/xml/sax/SAXNotSupportedException.java,
4074 external/sax/org/xml/sax/SAXParseException.java,
4075 external/sax/org/xml/sax/XMLFilter.java,
4076 external/sax/org/xml/sax/XMLReader.java,
4077 external/sax/org/xml/sax/package.html,
4078 external/sax/org/xml/sax/ext/Attributes2.java,
4079 external/sax/org/xml/sax/ext/Attributes2Impl.java,
4080 external/sax/org/xml/sax/ext/DeclHandler.java,
4081 external/sax/org/xml/sax/ext/DefaultHandler2.java,
4082 external/sax/org/xml/sax/ext/EntityResolver2.java,
4083 external/sax/org/xml/sax/ext/LexicalHandler.java,
4084 external/sax/org/xml/sax/ext/Locator2.java,
4085 external/sax/org/xml/sax/ext/Locator2Impl.java,
4086 external/sax/org/xml/sax/ext/package.html,
4087 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
4088 external/sax/org/xml/sax/helpers/AttributesImpl.java,
4089 external/sax/org/xml/sax/helpers/DefaultHandler.java,
4090 external/sax/org/xml/sax/helpers/LocatorImpl.java,
4091 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
4092 external/sax/org/xml/sax/helpers/NewInstance.java,
4093 external/sax/org/xml/sax/helpers/ParserAdapter.java,
4094 external/sax/org/xml/sax/helpers/ParserFactory.java,
4095 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
4096 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
4097 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
4098 external/sax/org/xml/sax/helpers/package.html,
4099 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
4100 external/w3c_dom/org/w3c/dom/Attr.java,
4101 external/w3c_dom/org/w3c/dom/CDATASection.java,
4102 external/w3c_dom/org/w3c/dom/CharacterData.java,
4103 external/w3c_dom/org/w3c/dom/Comment.java,
4104 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
4105 external/w3c_dom/org/w3c/dom/DOMError.java,
4106 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
4107 external/w3c_dom/org/w3c/dom/DOMException.java,
4108 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
4109 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
4110 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
4111 external/w3c_dom/org/w3c/dom/DOMLocator.java,
4112 external/w3c_dom/org/w3c/dom/DOMStringList.java,
4113 external/w3c_dom/org/w3c/dom/Document.java,
4114 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
4115 external/w3c_dom/org/w3c/dom/DocumentType.java,
4116 external/w3c_dom/org/w3c/dom/Element.java,
4117 external/w3c_dom/org/w3c/dom/Entity.java,
4118 external/w3c_dom/org/w3c/dom/EntityReference.java,
4119 external/w3c_dom/org/w3c/dom/NameList.java,
4120 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
4121 external/w3c_dom/org/w3c/dom/Node.java,
4122 external/w3c_dom/org/w3c/dom/NodeList.java,
4123 external/w3c_dom/org/w3c/dom/Notation.java,
4124 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
4125 external/w3c_dom/org/w3c/dom/Text.java,
4126 external/w3c_dom/org/w3c/dom/TypeInfo.java,
4127 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
4128 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
4129 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
4130 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
4131 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
4132 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
4133 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
4134 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
4135 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
4136 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
4137 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
4138 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
4139 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
4140 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
4141 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
4142 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
4143 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
4144 external/w3c_dom/org/w3c/dom/css/Counter.java,
4145 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
4146 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
4147 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
4148 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
4149 external/w3c_dom/org/w3c/dom/css/Rect.java,
4150 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
4151 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
4152 external/w3c_dom/org/w3c/dom/events/Event.java,
4153 external/w3c_dom/org/w3c/dom/events/EventException.java,
4154 external/w3c_dom/org/w3c/dom/events/EventListener.java,
4155 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
4156 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
4157 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
4158 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
4159 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
4160 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
4161 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
4162 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
4163 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
4164 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
4165 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
4166 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
4167 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
4168 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
4169 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
4170 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
4171 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
4172 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
4173 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
4174 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
4175 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
4176 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
4177 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
4178 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
4179 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
4180 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
4181 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
4182 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
4183 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
4184 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
4185 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
4186 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
4187 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
4188 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
4189 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
4190 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
4191 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
4192 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
4193 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
4194 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
4195 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
4196 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
4197 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
4198 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
4199 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
4200 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
4201 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
4202 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
4203 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
4204 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
4205 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
4206 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
4207 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
4208 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
4209 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
4210 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
4211 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
4212 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
4213 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
4214 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
4215 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
4216 external/w3c_dom/org/w3c/dom/ls/LSException.java,
4217 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
4218 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
4219 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
4220 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
4221 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
4222 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
4223 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
4224 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
4225 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
4226 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
4227 external/w3c_dom/org/w3c/dom/ranges/Range.java,
4228 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
4229 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
4230 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
4231 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
4232 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
4233 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
4234 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
4235 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
4236 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
4237 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
4238 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
4239 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
4240 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
4241 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
4242 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
4243 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
4244 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
4245 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
4248 2005-01-31 Anthony Green <green@redhat.com>
4250 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
4251 Support IP_MULTICAST_LOOP.
4252 (setOption): Support IP_MULTICAST_LOOP.
4254 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
4255 SO_REUSEADDR support.
4256 (getOption): Support SO_REUSEADDR.
4258 2004-01-28 Jeroen Frijters <jeroen@frijters.net>
4261 * java/util/Date.java
4262 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
4264 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
4266 (getTimezoneOffset): Inverted sign.
4268 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
4270 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
4271 remove other passing tests and add new XFAILs.
4273 2005-01-24 Tom Tromey <tromey@redhat.com>
4275 * java/lang/Class.h (next): Updated documentation. Renamed to
4277 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
4278 _Jv_CheckABIVersion.
4279 (_Jv_RegisterClasses_Counted): Likewise.
4280 (_Jv_RegisterClassHookDefault): Fix starting condition of
4281 duplicate-checking loop.
4282 * include/jvm.h (GCJ_VERSION): New define.
4283 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
4284 (_Jv_CheckABIVersion): New function.
4286 2005-01-24 Jakub Jelinek <jakub@redhat.com>
4288 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
4289 (libgij_la_LDFLAGS): Add.
4290 * Makefile.in: Rebuilt.
4292 2005-01-24 Roger Sayle <roger@eyesopen.com>
4295 * testsuite/libjava.compile/PR19295.java: New test case.
4297 2005-01-19 Tom Tromey <tromey@redhat.com>
4299 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
4300 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
4301 if 'handler' is valid.
4303 2005-01-17 Tom Tromey <tromey@redhat.com>
4305 * java/text/MessageFormat.java (scanString): Changed how quoting
4307 (scanFormatElement): Likewise.
4309 2004-12-07 Mark Wielaard <mark@klomp.org>
4311 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
4313 2005-01-15 Michael Koch <konqueror@gmx.de>
4317 (AUTHORITY_REGEXP): New regexp constant.
4318 (AUTHORITY_USERINFO_GROUP): New constant.
4319 (AUTHORITY_HOST_GROUP): Likewise.
4320 (AUTHORITY_PORT_GROUP): Likewise.
4321 (port): Changed default value to -1.
4322 (parseURI): Parse authority part and initialize host,
4325 2005-01-14 Robin Green <greenrd@greenrd.org>
4327 * java/io/File.java (toURI): Generate a URI which we understand.
4329 2005-01-13 Graydon Hoare <graydon@redhat.com>
4331 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
4332 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
4333 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
4334 * jni.cc: Reuse bottom frame between calls, avoid clearing
4335 frame when no local references are made.
4337 2005-01-13 Michael Koch <konqueror@gmx.de>
4340 * java/lang/Thread.java
4341 (Thread): Call checkAccess().
4342 (stop): Fixed argument name to match javadoc.
4343 * java/lang/natThread.cc
4344 (interrupt): Call checkAccess().
4347 2005-01-11 Michael Koch <konqueror@gmx.de>
4350 * java/net/URL.java (URL): Handle specs like
4351 "/redir?http://domain2.com/index.html" which start with a slash.
4353 2005-01-11 Michael Koch <konqueror@gmx.de>
4355 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
4356 * gnu/java/net/BASE64.java,
4357 gnu/java/net/EmptyX509TrustManager.java,
4358 gnu/java/net/LineInputStream.java,
4359 gnu/java/net/protocol/http/Authenticator.java,
4360 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
4361 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
4362 gnu/java/net/protocol/http/ChunkedInputStream.java,
4363 gnu/java/net/protocol/http/Cookie.java,
4364 gnu/java/net/protocol/http/CookieManager.java,
4365 gnu/java/net/protocol/http/Credentials.java,
4366 gnu/java/net/protocol/http/HTTPConnection.java,
4367 gnu/java/net/protocol/http/HTTPDateFormat.java,
4368 gnu/java/net/protocol/http/HTTPURLConnection.java,
4369 gnu/java/net/protocol/http/Headers.java,
4370 gnu/java/net/protocol/http/Request.java,
4371 gnu/java/net/protocol/http/RequestBodyWriter.java,
4372 gnu/java/net/protocol/http/Response.java,
4373 gnu/java/net/protocol/http/ResponseBodyReader.java,
4374 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
4375 gnu/java/net/protocol/http/SimpleCookieManager.java,
4376 gnu/java/net/protocol/http/event/ConnectionEvent.java,
4377 gnu/java/net/protocol/http/event/ConnectionListener.java,
4378 gnu/java/net/protocol/http/event/RequestEvent.java,
4379 gnu/java/net/protocol/http/event/RequestListener.java: New files.
4380 * gnu/java/net/protocol/http/Connection.java: Removed.
4381 * gnu/java/net/protocol/http/Handler.java,
4382 javax/net/ssl/HttpsURLConnection.java: Updated.
4383 * Makefile.am: Added new files and remove old ones.
4384 * Makefile.in: Regenerated.
4386 2005-01-11 Tom Tromey <tromey@redhat.com>
4389 * java/io/BufferedInputStream.java (read): Repeatedly read to
4391 (refill): Change test to see if buffer must be grown.
4393 2005-01-10 Tom Tromey <tromey@redhat.com>
4395 * mauve-libgcj: Exclude some swing tests.
4397 2005-01-10 Tom Tromey <tromey@redhat.com>
4399 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
4400 * java/lang/Package.java (getPackages): Use VMClassLoader when
4402 (getPackage): Likewise.
4403 * prims.cc (_Jv_CreateJavaVM): Call
4404 _Jv_RegisterBootstrapPackages.
4405 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
4406 * java/lang/VMClassLoader.java (getPackage): Rewrote.
4407 (getPackages): Likewise.
4408 (definedPackages): New field.
4409 (definePackageForNative): New method.
4410 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
4411 * java/lang/natVMClassLoader.cc (loadClass): Updated.
4412 * defineclass.cc (handleClassBegin): Use
4413 ClassLoader.findLoadedClass.
4414 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
4416 (struct _Jv_LoaderInfo): Removed.
4417 (initiated_classes): Likewise.
4418 (_Jv_UnregisterClass): Don't use initiated_classes.
4419 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
4420 (_Jv_FindClass): Register classes found during boostrap.
4421 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
4422 (bootstrap_class_list): New global.
4423 (bootstrap_index): Likewise.
4424 (_Jv_RegisterBootstrapPackages): New function.
4425 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
4426 definePackageForNative.
4427 (findClass): Updated.
4428 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
4431 2005-01-10 Tom Tromey <tromey@redhat.com>
4434 * include/jvm.h (_Jv_Linker::find_field): Declare.
4435 (_Jv_Linker::find_field_helper): Likewise.
4436 * link.cc (find_field_helper): New method.
4437 (find_field): Likewise.
4438 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
4440 (link_symbol_table): Use find_field.
4442 2005-01-10 Michael Koch <konqueror@gmx.de>
4445 * java/util/Locale.java (Locale): Don't uppercase variant.
4446 (getISOCountries): Fixed typo in javadoc.
4448 2005-01-10 Michael Koch <konqueror@gmx.de>
4450 * java/util/SimpleTimeZone.java (checkRule):
4451 Throw IllegalArgumentException on invalid month values.
4452 * java/util/TimeZone.java (setID):
4453 Throw NullPointerException if needed.
4455 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
4457 * java/util/SimpleTimeZone.java (getOffset):
4458 offset end date with daylight savings
4460 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
4462 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
4463 * testsuite/libjava.compile/PR19277.xfail: Likewise.
4465 2005-01-09 Michael Koch <konqueror@gmx.de>
4468 * java/net/InetAddress.java (getLocalHost):
4469 Throw UnknownHostException if local hostname cannot be determined.
4471 2005-01-06 Tom Tromey <tromey@redhat.com>
4473 * java/lang/ClassLoader.java (findClass): Fixed documentation.
4475 2005-01-07 Michael Koch <konqueror@gmx.de>
4478 * java/nio/Buffer.java (address): New field.
4479 * java/nio/DirectByteBufferImpl.java (address): Removed.
4480 * java/nio/MappedByteBufferImpl.java (address): Likewise.
4481 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
4482 Explicitly initialize Buffer.address if needed.
4483 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
4484 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
4485 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
4486 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
4487 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
4488 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
4489 DirectByteBufferImpl object.
4490 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
4491 * testsuite/libjava.jni/directbuffer.c,
4492 testsuite/libjava.jni/directbuffer.java,
4493 testsuite/libjava.jni/directbuffer.out,
4494 testsuite/libjava.jni/bytebuffer.c,
4495 testsuite/libjava.jni/bytebuffer.java,
4496 testsuite/libjava.jni/bytebuffer.out: New files.
4498 2005-01-05 Tom Tromey <tromey@redhat.com>
4500 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
4502 (compressedSize): Now 'long'. Default to -1.
4503 (getCompressedSize): Rewrote.
4504 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
4505 deflate at all if we need input.
4507 2005-01-05 Tom Tromey <tromey@redhat.com>
4510 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
4513 2005-01-05 Tom Tromey <tromey@redhat.com>
4515 * java/lang/natRuntime.cc (insertSystemProperties): Set
4516 java.ext.dirs earlier.
4518 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
4520 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
4521 sync_info element of the object if needed.
4523 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
4525 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
4526 a non-zero exit status from 'false'.
4528 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
4530 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
4532 2004-12-31 Andreas Jaeger <aj@suse.de>
4534 * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
4536 2004-12-20 Tom Tromey <tromey@redhat.com>
4538 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
4539 Re-enable duplicate class registration error.
4541 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
4542 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
4543 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
4544 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
4546 (libjava_find_gij): Likewise. Changed return result if gij not
4548 (test_libjava_from_javac): Updated.
4551 * testsuite/libjava.jni/iface.c: New file.
4552 * testsuite/libjava.jni/iface.out: New file.
4553 * testsuite/libjava.jni/iface.java: New file.
4555 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
4557 * include/config.h.in: Regenerate.
4559 2004-12-10 Andrew Haley <aph@redhat.com>
4562 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
4563 abstract methods by name.
4565 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
4567 * java/util/IdentityHashMap.java (put): Replace mistaken use
4570 2004-12-06 Tom Tromey <tromey@redhat.com>
4573 * testsuite/libjava.compile/PR14853.java: New file.
4574 * testsuite/libjava.compile/PR14853.xfail: New file.
4576 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
4579 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
4580 * Makefile.am (install-data-local): Install headers into
4581 $(gxx_include_dir) rather than $(includedir).
4582 (AM_MAKEFLAGS): Pass down gxx_include_dir.
4583 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
4584 * include/Makefile.am (tool_include__HEADERS): Define this...
4585 (include_HEADERS): ...instead of this.
4586 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
4587 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
4589 2004-12-02 Tom Tromey <tromey@redhat.com>
4592 * testsuite/libjava.compile/PR16675.java: New file.
4594 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
4596 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
4597 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
4598 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
4600 2004-12-01 Tom Tromey <tromey@redhat.com>
4602 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
4604 (_Jv_ThreadRegister): Likewise.
4605 (_Jv_MutexCheckMonitor): Likewise.
4607 * link.cc: Include limits.h.
4609 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
4612 * testsuite/libjava.lang/PR18699.java,
4613 testsuite/libjava.lang/PR18699.out: New test.
4615 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4617 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
4618 Update image observer.
4619 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
4620 Start image production.
4621 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
4622 against negative menu bar widths.
4623 (setBounds): Likewise.
4624 (postConfigureEvent): Likewise.
4625 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
4626 remove consumer unless only a single frame has completed.
4627 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
4628 Add observer parameter.
4629 (setPixels): Update image observer.
4630 (imageComplete): Likewise.
4631 * java/applet/Applet.java (width): New field.
4633 (setStub): Set size if width or height field has been set.
4634 (resize): If stub is null save width and height values.
4635 * java/awt/Component.java (reshape): Protect against null
4637 * java/awt/image/MemoryImageSource.java
4638 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
4640 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
4642 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
4643 Reference pixel array directly, rather than creating a local
4645 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
4647 (newPixels(int,int,int,int)): Fix for loop and array copy
4649 (newPixels(int,int,int,int,boolean)): Likewise.
4650 (startProduction): If animated call imageComplete with
4652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
4654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
4655 (drawPixels): Return if g is null or g->drawable is not a gdk
4658 2004-11-30 Michael Koch <konqueror@gmx.de>
4660 * javax/swing/DefaultSingleSelectionModel.java,
4661 javax/swing/JPasswordField.java,
4662 javax/swing/tree/AbstractLayoutCache.java:
4663 Reformatted and javadocs cleaned up.
4665 2004-11-30 Michael Koch <konqueror@gmx.de>
4667 * java/awt/Component.java:
4668 Fixed argument names to match javadocs.
4669 (setFont): Rewritten set property first and then fire event.
4670 (setLocale): Likewise.
4671 * javax/swing/text/JTextComponent.java
4672 (setEditable): Likewise.
4674 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4676 * java/awt/Button.java
4677 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
4680 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4682 * java/awt/Checkbox.java: Remove stub comments.
4684 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4686 * java/awt/Button.java
4687 (AccessibleAWTButton.getAccessibleActionDescription): Return
4690 2004-11-30 Michael Koch <konqueror@gmx.de>
4692 * java/awt/CardLayout.java:
4693 Made some constants static.
4694 (serialVersionUID): Made private.
4695 (addLayoutComponent): Simplified code.
4696 * java/awt/event/InputEvent.java
4697 (getModifiersEx): Added missing @param tag.
4698 * java/awt/image/RGBImageFilter.java
4699 (filterRGBPixels): Reformatted, removed wrong @param tag.
4701 2004-11-30 Michael Koch <konqueror@gmx.de>
4703 * javax/swing/text/FieldView.java,
4704 javax/swing/text/JTextComponent.java:
4707 2004-11-30 Michael Koch <konqueror@gmx.de>
4709 * javax/swing/BorderFactory.java
4710 (BorderFactory): Added private constructor.
4711 * javax/swing/SwingUtilities.java
4712 (SwingUtilities): Likewise.
4713 (computeStringWidth): New method.
4715 2004-11-30 Michael Koch <konqueror@gmx.de>
4717 * java/awt/color/ICC_Profile.java
4718 (icSigNamedColorTag): Removed.
4719 * java/awt/datatransfer/DataFlavor.java
4720 (isMimeTypeEqual): Made final.
4721 * java/awt/image/AffineTransformOp.java:
4723 (TYPE_BICUBIC): Added @since tag.
4725 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4727 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
4730 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4732 * java/awt/Checkbox.java (itemStateChanged): Implement function.
4733 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
4735 2004-11-30 Sven de Marothy <sven@physto.se>
4737 * java/awt/Polygon.java (contains): Reimplemented.
4739 2004-11-30 Michael Koch <konqueror@gmx.de>
4741 * java/awt/print/PrinterJob.java: Reformatted.
4743 2004-11-30 Michael Koch <konqueror@gmx.de>
4745 * java/awt/image/AffineTransformOp.java,
4746 java/awt/image/ColorConvertOp.java,
4747 java/awt/image/LookupOp.java,
4748 java/awt/image/RescaleOp.java:
4749 Added final keywords where they belong.
4751 2004-11-30 Michael Koch <konqueror@gmx.de>
4753 * java/awt/CardLayout.java,
4754 java/awt/Component.java,
4756 java/awt/image/SinglePixelPackedSampleModel.java:
4757 Fixed javadocs and argument names all over.
4759 2004-11-30 Michael Koch <konqueror@gmx.de>
4761 * java/awt/image/DataBufferShort.java: Fixed file header.
4762 * java/awt/image/DataBufferUShort.java: Likewise.
4763 (DataBufferUShort): Throw NullPointerException if dataArray is null.
4765 2004-11-30 Sven de Marothy <sven@physto.se>
4767 * java/awt/geom/Arc2D.java
4768 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
4769 (setAngles): Likewise.
4770 (containsAngle): Return false on zero extent, don't include
4772 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
4775 2004-11-30 Sven de Marothy <sven@physto.se>
4777 * java/awt/geom/AffineTransform.java,
4778 (inverseTransform): Fixed bug and simplified code.
4779 (createTransformedShape): Return null on null parameter.
4781 2004-11-30 Michael Koch <konqueror@gmx.de>
4783 * java/awt/color/ICC_ColorSpace.java,
4784 java/awt/color/ICC_Profile.java,
4785 java/awt/color/ICC_ProfileGray.java,
4786 java/awt/color/ICC_ProfileRGB.java:
4787 Re-indent copyright header to be standardish.
4788 * java/awt/datatransfer/StringSelection.java:
4790 * java/awt/geom/Area.java
4791 (EPSILON): Made static.
4792 (RS_EPSILON): Likewise.
4793 (PE_EPSILON): Likewide.
4795 2004-11-30 Sven de Marothy <sven@physto.se>
4797 * javax/swing/SwingUtilities.java:
4798 (computeDifference): Implemented
4799 (computeIntersection): Likewise
4800 (computeUnion): Likewise
4801 (isRectangleContainingRectangle): Likewise
4803 2004-11-30 Michael Koch <konqueror@gmx.de>
4805 * java/awt/BasicStroke.java,
4806 java/awt/Button.java,
4807 java/awt/Canvas.java,
4808 java/awt/CheckboxMenuItem.java,
4809 java/awt/Container.java,
4810 java/awt/EventQueue.java,
4811 java/awt/FileDialog.java,
4812 java/awt/FlowLayout.java,
4813 java/awt/FontMetrics.java,
4814 java/awt/Graphics.java,
4815 java/awt/GridLayout.java,
4816 java/awt/KeyboardFocusManager.java,
4817 java/awt/Label.java,
4818 java/awt/LayoutManager2.java,
4820 java/awt/MenuBar.java,
4821 java/awt/Scrollbar.java,
4822 java/awt/Toolkit.java,
4823 java/awt/Window.java,
4824 java/awt/datatransfer/DataFlavor.java,
4825 java/awt/datatransfer/FlavorTable.java,
4826 java/awt/event/ActionListener.java,
4827 java/awt/event/HierarchyBoundsAdapter.java,
4828 java/awt/geom/Arc2D.java,
4829 java/awt/geom/Rectangle2D.java,
4830 java/awt/geom/RectangularShape.java,
4831 java/awt/im/spi/InputMethod.java,
4832 java/awt/image/ByteLookupTable.java,
4833 java/awt/image/ColorModel.java,
4834 java/awt/image/DirectColorModel.java,
4835 java/awt/image/ShortLookupTable.java,
4836 java/awt/print/Book.java:
4837 Fixed javadocs and method argument names all over.
4839 2004-11-30 Michael Koch <konqueror@gmx.de>
4841 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4842 (buildString): Optimise String building.
4844 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4846 * java/awt/TextArea.java (AccessibleAWTTextArea,
4847 getAccessibleContext): Implement.
4848 * java/awt/TextField.java (AccessibleAWTTextField,
4849 getAccessibleContext): Implement.
4851 2004-11-30 Tom Tromey <tromey@redhat.com>
4853 * Makefile.in: Rebuilt.
4854 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
4857 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4859 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
4861 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
4864 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4866 * java/awt/print/PrinterJob.java (lookupPrintServices,
4867 getPrintService, setPrintService): Implement.
4868 (lookupStreamPrintServices): Add commented out implementation.
4869 (printer): New field.
4871 2004-11-30 Mark Wielaard <mark@klomp.org>
4873 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
4876 2004-11-30 Sven de Marothy <sven@physto.se>
4878 * java/awt/geom/GeneralPath.java (evaluateCrossings):
4879 Fixed epsilon value, should always be nonzero.
4881 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
4883 * java/awt/image/Raster.java
4884 (createPackedRaster): Implemented.
4886 2004-11-30 Graydon Hoare <graydon@redhat.com>
4888 * javax/swing/plaf/basic/BasicTextUI.java:
4889 Listen to focus events, indicate focus via caret.
4890 * javax/swing/text/GapContent.java (getString): Return substring.
4891 * javax/swing/text/PlainDocument.java (reindex): New method.
4892 (createDefaultRoot): Call it.
4893 (insertUpdate): Likewise.
4894 (removeUpdate): Likewise.
4895 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
4896 on tab and newline, even if no painting happens.
4898 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4900 * Makefile.am: List peer JNI header: Java source file
4901 dependencies explicitly. Likewise for JNI .lo: JNI header
4903 * Makefile.in: Regenerate.
4905 2004-11-30 Graydon Hoare <graydon@redhat.com>
4907 * Makefile.am: Add entry for BasicTextPaneUI.java
4908 * Makefile.in: Regenerate.
4909 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4910 (GdkGraphics2D): Set clip after transform.
4911 (drawImage): Protect against null image.
4912 * gnu/java/awt/peer/gtk/GtkFramePeer.java
4913 (setIconImage): Protect against non-GtkImage args.
4914 * gnu/java/awt/peer/gtk/GtkToolkit.java
4915 (checkImage): Protect against non-GtkImage args.
4916 * java/awt/print/PrinterJob.java:
4917 (print): Add variant taking PrintRequestAttributeSet.
4918 (printDialog): Likewise.
4919 * javax/swing/JComponent.java:
4920 (transferHandler): New field.
4921 (getComponentGraphics): Build new Graphics for each sub-paint.
4922 (getTransferHandler): New method.
4923 (setTransferHandler): New method.
4924 * javax/swing/JDesktopPane.java
4925 (setDragMode): Force LIVE_DRAG_MODE.
4926 * javax/swing/JMenuItem.java
4927 (menuSelectionChanged): Protect against null parent.
4928 * javax/swing/JTable.java (setDefaultRenderer): New method.
4929 * javax/swing/JTree.java: Get basic ctors and UI working.
4930 * javax/swing/JViewport.java (JViewport): Set scroll mode.
4931 * javax/swing/RepaintManager.java
4932 (addDirtyRegion): Skip empty regions.
4933 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
4934 bound scrollpane minimum by central view minimum.
4935 * javax/swing/ToolTipManager.java
4936 (showTip): Guard against null component.
4937 * javax/swing/TransferHandler.java: Stub out.
4938 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4939 Add entry for TextPaneUI, change Tree icons to pngs.
4940 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4941 (installDefaults): Set text position and alignment.
4942 (paintMenuItem): Layout icon with normal compound function.
4943 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
4944 (getMaximumSize): Delete.
4945 (getMinimumSize): Delete.
4946 (getPreferredSize): Use column model's total width.
4947 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
4948 * javax/swing/plaf/basic/BasicTextUI.java
4949 (modelChanged): Make resilient against nulls.
4950 * javax/swing/plaf/basic/BasicTreeUI.java:
4951 Add some simplistic config / painting functions.
4952 * javax/swing/plaf/basic/BasicViewportUI.java
4953 (paintSimple): Add new non-backingstore paint mode.
4954 (paintBackingStore): Split out backing store code.
4955 (paint): Switch on painting mode.
4956 * javax/swing/text/SimpleAttributeSet.java
4957 (SimpleAttributeSet): Resist nulls.
4958 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
4959 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
4961 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
4964 Set pango context's description and language.
4966 2004-11-30 Mark Wielaard <mark@klomp.org>
4968 * java/awt/image/LookupOp.java: Comments and indentation fixes.
4970 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4972 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
4973 (getAccessibleContext): Implement.
4975 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4977 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
4979 (getIndexAtPoint, getCharacterBounds): New methods.
4981 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4983 * java/awt/Button.java (AccessibleAWTButton): Implement.
4985 2004-11-30 Mark Wielaard <mark@klomp.org>
4987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4988 (filenameFilterCallback): Made static.
4990 2004-11-30 Michael Koch <konqueror@gmx.de>
4992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4993 (cairoShowGlyphs) Removed.
4995 2004-11-30 Sven de Marothy <sven@physto.se>
4997 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
4998 Don't invert matrix when reverse CLUT is available.
4999 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
5000 * java/awt/color/ICC_ColorSpace.java: Likewise.
5001 * java/awt/color/ICC_Profile.java: Likewise.
5002 * java/awt/color/ICC_ProfileGray.java: Likewise.
5003 * java/awt/color/ICC_ProfileRGB.java: Likewise.
5005 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5007 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
5009 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5011 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
5013 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5015 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
5016 field hiding ComponentSampleModel.scanlineStride.
5018 2004-11-30 Noa Resare <noa@resare.com>
5020 * java/awt/geom/GeneralPath.java (currentSegment):
5021 Fix typo in transform.transform() invocation.
5023 2004-11-30 Sven de Marothy <sven@physto.se>
5025 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5026 (createImage): Created bitmap should be filled with bg color
5028 2004-11-30 Noa Resare <noa@resare.com>
5030 * java/awt/Choice.java (add):
5031 Implement correct selection behavior when peer == null.
5035 2004-11-30 Mark Wielaard <mark@klomp.org>
5037 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
5038 Call select() when Choice has a selected item.
5040 2004-11-30 Michael Koch <address@bogus.example.com>
5042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
5043 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5044 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
5045 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
5046 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5047 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
5048 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
5049 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
5050 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
5051 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5052 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
5053 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5054 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
5055 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5056 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5057 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5058 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5059 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5060 Fixed method names to start at begin of line. This is desired by GNU
5063 2004-11-30 Michael Koch <konqueror@gmx.de>
5065 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5066 (gtkWidgetSetVisible): Unused. Removed.
5067 (connectJObject): Likewise.
5068 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5069 (gtkScrolledWindowSetScrollPosition): Commented out.
5071 2004-11-30 Mark Wielaard <mark@klomp.org>
5073 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5074 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
5075 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
5077 2004-11-30 Mark Wielaard <mark@klomp.org>
5079 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5080 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
5081 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5082 (init_dpi_conversion_factor): Correct prototype.
5084 2004-11-30 Sven de Marothy <sven@physto.se>
5086 * java/awt/image/ConvolveOp.java: Added missing
5089 2004-11-30 Robert Schuster <theBohemian@gmx.net>
5092 * gnu/java/beans/IntrospectionIncubator.java:
5093 (addMethod): static methods are discarded now, too.
5095 2004-11-30 Mark Wielaard <mark@klomp.org>
5097 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
5099 * Makefile.in: Regenerated.
5101 2004-11-30 Sven de Marothy <sven@physto.se>
5103 * gnu/java/awt/color/CieXyzConverter.java,
5104 gnu/java/awt/color/GrayScaleConverter.java,
5105 gnu/java/awt/color/SrgbConverter.java,
5106 gnu/java/awt/color/ClutProfileConverter.java,
5107 gnu/java/awt/color/LinearRGBConverter.java,
5108 gnu/java/awt/color/TagEntry.java,
5109 gnu/java/awt/color/ColorLookUpTable.java,
5110 gnu/java/awt/color/ProfileHeader.java,
5111 gnu/java/awt/color/ToneReproductionCurve.java,
5112 gnu/java/awt/color/ColorSpaceConverter.java,
5113 gnu/java/awt/color/PyccConverter.java,
5114 gnu/java/awt/color/GrayProfileConverter.java,
5115 gnu/java/awt/color/RgbProfileConverter.java:
5117 * java/awt/color/ICC_ColorSpace.java,
5118 java/awt/color/ICC_Profile.java,
5119 java/awt/color/ICC_ProfileGray.java,
5120 java/awt/color/ICC_ProfileRGB.java:
5121 Implemented (sans PhotoYCC color space).
5123 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5125 * java/awt/image/AffineTransformOp.java (filter): Implement
5126 bilinear interpolation for Rasters.
5128 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5130 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
5131 use the provided colormap. Throw documented exceptions. Document
5134 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
5136 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
5139 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5141 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
5143 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5145 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
5148 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5150 * java/awt/image/ComponentSampleModel.java (getDataElements,
5151 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
5153 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5155 * java/awt/Font.java (name): New field.
5159 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5161 * java/awt/image/Raster.java (createBandedRaster): Implement.
5163 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5165 * java/awt/image/ConvolveOp.java: New class.
5166 * Makefile.am: Add ConvolveOp.
5167 * Makefile.in: Regenerate.
5169 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5171 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
5172 LookupOp, RescaleOp): Fix loop bounds.
5174 2004-11-30 jlquinn <jlquinn@optonline.net>
5176 * Makefile.am: Fix typo in BandCombineOp.
5177 * Makefile.in: Regenerate.
5179 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5181 * java/awt/image/BandCombineOp.java: New class.
5182 * Makefile.am: Add BandCombineOp.
5183 * Makefile.in: Regenerate.
5185 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5187 * java/awt/image/LookupOp.java: New class.
5188 * Makefile.am: Add LookupOp.
5189 * Makefile.in: Regenerate.
5191 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5193 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
5196 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5198 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
5199 wrap. Use Boolean.valueOf.
5201 2004-11-30 Michael Koch <konqueror@gmx.de>
5203 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5204 (releasePeerGraphicsResource): Fixed typo in method name.
5205 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5206 (finalize): Fixed typo in releasePeerGraphicsResource.
5208 2004-11-30 Michael Koch <konqueror@gmx.de>
5210 * java/awt/font/TextAttribute.java
5211 (RUN_DIRECTION_LTR): Initialie with static value instead of
5213 (RUN_DIRECTION_RTL): Likewise.
5214 (STRIKETHROUGH_ON): Likewise.
5215 (SWAP_COLORS_ON): Likewise.
5217 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5219 * java/awt/image/ColorConvertOp.java: New class.
5220 * java/awt/image/ColorModel.java (cloneColorModel): New method.
5221 * Makefile.am: Add ColorConvertOp.
5222 * Makefile.in: Regenerate.
5224 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5226 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5227 Track Window focus owner on FOCUS_GAINED events.
5229 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5232 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
5234 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
5236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
5237 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
5238 Fix pointer warning.
5240 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
5242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5243 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
5244 Fix pointer warning.
5246 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
5248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5249 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
5250 to fix type punned pointer warning.
5251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
5254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5255 (window_get_new_state): Introduce unions to fix warnings as above.
5256 (window_property_changed_cb): Likewise.
5257 (window_active_state_change_cb): Mark unused variables unused.
5258 (window_focus_state_change_cb): Likewise.
5259 (window_focus_in_cb): Likewise.
5260 (window_focus_out_cb): Likewise.
5262 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5263 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
5264 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
5266 2004-11-30 Michael Koch <konqueror@gmx.de>
5268 * javax/swing/JMenuBar.java
5269 (updateUI): Simplified.
5270 * javax/swing/tree/DefaultTreeSelectionModel.java:
5271 Reorganized import statements.
5273 2004-11-30 Michael Koch <konqueror@gmx.de>
5275 * java/awt/font/TextAttribute.java,
5276 javax/swing/JComponent.java,
5277 javax/swing/JInternalFrame.java,
5278 javax/swing/table/TableColumn.java,
5279 javax/swing/text/StyleConstants.java:
5280 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
5282 2004-11-30 Michael Koch <konqueror@gmx.de>
5284 * javax/swing/tree/DefaultTreeCellEditor.java,
5285 javax/swing/tree/DefaultTreeModel.java,
5286 javax/swing/tree/DefaultTreeSelectionModel.java:
5289 2004-11-30 Michael Koch <konqueror@gmx.de>
5291 * javax/swing/tree/DefaultTreeCellEditor.java
5292 (EditorContainer.EditorContainer): Fixed arguments.
5293 (EditorContainer.EditorContainer): New method.
5294 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
5295 (DefaultTextField.getBorder): Implemented.
5296 (listenerList): New field.
5297 (addCellEditorListener): Implemented.
5298 (removeCellEditorListener): Implemented.
5299 (getCellEditorListeners): New method.
5300 * javax/swing/tree/DefaultTreeModel.java
5301 (addTreeModelListener): Fixed javadoc.
5302 (removeTreeModelListener): Likewise.
5303 (getTreeModelListeners): New method.
5304 (fireTreeNodesChanged): Implemented.
5305 (fireTreeNodesInserted): Likewise.
5306 (fireTreeNodesRemoved): Likewise.
5307 (fireTreeStructureChanged): Likewise.
5308 (getListeners): Fixed javadoc.
5309 * javax/swing/tree/DefaultTreeSelectionModel.java
5310 (addTreeSelectionListener): Implemented.
5311 (removeTreeSelectionListener): Likewise.
5312 (fireValueChanged): Likewise.
5313 (getListeners): Likewise.
5314 (addPropertyChangeListener): Likewise.
5315 (removePropertyChangeListener): Likewise.
5316 (getTreeSelectionListeners): New method.
5317 (getPropertyChangeListeners): Likewise.
5319 2004-11-30 Michael Koch <konqueror@gmx.de>
5321 * javax/swing/plaf/basic/BasicScrollBarUI.java
5322 (maximumThumbSize): Removed static keyword.
5323 (minimumThumbSize): Likewise.
5324 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5325 (CloseAction): Made public.
5326 (IconifyAction): Likewise.
5327 (MaximizeAction): Likewise.
5328 (MoveAction): Likewise.
5329 (RestoreAction): Likewise.
5330 (SizeAction): Likewise.
5331 (SystemMenuBar): Likewise.
5332 * javax/swing/plaf/basic/BasicSliderUI.java
5333 (TrackListener): Likewise.
5334 * javax/swing/plaf/basic/BasicSplitPaneUI.java
5335 (KeyboardDownRightHandler): Likewise.
5336 (KeyboardEndHandler): Likewise.
5337 (KeyboardHomeHandler): Likewise.
5338 (KeyboardResizeToggleHandler): Likewise.
5339 (KeyboardUpLeftHandler): Likewise.
5340 (PropertyHandler): Likewise.
5341 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5342 (PropertyChangeHandler): Likewise.
5343 (TabSelectionHandler): Likewise.
5345 2004-11-30 Michael Koch <konqueror@gmx.de>
5347 * javax/swing/text/JTextComponent.java
5348 (getKeymap): Made public.
5350 2004-11-30 Michael Koch <konqueror@gmx.de>
5352 * javax/swing/JEditorPane.java
5353 (getStream): Throws IOException.
5355 * javax/swing/JRootPane.java
5356 (createContentPane): Fixed return type.
5357 * javax/swing/JSpinner.java
5358 (commitEdit): Throws ParseException.
5359 * javax/swing/plaf/metal/MetalLookAndFeel.java
5360 (serialVersionUID): New field.
5361 * javax/swing/table/TableColumn.java
5362 (resizedPostingDisableCount): Added @deprecated tag.
5363 (disableResizedPosting): Likewise.
5364 (enableResizedPosting): Likewise.
5365 * javax/swing/text/Document.java
5366 (TitleProperty): Fixed value.
5367 * javax/swing/tree/TreeCellEditor.java
5368 (TreeCellEditor): Extends CellEditor.
5370 2004-11-30 Michael Koch <konqueror@gmx.de>
5372 * javax/swing/JWindow.java
5373 javax/swing/SpinnerModel.java
5374 javax/swing/Timer.java
5375 javax/swing/event/MenuKeyEvent.java
5376 javax/swing/plaf/basic/BasicButtonUI.java
5377 javax/swing/plaf/basic/BasicIconFactory.java
5378 javax/swing/plaf/basic/BasicTabbedPaneUI.java
5379 javax/swing/text/AttributeSet.java
5380 javax/swing/text/Highlighter.java
5381 javax/swing/text/StyleConstants.java
5382 javax/swing/tree/TreeCellEditor.java:
5383 Removed redundant and reordered modifiers.
5385 2004-11-30 Michael Koch <konqueror@gmx.de>
5387 * javax/swing/plaf/basic/BasicToolTipUI.java:
5388 Reformatted copyright header.
5390 2004-11-30 Michael Koch <konqueror@gmx.de>
5392 * javax/swing/AbstractAction.java,
5393 javax/swing/AbstractButton.java,
5394 javax/swing/AbstractCellEditor.java,
5395 javax/swing/AbstractListModel.java,
5396 javax/swing/AbstractSpinnerModel.java,
5397 javax/swing/ActionMap.java,
5398 javax/swing/BorderFactory.java,
5399 javax/swing/Box.java,
5400 javax/swing/ButtonModel.java,
5401 javax/swing/CellEditor.java,
5402 javax/swing/CellRendererPane.java,
5403 javax/swing/DefaultBoundedRangeModel.java,
5404 javax/swing/DefaultButtonModel.java,
5405 javax/swing/DefaultCellEditor.java,
5406 javax/swing/DefaultDesktopManager.java,
5407 javax/swing/DefaultListCellRenderer.java,
5408 javax/swing/DefaultListSelectionModel.java,
5409 javax/swing/DefaultSingleSelectionModel.java,
5410 javax/swing/GrayFilter.java,
5411 javax/swing/InputMap.java,
5412 javax/swing/JApplet.java,
5413 javax/swing/JCheckBoxMenuItem.java,
5414 javax/swing/JColorChooser.java,
5415 javax/swing/JComboBox.java,
5416 javax/swing/JComponent.java,
5417 javax/swing/JDesktopPane.java,
5418 javax/swing/JDialog.java,
5419 javax/swing/JEditorPane.java,
5420 javax/swing/JFileChooser.java,
5421 javax/swing/JFormattedTextField.java,
5422 javax/swing/JFrame.java,
5423 javax/swing/JInternalFrame.java,
5424 javax/swing/JLabel.java,
5425 javax/swing/JLayeredPane.java,
5426 javax/swing/JList.java,
5427 javax/swing/JMenu.java,
5428 javax/swing/JMenuBar.java,
5429 javax/swing/JMenuItem.java,
5430 javax/swing/JOptionPane.java,
5431 javax/swing/JPanel.java,
5432 javax/swing/JPasswordField.java,
5433 javax/swing/JPopupMenu.java,
5434 javax/swing/JRadioButtonMenuItem.java,
5435 javax/swing/JRootPane.java,
5436 javax/swing/JSpinner.java,
5437 javax/swing/JSplitPane.java,
5438 javax/swing/JTabbedPane.java,
5439 javax/swing/JTable.java,
5440 javax/swing/JTextArea.java,
5441 javax/swing/JTextPane.java,
5442 javax/swing/JToggleButton.java,
5443 javax/swing/JToolBar.java,
5444 javax/swing/JToolTip.java,
5445 javax/swing/JTree.java,
5446 javax/swing/JViewport.java,
5447 javax/swing/ListModel.java,
5448 javax/swing/LookAndFeel.java,
5449 javax/swing/MenuSelectionManager.java,
5450 javax/swing/ProgressMonitorInputStream.java,
5451 javax/swing/RepaintManager.java,
5452 javax/swing/RootPaneContainer.java,
5453 javax/swing/ScrollPaneLayout.java,
5454 javax/swing/SpringLayout.java,
5455 javax/swing/SwingUtilities.java,
5456 javax/swing/Timer.java,
5457 javax/swing/ToolTipManager.java,
5458 javax/swing/UIDefaults.java,
5459 javax/swing/UIManager.java,
5460 javax/swing/border/MatteBorder.java,
5461 javax/swing/colorchooser/AbstractColorChooserPanel.java,
5462 javax/swing/colorchooser/ColorSelectionModel.java,
5463 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5464 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
5465 javax/swing/colorchooser/DefaultPreviewPanel.java,
5466 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
5467 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
5468 javax/swing/event/AncestorEvent.java,
5469 javax/swing/event/HyperlinkEvent.java,
5470 javax/swing/event/InternalFrameEvent.java,
5471 javax/swing/event/MenuDragMouseEvent.java,
5472 javax/swing/event/TableColumnModelEvent.java,
5473 javax/swing/event/TableModelEvent.java,
5474 javax/swing/event/TreeExpansionEvent.java,
5475 javax/swing/event/TreeModelEvent.java,
5476 javax/swing/event/TreeSelectionEvent.java,
5477 javax/swing/event/TreeWillExpandListener.java,
5478 javax/swing/event/UndoableEditEvent.java,
5479 javax/swing/filechooser/FileView.java,
5480 javax/swing/plaf/BorderUIResource.java,
5481 javax/swing/plaf/ComponentUI.java,
5482 javax/swing/plaf/FileChooserUI.java,
5483 javax/swing/plaf/IconUIResource.java,
5484 javax/swing/plaf/ListUI.java,
5485 javax/swing/plaf/PopupMenuUI.java,
5486 javax/swing/plaf/SplitPaneUI.java,
5487 javax/swing/plaf/TabbedPaneUI.java,
5488 javax/swing/plaf/TextUI.java,
5489 javax/swing/plaf/TreeUI.java,
5490 javax/swing/plaf/basic/BasicArrowButton.java,
5491 javax/swing/plaf/basic/BasicBorders.java,
5492 javax/swing/plaf/basic/BasicButtonUI.java,
5493 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5494 javax/swing/plaf/basic/BasicColorChooserUI.java,
5495 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5496 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5497 javax/swing/plaf/basic/BasicComboBoxUI.java,
5498 javax/swing/plaf/basic/BasicComboPopup.java,
5499 javax/swing/plaf/basic/BasicDesktopIconUI.java,
5500 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
5501 javax/swing/plaf/basic/BasicIconFactory.java,
5502 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
5503 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5504 javax/swing/plaf/basic/BasicListUI.java,
5505 javax/swing/plaf/basic/BasicLookAndFeel.java,
5506 javax/swing/plaf/basic/BasicMenuBarUI.java,
5507 javax/swing/plaf/basic/BasicMenuItemUI.java,
5508 javax/swing/plaf/basic/BasicMenuUI.java,
5509 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5510 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
5511 javax/swing/plaf/basic/BasicPopupMenuUI.java,
5512 javax/swing/plaf/basic/BasicProgressBarUI.java,
5513 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5514 javax/swing/plaf/basic/BasicRootPaneUI.java,
5515 javax/swing/plaf/basic/BasicScrollBarUI.java,
5516 javax/swing/plaf/basic/BasicSeparatorUI.java,
5517 javax/swing/plaf/basic/BasicSliderUI.java,
5518 javax/swing/plaf/basic/BasicSpinnerUI.java,
5519 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5520 javax/swing/plaf/basic/BasicSplitPaneUI.java,
5521 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5522 javax/swing/plaf/basic/BasicTableHeaderUI.java,
5523 javax/swing/plaf/basic/BasicTableUI.java,
5524 javax/swing/plaf/basic/BasicTextAreaUI.java,
5525 javax/swing/plaf/basic/BasicTextFieldUI.java,
5526 javax/swing/plaf/basic/BasicTextUI.java,
5527 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
5528 javax/swing/plaf/basic/BasicToolBarUI.java,
5529 javax/swing/plaf/basic/BasicToolTipUI.java,
5530 javax/swing/plaf/basic/BasicTreeUI.java,
5531 javax/swing/plaf/basic/BasicViewportUI.java,
5532 javax/swing/plaf/basic/ComboPopup.java,
5533 javax/swing/table/AbstractTableModel.java,
5534 javax/swing/table/DefaultTableCellRenderer.java,
5535 javax/swing/table/DefaultTableColumnModel.java,
5536 javax/swing/table/DefaultTableModel.java,
5537 javax/swing/table/JTableHeader.java,
5538 javax/swing/table/TableCellEditor.java,
5539 javax/swing/table/TableCellRenderer.java,
5540 javax/swing/table/TableColumn.java,
5541 javax/swing/table/TableColumnModel.java,
5542 javax/swing/text/AbstractDocument.java,
5543 javax/swing/text/Caret.java,
5544 javax/swing/text/DefaultCaret.java,
5545 javax/swing/text/DefaultEditorKit.java,
5546 javax/swing/text/DefaultHighlighter.java,
5547 javax/swing/text/EditorKit.java,
5548 javax/swing/text/JTextComponent.java,
5549 javax/swing/text/LayeredHighlighter.java,
5550 javax/swing/text/PasswordView.java,
5551 javax/swing/text/SimpleAttributeSet.java,
5552 javax/swing/text/StyleConstants.java,
5553 javax/swing/text/StyleContext.java,
5554 javax/swing/text/StyledEditorKit.java,
5555 javax/swing/text/TextAction.java,
5556 javax/swing/text/View.java,
5557 javax/swing/tree/AbstractLayoutCache.java,
5558 javax/swing/tree/DefaultTreeCellRenderer.java,
5559 javax/swing/tree/DefaultTreeModel.java,
5560 javax/swing/tree/DefaultTreeSelectionModel.java,
5561 javax/swing/tree/FixedHeightLayoutCache.java,
5562 javax/swing/tree/TreeCellRenderer.java,
5563 javax/swing/tree/TreeSelectionModel.java,
5564 javax/swing/tree/VariableHeightLayoutCache.java,
5565 javax/swing/undo/AbstractUndoableEdit.java,
5566 javax/swing/undo/UndoableEditSupport.java:
5569 2004-11-30 Michael Koch <konqueror@gmx.de>
5571 * java/awt/Container.java,
5573 java/awt/font/TextLayout.java:
5576 2004-11-30 Michael Koch <konqueror@gmx.de>
5578 * javax/swing/AbstractButton.java
5579 (getLabel): Added @deprecated tag.
5580 (setLabel): Likewise.
5581 * javax/swing/FocusManager.java
5582 (disableSwingFocusManager): Likewise.
5583 (isFocusManagerEnabled): Likewise.
5584 * javax/swing/JComponent.java
5585 (isManagingFocus): Added version to @deprecated tag.
5586 (getNextFocusableComponent): Moved @deprecated tag to bottom of
5588 (getConditionForKeyStroke): Likewise.
5589 (getActionForKeyStroke): Likewise.
5590 * javax/swing/JDesktopPane.java
5591 (LIVE_DRAG_MODE): Added @specnote tag.
5592 (OUTLINE_DRAG_MODE): Likewise.
5593 * javax/swing/JInternalFrame.java
5594 (MENU_BAR_PROPERTY): Fixed value.
5595 (getMenuBar): Added @deprecated tag.
5596 (setMenuBar): Likewise.
5597 * javax/swing/JViewport.java
5598 (isBackingStoreEnabled): Likewise.
5599 (setBackingStoreEnabled): Likewise.
5600 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
5601 (closeKey): Likewise.
5602 (maximizeKey): Likewise.
5603 (minimizeKey): Likewise.
5604 (navigateKey): Likewise.
5605 (navigateKey2): Likewise.
5606 * javax/swing/plaf/basic/BasicInternalFrameUI.java
5607 (openMenuKey): Likewise.
5608 * javax/swing/plaf/basic/BasicSplitPaneUI.java
5609 (keyboardDownRightListener): Likewise.
5610 (keyboardEndListener): Likewise.
5611 (keyboardHomeListener): Likewise.
5612 (keyboardResizeToggleListener): Likewise.
5613 (keyboardUpLeftListener): Likewise.
5614 (dividerResizeToggleKey): Likewise.
5615 (downKey): Likewise.
5617 (homeKey): Likewise.
5618 (leftKey): Likewise.
5619 (rightKey): Likewise.
5621 (createKeyboardUpLeftListener): Likewise.
5622 (createKeyboardDownRightListener): Likewise.
5623 (createKeyboardHomeListener): Likewise.
5624 (createKeyboardEndListener): Likewise.
5625 (createKeyboardResizeToggleListener): Likewise.
5626 (getDividerBorderSize): Likewise.
5627 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5628 (downKey): Likewise.
5629 (leftKey): Likewise.
5630 (rightKey): Likewise.
5633 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
5635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5636 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
5637 GTK_TEXT_VIEW macro.
5639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5640 (connect_awt_hook_cb): Mark unused variable unused.
5642 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
5645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5646 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
5647 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
5648 Remove unused var menu.
5649 (selection_changed): Remove unused value.
5651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5652 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
5653 warning with using an intermediate variable.
5655 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5656 (area_updated): Fix unused var warning for BE archs.
5658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5659 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
5661 (realize_cb): Mark unused variable unused.
5663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
5664 (seek_glyphstring_idx): Fix a C90 warning.
5666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
5667 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
5668 Mark unused arguments unused.
5670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
5671 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
5672 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
5673 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
5674 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
5677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5678 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
5679 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
5682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5683 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
5685 (filenameFilterCallback): Remove unused var.
5686 (handle_response): Declare str_fileName and remove last else statement.
5688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
5690 (nativeGetNumFontsFamilies) New function.
5691 (nativeGetFontFamilies) Likewise.
5692 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5693 (getAvailableFontFamilyNames): Implement.
5694 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
5695 * Makefile.in: Regenerate.
5697 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5699 * gnu/java/awt/peer/ClasspathFontPeer.java
5700 (setStandardAttributes(String,Map)): If size attribute doesn't
5701 exist, default to size 12. Clamp size value to a minimum of 1.
5703 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
5705 * javax/swing/JDialog.java
5706 (decorated): Likewise.
5707 * javax/swing/JFrame.java
5708 (defaultLookAndFeelDecorated): Likewise.
5710 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
5712 * javax/swing/plaf/basic/BasicToolBarUI.java
5713 (offset, regular): Made final.
5714 * javax/swing/plaf/basic/BasicScrollBarUI.java
5715 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
5716 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
5718 2004-11-30 Michael Koch <konqueror@gmx.de>
5720 * gnu/java/awt/BitwiseXORComposite.java,
5721 gnu/java/awt/ClasspathToolkit.java,
5722 gnu/java/awt/image/XBMDecoder.java,
5723 gnu/java/awt/peer/GLightweightPeer.java,
5724 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
5725 Reorganized import statements.
5727 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
5729 * java/awt/Button.java
5730 (next_button_number): Removed useless initializer.
5731 * java/awt/Frame.java
5732 (next_frame_number): Likewise.
5733 * java/awt/Panel.java
5734 (next_panel_number): Likewise,
5735 * java/awt/Scrollbar.java
5736 (next_scrollbar_number): Likewise.
5737 * java/awt/TextArea.java
5738 (next_text_number): Likewise.
5740 2004-11-30 Michael Koch <konqueror@gmx.de>
5742 * java/awt/image/ByteLookupTable.java
5743 (ByteLookupTable) :Fixed HTML entities in javadocs.
5744 (lookupPixel): Fix case when dst is null.
5745 * java/awt/image/ShortLookupTable.java
5746 (ShortLookupTable) :Fixed HTML entities in javadocs.
5747 (lookupPixel): Fix case when dst is null.
5748 * java/awt/image/DataBufferByte.java,
5749 java/awt/image/DataBufferDouble.java,
5750 java/awt/image/DataBufferFloat.java,
5751 java/awt/image/DataBufferInt.java,
5752 java/awt/image/DataBufferShort.java,
5753 java/awt/image/DataBufferUShort.java:
5754 Fix initialization of bankData in constructors.
5756 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5758 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5759 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5760 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
5762 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5763 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5764 (setNativeBounds): Make package private. Set size request even
5765 if GTK parent is NULL.
5766 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5767 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5768 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
5770 2004-11-30 Mark Wielaard <mark@klomp.org>
5772 Workaround for bug #17952.
5773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5774 (request_frame_extents): Check window->window != NULL.
5776 2004-11-30 Mark Wielaard <mark@klomp.org>
5778 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
5780 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
5782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
5783 native_text_layout_state_table here.
5785 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
5787 2004-11-30 Mark Wielaard <mark@klomp.org>
5789 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
5790 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
5791 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
5793 2004-11-30 Michael Koch <konqueror@gmx.de>
5795 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5796 Merged import statements.
5798 2004-11-30 Michael Koch <konqueror@gmx.de>
5800 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5801 (isBufferedImageGraphics): Simplified.
5803 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
5805 * javax/swing/JTree.java
5806 (isRootVisible): Fixed typo in method name.
5807 * javax/swing/JScrollBar.java
5808 (setValues): Likewise.
5809 * javax/swing/JScrollPane.java
5810 (createScrollListener): Call JScrollBar.setValues.
5812 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5814 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
5815 Don't call setParentAndBounds on GtkWindowPeers.
5817 * java/awt/Component.java (static): Don't set default keyboard
5819 * java/awt/KeyboardFocusManager.java
5820 (getCurrentKeyboardFocusManager): If current keyboard focus
5821 manager is null set a default.
5823 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5824 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5825 (gtkWidgetSetBackground): New method.
5826 (block_expose_events_cb): New function.
5827 (connectSignals): Block the AWT's expose event processing on
5828 button press and release.
5829 (gtkSetLabel): Set text on proper widget.
5830 (gtkWidgetModifyFont): Modify font on proper widget.
5831 (gtkWidgetSetBackground): Set normal, active and prelight
5833 (gtkWidgetSetForeground): Set forground colour of proper widget.
5834 (gtkActivate): Activate the correct widget.
5835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
5836 Only clear rectangle if the backing component is not an event
5838 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5839 (beginNativeRepaintID): New variable.
5840 (endNativeRepaintID): Likewise.
5841 (gtkInit): Initialize new fields with method IDs.
5842 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
5843 (endNativeRepaintID): Likewise.
5845 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5847 * javax/swing/JList.java (init): Revert accidental commit.
5849 * gnu/java/awt/peer/gtk/GdkGraphics.java,
5850 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
5851 Call initComponentGraphics or connectSignals depending on
5852 component's realization status.
5853 (realize_cb): New function.
5854 (initComponentGraphics): New method.
5855 (connectSignals): New method.
5856 (clipRect): Return immediately if component is not realized.
5857 (setClip): Likewise.
5858 (translate): Likewise.
5859 (drawImage variants): Return false immediately if component is
5861 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5862 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5863 (connectSignals): New method.
5864 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
5865 depending on component's realization status. Move other
5866 initialization calls to ...
5867 (initComponentGraphics2D): New method.
5868 (realize_cb): New function.
5869 (cairoSetMatrix): Return immediately if gr is NULL.
5870 (cairoNewPath): Likewise.
5871 (cairoRectangle): Likewise.
5872 (cairoClip): Likewise.
5873 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5874 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5875 (gtkWidgetRepaintArea): Remove method.
5876 (isRealized): New method.
5877 (GtkComponentPeer): Move setParent, connectJObject and setCursor
5878 calls to setParentAndBounds. Call setParentAndBounds.
5879 (setParentAndBounds): New method.
5880 (setComponentBounds): Return immediately if bounds are all zero.
5881 (repaint): Remove call to gtkWidgetRepaintArea. Return
5882 immediately if requested paint region is 0x0.
5883 (setCursor): New method.
5884 (gtkWidgetSetParent): Only set widget's parent if its parent is
5886 (setNativeBounds): Only set widget's bounds if it has a parent.
5887 (connectSignals): Don't call gtk_widget_realize. Connect
5888 "realize" signal to connect_awt_hook_cb handler.
5889 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
5891 (beginValidate): Set isValidating true.
5892 (endValidate): Set parents and bounds for children first, then
5893 for this. Set isValidating false.
5894 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5895 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5896 (connectJObject): Remove method.
5897 (connectSignals): Don't call gtk_widget_realize.
5898 * gnu/java/awt/peer/gtk/GtkListPeer.java,
5899 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5900 (connectJObject): Remove method.
5901 (connectSignals): Don't call gtk_widget_realize.
5902 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5903 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
5904 (connectJObject): Remove method.
5905 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5906 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5907 (connectJObject): Remove method.
5908 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5909 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5910 (create): Don't call gtk_widget_realize.
5911 (connectJObject): Remove method.
5912 (connectSignals): Don't call gtk_widget_realize. Connect
5913 "realize" signal to connect_awt_hook_cb handler.
5914 (nativeSetBounds): Don't attempt to move GDK window if it is
5916 * java/awt/Container.java (addImpl): Don't call comp.addNotify
5917 if peer is not null.
5918 (validateTree): Create peers for all children before calling
5920 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5921 (connectSignals): Don't call gtk_widget_realize.
5922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5923 (connect_awt_hook_cb): New function.
5924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5925 (initComponentGraphicsID): New variable.
5926 (initComponentGraphics2DID): Likewise.
5927 (setCursorID): Likewise.
5928 (gtkInit): Initialize new fields with method IDs.
5929 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
5931 (initComponentGraphics2DID): Declare extern.
5932 (setCursorID): Likewise.
5933 (connect_awt_hook_cb): Declare function.
5935 2004-11-30 Michael Koch <konqueror@gmx.de>
5937 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
5938 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5939 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5940 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5941 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5942 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5943 gnu/java/awt/peer/gtk/GtkClipboard.java,
5944 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5945 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5946 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5947 gnu/java/awt/peer/gtk/GtkListPeer.java,
5948 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5949 gnu/java/awt/peer/gtk/GtkToolkit.java,
5950 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5951 Import statements reworked. Some little reformattings.
5953 2004-11-30 Michael Koch <konqueror@gmx.de>
5955 * java/awt/image/AffineTransformOp.java
5956 (TYPE_BILINEAR): Initialize with 2.
5957 * java/awt/print/Printable.java: Jalopied.
5958 (PAGE_EXISTS): Initialize with 0;
5959 (NO_SUCH_PAGE): Initialized with 1.
5961 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5963 * Makefile.am: Add BufferedImageFilter.java.
5964 * Makefile.in: Regenerate.
5966 2004-11-30 Graydon Hoare <graydon@redhat.com>
5968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5969 (install_font_peer): Minor bug fixes to track cairo font semantics.
5971 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5973 * java/awt/image/BufferedImageFilter.java: Implement.
5975 2004-11-30 Graydon Hoare <graydon@redhat.com>
5978 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
5979 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
5980 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
5981 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
5982 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
5983 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
5984 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
5985 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
5986 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
5987 * Makefile.in: Regenerate.
5988 * gnu/awt/xlib/XToolkit.java
5989 (getClasspathTextLayoutPeer): Add stub.
5990 * gnu/java/awt/ClasspathToolkit.java
5991 (getClasspathTextLayoutPeer) Add.
5992 * gnu/java/awt/peer/ClasspathFontPeer.java
5994 (copySizeToAttrs): Make public.
5995 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
5996 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
5997 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
5998 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
5999 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
6000 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
6001 * gnu/java/awt/peer/gtk/GdkGraphics.java
6002 (getFontPeer): New function.
6003 (drawString): Pass font peer to native side.
6004 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6007 (PainterThread): Remove.
6008 (GdkGraphics2D): Set hints during construction.
6013 (setRenderingHints): Reimplement normalization logic.
6015 (updateBufferedImage)
6016 (isBufferedImageGraphics)
6018 (drawImage): Make final.
6019 (drawImage): Always paint synchronously.
6021 (drawGlyphVector): Rewrite.
6022 (releasePeerGraphicResource)
6023 (getPeerTextMetrics)
6024 (getPeerFontMetrics)
6025 (drawGdkGlyphVector)
6027 (cairoDrawGdkGlyphVector)
6028 (cairoDrawGdkTextLayout)
6030 (getFontPeer): New functions.
6031 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
6032 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6033 (getFontMetrics): Get metrics via toolkit, to hit cache.
6034 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
6035 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6036 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
6039 (imageCache): New members.
6042 (getClasspathFontPeer): Use caches.
6043 (getFontPeer): Route through getClasspathFontPeer.
6044 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
6045 * java/awt/font/TextLayout.java: Implement in terms of peer.
6046 * javax/swing/plaf/basic/BasicSliderUI.java
6047 (paintThumb): Use polyline rather than polygon.
6048 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
6049 Update comment but, alas, still do not switch to using TextLayouts.
6050 * javax/swing/text/Utilities.java (drawTabbedText):
6051 Draw text run-at-a-time, not char-at-a-time.
6052 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
6054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
6058 incorporate brains of old GdkClasspathFontPeerMetrics.
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
6060 incorporate brains of old GdkClasspathFontPeer.
6061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
6062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6063 (drawString): Rewrite to use persistent layout in peer font.
6064 Comment out extraneous gdk_flush calls.
6065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6067 (metrics_surface): New static variables.
6069 (install_font_peer): New helper functions.
6070 (releasePeerGraphicResource)
6071 (getPeerTextMetrics)
6072 (getPeerFontMetrics)
6073 (cairoDrawGdkTextLayout)
6074 (cairoDrawGdkGlyphVector): New native methods.
6075 (cairoDrawString): Rewrite, leaving layout-based version
6076 commented out for the time being.
6077 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
6079 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
6081 * java/awt/geom/AffineTransform.java:
6082 Fixed javadocs overall.
6084 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6086 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
6089 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6091 * java/awt/image/IndexColorModel.java: Fix use of immutable
6094 2004-11-30 Tom Tromey <tromey@redhat.com>
6096 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
6097 Renamed from 'messageIcon'.
6098 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
6100 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6102 * java/awt/image/RescaleOp.java: Fix formatting.
6104 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6106 * javax/swing/plaf/basic/BasicComboPopup.java
6107 (SCROLL_DOWN): made final.
6108 (SCROLL_UP): made final.
6110 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6112 * javax/swing/plaf/basic/BasicComboPopup.java:
6113 Added javadocs for undocumented fields.
6114 (show): scroll down to the selected item and
6115 highlight selected item.
6116 (startAutoScrolling): Implemented.
6117 (stopAutoScrolling): Implemented.
6118 (autoScrollUp): Implemented.
6119 (autoScrollDown): Implemented.
6120 (InvocationMouseHandler.mouseReleased): Implemented.
6121 (InvocationMouseMotionHandler.mouseDragged): Implemented.
6123 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6125 * java/awt/image/RescaleOp.java: Implement.
6127 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6129 * java/awt/image/IndexColorModel.java (getRGBs,
6130 convertToIntDiscrete): Implement.
6132 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6134 * java/awt/image/IndexColorModel.java: Add class docs.
6136 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6138 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
6141 2004-11-30 Michael Koch <konqueror@gmx.de>
6143 * java/awt/MenuBar.java,
6144 java/awt/peer/MenuBarPeer.java:
6145 Revert accidentally commited changes.
6147 2004-11-30 Michael Koch <konqueror@gmx.de>
6149 * java/awt/AWTKeyStroke.java,
6150 java/awt/Canvas.java,
6151 java/awt/CardLayout.java,
6152 java/awt/CheckboxMenuItem.java,
6153 java/awt/Component.java,
6154 java/awt/Container.java,
6155 java/awt/DefaultKeyboardFocusManager.java,
6156 java/awt/EventDispatchThread.java,
6157 java/awt/FileDialog.java,
6158 java/awt/FlowLayout.java,
6160 java/awt/Frame.java,
6161 java/awt/Graphics2D.java,
6162 java/awt/GraphicsEnvironment.java,
6163 java/awt/GridBagConstraints.java,
6164 java/awt/GridBagLayout.java,
6165 java/awt/GridLayout.java,
6166 java/awt/Image.java,
6167 java/awt/KeyboardFocusManager.java,
6168 java/awt/Label.java,
6170 java/awt/MediaTracker.java,
6172 java/awt/MenuBar.java,
6173 java/awt/MenuComponent.java,
6174 java/awt/Panel.java,
6175 java/awt/PopupMenu.java,
6176 java/awt/ScrollPane.java,
6177 java/awt/Scrollbar.java,
6178 java/awt/SystemColor.java,
6179 java/awt/TextArea.java,
6180 java/awt/TextField.java,
6181 java/awt/Toolkit.java,
6182 java/awt/Window.java,
6183 java/awt/color/ICC_Profile.java,
6184 java/awt/datatransfer/DataFlavor.java,
6185 java/awt/datatransfer/StringSelection.java,
6186 java/awt/datatransfer/SystemFlavorMap.java,
6187 java/awt/dnd/Autoscroll.java,
6188 java/awt/dnd/DropTarget.java,
6189 java/awt/dnd/DropTargetContext.java,
6190 java/awt/dnd/DropTargetDragEvent.java,
6191 java/awt/dnd/peer/DropTargetContextPeer.java,
6192 java/awt/event/AdjustmentEvent.java,
6193 java/awt/event/InputEvent.java,
6194 java/awt/event/InvocationEvent.java,
6195 java/awt/event/KeyEvent.java,
6196 java/awt/event/MouseEvent.java,
6197 java/awt/font/TextLayout.java,
6198 java/awt/geom/GeneralPath.java,
6199 java/awt/geom/Point2D.java,
6200 java/awt/im/InputContext.java,
6201 java/awt/im/spi/InputMethodContext.java,
6202 java/awt/image/AffineTransformOp.java,
6203 java/awt/image/BufferedImage.java,
6204 java/awt/image/ColorModel.java,
6205 java/awt/image/ComponentColorModel.java,
6206 java/awt/image/CropImageFilter.java,
6207 java/awt/image/DirectColorModel.java,
6208 java/awt/image/MemoryImageSource.java,
6209 java/awt/image/PackedColorModel.java,
6210 java/awt/image/PixelGrabber.java,
6211 java/awt/image/RasterOp.java,
6212 java/awt/peer/MenuBarPeer.java:
6213 Some fixes for checkstyle. Import statement and modifier order
6216 2004-11-30 Michael Koch <konqueror@gmx.de>
6218 * javax/swing/JTable.java
6219 (setModel): Reimplemented.
6221 2004-11-30 Michael Koch <konqueror@gmx.de>
6223 * javax/swing/JTextArea.java
6224 (append): Re-implemented.
6227 2004-11-30 Michael Koch <konqueror@gmx.de>
6229 * javax/swing/JSpinner.java
6230 (serialVersionUID): New static field.
6231 * javax/swing/JToggleButton.java
6232 (JToggleButton): Fixed email addresses.
6233 * javax/swing/SpinnerNumberModel.java
6234 (serialVersionUID): Added javadoc.
6236 2004-11-30 Michael Koch <konqueror@gmx.de>
6238 * javax/swing/JTextArea.java:
6239 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
6240 bug here which is fixed in HEAD ...
6242 2004-11-30 Andrew John Hughes <address@hidden>
6244 * javax/swing/JTextArea.java: Added additional
6247 2004-11-30 Andrew John Hughes <address@hidden>
6249 * javax/swing/JRadioButton.java:
6250 Implemented additional constructors and accessibility
6251 classes. Added documentation and fixed a typo in
6254 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6256 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
6257 missing constructor.
6259 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6261 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
6262 Implement missing 1.4 constructor.
6264 2004-11-30 Andrew John Hughes <address@hidden>
6266 * javax/swing/JToggleButton.java:
6267 Implemented additional constructors and accessibility
6268 classes. Added documentation and fixed a typo in
6271 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6273 * java/awt/image/ColorModel.java (getDataElement,
6274 getDataElements): Document since 1.4.
6276 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6278 * java/awt/image/BandedSampleModel.java: Implement.
6279 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
6280 * Makefile.in: Regenerated.
6282 2004-11-30 Michael Koch <konqueror@gmx.de>
6284 * java/awt/Window.java: Fixed whitespace difference with GNU
6287 2004-11-30 Mark Wielaard <mark@klomp.org>
6289 * Makefile.am: Add javax/swing/SpinnerListModel.java.
6290 * Makefile.in: Regenerated.
6292 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6294 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
6295 Implemented SpinnerListModel. Added documentation to
6298 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6301 (init_dpi_conversion_factor): Apply the patch from main correctly.
6302 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
6304 2004-11-30 Tom Tromey <tromey@redhat.com>
6307 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
6308 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
6309 * javax/swing/plaf/basic/BasicSplitPaneUI.java
6310 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
6312 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6314 * java/awt/Canvas.java
6315 (AccessibleAWTCanvas): added serialization UID
6316 * java/awt/Label.java
6317 (AccessibleAWTLabel): added serialization UID
6318 * javax/swing/JRootPane.java
6319 (AccessibleJRootPane): added comment to existing UID
6320 * javax/swing/JSpinner.java
6321 (DefaultEditor): added serialization UID
6322 (NumberEditor): added serialization UID
6323 * javax/swing/text/html/HTML.java
6324 (UnknownTag): added serialization UID
6326 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
6328 * javax/swing/JInternalFrame.java
6329 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
6330 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
6331 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
6332 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
6333 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6334 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
6335 Made final as per API spec.
6337 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6339 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
6341 2004-11-30 Sven de Marothy <sven@physto.se>
6343 * java/awt/geom/Arc2D.java: Reformatted.
6344 (setArc): Correct documentation to say 'upper left corner'.
6345 (setArcByTangent,contains,intersects): Implemented.
6346 (containsAngle): Corrected to handle negative extents.
6347 (ArcIterator): Set to private.
6348 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
6349 (intersects): Fix: Now checks the arc segment.
6350 (contains): Cleaned up.
6351 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
6352 (contains): Implemented.
6353 (intersects): Implemented.
6354 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
6355 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
6356 document. Fully (re)implemented using separate xpoints and ypoints
6359 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6361 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
6362 * configure: Regenerate.
6363 * include/config.h.in: Likewise.
6364 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
6365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
6367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6368 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
6369 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
6371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
6374 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
6376 * java/awt/SystemColor.java: Fix @link doc entries.
6378 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
6380 * java/awt/RenderingHints.java: Documented.
6381 (RenderingHints): Accept null init Map.
6382 (putAll): Preprocess map to generate appropriate exceptions.
6383 (remove): Cast object to Key and remove from hintMap.
6385 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6387 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
6388 Implementation of accessibility classes and methods
6389 for these two components.
6391 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6393 * java/awt/KeyboardFocusManager.java:
6394 Added missing documentation.
6396 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6398 * java/awt/Label.java, java/awt/Canvas.java:
6399 Added accessibility classes to AWT Label and Canvas,
6400 as well as additional documentation for Canvas.
6402 2004-11-30 David Gilbert <address@bogus.example.com>
6404 * java/awt/image/DataBuffer.java: Update API documentation.
6405 * java/awt/image/DataBufferByte.java: Likewise.
6406 * java/awt/image/DataBufferDouble.java: Likewise.
6407 * java/awt/image/DataBufferFloat.java: Likewise.
6408 * java/awt/image/DataBufferInt.java: Likewise.
6409 * java/awt/image/DataBufferShort.java: Likewise.
6410 * java/awt/image/DataBufferUShort.java: Likewise.
6412 2004-11-30 Dalibor Topic <robilad@kaffe.org>
6414 * java/awt/Component.java (postEvent):
6415 Only delegate to parent if a parent exists.
6416 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
6418 2004-11-30 Sven de Marothy <sven@physto.se>
6420 *java/awt/AWTEventMulticaster.java,
6421 java/awt/Adjustable.java,
6422 java/awt/Point.java,
6423 java/awt/Polygon.java,
6424 java/awt/Rectangle.java,
6425 java/awt/Shape.java,
6426 java/awt/geom/Area.java,
6427 java/awt/geom/Ellipse2D.java,
6428 java/awt/geom/PathIterator.java,
6429 java/awt/geom/Point2D.java,
6430 java/awt/geom/Rectangle2D.java,
6431 java/lang/Comparable.java,
6432 java/util/Arrays.java:
6433 Fixed documentation errors
6435 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6437 * java/awt/image/ComponentSampleModel.java: Add documentation.
6440 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6442 * java/awt/image/ComponentSampleModel.java (constructor):
6443 Initialize numBanks when figuring out the max bank index.
6445 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6447 * java/awt/image/Raster.java (createPackedRaster): Implement
6448 MultiPixelPackedSampleModel codepath.
6450 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6452 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
6453 * Makefile.am: Add MultiPixelPackedSampleModel.java.
6454 * Makefile.in: Regenerate.
6456 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6458 * java/awt/image/Raster.java (getNumBands): Implement.
6460 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6462 * java/awt/image/Raster.java
6463 (createPackedRaster(int,int,int,int,int,Point)): Implement for
6466 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6468 * java/awt/image/SinglePixelPackedSampleModel.java
6469 (SinglePixelPackedSampleModel): Throw exception for unsupported
6472 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6474 * java/awt/image/ColorModel.java (getDataElement): Implemented.
6476 (getDataElements): Add missing version. Remove bogus version.
6479 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6481 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6482 (paintCurrentValue): Pass correct parameters to
6483 getListCellRendererComponent().
6484 (ListDataHandler.intervalRemoved): Implemented.
6485 (PropertyChangeHandler.propertyChange): Handle changes in
6486 MODEL_CHANGED_PROPERTY of the JComboBox
6487 * javax/swing/plaf/basic/BasicComboPopup.java:
6488 (BasicComboPopup): Moved code that configures popup to
6489 configurePopup() and call it instead.
6490 (firePopupMenuWillBecomeVisible): Implemented.
6491 (firePopupMenuWillBecomeInvisible): Likewise.
6492 (firePopupMenuCanceled): Likewise.
6493 (configureList): Set list's visibleRowCount same as
6494 comboBox's visibleRowCount.
6495 (configurePopup): Implemented.
6496 (getPopupHeightForRowCount): Get item's from JComboBox's model and
6497 not from model of the JList.
6498 (ListMouseMotionHandler.mouseMoved): Implemented.
6499 (PropertyChangeHandler.propertyChange): Handles change in the
6502 2004-11-30 Michael Koch <konqueror@gmx.de>
6504 * javax/swing/JComponent.java
6505 (isMaximumSizeSet): New method.
6506 (isMinimumSizeSet): Likewise.
6507 (isPreferredSizeSet): Likewise.
6509 2004-11-30 Michael Koch <konqueror@gmx.de>
6511 * javax/swing/JSpinner.java:
6513 (spinner): New field.
6514 (DefaultEditor): New method.
6515 (getSpinner): Likewise.
6516 (NumberEdito): Likewise.
6517 (getModel): Likewise
6519 2004-11-30 Michael Koch <konqueror@gmx.de>
6521 * javax/swing/InputVerifier.java:
6523 * javax/swing/JComponent.java
6524 (inputVerifier): New property field.
6525 (getInputVerifier): New method.
6526 (setInputVerifier): Likewise.
6528 2004-11-30 Michael Koch <konqueror@gmx.de>
6530 * javax/swing/JComponent.java
6531 (JComponent): Added javadoc comment.
6532 (setBorder): Fire property change eventr.
6533 (setEnabled): Likewise.
6534 (setMaximumSize): Likewise.
6535 (setMinimumSize): Likewise.
6536 (setPreferredSize): Likewise.
6537 (setOpaque): Likewise.
6539 2004-11-30 Michael Koch <konqueror@gmx.de>
6541 * javax/swing/JTextField.java
6542 (action): New field.
6543 (actionCommand): Likewise.
6544 (actionPropertyChangeListener): Likewise.
6545 (setHorizontalAlignment): Abort soon if new value == old value. Fire
6546 event before repainting.
6547 (postActionEvent): New method.
6548 (getAction): Likewise.
6549 (setAction): Likewise.
6550 (getActionCommand): Likewise.
6551 (setActionCommand): Likewise.
6552 (createActionPropertyChangeListener): Likewise.
6553 (configurePropertiesFromAction): Likewise.
6555 2004-11-30 Michael Koch <konqueror@gmx.de>
6557 * javax/swing/DebugGraphics.java:
6558 Re-formatted. Fixed some javadocs.
6559 * javax/swing/JApplet.java
6560 (rootPaneCheckingEnabled): Renamed from checking.
6561 * javax/swing/JCheckBox.java
6562 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
6563 * javax/swing/JFrame.java:
6564 Re-formatted a bit and reordered some methods.
6565 (rootPaneCheckingEnabled): Renamed from checking.
6566 (getPreferredSize): Simplified.
6567 * javax/swing/JTextArea.java
6568 (getColumnWidth): New method.
6569 (getLineCount): Likewise.
6570 (getLineStartOffset): Likewise.
6571 (getLineEndOffset): Likewise.
6572 (getLineOfOffset): Likewise.
6573 (getRowHeight): Likewise.
6575 (replaceRange): Likewise.
6576 * javax/swing/JTextField.java
6577 (scrollOffset): new field.
6578 (getScrollOffset): New method.
6579 (setScrollOffset): Likewise.
6580 (getColumnWidth): Likewise.
6581 * javax/swing/JTree.java
6582 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
6583 (CELL_EDITOR_PROPERTY): Likewise.
6584 (CELL_RENDERER_PROPERTY): Likewise.
6585 (EDITABLE_PROPERTY): Likewise.
6586 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6587 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
6588 (LARGE_MODEL_PROPERTY): Likewise.
6589 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6590 (ROOT_VISIBLE_PROPERTY): Likewise.
6591 (ROW_HEIGHT_PROPERTY): Likewise.
6592 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
6593 (SELECTION_MODEL_PROPERTY): Likewise.
6594 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
6595 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
6596 (TREE_MODEL_PROPERTY): Likewise.
6597 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
6598 (cellEditor): New field.
6599 (invokesStopCellEditing): Likewise.
6600 (largeModel): Likewise.
6601 (rowHeight): Likewise.
6602 (scrollsOnExpand): Likewise.
6603 (selectionModel): Likewise.
6604 (toggleClickCount): Likewise.
6605 (visibleRowCount): Likewise.
6606 (setShowsRootHandles): Fixed typo in method name.
6607 (getCellEditor): New method.
6608 (setCellEditor): Likewise.
6609 (getSelectionModel): Likewise.
6610 (setSelectionModel): Likewise.
6611 (getVisibleRowCount): Likewise.
6612 (setVisibleRowCount): Likewise.
6613 (isLargeModel): Likewise.
6614 (setLargeModel): Likewise.
6615 (getRowHeight): Likewise.
6616 (setRowHeight): Likewise.
6617 (getInvokesStopCellEditing): Likewise.
6618 (setInvokesStopCellEditing): Likewise.
6619 (getToggleClickCount): Likewise.
6620 (setToggleClickCount): Likewise.
6621 (getScrollsOnExpand): Likewise.
6622 (setScrollsOnExpand): Likewise.
6623 * javax/swing/table/DefaultTableColumnModel.java
6624 (addColumnModelListener): Fixed javadoc.
6625 (removeColumnModelListener): Implemented. Fixed javadoc.
6626 (getColumnModelListeners): New method.
6627 * javax/swing/table/JTableHeader.java
6628 (columnModel): Made protected.
6629 (draggedColumn): Likewise.
6630 (draggedDistance): Likewise.
6631 (reorderingAllowed): Likewise.
6632 (resizingAllowed): Likewise.
6633 (resizingColumn): Likewise.
6635 (updateTableInRealTime): Likewise.
6636 (createDefaultColumnModel): Renamed from
6637 createDefaultTableColumnModel.
6638 (setDefaultRenderer): New method.
6639 * javax/swing/table/TableColumn.java
6640 (getPropertyChangeListeners): New method.
6641 * javax/swing/text/DefaultHighlighter.java
6642 (drawsLayeredHighlights): New field.
6643 (getDrawsLayeredHighlights): New method.
6644 (setDrawsLayeredHighlights): Likewise.
6645 * javax/swing/text/DocumentFilter.java
6646 (FilterBypass): New inner class.
6647 (insertString): New method.
6649 (replace): Likewise.
6650 * javax/swing/text/JTextComponent.java
6651 (dragEnabled): New field.
6652 (getSelectedText): New method.
6653 (getDragEnabled): Likewise.
6654 (setDragEnabled): Likewise.
6655 (replaceSelection): Reimplemented.
6656 * javax/swing/text/NavigationFilter.java
6657 (FilterBypass): New inner class.
6658 (NavigationFilter): New method.
6659 (moveDot): Likewise.
6661 * javax/swing/text/SimpleAttributeSet.java
6662 (EMPTY): Made public final.
6664 2004-11-30 Michael Koch <konqueror@gmx.de>
6666 * javax/swing/SpinnerNumberModel.java
6667 (getMinimum): New method.
6668 (setMinimum): Likewise.
6669 (getMaximum): Likewise.
6670 (setMaximum): Likewise.
6671 (getStepSize): Likewise.
6672 (setStepSize): Likewise.
6674 2004-11-30 Michael Koch <konqueror@gmx.de>
6676 * javax/swing/JMenu.java
6677 (getMenuListeners): New method.
6678 (fireMenuSelected): Simplified.
6679 * javax/swing/JRootPane.java
6680 (NONE): New static field.
6682 (PLAIN_DIALOG): Likewise.
6683 (INFORMATION_DIALOG): Likewise.
6684 (ERROR_DIALOG): Likewise.
6685 (COLOR_CHOOSER_DIALOG): Likewise.
6686 (FILE_CHOOSER_DIALOG): Likewise.
6687 (QUESTION_DIALOG): Likewise.
6688 (WARNING_DIALOG): Likewise.
6689 (defaultButton): New field.
6690 (getDefaultButton): New method.
6691 (setDefaultButton): Likewise.
6692 * javax/swing/JScrollPane.java
6693 (getUI): New method.
6695 * javax/swing/JTable.java
6696 (getUI): Javadoc added.
6697 (setUI): New method.
6698 * javax/swing/JViewport.java
6699 (getUI): New method.
6701 * javax/swing/UIDefaults.java
6702 (removePropertyChangeListener): Made public.
6704 2004-11-30 Michael Koch <konqueror@gmx.de>
6706 * javax/swing/JApplet.java, javax/swing/JFrame.java:
6709 2004-11-30 Michael Koch <konqueror@gmx.de>
6711 * javax/swing/AbstractButton.java:
6712 Little re-formatting.
6713 (changeEvent): Made protected.
6714 (fireStateChanged): Removed argument.
6715 (setHorizontalAlignment): Abort method when old value is equal too new
6717 (setHorizontalTextPosition): Likewise.
6718 (setVerticalAlignment): Likewise.
6719 (setVerticalTextPosition): Likewise.
6720 (setBorderPainted): Likewise.
6721 (setIcon): Likewise.
6722 (setText): Likewise.
6723 (setIconTextGap): Likewise.
6724 (setMargin): Likewise.
6725 (setPressedIcon): Likewise.
6726 (setFocusPainted): Likewise.
6727 (setDisabledSelectedIcon): Likewise.
6728 (setRolloverIcon): Likewise.
6729 (setRolloverSelectedIcon): Likewise.
6730 (setSelectedIcon): Likewise.
6731 (setContentAreaFilled): Likewise.
6733 2004-11-30 Kim Ho <kho@redhat.com>
6735 * javax/swing/plaf/basic/BasicArrowButton.java:
6736 Jalopy. Reimplement.
6737 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6739 (arrowIcon, upIcon, downIcon, leftIcon,
6740 rightIcon): Removed.
6741 (createIncreaseButton): Use BasicArrowButton.
6742 (createDecreaseButton): Ditto.
6743 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6744 (createRightOneTouchButton): Remove button border.
6745 (createLeftOneTouchButton): Ditto.
6747 2004-11-30 Michael Koch <konqueror@gmx.de>
6749 * javax/swing/JSpinner.java
6750 (setModel): New method.
6751 * javax/swing/SpringLayout.java
6752 (Constraints): May not be final.
6754 2004-11-30 Michael Koch <konqueror@gmx.de>
6756 * gnu/java/awt/peer/gtk/GtkClipboard.java,
6757 java/awt/datatransfer/Clipboard.java,
6758 java/awt/datatransfer/ClipboardOwner.java:
6759 Reformated to make it use our coding standard.
6761 2004-11-30 Michael Koch <konqueror@gmx.de>
6763 * javax/swing/SpinnerNumberModel.java
6764 (SpinnerNumberModel): Implements java.io.Serializable.
6765 (serialVersionUID): New field.
6766 (SpinnerNumberModel): Added missing @throws tags to javadocs.
6767 * javax/swing/UIManager.java
6769 (getBoolean): Likewise.
6770 (getBorder): Likewise.
6771 (getColor): Likewise.
6772 (getDimension): Likewise.
6773 (getFont): Likewise.
6774 (getIcon): Likewise.
6775 (getInsets): Likewise.
6777 (getString): Likewise.
6779 2004-11-30 Michael Koch <konqueror@gmx.de>
6781 * javax/swing/JPasswordField.java:
6782 Reformated. Implemented construtors.
6783 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
6784 (create): New method.
6785 * javax/swing/text/PlainView.java
6786 (selectedColor): Made package-private to allow access from sub-classes
6787 in same package too.
6788 (unselectedColor): Likewise.
6790 (drawSelectedText): Make protected.
6791 (drawUnselectedText): Likewise.
6792 * javax/swing/text/PasswordView.java: New file.
6793 * Makefile.am: Added javax/swing/text/PasswordView.java.
6794 * Makefile.in: Regenerated.
6796 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6798 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
6800 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
6802 (addHelpMenu): Elide call to nativeSetHelpMenu.
6803 * java/awt/Menu.java (isTearOff): Rename to tearOff.
6804 (menuSerializedDataVersion): Initialize to 1.
6805 (separatorLabel): Mark transient.
6806 (insert(MenuItem,int)): Implement.
6807 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
6809 (countMenus): Count help menu.
6810 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
6811 accessibleContext): Add fields.
6812 * java/awt/MenuItem.java: Remove event mask FIXME.
6813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
6814 (gtkWidgetModifyFont): Only set font if label is non-NULL.
6815 (setLabel): Don't treat "-" specially.
6817 2004-11-30 Kim Ho <kho@redhat.com>
6819 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
6820 (stateChanged): Only update the image and the track if
6821 the values are not being adjusted.
6822 (updateChooser): Grab the new mouse point from the
6823 spinner values. Update the image and track only if
6824 the values are not being adjusted.
6825 (getHSBValues): New method.
6826 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
6827 (SliderHandler::stateChanged): Changed internalChange
6828 to updateChange. Set sliderChange.
6829 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
6830 (spinnerChange): New variable.
6831 (sliderChange): Ditto.
6832 (updateChange): Renamed from internalChange.
6833 (updateChooser): Do not update sliders if the sliders
6834 were the original source of the change. Ditto for spinners.
6835 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6836 (mousePress): Don't scroll the JViewport if there will
6837 be extra space at the end of the run. Change layout() to
6839 (calculateSize): Use the component's width/height unless
6840 it is smaller than the max tab width/height.
6841 (calculateTabRects): Subtract the tab run overlay.
6842 (rotateTabRuns): Don't rotate if there's only one run.
6843 (layoutContainer): Reuse the viewport point.
6844 (createLayoutManager): Set the viewport to use no layout.
6845 (paintTabArea): Don't paint the tabs that are not visible
6847 (paintContentBorderTopEdge): Check for scroll tab layout before
6849 (paintContentBorderLeftEdge): Ditto.
6850 (paintContentBorderBottomEdge): Ditto.
6851 (paintContentBorderRightEdge): Ditto.
6853 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6855 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
6857 (gtkWidgetModifyFont): New method.
6858 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
6859 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6860 (setMenuBarWidth): New method.
6861 (setBounds): Set the menu bar width.
6862 (postConfigureEvent): Set the menu bar width if the window's
6864 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
6866 (setFont): New method.
6867 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
6869 (setFont): Likewise.
6870 (GtkMenuComponentPeer): Call create and setFont.
6871 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6872 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
6873 (connectSignals): Make package private.
6874 (gtkWidgetModifyFont): New method.
6876 (GtkMenuItemPeer): Don't call create.
6877 (setFont): New method.
6878 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
6880 * java/awt/Container.java (validateTree): Fix comment typos.
6881 * java/awt/MenuComponent.java (getFont): Return parent's font if
6883 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
6884 (create): Remove call to deprecated
6885 gtk_check_menu_item_set_show_toggle function.
6887 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
6889 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
6890 (Almost everywhere): add LOG calls, fix, add comments.
6891 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
6892 Add explicit check for LOCKED bit in slow case (PR 16662).
6893 (_Jv_MonitorExit): Add casts in debug-only code.
6894 Always release LOCKED bit before throwing exception.
6895 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
6896 isn't. Handle easy cases without lock acquisition.
6897 (Object::wait): Use NotifyAll for lock inflation.
6899 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6901 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
6902 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6903 (gtkFixedMove): Remove method.
6905 2004-11-30 Sven de Marothy <sven@physto.se>
6907 * java/awt/geom/Area.java: Implemented.
6909 2004-11-30 Mark Wielaard <mark@klomp.org>
6911 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
6913 2004-11-30 Sven de Marothy <sven@physto.se>
6915 * java/awt/geom/Arc2D.java
6917 (setArc): Correct documentation to say 'upper left corner'.
6918 (setArcByTangent,contains,intersects): Implemented.
6919 (containsAngle): Corrected to handle negative extents.
6920 (ArcIterator): Set to private.
6921 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
6922 * java/awt/geom/Ellipse2D.java
6924 (contains,intersects): Implemented.
6925 * java/awt/geom/Line2D.java
6926 (linesIntersect): Correct handling of special cases.
6928 2004-11-30 Mark Wielaard <mark@klomp.org>
6930 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
6931 Color.BLACK if c == null, don't create new Color object each time.
6932 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
6934 (setColor): Use Color.BLACK when argument null.
6935 (setComposite): Set this.comp field.
6936 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
6937 (DrawState.comp): New private field.
6938 (DrawState.save): Save Composite.
6939 (DrawState.restore): Restore comp field.
6940 * java/awt/FontMetrics.java (gRC): New static final private field.
6941 (getLineMetrics(String, Graphics)): New method.
6942 (getLineMetrics(String, int, int, Graphics)): Likewise.
6943 (getLineMetrics(char[], int, int, Graphics)): Likewise.
6944 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
6945 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
6946 argument. PR SWING/17294.
6947 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
6948 the fall-back code since none of the TextArea methods are really
6949 implemented now. PR SWING/17296.
6950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6951 (GdkGlyphVector_setChars): Replace assert() with if block when
6952 pango_itemize() returns null. PR AWT/17295.
6953 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
6955 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6957 * Makefile.am (gtk_c_source_files): Add
6958 gnu_java_awt_peer_gtk_GtkFramePeer.c.
6959 * Makefile.in: Regenerate.
6960 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
6962 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6963 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6964 (create): Pack GtkButton in GtkEventBox.
6965 (connectJObject): Remove.
6966 (focus_in_cb): New function.
6967 (focus_out_cb): Likewise.
6968 (connectSignals): Connect focus-in-event and focus-out-event
6970 (gtkSetFont): Rename to ...
6971 (gtkWidgetModifyFont): New method.
6972 (gtkWidgetRequestFocus): New method.
6973 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6974 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6975 (gtkSetFont): Rename to ...
6976 (gtkWidgetModifyFont): New method.
6977 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6978 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6979 (isInRepaint): New field.
6980 (gtkSetFont): Remove method.
6981 (addExposeFilter): Likewise.
6982 (removeExposeFilter): Likewise.
6983 (gtkWidgetQueueDrawArea): Rename to ...
6984 (gtkWidgetRepaintArea): New method.
6985 (beginNativeRepaint): New method.
6986 (endNativeRepaint): New method.
6987 (setComponentBounds): Move implementation here from
6989 (paint): Remove implementation.
6990 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
6991 beginNativeRepaint and endNativeRepaint.
6992 (setBounds): Use menu bar height in bounds calculation.
6993 (postExposeEvent): Only post paint event if we're not doing a
6995 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
6996 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
6997 (find_gtk_layout): Remove function.
6998 (filter_expose_event_handler): Likewise.
6999 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
7001 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7002 (setComponentBounds): Call GtkComponentPeer's
7004 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
7006 (moveLayout): Rename to ...
7007 (gtkFixedMove): New method.
7008 (gtkLayoutSetVisible): Rename to ...
7009 (gtkFixedSetVisible): New method.
7010 (setMenuBar): Rearrange, to make the three separate cases
7012 (postExposeEvent): Only post paint event if we're not doing a
7014 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7015 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7016 (gtkWidgetModifyFont): New method.
7017 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7018 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
7019 Call run directly, rather than spawning a new thread.
7020 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
7022 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7023 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
7025 (gtkWidgetModifyFont): New method.
7026 (create): Rename ebox to eventbox.
7027 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7028 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7030 (gtkWidgetModifyFont): New method.
7031 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7032 (GtkMenuComponentPeer): Set the default font.
7033 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7034 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7035 (gtkSetFont): Rename to ...
7036 (gtkWidgetModifyFont): New method.
7037 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7038 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
7039 * java/awt/Component.java (locale): Initialize to default
7041 * java/awt/Container.java (invalidateTree): Make
7043 (paint): Paint self first.
7044 (setMenuBar): Call invalidateTree.
7045 * java/awt/Panel.java (dispatchEventImpl): Remove method.
7046 * java/awt/Window.java (show): Call no-parameter variant of
7047 requestFocusInWindow.
7048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
7049 Remove special case for window widget.
7050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7051 (grab_current_drawable): Likewise.
7052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
7053 (create): Replace GtkLayout with GtkFixed.
7054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7055 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
7056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
7057 Move all GtkFramePeer native method implementations here from
7058 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
7059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7060 Replace GtkLayout with GtkFixed.
7061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7062 (find_layout): Remove function.
7063 (create): Replace GtkLayout with GtkFixed.
7064 (connectSignals): Remove find_layout call.
7065 (toBack): Replace XFlush with gdk_flush.
7066 (toFront): Replace XFlush with gdk_flush.
7067 Move GtkFramePeer native method implementations to
7068 gnu_java_awt_peer_gtk_GtkFramePeer.c.
7069 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
7071 2004-11-30 Michael Koch <konqueror@gmx.de>
7073 * javax/swing/JTextArea.java
7074 (lineWrap): Renamed from "wrapping".
7075 (wrapStyleWord): NEw field.
7076 (getLineWrap): Re-edited javadoc comment.
7077 (setLineWrap): Likewise.
7078 (getWrapStyleWord): New method.
7079 (setWrapStyleWord): Likewise.
7081 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
7083 * configure: Regenerate for libtool change.
7085 2004-11-29 Tom Tromey <tromey@redhat.com>
7087 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
7088 Recognize --help and --version.
7089 (usage): Mention gcj-dbtool. Added "out" argument.
7092 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
7094 * link.cc (link_symbol_table): Do not use intptr_t.
7096 2004-11-28 Mark Wielaard <mark@klomp.org>
7098 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
7099 XMLDecoder tests which currently don't compile.
7101 2004-11-27 Andrew Haley <aph@redhat.com>
7103 * link.cc (ensure_class_linked): Conditionally compile
7104 _Jv_IsInterpretedClass on INTERPRETER.
7105 (print_class_loaded): Likewise.
7106 (wait_for_state): Likewise.
7107 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
7108 * include/java-interp.h (ROUND): Remove.
7110 2004-11-25 Tom Tromey <tromey@redhat.com>
7112 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
7113 * java/lang/Class.h (_Jv_Linker): Declare.
7114 (Class): Fix names of friends.
7115 (_Jv_getInterfaceMethod): Declare.
7117 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7119 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
7120 variable libjava_ld_library_path.
7121 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
7123 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
7125 * java/util/ResourceBundle.java (BundleKey): Don't implement
7127 (BundleKey.clone): Removed.
7128 (getBundle): Copy BundleKey using constructor, not clone().
7130 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
7132 * configure: Regenerate for libtool reversion.
7134 2004-11-25 Michael Koch <konqueror@gmx.de>
7136 * Makefile.am: Added most of javax.print again.
7137 * Makefile.in: Regenerated.
7139 2004-11-25 Michael Koch <konqueror@gmx.de>
7141 * Makefile.am: Added most of javax.print again.
7142 * Makefile.in: Regenerated.
7144 2004-11-24 Tom Tromey <tromey@redhat.com>
7146 * Merged gcj-abi-2-dev-branch to trunk.
7148 2004-11-16 Tom Tromey <tromey@redhat.com>
7150 * include/java-interp.h (_Jv_DefineClass): Updated.
7151 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
7152 domain to class reader.
7153 * defineclass.cc (parse): Use print_class_loaded.
7154 Include ProtectionDomain.h.
7155 (_Jv_DefineClass): Added ProtectionDomain argument.
7156 (_Jv_ClassReader): Likewise.
7157 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
7158 * link.cc: Include CodeSource.h.
7159 (print_class_loaded): New function.
7160 (wait_for_state): Use it.
7162 2004-11-16 Andrew Haley <aph@redhat.com>
7164 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
7166 2004-11-16 Andrew Haley <aph@redhat.com>
7168 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
7169 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
7170 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
7171 * configure: Regenerate.
7172 * Makefile.in: Regenerate.
7174 2004-11-15 Andrew Haley <aph@redhat.com>
7176 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
7177 gc-allocated object.
7179 2004-11-15 Andrew Haley <aph@redhat.com>
7181 * java/net/URLClassLoader.java
7182 (URLLoader.getClassPath): New method.
7183 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
7184 attribute and add URLs for each entry.
7185 (JarURLLoader.classPath): New field.
7186 (JarURLLoader.getClassPath): New method.
7187 (addURLImpl): Scan through the list of extraUrls in the new
7188 loader, adding them to our urlinfos.
7189 (definePackage, findURLResource, findResources): Use
7190 urlinfos.size(), not urls.size().
7192 2004-11-11 Tom Tromey <tromey@redhat.com>
7194 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
7196 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
7198 (ensureSupersLinked): Declare.
7199 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
7202 2004-11-10 Tom Tromey <tromey@redhat.com>
7204 * gij.cc (main): Treat -verbose the same as -verbose:class.
7205 (help): Document -verbose and -verbose:class.
7207 * link.cc (verbose_class_flag): Declare.
7208 (wait_for_state): Print message when handling precompiled class.
7209 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
7211 2004-11-09 Tom Tromey <tromey@redhat.com>
7213 * testsuite/libjava.lang/assign2.out: New file.
7214 * testsuite/libjava.lang/assign2.java: New file.
7216 * java/lang/natRuntime.cc (insertSystemProperties): Set
7217 java.version to 1.4.2 and java.specification.version to 1.4. Set
7218 java.runtime.version.
7220 2004-11-08 Tom Tromey <tromey@redhat.com>
7222 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
7224 * link.cc (verify_type_assertions): Don't link supers.
7226 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
7227 * include/java-interp.h (class _Jv_InterpClass)
7228 <_Jv_PrepareMissingMethods>: No longer `friend'.
7229 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
7231 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
7232 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
7233 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
7234 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
7235 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
7236 * link.cc (search_method_in_class): Renamed from
7237 _Jv_SearchMethodInClass.
7238 (resolve_pool_entry): Updated.
7240 * include/jvm.h (_Jv_CheckAssignment): Removed.
7241 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
7243 2004-11-05 Tom Tromey <tromey@redhat.com>
7245 * link.cc (verify_type_assertions): Ensure classes have supers
7246 linked. Strip off array types first.
7248 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
7250 * link.cc: Include VerifyError.h.
7251 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
7252 in the type assertion table.
7253 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
7254 verify_type_assertions.
7255 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
7256 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
7257 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
7258 assertion code values.
7259 (struct _Jv_TypeAssertion): Declare.
7260 (assertion_table): New class field.
7261 (verify): Remove class field.
7263 2004-11-05 Andrew Haley <aph@redhat.com>
7265 * Makefile.am: Move jv_dbtool.java to
7266 gnu/gcj/tools/gcj_dbtool/Main.java.
7267 * Makefile.in: Rebuild.
7268 * java/lang/VMCompiler.java: Rename property
7269 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
7270 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
7273 2004-11-05 Andrew Haley <aph@redhat.com>
7275 * jv_dbtool.java (main): Allow the user to specify the size of the
7276 database. Display the capacity and the size.
7277 (usage): Show the new option.
7279 2004-11-04 Tom Tromey <tromey@redhat.com>
7281 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
7282 * link.cc (make_vtable): Use correct index when searching for
7283 missing method's name. Don't use `flags'.
7284 (set_vtable_entries): Removed `flags' argument. Don't recurse
7286 (link_symbol_table): Ensure target class method table is
7287 complete. Ensure target fields are laid out before entering
7290 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
7293 * interpret.cc (do_verify): Don't verify abstract methods.
7295 2004-11-01 Tom Tromey <tromey@redhat.com>
7297 * link.cc (wait_for_state): Call verify_class.
7299 * verify.cc (state::check_no_uninitialized_objects): Removed.
7300 (push_jump): Updated.
7301 (push_exception_jump): Likewise.
7302 (handle_ret_insn): Likewise.
7303 (handle_jsr_insn): Likewise.
7305 2004-10-28 Andrew Haley <aph@redhat.com>
7307 * gnu/gcj/runtime/PersistentByteMap.java: New file.
7308 * jv_dbtool.java: New file.
7309 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
7310 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
7311 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
7312 * Makefile.in: Regenerate,
7313 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
7314 Enumeration, StringTokenizer, Vector, PersistentByteMap.
7315 (precompiledMapFiles): New variable.
7316 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
7317 initialize precompiledMapFiles.
7318 (compileClass): Look at the database of precompiled class files
7319 before firing up gcj.
7321 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
7323 2004-10-27 Andrew Haley <aph@redhat.com>
7325 * java/lang/VMCompiler.java (compileClass): try looking for
7326 precompiledMapFiles.
7327 * gnu/gcj/runtime/PersistentByteMap.java: New file.
7329 2004-10-27 Tom Tromey <tromey@redhat.com>
7331 * link.cc (ensure_class_linked): Only resolve classes for
7333 (add_miranda_methods): Ensure interface supers are installed.
7334 (resolve_pool_entry): Better error message.
7336 2004-10-25 Tom Tromey <tromey@redhat.com>
7338 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
7340 * java/util/ResourceBundle.java (tryBundle): Use
7341 Class.isAssignableFrom rather than catching ClassCastException.
7343 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
7344 exception if we hit EOF of `in'.
7345 (read): Handle case where inflating returns -1.
7347 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
7349 * gnu/java/text/SentenceBreakIterator.java
7350 (SentenceBreakIterator): Don't initialize `iter'.
7351 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
7353 * gnu/java/text/CharacterBreakIterator.java
7354 (CharacterBreakIterator): Don't initialize `iter'.
7355 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
7357 * java/text/BreakIterator.java: Updated documentation.
7359 2004-10-20 Tom Tromey <tromey@redhat.com>
7361 * java/util/ResourceBundle.java (tryBundle): Also ignore
7364 2004-10-18 Tom Tromey <tromey@redhat.com>
7366 * interpret.cc (do_post_miranda_hook): New method.
7367 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
7369 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
7370 (_Jv_CompiledEngine): Initialize new field.
7371 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
7372 (_Jv_InterpreterEngine): Initialize new field.
7373 * link.cc (resolve_pool_entry): Put Miranda methods in target
7375 (ensure_method_table_complete): Call post_miranda_hook.
7376 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
7378 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
7379 (parse): Set class' aux_info here.
7381 * boehm.cc (_Jv_MarkObj): Mark `throws'.
7383 * boehm.cc: Re-merged with trunk.
7385 2004-10-18 Andrew Haley <aph@redhat.com>
7388 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
7389 and correct logic used to find interpreter.
7391 2004-10-13 Andrew Haley <aph@redhat.com>
7393 * interpret.cc (_Jv_InterpMethod::run): Initialize
7394 _Jv_StartOfInterpreter.
7395 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
7396 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
7397 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
7398 _Unwind_FindEnclosingFunction to discover whether PC is within the
7401 2004-10-13 Tom Tromey <tromey@redhat.com>
7403 * link.cc (find_iindex): Copy correct number of slots to new
7406 2004-10-12 Tom Tromey <tromey@redhat.com>
7408 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
7410 (gcj_loader_test_one): Use it.
7411 (gcj_loader_run): Likewise.
7413 * prims.cc: Don't include FirstThread.h.
7415 2004-10-06 Tom Tromey <tromey@redhat.com>
7417 * link.cc (ensure_method_table_complete): Ensure superclass
7418 Miranda methods installed.
7420 * include/java-interp.h (class _Jv_JNIMethod): Added
7421 JV_MARKOBJ_DECL as a friend.
7422 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
7423 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
7424 interpreter method structures. Mark jni_arg_types of JNI
7427 * defineclass.cc (parse): Use JV_STATE_READ.
7428 * java/lang/Class.h (JV_STATE_READ): New enum value.
7430 2004-10-05 Tom Tromey <tromey@redhat.com>
7432 * link.cc (resolve_pool_entry): Add signature info to missing
7433 method's information.
7435 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
7436 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
7438 2004-10-04 Tom Tromey <tromey@redhat.com>
7440 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
7443 2004-09-29 Tom Tromey <tromey@redhat.com>
7445 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
7447 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
7448 * jni.cc: Use _Jv_Linker.
7449 * interpret.cc: Use _Jv_Linker.
7450 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
7451 * java/lang/natClassLoader.cc: Use _Jv_Linker.
7452 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
7453 * java/lang/Class.h: Use _Jv_Linker.
7454 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
7455 * resolve.cc: Renamed ...
7456 * link.cc: ... here. Use _Jv_Linker.
7457 * defineclass.cc (checkExtends): Use _Jv_Linker.
7459 2004-09-17 Tom Tromey <tromey@redhat.com>
7461 * defineclass.cc (handleCodeAttribute): Don't reference
7463 (handleMethodsEnd): Likewise.
7464 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
7466 (_Jv_Defer_Resolution): Don't declare or define.
7467 * interpret.cc (do_create_ncode): Don't resolve deferred method
7469 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
7470 * resolve.cc (link_symbol_table): No need to defer resolution.
7472 2004-09-14 Tom Tromey <tromey@redhat.com>
7474 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
7475 (_Jv_MarkObj): Updated.
7476 (_Jv_MarkArray): Likewise.
7478 * include/jvm.h (StringClass): Removed.
7479 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
7480 * interpret.cc (_Jv_InitField): Don't use StringClass.
7481 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
7485 (_Jv_FinalizeString): Likewise.
7486 (_Jv_NewStringUtf8Const): Likewise.
7488 * prims.cc (JvConvertArgv): Don't use StringClass.
7490 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
7491 * resolve.cc (ensure_fields_laid_out): Don't mention
7493 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
7494 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
7496 * java/lang/reflect/natField.cc (getType): Use resolve_field.
7497 * java/lang/natVMClassLoader.cc (resolveClass): New native
7499 (linkClass0): Removed.
7500 (markClassErrorState0): Likewise.
7501 * java/lang/natClassLoader.cc: Include execution.h. Moved class
7502 preparation code to resolve.cc.
7503 (_Jv_RegisterClassHookDefault): Set class's execution engine if
7505 (_Jv_FindClass): Use wait_for_state.
7506 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
7507 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
7508 Moved interface table and class preparation code to resolve.cc.
7509 (finalize): Rewrote.
7510 (initializeClass): Simplified locking and class preparation.
7511 * java/lang/VMClassLoader.java (linkClass0): Removed.
7512 (markClassErrorState0): Likewise.
7513 (resolveClass): Now native.
7514 (transformException): New method.
7515 * java/lang/Class.h (getSuperclass): Don't try to resolve super
7517 (getInterface): Likewise.
7519 (set_state): New method.
7520 (Class): Updated friend declarations.
7521 (verify): Field now private.
7522 (engine): New field.
7523 * include/jvm.h (class _Jv_Resolver): New class declaration.
7524 (_Jv_ResolveField): Removed declaration.
7525 (_Jv_CheckAccessNoInit): Likewise.
7526 (_Jv_isBinaryCompatible): Removed.
7527 * include/java-interp.h (class _Jv_MethodBase): Updated friend
7529 (class _Jv_InterpMethod): Likewise.
7530 (class _Jv_InterpClass): Likewise.
7531 (class _Jv_JNIMethod): Likewise.
7532 * include/execution.h: New file.
7533 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
7534 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
7535 Register class after setting fields.
7536 * resolve.cc: Include execution.h, VerifyError.h. Moved
7537 interpreter-specific code to interpret.cc.
7538 (uaddr): New location.
7539 (struct aligner): Likewise.
7540 (ALIGNOF): Likewise.
7541 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
7542 (INITIAL_IFACES_LEN): Likewise.
7543 (null_idt): Likewise.
7544 (_Jv_GetMethodString): Likewise.
7545 (_Jv_ThrowNoSuchMethodError): Likewise.
7546 (_Jv_abstractMethodError): Likewise.
7547 (_Jv_Resolver::get_alignment_from_class): Renamed.
7548 (_Jv_Resolver::resolve_field): Likewise.
7549 (_Jv_Resolver::resolve_pool_entry): Likewise.
7550 (_Jv_Resolver::resolve_class_ref): Likewise.
7551 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
7552 (_Jv_Resolver::indexof): Likewise.
7553 (_Jv_Resolver::get_interfaces): Likewise.
7554 (_Jv_Resolver::generate_itable): Likewise.
7555 (_Jv_Resolver::append_partial_itable): Likewise.
7556 (_Jv_Resolver::find_iindex): Likewise.
7557 (_Jv_Resolver::link_symbol_table): Likewise.
7558 (_Jv_Resolver::link_exception_table): Likewise.
7559 (_Jv_Resolver::layout_interface_methods): Likewise.
7560 (_Jv_Resolver::layout_vtable_methods): Likewise.
7561 (_Jv_Resolver::set_vtable_entries): Likewise.
7562 (_Jv_Resolver::make_vtable): Likewise.
7563 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
7564 (_Jv_Resolver::ensure_class_linked): Likewise.
7565 (_Jv_Resolver::ensure_supers_installed): Likewise.
7566 (_Jv_Resolver::add_miranda_methods): Likewise.
7567 (_Jv_Resolver::ensure_method_table_complete): Likewise.
7568 (_Jv_Resolver::verify_class): Likewise.
7569 (_Jv_Resolver::wait_for_state): Likewise.
7570 * prims.cc (_Jv_soleCompiledEngine): New global.
7571 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
7572 (_Jv_CheckAccessNoInit): Removed.
7573 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
7574 * interpret.cc: Include platform.h, ClassFormatError.h,
7575 Modifier.h, execution.h.
7576 (_Jv_soleInterpreterEngine): New global.
7577 (compile): Use resolve_pool_entry.
7579 (_Jv_InitField): New location.
7580 (skip_one_type): Likewise.
7581 (get_ffi_type_from_signature): Likewise.
7582 (_Jv_count_arguments): Likewise.
7583 (init_cif): Likewise.
7584 (ncode_closure): Likewise.
7585 (ffi_closure_fun): Likewise.
7587 (throw_class_format_error): Likewise.
7588 (throw_class_format_error): Likewise.
7589 (_Jv_InterpreterEngine::do_verify): New method.
7590 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
7591 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
7592 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
7593 * defineclass.cc: Include execution.h.
7594 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
7596 (checkExtends): Ensure superclass has supers installed.
7597 (_Jv_ClassNameSamePackage): Clarify usage constraints.
7598 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
7599 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
7602 2004-09-13 Tom Tromey <tromey@redhat.com>
7604 * mauve-libgcj: List some classes we don't have.
7606 2004-09-10 Andrew Haley <aph@redhat.com>
7608 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
7609 * java/lang/natClass.cc (initializeClass): Check itable.
7610 (_Jv_getInterfaceMethod): New.
7611 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
7612 Check that an interface method isn't called with invokevirtual.
7614 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
7615 super_meth is virtual.
7617 2004-09-01 Tom Tromey <tromey@redhat.com>
7619 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
7620 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
7621 _Jv_CheckAccessNoInit.
7622 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
7623 * prims.cc (_Jv_CheckAccessNoInit): New method.
7625 * java/lang/reflect/natMethod.cc (invoke): Check access against
7626 declaring class, not object's class.
7627 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
7629 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
7631 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
7634 2004-08-30 Andrew Haley <aph@redhat.com>
7636 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
7637 ClassNotFoundException.
7638 Throw NoClassDefFoundError.
7640 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
7641 to klass->verify() from here ...
7642 (_Jv_PrepareCompiledClass): ...and put it here.
7644 2004-08-27 Andrew Haley <aph@redhat.com>
7646 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
7648 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
7649 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
7651 2004-08-27 Tom Tromey <tromey@redhat.com>
7653 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
7655 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
7656 (_Jv_IsAssignableFromSlow): New function.
7657 Include VerifyError.h.
7658 * include/jvm.h (_Jv_CheckAssignment): Declare.
7660 2004-08-18 Andrew Haley <aph@redhat.com>
7662 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
7663 argument. Pass it to findClass instead of fileName.
7664 (compileClass): Pass class name to loadSharedLibrary.
7666 2004-06-22 Andrew Haley <aph@redhat.com>
7668 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
7670 2004-06-15 Andrew Haley <aph@redhat.com>
7672 * java/lang/natSystem.cc (getenv0): Don't assume environment
7673 variable is Latin 1 coded.
7675 2004-06-07 Andrew Haley <aph@redhat.com>
7677 * java/lang/System.java: (getenv0): New method.
7678 (getenv): Add security check. Do the right thing.
7679 * java/lang/natSystem.cc (getenv0): New method.
7681 2004-04-19 Andrew Haley <aph@redhat.com>
7683 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
7686 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
7687 is returned as an int in the range 0 to 255.
7689 2004-08-13 Tom Tromey <tromey@redhat.com>
7691 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
7692 class if it is interpreted.
7694 2004-08-12 Tom Tromey <tromey@redhat.com>
7696 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
7697 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
7698 (Class::getSuperclass): Updated.
7699 (Class::getInterfaces): Likewise.
7700 (Class::size): Updated.
7701 (_Jv_LayoutClass): Updated declaration.
7702 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
7703 Synchronize on class.
7704 (_Jv_LayoutClass): Changed interface.
7705 (initializeClass): Updated.
7706 (_Jv_LinkSymbolTable): Likewise.
7708 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
7710 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
7711 _Jv_isBinaryCompatible.
7712 * java/lang/natClass.cc (initializeClass): Use
7713 _Jv_isBinaryCompatible.
7714 (_Jv_LinkSymbolTable): Likewise.
7715 * include/jvm.h (_Jv_isBinaryCompatible): New function.
7717 2004-08-11 Tom Tromey <tromey@redhat.com>
7719 * gcj/javaprims.h: Regenerated.
7720 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
7721 (_registerClass): Likewise.
7722 * Makefile.in: Rebuilt.
7723 * Makefile.am (core_java_source_files): Added VMCompiler.
7724 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
7725 * java/lang/VMCompiler.java: New file.
7726 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
7728 (copyFile): Don't use fully-qualified name.
7730 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
7731 (defineClass): Use VMCompiler.
7732 * java/lang/ClassLoader.java (defineClass): Removed jit
7733 compilation code and `verbose' code.
7734 (getClassLoader0): Removed.
7735 (_registerClass): Likewise.
7736 (SharedLibHelpers): Removed.
7738 2004-08-10 Tom Tromey <tromey@redhat.com>
7740 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
7741 URL)): New constructor.
7742 (SoURLLoader): Likewise.
7743 (JarURLLoader): Create SoURLLoader with override URL.
7745 2004-08-10 Mark Wielaard <mark@klomp.org>
7747 * Makefile.in: Rebuilt.
7748 * Makefile.am (interpret.lo): New rule.
7750 2004-08-05 Andrew Haley <aph@redhat.com>
7752 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
7753 aside for "GCJLIBS" in directory where jarfiles are loaded.
7754 (JarURLLoader.getClass): New method.
7755 (JarURLLoader.toString): New method.
7756 (FileResource.toString): New method.
7757 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
7758 Remove "Duplicate class registration: " bug.
7759 (_registerClass): New method.
7760 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
7761 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
7763 (_Jv_LayoutClass): Use getSuperclass() rather than directly
7764 accessing the field.
7765 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
7766 (defineClass): Call gcj to JIT-compile a class.
7767 (_registerClass): New method.
7768 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
7769 library name can refer to more than one loaded library, so use a
7770 Set of SharedLibHelpers.
7771 If a shared library is already loaded, take a copy.
7772 (copyFile): New function.
7774 * testsuite/libjava.compile/compile.exp: Force
7775 -findirect-dispatch.
7777 * java/security/BasicPermission.java: Remove bogus checks.
7779 * java/lang/System.java (getenv0): New method.
7780 * java/lang/natSystem.cc (getenv0): New method.
7782 2004-05-24 Andrew Haley <aph@redhat.com>
7784 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
7786 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
7788 * Merged with HEAD as of 20040514. Diff against
7789 gcj-abi-2-merge-20040514.
7791 2004-04-16 Andrew Haley <aph@redhat.com>
7793 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
7795 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
7796 (_Jv_PrepareCompiledClass): If we throw an exception during
7797 preparation, restore state.
7798 (ClassLoader::getClassLoader0): New method.
7800 * java/lang/natClass.cc (get_alignment_from_class): Moved here
7802 (ALIGNOF): Use offsetof, not __alignof__.
7803 (_Jv_ResolveClassRef): Resolve a reference to a class in a
7805 (getInterfaces): Emit debug output if interface hasn't been
7807 (initializeClass): Call _Jv_LayoutClass.
7808 (_Jv_LinkSymbolTable): Add debugging output.
7809 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
7811 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
7812 (_Jv_LinkSymbolTable): Pass the real class loader to
7814 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
7816 (_Jv_LinkSymbolTable): Assert if we find a static field reference
7817 to an interpreted class.
7818 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
7820 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
7823 * java/lang/VMSecurityManager.java: Check for the system class
7824 loader as well as loader != null.
7826 * java/lang/SecurityManager.java (checkPermission): Remove
7828 (checkRead): Likewise.
7829 (checkConnect): Likewise.
7831 * java/lang/ClassLoader.java (loadClass): Include all class
7832 loaders in stack trace string.
7833 Look for class in "gcjlib.so" in the same directory.
7834 (getSystemClassLoader) Use getClassLoader0.
7835 (getClassLoader0): New native method.
7837 * java/lang/Class.h (getSuperclass): New method.
7838 (getInterface): New method.
7839 (size): Lay out class if needed.
7840 (firstMethodIndex): New method.
7841 (Jv_ResolveClassRef): New declaration.
7842 (_Jv_LinkSymbolTable): New declaration.
7844 * java/io/ObjectOutputStream.java: Add DEBUG statements
7846 (dumpElementln): New method.
7848 * java/io/ObjectInputStream.java (MyIOException): new, for
7850 Everywhere: use MyIOException rather than IOException.
7851 Indent debugging output to make nesting visible.
7852 (currentClassLoader): Make native
7853 (callersClassLoader): New field.
7855 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
7858 (readObject): ENDBLOCKDATA is generated if the class has a write
7859 method, not if it has a read method.
7861 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
7863 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
7864 getContextClassLoader form the current thread after our own class
7867 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
7869 (toString): New method.
7871 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
7874 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
7875 a constant pool entry, resolve it now.
7876 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
7878 Move get_alignment_from_class to natClass.cc.
7880 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
7881 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
7883 * defineclass.cc (checkExtends): Don't access superclass field
7886 * Makefile.in: regenerate.
7888 * gnu/gcj/util/natDebug.cc: New
7889 * gnu/gcj/util/Debug.java: New.
7891 * Makefile.am (java/io/ObjectInputStream.lo): Use
7892 -fno-optimize-sibling-calls.
7894 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
7895 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
7897 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
7899 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
7901 * configure: Regenerate for libtool change.
7903 2004-11-24 Michael Koch <konqueror@gmx.de>
7905 * gnu/java/security/PolicyFile.java: New file.
7906 * Makefile.am: Added gnu/java/security/PolicyFile.java.
7907 * Makefile.in: Regenerated.
7909 2004-11-24 Michael Koch <konqueror@gmx.de>
7911 * java/lang/Character.java, scripts/unicode-blocks.pl:
7912 Reorder "final static" to "static final".
7914 2004-11-24 Michael Koch <konqueror@gmx.de>
7916 * java/util/ResourceBundle.java: Reformatted.
7917 (tryBundle): Fixed javadoc.
7919 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
7921 * java/text/MessageFormat.java
7922 (formatInternal): Made private.
7924 2004-11-24 Michael Koch <konqueror@gmx.de>
7926 * java/nio/DirectByteBufferImpl.java
7927 (ReadWrite.ReadWrite): New constructor.
7928 (DirectByteBufferImpl): Likewise.
7929 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
7930 Use DirectByteBufferImpl.ReadWrite.
7932 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
7933 * Makefile.in: Rgenerated.
7935 2004-11-24 Jeroen Frijters <address@bogus.example.com>
7937 * java/nio/DirectByteBufferImpl.java
7938 (ReadOnly): New inner subclass.
7939 (ReadWrite): New inner subclass.
7940 (owner): Made final and private.
7941 (address): Made final.
7942 (DirectByteBufferImpl(int)): New constructor.
7943 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
7944 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
7945 (allocate): Modified to instantiate ReadWrite subclass.
7946 (finalize): Fixed to only free the buffer, if we own it.
7947 (put): Removed read-only check.
7948 (slice, duplicate): Modified to instantiate appropriate subclass.
7949 (isReadOnly): Removed.
7950 * java/nio/MappedByteBufferImpl.java
7951 (slice, duplicate): Modified to instantiate appropriate
7952 DirectByteBufferImpl subclass.
7954 2004-11-24 Michael Koch <konqueror@gmx.de>
7956 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
7957 * java/nio/DirectByteBufferImpl.java:
7958 Moved native methods to java.nio.VMDirectByteBuffer class.
7959 * java/nio/MappedByteBufferImpl.java:
7960 Use native methods from java.nio.VMDirectByteBuffer class.
7961 * java/nio/VMDirectByteBuffer.java: New file,
7962 * java/nio/natDirectByteBufferImpl.cc:
7963 Moved all methods into java.nio.VMDirectByteBuffer class.
7964 * java/nio/channels/spi/AbstractSelectableChannel.java
7965 (register): Only re-use valid keys.
7966 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
7967 * Makefile.in: Regenerated.
7969 2004-11-24 Michael Koch <konqueror@gmx.de>
7971 * java/nio/DirectByteBufferImpl.java,
7972 java/nio/MappedByteBufferImpl.java:
7975 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7977 * testsuite/lib/libjava.exp,
7978 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
7980 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
7982 * configure.host: Enable the interpreter for mips*-*-linux*.
7984 2004-11-23 Michael Koch <konqueror@gmx.de>
7986 * java/lang/String.java (rehash): Removed.
7987 * java/lang/natString.cc (rehash): Made static.
7988 (_Jv_NewStringUtf8Const): Use static rehash method.
7990 2004-11-23 Michael Koch <konqueror@gmx.de>
7992 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
7993 include/Makefile.in, testsuite/Makefile.in: Regenerated.
7995 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
7998 * configure.ac (threading): Accept 'posix95'.
7999 * configure: Regenerate.
8001 2004-11-22 Michael Koch <konqueror@gmx.de>
8003 * gnu/java/nio/SocketChannelImpl.java
8004 (read): Made check for blocking un-ambiguous.
8005 Removed wrong check for data array length.
8007 2004-11-21 Michael Koch <konqueror@gmx.de>
8009 * gnu/java/nio/SocketChannelImpl.java
8010 (read): Only return 0 when no bytes for reading available in
8012 * java/nio/channels/SocketChannel.java:
8013 Added some missing @return tags.
8015 2004-11-21 Michael Koch <konqueror@gmx.de>
8017 * java/beans/PropertyChangeSupport.java
8018 (propertyChangeSupportSerializedDataVersion): Made static.
8019 * java/beans/VetoableChangeSupport.java
8020 (propertyChangeSupportSerializedDataVersion): Likewise.
8022 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
8024 * java/net/URLStreamHandler.java
8025 (parseURL): Fixed file path canonicalisation.
8027 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
8029 * java/net/URLStreamHandler.java
8030 (parseURL): Fixed file path canonicalisation.
8032 2004-11-18 Michael Koch <konqueror@gmx.de>
8034 * java/net/URLClassLoader.java: Whitespace cleanup.
8036 2004-11-18 Robert Schuster <address@bogus.example.com>
8038 Complete 1.4 support
8039 * java/beans/PropertyDescriptor.java:
8040 (setReadMethod): New method
8041 (setWriteMethod): New method
8042 (equals): Implemented (1.4)
8043 (checkMethods): operates on arguments now (private)
8046 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
8048 * java/net/Inet6Address.java (getHostAddress): Fix textual
8049 representation of IPv6 address with embedded zeroes
8050 to conform to RFC 2373.
8052 2004-11-18 Jeroen Frijters <address@bogus.example.com>
8054 * java/lang/StackTraceElement.java: Made final.
8055 * java/nio/channels/Channels.java: Added private constructor.
8056 * java/rmi/Naming.java: Added private constructor.
8057 * java/rmi/registry/LocateRegistry.java: Added private constructor.
8058 * java/rmi/server/RMIClassLoader.java: Added private constructor.
8059 * java/security/KeyPairGeneratorSpi.java
8060 (clone): Made protected and simplified implementation.
8061 * java/text/DateFormat.java
8062 (allFields): Made package accessible.
8063 * java/text/DecimalFormat.java
8064 (formatInternal): Made private.
8065 * java/text/Format.java
8066 (formatInternal): Made private.
8067 * java/util/logging/Handler.java: Made constructor protected.
8068 * java/util/regex/Matcher.java: Made final.
8069 * java/util/regex/Pattern.java: Made final.
8070 * javax/crypto/CipherInputStream.java
8071 (mark): Corrected mark parameter type (from long to int).
8072 * javax/crypto/ExemptionMechanism.java
8074 * javax/crypto/Mac.java
8075 (getMacLength): Made final.
8076 (clone): Made final.
8077 * javax/imageio/ImageIO.java: Added private constructor.
8078 * javax/imageio/stream/ImageInputStreamImpl.java
8079 (checkClosed): Made final.
8080 * javax/net/ssl/SSLPermission.java: Made final.
8081 * javax/print/DocFlavor.java
8082 (hostEncoding): Added work-around to prevent the field from being
8083 a compile time constant.
8084 * javax/print/attribute/AttributeSetUtilities.java: Added private
8086 (UnmodifiableDocAttributeSet): Made private.
8087 (UnmodifiablePrintJobAttributeSet): Made private.
8088 (UnmodifiablePrintRequestAttributeSet): Made private.
8089 (UnmodifiablePrintServiceAttributeSet): Made private.
8090 (SynchronizedAttributeSet): Made private.
8091 (SynchronizedDocAttributeSet): Made private.
8092 (SynchronizedPrintJobAttributeSet): Made private.
8093 (SynchronizedPrintRequestAttributeSet): Made private.
8094 (SynchronizedPrintServiceAttributeSet): Made private.
8095 * javax/security/auth/PrivateCredentialPermission.java: Made final.
8097 2004-11-18 Craig Black <craig.black@aonix.com>
8099 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
8101 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
8103 * Makefile.am: Correct friend function declaration.
8104 * Makefile.in: Regenerated.
8105 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
8106 scope to function names. Declare functions directly.
8107 * libjava/java/lang/Class.h
8108 (java::lang::Class): Correct friend class declaration.
8109 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
8111 * libjava/java/lang/Class.h
8112 (java::lang::Object): Correct friend class declaration.
8114 2004-11-17 David Daney <ddaney@avtrex.com>
8116 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
8118 2004-11-17 Michael Koch <konqueror@gmx.de>
8120 * java/net/Socket.java (getPort): Return 0 in error case.
8122 2004-11-17 Michael Koch <konqueror@gmx.de>
8124 * java/nio/DirectByteBufferImpl.java
8125 (owner): Updated comment.
8126 (allocate): New method.
8128 2004-11-17 Michael Koch <konqueror@gmx.de>
8130 * java/net/URL.java (URL): Handle case when argument is null.
8132 2004-11-17 Michael Koch <konqueror@gmx.de>
8134 * java/beans/Beans.java,
8135 java/beans/PropertyChangeEvent.java,
8136 java/beans/PropertyEditorSupport.java:
8139 2004-11-17 Michael Koch <konqueror@gmx.de>
8141 * java/util/Timer.java (DEFAULT_SIZE): Made static.
8143 2004-11-17 Michael Koch <konqueror@gmx.de>
8145 * java/net/InetAddress.java (getCanonicalHostName):
8146 Support IPv6 addresses.
8148 2004-11-16 Michael Koch <konqueror@gmx.de>
8150 * java/lang/Object.java: Added javadocs all over (merged from GNU
8153 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
8155 * java/security/Security.java (Security): Silence the warning about no
8156 providers found in the no debug case.
8158 2004-11-16 Michael Koch <konqueror@gmx.de>
8160 * java/net/InetAddress.java
8161 (toString): Merged from GNU classpath.
8163 2004-11-16 Michael Koch <konqueror@gmx.de>
8165 * java/awt/geom/doc-files/Area-1.png,
8166 java/awt/geom/doc-files/Ellipse-1.png,
8167 java/awt/geom/doc-files/GeneralPath-1.png:
8170 2004-11-16 Michael Koch <konqueror@gmx.de>
8172 * java/util/Currency.java (cache): Fix modifier order.
8174 2004-11-16 Michael Koch <konqueror@gmx.de>
8176 * java/io/BufferedReader.java,
8177 java/io/FileInputStream.java,
8178 java/io/FileOutputStream.java,
8179 java/io/FileWriter.java,
8180 java/io/OutputStreamWriter.java,
8181 java/io/PipedInputStream.java,
8182 java/io/PipedOutputStream.java,
8183 java/io/PipedReader.java,
8184 java/io/PipedWriter.java,
8185 java/io/PrintStream.java,
8186 java/io/PushbackInputStream.java,
8187 java/io/RandomAccessFile.java,
8188 java/io/Reader.java,
8189 java/io/StreamTokenizer.java,
8190 java/io/StringReader.java,
8191 java/net/NetworkInterface.java,
8192 java/net/URLClassLoader.java,
8193 java/nio/ByteOrder.java,
8194 java/nio/channels/Channel.java:
8195 Fixed javadocs all over.
8197 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
8199 * Makefile.am: Add imported files.
8200 * Makefile.in: Regenerate.
8202 2004-10-24 Casey Marshall <csm@gnu.org>
8204 * javax/security/auth/login/LoginContext.java: Implemented.
8205 * javax/security/auth/login/Configuration.java (getConfig): New method.
8206 * javax/security/auth/spi/LoginModule.java,
8207 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
8209 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
8211 Import/Merge the X.509 certificate code from Classpath.
8213 * Makefile.am: Add imported files.
8214 * Makefile.in: Regenerate.
8216 2004-11-07 Casey Marshall <csm@gnu.org>
8218 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
8219 priviliged action. Add new algorithms.
8220 * gnu/java/security/provider/X509CertificateFactory.java
8221 (engineGenerateCertificate): Chain exceptions.
8222 (engineGenerateCertificates): Likewise.
8223 (engineGenerateCRL): Likewise.
8224 (engineGenerateCRLs): Likewise.
8225 (engineGenerateCertPath): New methods.
8226 (generateCert): Throw exception if 'inStream' is null.
8227 (generateCRL): Likewise.
8228 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
8229 version from GNU Crypto CVS.
8230 * gnu/java/security/x509/X509CRL.java: Likewise.
8231 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
8232 * gnu/java/security/x509/X509Certificate.java: Likewise.
8233 * java/security/cert/TrustAnchor.java: Call 'toString' and not
8235 * gnu/java/security/provider/CollectionCertStoreImpl.java,
8236 * gnu/java/security/provider/EncodedKeyFactory.java,
8237 * gnu/java/security/provider/GnuDHPublicKey.java,
8238 * gnu/java/security/provider/GnuRSAPrivateKey.java,
8239 * gnu/java/security/provider/GnuRSAPublicKey.java,
8240 * gnu/java/security/provider/MD2withRSA.java,
8241 * gnu/java/security/provider/MD4withRSA.java,
8242 * gnu/java/security/provider/MD5withRSA.java,
8243 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
8244 * gnu/java/security/provider/RSA.java,
8245 * gnu/java/security/provider/RSAKeyFactory.java,
8246 * gnu/java/security/provider/SHA1withRSA.java,
8247 * gnu/java/security/x509/GnuPKIExtension.java,
8248 * gnu/java/security/x509/PolicyNodeImpl.java,
8249 * gnu/java/security/x509/Util.java,
8250 * gnu/java/security/x509/X509CRLSelectorImpl.java,
8251 * gnu/java/security/x509/X509CertPath.java,
8252 * gnu/java/security/x509/X509CertSelectorImpl.java,
8253 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
8254 * gnu/java/security/x509/ext/BasicConstraints.java,
8255 * gnu/java/security/x509/ext/CRLNumber.java,
8256 * gnu/java/security/x509/ext/CertificatePolicies.java,
8257 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
8258 * gnu/java/security/x509/ext/Extension.java,
8259 * gnu/java/security/x509/ext/GeneralNames.java,
8260 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
8261 * gnu/java/security/x509/ext/KeyUsage.java,
8262 * gnu/java/security/x509/ext/PolicyConstraint.java,
8263 * gnu/java/security/x509/ext/PolicyMappings.java,
8264 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
8265 * gnu/java/security/x509/ext/ReasonCode.java,
8266 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
8267 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
8269 2004-11-07 Casey Marshall <csm@gnu.org>
8271 * gnu/java/security/x509/X509CRL.java:
8272 Missed import statements in previous checkin.
8274 2004-11-07 Casey Marshall <csm@gnu.org>
8276 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
8277 to 'X509CertificateImpl' from previous checkin.
8279 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
8282 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
8284 2004-11-11 Casey Marshall <csm@gnu.org>
8286 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
8288 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
8289 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
8291 2004-11-11 Robert Schuster <thebohemian@gmx.net>
8294 * gnu/java/beans/IntrospectionIncubator.java:
8295 (addMethod): Corrected classification of normal and property methods.
8296 (capitalize): Added documentation.
8297 (DoubleKey): [class] Added documentation.
8299 2004-11-09 Tom Tromey <tromey@redhat.com>
8301 * include/jni.h: Added FIXME.
8303 2004-11-08 Tom Tromey <tromey@redhat.com>
8305 * java/util/GregorianCalendar.java: Removed unused imports.
8306 * java/util/Vector.java: Removed unused import.
8308 2004-11-07 Michael Koch <konqueror@gmx.de>
8310 * java/lang/Process.java:
8313 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
8315 * java/util/zip/ZipEntry.java
8316 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
8318 2004-11-07 Robert Schuster <theBohemian@gmx.net>
8321 * gnu/java/beans/IntrospectionIncubator.java:
8322 (addMethod): static methods are discarded now, too.
8324 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8326 * java/util/GregorianCalendar.java
8327 Added/amended documentation.
8329 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8331 * java/util/Collections.java
8332 Added documentation.
8333 * java/util/SortedMap.java
8334 Clarified some method examples.
8335 * java/util/SortedSet.java
8336 Clarified some method examples.
8338 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8340 * java/util/Currency.java
8341 Documented variables and methods more fully.
8342 Caches the currency instances, so that a request
8343 for a locale, l, only ever returns the same
8344 instance (i.e. successive calls to getInstance(l)
8345 are reference equivalent (==)).
8347 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8349 * java/util/Date.java
8350 Added missing documentation.
8352 2004-11-06 Michael Koch <konqueror@gmx.de>
8354 * java/util/zip/CheckedInputStream.java,
8355 java/util/zip/InflaterInputStream.java,
8356 java/util/zip/ZipFile.java,
8357 java/util/zip/ZipInputStream.java:
8360 2004-11-06 Tom Tromey <tromey@redhat.com>
8362 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
8364 (connections): Likewise.
8365 (scavenger): Likewise.
8366 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
8368 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
8371 * gnu/classpath/ServiceFactory.java (log): Now package-private.
8373 2004-11-06 Tom Tromey <tromey@redhat.com>
8375 * javax/naming/directory/BasicAttributes.java (attributes): Now
8377 * javax/imageio/spi/ServiceRegistry.java (categories): Now
8380 2004-11-06 Tom Tromey <tromey@redhat.com>
8382 * java/net/URLClassLoader.java (URLClassLoader): Now
8384 * java/nio/charset/CoderResult.java (CoderResult): Now
8387 (Cache): Likewise. Don't synchronize on `this'.
8388 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
8390 * java/util/TimeZone.java (timezones): Now package-private.
8392 2004-11-06 Tom Tromey <tromey@redhat.com>
8394 * java/security/Permissions.java (perms): Now package-private.
8395 * java/security/UnresolvedPermission.java (permissions): Now
8398 2004-11-06 Tom Tromey <tromey@redhat.com>
8400 * java/io/FilePermission.java: Reindented.
8402 2004-11-06 Tom Tromey <tromey@redhat.com>
8404 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
8406 (setBlockDataMode): Likewise.
8408 2004-11-06 Tom Tromey <tromey@redhat.com>
8410 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
8412 (Encoder): Likewise.
8413 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
8414 (Encoder): Likewise.
8415 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
8417 (Encoder): Likewise.
8419 2004-11-06 Mark Wielaard <mark@klomp.org>
8421 * Makefile.am: Add new javax.imageio files.
8422 * Makefile.in: Regenerated.
8424 2004-11-06 Michael Koch <konqueror@gmx.de>
8426 * javax/imageio/event/IIOReadProgressListener.java,
8427 javax/imageio/event/IIOReadUpdateListener.java,
8428 javax/imageio/event/IIOReadWarningListener.java,
8429 javax/imageio/event/IIOWriteProgressListener.java,
8430 javax/imageio/event/IIOWriteWarningListener.java,
8431 javax/imageio/metadata/IIOMetadataFormat.java,
8432 javax/imageio/stream/FileCacheImageInputStream.java,
8433 javax/imageio/stream/FileCacheImageOutputStream.java,
8434 javax/imageio/stream/ImageInputStreamImpl.java:
8436 * javax/imageio/metadata/package.html: New file.
8438 2004-11-06 Michael Koch <konqueror@gmx.de>
8440 * javax/imageio/spi/ImageReaderSpi.java
8441 (isOwnReader): New method.
8442 * javax/imageio/spi/ImageWriterSpi.java
8443 (isOwnWriter): Likewise.
8445 2004-11-06 Michael Koch <konqueror@gmx.de>
8447 * javax/imageio/ImageWriter.java
8448 (convertImageMetadata): New abstract method.
8449 (convertStreamMetadata): Likewise.
8451 * javax/imageio/stream/FileCacheImageInputStream.java
8452 (close): Fixed setting of stream to null.
8453 (checkStreamClosed): Throws IOException.
8455 2004-11-06 Michael Koch <konqueror@gmx.de>
8457 * javax/imageio/stream/FileCacheImageInputStream.java,
8458 javax/imageio/stream/FileCacheImageOutputStream.java,
8459 javax/imageio/stream/FileImageInputStream.java,
8460 javax/imageio/stream/FileImageOutputStream.java,
8461 javax/imageio/stream/MemoryCacheImageInputStream.java,
8462 javax/imageio/stream/MemoryCacheImageOutputStream.java:
8465 2004-11-06 Michael Koch <konqueror@gmx.de>
8467 * javax/imageio/metadata/IIOInvalidTreeException.java,
8468 javax/imageio/metadata/IIOMetadataFormatImpl.java,
8469 javax/imageio/metadata/IIOMetadataNode.java:
8472 2004-11-06 Michael Koch <konqueror@gmx.de>
8474 * javax/imageio/stream/ImageInputStreamImpl.java,
8475 javax/imageio/stream/ImageOutputStreamImpl.java:
8478 2004-11-06 Michael Koch <konqueror@gmx.de>
8480 * javax/imageio/ImageIO.java:
8481 Added much new methods.
8483 2004-11-06 Michael Koch <konqueror@gmx.de>
8485 * javax/imageio/ImageReader.java,
8486 javax/imageio/ImageWriter.java,
8487 javax/imageio/spi/ImageWriterSpi.java:
8488 Add SOME new methods.
8490 2004-11-06 Michael Koch <konqueror@gmx.de>
8492 * javax/imageio/IIOParam.java,
8493 javax/imageio/ImageReadParam.java,
8494 javax/imageio/ImageReader.java,
8495 javax/imageio/ImageWriter.java:
8497 * javax/imageio/spi/ImageReaderSpi.java,
8498 javax/imageio/spi/ImageWriterSpi.java:
8501 2004-11-06 Michael Koch <konqueror@gmx.de>
8503 * javax/imageio/ImageWriteParam.java,
8504 javax/imageio/metadata/IIOMetadataFormat.java:
8507 2004-11-06 Michael Koch <konqueror@gmx.de>
8509 * javax/imageio/ImageTypeSpecifier.java:
8512 2004-11-06 Michael Koch <konqueror@gmx.de>
8514 * javax/imageio/metadata/IIOMetadata.java:
8517 2004-11-06 Michael Koch <konqueror@gmx.de>
8519 * javax/imageio/IIOImage.java,
8520 javax/imageio/ImageReadParam.java,
8521 javax/imageio/metadata/IIOMetadataController.java,
8522 javax/imageio/metadata/IIOMetadataFormat.java:
8524 * javax/imageio/stream/ImageOutputStream.java:
8527 2004-11-06 Michael Koch <konqueror@gmx.de>
8529 * javax/imageio/IIOParam.java,
8530 javax/imageio/IIOParamController.java,
8531 javax/imageio/ImageTypeSpecifier.java,
8532 javax/imageio/ImageWriteParam.java,
8533 javax/imageio/metadata/IIOMetadata.java:
8535 * javax/imageio/ImageTranscoder.java:
8538 2004-11-06 Michael Koch <konqueror@gmx.de>
8540 * javax/imageio/spi/ImageInputStreamSpi.java,
8541 javax/imageio/spi/ImageOutputStreamSpi.java:
8542 Reworked import startments.
8543 * javax/imageio/spi/ServiceRegistry.java:
8544 Reworked import startments. Fixed XHTML in javadocs.
8545 (ServiceRegistry): Added @param tag to javadoc.
8546 * javax/imageio/stream/ImageInputStream.java
8547 (mark): Doesn't throws IOException;
8549 2004-11-06 Michael Koch <konqueror@gmx.de>
8551 * javax/imageio/ImageIO.java:
8554 2004-11-06 Michael Koch <konqueror@gmx.de>
8556 * javax/imageio/spi/IIORegistry.java
8557 (static): Don't register ImageReaderSpi.class and
8558 ImageWriterSpi.class yet.
8560 2004-11-06 Michael Koch <konqueror@gmx.de>
8562 * javax/imageio/spi/IIORegistry.java:
8565 2004-11-06 Noa Resare <noa@resare.com>
8567 * java/net/Socket.java (getPort): Return 0 instead of -1 on
8568 unconnected sockets.
8570 2004-11-06 Michael Koch <konqueror@gmx.de>
8572 * java/lang/StringBuffer.java,
8573 java/lang/Throwable.java,
8574 java/security/spec/DSAParameterSpec.java,
8575 java/util/zip/ZipEntry.java,
8576 java/util/zip/ZipFile.java,
8577 java/util/zip/ZipInputStream.java,
8578 java/util/zip/ZipOutputStream.java:
8579 Removed redundant and reordered modifiers.
8581 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
8583 * java/io/Vector.java
8584 (writeObject): New function to serialized output thread safe.
8586 * java/io/ObjectOutputStream.java
8587 (writeObject): Move the assignment of the class handle to after
8588 the assignment of class descriptor handle.
8590 2004-11-06 Robert Schuster <thebohemian@gmx.net>
8592 Fixes documentation and indentation
8593 * java/beans/PropertyEditorSupport.java:
8594 reworked initial API doc
8595 (value): changed name from val
8597 2004-11-06 Robert Schuster <thebohemian@gmx.net>
8600 * java/beans/PropertyEditorSupport.java
8601 (PropertyEditorSupport()): Changed modifier to public
8602 (PropertyEditorSupport(Object): Changed modifier to public
8603 (setSource): New method
8604 (getSource): New method
8606 2004-11-06 Robert Schuster <thebohemian@gmx.net>
8609 * java/beans/PropertyEditorSupport.java
8610 (setValue): Fire property change event
8612 2004-11-03 Tom Tromey <tromey@redhat.com>
8614 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
8615 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
8616 returns jobjectArray.
8617 (_Jv_JNIEnv::NewObjectArray): Likewise.
8619 2004-11-01 Tom Tromey <tromey@redhat.com>
8621 * verify.cc (state::check_no_uninitialized_objects): Removed.
8622 (push_jump): Updated.
8623 (push_exception_jump): Likewise.
8624 (handle_ret_insn): Likewise.
8625 (handle_jsr_insn): Likewise.
8627 2004-10-30 Mark Wielaard <mark@klomp.org>
8630 * java/lang/Runtime.java (static): Call init().
8631 (Runtime): Remove call to init().
8632 (init): Make static.
8634 2004-10-28 David Daney <ddaney@avtrex.com>
8636 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
8637 * Makefile.am: Build it.
8638 * Makefile.in: Regenerate.
8640 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
8643 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
8645 * Makefile.in: Regenerate.
8646 * configure: Regenerate.
8647 * configure.ac (CLASSPATH_SEPARATOR): Define.
8648 * gcj/Makefile.in: Regenerate.
8649 * include/Makefile.in: Regenerate.
8650 * testsuite/Makefile.in: Regenerate.
8651 * testsuite/lib/libjava.exp (libjava_arguments): Fix
8652 CLASSPATH separator handling for Windows.
8654 2004-10-26 Michael Koch <konqueror@gmx.de>
8656 * gnu/java/net/protocol/http/Connection.java
8657 (getOutputStream): Implicitely switch to POST method.
8659 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
8661 * libjava/java/lang/Class.h
8662 (java::lang::Class): Correct friend class declaration.
8664 2004-10-25 Geoffrey Keating <geoffk@apple.com>
8666 * Makefile.am (DARWIN_CRT_SRC): New.
8667 (libgcj_la_SOURCES): Use it.
8668 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
8669 * darwin.cc: New file.
8670 * include/jvm.h (_Jv_RegisterClasses): Constify.
8671 (_Jv_RegisterClasses_Counted): New prototype.
8672 * java/lang/Class.h: Include stddef.h.
8673 (_Jv_RegisterClasses): Constify.
8674 (_Jv_RegisterClasses_Counted): New prototype.
8675 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
8676 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
8677 (_Jv_RegisterClasses_Counted): New function.
8678 * configure: Regenerate.
8679 * Makefile.in: Regenerate.
8680 * gcj/Makefile.in: Regenerate.
8681 * include/Makefile.in: Regenerate.
8682 * testsuite/Makefile.in: Regenerate.
8684 2004-10-25 Tom Tromey <tromey@redhat.com>
8686 * java/util/ResourceBundle.java (tryBundle): Use
8687 Class.isAssignableFrom rather than catching ClassCastException.
8689 2004-10-25 Tom Tromey <tromey@redhat.com>
8691 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
8693 * gnu/java/text/SentenceBreakIterator.java
8694 (SentenceBreakIterator): Don't initialize `iter'.
8695 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
8697 * gnu/java/text/CharacterBreakIterator.java
8698 (CharacterBreakIterator): Don't initialize `iter'.
8699 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
8701 * java/text/BreakIterator.java: Updated documentation.
8703 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
8706 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
8708 2004-10-23 Michael Koch <konqueror@gmx.de>
8710 * javax/print/DocFlavor.java,
8711 javax/print/attribute/standard/JobStateReason.java,
8712 javax/print/attribute/standard/MultipleDocumentHandling.java:
8713 Added missing constants.
8715 2004-10-22 Tom Tromey <tromey@redhat.com>
8717 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
8720 2004-10-22 Michael Koch <konqueror@gmx.de>
8723 * gnu/java/net/protocol/http/Connection.java
8724 (sendRequest): Handle case when url.getFile() returns an empty string.
8726 2004-10-22 Michael Koch <konqueror@gmx.de>
8728 * java/lang/Math.java,
8729 java/lang/StackTraceElement.java,
8730 java/nio/Buffer.java,
8731 java/nio/ByteBuffer.java,
8732 java/nio/CharBuffer.java,
8733 java/nio/DoubleBuffer.java,
8734 java/nio/FloatBuffer.java,
8735 java/nio/IntBuffer.java,
8736 java/nio/LongBuffer.java,
8737 java/nio/ShortBuffer.java,
8738 java/nio/charset/Charset.java,
8739 java/rmi/server/RMIClassLoader.java,
8740 java/rmi/server/RMISocketFactory.java,
8741 java/security/Policy.java,
8742 java/text/ChoiceFormat.java,
8743 java/text/CollationElementIterator.java,
8744 java/text/DateFormat.java,
8745 java/text/DecimalFormat.java,
8746 java/text/DecimalFormatSymbols.java,
8747 java/text/MessageFormat.java,
8748 java/text/NumberFormat.java,
8749 java/text/RuleBasedCollator.java,
8750 java/text/SimpleDateFormat.java,
8751 java/util/BitSet.java,
8752 java/util/Calendar.java,
8753 java/util/Collections.java,
8754 java/util/IdentityHashMap.java,
8755 java/util/Locale.java,
8756 java/util/TreeMap.java,
8757 java/util/logging/LogRecord.java,
8758 java/util/logging/XMLFormatter.java,
8759 java/util/prefs/AbstractPreferences.java,
8760 java/util/prefs/Preferences.java,
8761 javax/crypto/interfaces/DHPrivateKey.java,
8762 javax/crypto/interfaces/DHPublicKey.java,
8763 javax/crypto/interfaces/PBEKey.java,
8764 javax/net/ssl/HandshakeCompletedEvent.java,
8765 javax/security/auth/Subject.java:
8766 Removed redundant and reordered modifiers.
8768 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
8770 * gnu/java/net/natPlainSocketImplPosix.cc
8771 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
8772 with 'int *' argument instead of 'long *'.
8774 2004-10-21 Michael Koch <konqueror@gmx.de>
8776 * java/net/NetworkInterface.java,
8777 java/text/Format.java,
8778 javax/security/auth/x500/X500Principal.java,
8779 javax/security/auth/x500/X500PrivateCredential.java,
8780 javax/security/cert/X509CertBridge.java,
8781 javax/security/sasl/Sasl.java,
8782 javax/sql/XAConnection.java:
8785 2004-10-21 Michael Koch <konqueror@gmx.de>
8787 * javax/net/ssl/HandshakeCompletedEvent.java,
8788 javax/net/ssl/KeyManagerFactory.java,
8789 javax/net/ssl/SSLContext.java,
8790 javax/net/ssl/SSLServerSocketFactory.java,
8791 javax/net/ssl/SSLSession.java,
8792 javax/net/ssl/SSLSocketFactory.java,
8793 javax/net/ssl/TrustManagerFactory.java:
8796 2004-10-21 Michael Koch <konqueror@gmx.de>
8798 * javax/naming/directory/BasicAttribute.java,
8799 javax/naming/directory/BasicAttributes.java,
8800 javax/naming/directory/InitialDirContext.java,
8801 javax/naming/event/NamingEvent.java,
8802 javax/naming/ldap/ControlFactory.java,
8803 javax/naming/ldap/ExtendedRequest.java,
8804 javax/naming/ldap/InitialLdapContext.java,
8805 javax/naming/ldap/LdapReferralException.java,
8806 javax/naming/spi/DirObjectFactory.java,
8807 javax/naming/spi/DirStateFactory.java,
8808 javax/naming/spi/DirectoryManager.java,
8809 javax/naming/spi/InitialContextFactory.java,
8810 javax/naming/spi/InitialContextFactoryBuilder.java,
8811 javax/naming/spi/NamingManager.java,
8812 javax/naming/spi/ObjectFactory.java,
8813 javax/naming/spi/ObjectFactoryBuilder.java,
8814 javax/naming/spi/StateFactory.java:
8817 2004-10-21 Michael Koch <konqueror@gmx.de>
8819 * javax/crypto/Cipher.java,
8820 javax/crypto/EncryptedPrivateKeyInfo.java,
8821 javax/crypto/ExemptionMechanism.java,
8822 javax/crypto/KeyAgreement.java,
8823 javax/crypto/KeyGenerator.java,
8824 javax/crypto/Mac.java,
8825 javax/crypto/SecretKeyFactory.java,
8826 javax/crypto/SecretKeyFactorySpi.java,
8827 javax/crypto/spec/SecretKeySpec.java:
8830 2004-10-21 Michael Koch <konqueror@gmx.de>
8832 * java/security/AlgorithmParameterGenerator.java,
8833 java/security/AlgorithmParameters.java,
8834 java/security/AlgorithmParametersSpi.java,
8835 java/security/AllPermission.java,
8836 java/security/BasicPermission.java,
8837 java/security/Certificate.java,
8838 java/security/CodeSource.java,
8839 java/security/DigestInputStream.java,
8840 java/security/DigestOutputStream.java,
8841 java/security/GuardedObject.java,
8842 java/security/KeyFactory.java,
8843 java/security/KeyFactorySpi.java,
8844 java/security/KeyPairGenerator.java,
8845 java/security/KeyStore.java,
8846 java/security/KeyStoreSpi.java,
8847 java/security/Permissions.java,
8848 java/security/Security.java,
8849 java/security/Signature.java,
8850 java/security/UnresolvedPermission.java,
8851 java/security/cert/CertPathBuilder.java,
8852 java/security/cert/CertPathValidator.java,
8853 java/security/cert/CertStore.java,
8854 java/security/cert/Certificate.java,
8855 java/security/cert/CertificateFactory.java,
8856 java/security/cert/PolicyQualifierInfo.java,
8857 java/security/cert/TrustAnchor.java,
8858 java/security/cert/X509CRL.java,
8859 java/security/cert/X509CRLSelector.java,
8860 java/security/cert/X509CertSelector.java:
8863 2004-10-21 Michael Koch <konqueror@gmx.de>
8865 * java/rmi/MarshalledObject.java,
8866 java/rmi/Naming.java,
8867 java/rmi/activation/Activatable.java,
8868 java/rmi/activation/ActivationGroup.java,
8869 java/rmi/activation/ActivationGroupDesc.java,
8870 java/rmi/activation/ActivationInstantiator.java,
8871 java/rmi/activation/ActivationMonitor.java,
8872 java/rmi/activation/ActivationSystem.java,
8873 java/rmi/activation/Activator.java,
8874 java/rmi/registry/LocateRegistry.java,
8875 java/rmi/registry/Registry.java,
8876 java/rmi/server/LogStream.java,
8877 java/rmi/server/ObjID.java,
8878 java/rmi/server/RMIClientSocketFactory.java,
8879 java/rmi/server/RMIServerSocketFactory.java,
8880 java/rmi/server/RMISocketFactory.java,
8881 java/rmi/server/RemoteCall.java,
8882 java/rmi/server/RemoteServer.java,
8883 java/rmi/server/ServerRef.java,
8884 java/rmi/server/UID.java,
8885 java/rmi/server/UnicastRemoteObject.java:
8888 2004-10-21 Tom Tromey <tromey@redhat.com>
8890 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
8891 exception if we hit EOF of `in'.
8892 (read): Handle case where inflating returns -1.
8894 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
8896 * gnu/java/nio/channels/natFileChannelPosix.cc
8897 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
8898 argument instead of 'long *'.
8900 2004-10-21 Tom Tromey <tromey@redhat.com>
8902 * java/util/ResourceBundle.java (tryBundle): Also ignore
8905 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
8907 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
8908 for all sh*-*-linux* targets.
8909 * configure: Regenerate.
8910 * include/sh-signal.h: New file.
8912 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
8914 * java/lang/ieeefp.h: Add m32r support.
8916 2004-10-20 Andreas Schwab <schwab@suse.de>
8918 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
8920 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
8923 2004-10-20 Michael Koch <konqueror@gmx.de>
8925 * javax/print/attribute/standard/ColorSupported.java,
8926 javax/print/attribute/standard/Compression.java,
8927 javax/print/attribute/standard/Copies.java,
8928 javax/print/attribute/standard/CopiesSupported.java,
8929 javax/print/attribute/standard/DateTimeAtCompleted.java,
8930 javax/print/attribute/standard/DateTimeAtCreation.java,
8931 javax/print/attribute/standard/DateTimeAtProcessing.java,
8932 javax/print/attribute/standard/DocumentName.java,
8933 javax/print/attribute/standard/Fidelity.java,
8934 javax/print/attribute/standard/Finishings.java,
8935 javax/print/attribute/standard/JobHoldUntil.java,
8936 javax/print/attribute/standard/JobImpressions.java,
8937 javax/print/attribute/standard/JobImpressionsCompleted.java,
8938 javax/print/attribute/standard/JobImpressionsSupported.java,
8939 javax/print/attribute/standard/JobKOctets.java,
8940 javax/print/attribute/standard/JobKOctetsProcessed.java,
8941 javax/print/attribute/standard/JobKOctetsSupported.java,
8942 javax/print/attribute/standard/JobMediaSheets.java,
8943 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8944 javax/print/attribute/standard/JobMediaSheetsSupported.java,
8945 javax/print/attribute/standard/JobMessageFromOperator.java,
8946 javax/print/attribute/standard/JobName.java,
8947 javax/print/attribute/standard/JobOriginatingUserName.java,
8948 javax/print/attribute/standard/JobPriority.java,
8949 javax/print/attribute/standard/JobPrioritySupported.java,
8950 javax/print/attribute/standard/JobSheets.java,
8951 javax/print/attribute/standard/JobState.java,
8952 javax/print/attribute/standard/JobStateReason.java,
8953 javax/print/attribute/standard/JobStateReasons.java,
8954 javax/print/attribute/standard/Media.java,
8955 javax/print/attribute/standard/MultipleDocumentHandling.java,
8956 javax/print/attribute/standard/NumberOfDocuments.java,
8957 javax/print/attribute/standard/NumberOfInterveningJobs.java,
8958 javax/print/attribute/standard/NumberUp.java,
8959 javax/print/attribute/standard/NumberUpSupported.java,
8960 javax/print/attribute/standard/OrientationRequested.java,
8961 javax/print/attribute/standard/OutputDeviceAssigned.java,
8962 javax/print/attribute/standard/PDLOverrideSupported.java,
8963 javax/print/attribute/standard/PageRanges.java,
8964 javax/print/attribute/standard/PagesPerMinute.java,
8965 javax/print/attribute/standard/PagesPerMinuteColor.java,
8966 javax/print/attribute/standard/PrintQuality.java,
8967 javax/print/attribute/standard/PrinterInfo.java,
8968 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
8969 javax/print/attribute/standard/PrinterLocation.java,
8970 javax/print/attribute/standard/PrinterMakeAndModel.java,
8971 javax/print/attribute/standard/PrinterMessageFromOperator.java,
8972 javax/print/attribute/standard/PrinterMoreInfo.java,
8973 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8974 javax/print/attribute/standard/PrinterName.java,
8975 javax/print/attribute/standard/PrinterStateReason.java,
8976 javax/print/attribute/standard/PrinterStateReasons.java,
8977 javax/print/attribute/standard/PrinterURI.java,
8978 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8979 javax/print/attribute/standard/RequestingUserName.java:
8980 Reorganized imports and removed redundant final modifiers.
8982 2004-10-20 Michael Koch <konqueror@gmx.de>
8984 * javax/security/sasl/SaslClient.java,
8985 javax/security/sasl/SaslClientFactory.java,
8986 javax/security/sasl/SaslException.java,
8987 javax/security/sasl/SaslServer.java,
8988 javax/security/sasl/SaslServerFactory.java:
8991 2004-10-20 Michael Koch <konqueror@gmx.de>
8993 * javax/security/auth/login/NullConfiguration.java,
8994 javax/security/auth/x500/X500Principal.java,
8995 javax/security/cert/X509Certificate.java,
8996 javax/security/sasl/AuthenticationException.java,
8997 javax/security/sasl/AuthorizeCallback.java,
8998 javax/security/sasl/RealmCallback.java,
8999 javax/security/sasl/RealmChoiceCallback.java,
9000 javax/security/sasl/Sasl.java,
9001 javax/security/sasl/SaslClient.java,
9002 javax/security/sasl/SaslClientFactory.java,
9003 javax/security/sasl/SaslException.java,
9004 javax/security/sasl/SaslServer.java,
9005 javax/security/sasl/SaslServerFactory.java:
9006 Cleaned up import statements and copyright notices.
9008 2004-10-20 Michael Koch <konqueror@gmx.de>
9010 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
9012 2004-10-20 Michael Koch <konqueror@gmx.de>
9014 * java/sql/Timestamp.java,
9015 java/text/AttributedCharacterIterator.java,
9016 java/text/AttributedString.java,
9017 java/util/zip/CheckedOutputStream.java,
9018 java/util/zip/DeflaterOutputStream.java,
9019 java/util/zip/ZipFile.java,
9020 javax/crypto/Cipher.java,
9021 javax/crypto/ExemptionMechanismException.java,
9022 javax/crypto/SecretKey.java,
9023 javax/crypto/SecretKeyFactory.java,
9024 javax/naming/directory/ModificationItem.java,
9025 javax/naming/directory/SearchControls.java,
9026 javax/naming/event/NamingListener.java,
9027 javax/naming/ldap/Control.java,
9028 javax/naming/ldap/ExtendedResponse.java,
9029 javax/net/ssl/SSLSocketFactory.java:
9030 Reorganized imports and fixed copyright headers.
9032 2004-10-20 Michael Koch <konqueror@gmx.de>
9034 * java/util/logging/ConsoleHandler.java,
9035 java/util/logging/ErrorManager.java,
9036 java/util/logging/FileHandler.java,
9037 java/util/logging/Filter.java,
9038 java/util/logging/Formatter.java,
9039 java/util/logging/Handler.java,
9040 java/util/logging/Level.java,
9041 java/util/logging/LogManager.java,
9042 java/util/logging/LogRecord.java,
9043 java/util/logging/Logger.java,
9044 java/util/logging/LoggingPermission.java,
9045 java/util/logging/MemoryHandler.java,
9046 java/util/logging/SimpleFormatter.java,
9047 java/util/logging/SocketHandler.java,
9048 java/util/logging/StreamHandler.java,
9049 java/util/logging/XMLFormatter.java:
9050 Standardized copyrigth header.
9052 2004-10-20 Michael Koch <konqueror@gmx.de>
9054 * java/security/AlgorithmParameterGenerator.java,
9055 java/security/AlgorithmParameters.java,
9056 java/security/DigestInputStream.java,
9057 java/security/Identity.java,
9058 java/security/KeyFactory.java,
9059 java/security/KeyPairGenerator.java,
9060 java/security/KeyStore.java,
9061 java/security/MessageDigest.java,
9062 java/security/MessageDigestSpi.java,
9063 java/security/Policy.java,
9064 java/security/SecureRandom.java,
9065 java/security/Security.java,
9066 java/security/Signature.java,
9067 java/security/SignatureSpi.java,
9068 java/security/cert/CertPathBuilder.java,
9069 java/security/cert/CertPathValidator.java,
9070 java/security/cert/CertStore.java,
9071 java/security/cert/Certificate.java,
9072 java/security/cert/CertificateFactory.java,
9073 java/security/cert/PolicyQualifierInfo.java,
9074 java/security/cert/TrustAnchor.java,
9075 java/security/cert/X509CRL.java,
9076 java/security/cert/X509CRLEntry.java,
9077 java/security/cert/X509Certificate.java,
9078 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
9079 Import statements reorganized, some little formatting issues,
9080 used java-style array declarations, added comments in empty catch
9083 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9085 * java/security/Security.java
9086 (static): Use AccessController.doPrivileged to get system property.
9088 2004-10-18 Sven de Marothy <sven@physto.se>
9090 * java/nio/ByteBufferHelper.java
9091 (putDouble): Use Double.toRawLongBits instead.
9093 2004-10-18 Mark Wielaard <mark@klomp.org>
9094 Andrew Haley <aph@redhat.com>
9096 * testsuite/libjava.lang/ExtraClassLoader.java: New.
9098 2004-10-18 Andrew Haley <aph@redhat.com>
9101 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
9102 and correct logic used to find interpreter.
9104 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9106 * java/util/logging/LogManager.java
9107 (findAncestor): Fixed IndexOutOfBoundsException.
9109 2004-10-18 Michael Koch <konqueror@gmx.de>
9111 * java/io/BufferedInputStream.java: Fixed @author tag.
9112 (read): Simplified expression.
9113 (read): Merged javadoc a bit more.
9114 (read): Renamed 'remain' to 'totalBytesRead'.
9115 * java/io/DataInputStream.java,
9116 java/io/DataOutputStream.java,
9117 java/io/ObjectInputStream.java,
9118 java/io/ObjectOutputStream.java:
9119 Reworked modifier order.
9121 2004-10-18 Michael Koch <konqueror@gmx.de>
9123 * java/net/Inet4Address.java: Merged file header and javadocs.
9124 * java/net/Inet6Address.java: Likewise.
9125 * java/net/InetAddress.java
9126 (getCanonicalHostName): Create Inet4Address object instead of
9127 InetAddress and add comment regarding IPv6.
9128 (toString): Simplified.
9130 2004-10-18 Michael Koch <konqueror@gmx.de>
9132 * gnu/java/net/protocol/http/Connection.java,
9133 java/nio/MappedByteBufferImpl.java,
9134 java/text/RuleBasedCollator.java,
9135 java/util/ResourceBundle.java:
9136 Reworked import statements.
9138 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9140 * java/security/IdentityScope.java
9141 (systemScope): Removed useless initializer.
9142 * java/security/Policy.java
9143 (currentPolicy): Likewise.
9145 2004-10-18 Michael Koch <konqueror@gmx.de>
9147 * java/lang/System.java: Revert accidential change.
9149 2004-10-18 Michael Koch <konqueror@gmx.de>
9151 * java/lang/Math.java,
9152 java/lang/Package.java,
9153 java/lang/Runtime.java,
9154 java/lang/StrictMath.java,
9155 java/lang/System.java,
9156 java/lang/Thread.java,
9157 java/lang/ThreadLocal.java,
9158 java/lang/Void.java:
9159 Reworked import statements, HTML in javadocs and modifier orders.
9161 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9163 * java/util/Timer.java
9164 (nr): Removed useless initializer.
9165 * java/util/logging/LogRecord.java
9166 (lastSeqNum): Likewise.
9167 * javax/naming/spi/NamingManager.java
9168 (icfb, ofb): Likewise.
9170 2004-10-18 Michael Koch <konqueror@gmx.de>
9172 * gnu/java/net/PlainDatagramSocketImpl.java:
9173 Reworked import statements.
9174 * gnu/java/security/provider/DSAParameters.java:
9175 Fixed copyrigth years.
9176 * java/net/JarURLConnection.java:
9177 Fixed HTML in @author tags.
9180 2004-10-18 Michael Koch <konqueror@gmx.de>
9182 * java/rmi/activation/ActivationSystem.java
9183 (SYSTEM_PORT): Initialize with correct port number.
9185 2004-10-18 Michael Koch <konqueror@gmx.de>
9187 * java/lang/reflect/Proxy.java: Improved javadocs.
9189 2004-10-18 Michael Koch <konqueror@gmx.de>
9191 * java/lang/reflect/AccessibleObject.java
9192 (checkPermission): Removed redundant final modifier.
9193 (secureSetAccessible): Likewise.
9194 * java/lang/reflect/Proxy.java:
9195 Reworked import statements.
9196 (generate): Removed redundant final modifier.
9197 * java/lang/reflect/ReflectPermission.java:
9198 Reorder package declaration and import statement.
9200 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9202 * java/lang/reflect/Proxy.java
9203 (count): Removed useless initializer.
9205 2004-10-17 Michael Koch <konqueror@gmx.de>
9207 * java/net/BindException.java,
9208 java/net/ConnectException.java,
9209 java/net/ContentHandler.java,
9210 java/net/ContentHandlerFactory.java,
9211 java/net/DatagramPacket.java,
9212 java/net/DatagramSocket.java,
9213 java/net/DatagramSocketImpl.java,
9214 java/net/DatagramSocketImplFactory.java,
9215 java/net/FileNameMap.java,
9216 java/net/HttpURLConnection.java,
9217 java/net/MalformedURLException.java,
9218 java/net/MulticastSocket.java,
9219 java/net/NetworkInterface.java,
9220 java/net/NoRouteToHostException.java,
9221 java/net/PasswordAuthentication.java,
9222 java/net/PortUnreachableException.java,
9223 java/net/ProtocolException.java,
9224 java/net/ServerSocket.java,
9225 java/net/Socket.java,
9226 java/net/SocketException.java,
9227 java/net/SocketImpl.java,
9228 java/net/SocketImplFactory.java,
9229 java/net/SocketOptions.java,
9230 java/net/SocketPermission.java,
9231 java/net/SocketTimeoutException.java,
9233 java/net/URISyntaxException.java,
9235 java/net/URLDecoder.java,
9236 java/net/URLEncoder.java,
9237 java/net/URLStreamHandler.java,
9238 java/net/URLStreamHandlerFactory.java,
9239 java/net/UnknownHostException.java,
9240 java/net/UnknownServiceException.java:
9241 Big import statement and @author tag cleanup.
9243 2004-10-17 Michael Koch <konqueror@gmx.de>
9245 * gnu/java/security/OID.java,
9246 gnu/java/security/provider/DSAParameters.java,
9247 gnu/java/security/provider/DSASignature.java,
9248 gnu/java/security/x509/X500DistinguishedName.java,
9249 gnu/java/security/x509/X509CRL.java:
9250 Import statements cleaned up.
9252 2004-10-16 Michael Koch <konqueror@gmx.de>
9254 * gnu/java/nio/NIODatagramSocket.java,
9255 gnu/java/nio/ServerSocketChannelImpl.java:
9256 Reorganized import statements.
9258 2004-10-16 Michael Koch <konqueror@gmx.de>
9260 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9261 gnu/java/rmi/rmic/RMIC.java,
9262 gnu/java/rmi/server/RMIHashes.java,
9263 gnu/java/rmi/server/RMIObjectInputStream.java,
9264 gnu/java/rmi/server/RMIObjectOutputStream.java,
9265 gnu/java/rmi/server/UnicastConnection.java,
9266 gnu/java/rmi/server/UnicastConnectionManager.java,
9267 gnu/java/rmi/server/UnicastRemoteCall.java,
9268 gnu/java/rmi/server/UnicastServer.java,
9269 gnu/java/rmi/server/UnicastServerRef.java,
9270 java/rmi/MarshalledObject.java,
9271 java/rmi/Naming.java,
9272 java/rmi/RMISecurityManager.java,
9273 java/rmi/Remote.java,
9274 java/rmi/activation/Activatable.java,
9275 java/rmi/activation/ActivationDesc.java,
9276 java/rmi/activation/ActivationGroup.java,
9277 java/rmi/activation/ActivationGroupDesc.java,
9278 java/rmi/activation/ActivationGroupID.java,
9279 java/rmi/activation/ActivationID.java,
9280 java/rmi/activation/ActivationInstantiator.java,
9281 java/rmi/activation/ActivationMonitor.java,
9282 java/rmi/activation/ActivationSystem.java,
9283 java/rmi/activation/Activator.java,
9284 java/rmi/dgc/DGC.java,
9285 java/rmi/dgc/Lease.java,
9286 java/rmi/dgc/VMID.java,
9287 java/rmi/registry/LocateRegistry.java,
9288 java/rmi/registry/Registry.java,
9289 java/rmi/registry/RegistryHandler.java,
9290 java/rmi/server/LoaderHandler.java,
9291 java/rmi/server/LogStream.java,
9292 java/rmi/server/ObjID.java,
9293 java/rmi/server/Operation.java,
9294 java/rmi/server/RMIClassLoader.java,
9295 java/rmi/server/RMIClassLoaderSpi.java,
9296 java/rmi/server/RMIClientSocketFactory.java,
9297 java/rmi/server/RMIFailureHandler.java,
9298 java/rmi/server/RMIServerSocketFactory.java,
9299 java/rmi/server/RMISocketFactory.java,
9300 java/rmi/server/RemoteCall.java,
9301 java/rmi/server/RemoteObject.java,
9302 java/rmi/server/RemoteRef.java,
9303 java/rmi/server/RemoteServer.java,
9304 java/rmi/server/RemoteStub.java,
9305 java/rmi/server/ServerRef.java,
9306 java/rmi/server/Skeleton.java,
9307 java/rmi/server/SkeletonMismatchException.java,
9308 java/rmi/server/UID.java,
9309 java/rmi/server/UnicastRemoteObject.java,
9310 java/rmi/server/Unreferenced.java:
9311 File headers and import statements cleaned up.
9313 2004-10-16 Michael Koch <konqueror@gmx.de>
9315 * libjava/gnu/java/nio/charset/UTF_16.java,
9316 libjava/gnu/java/nio/charset/UTF_16BE.java,
9317 libjava/gnu/java/nio/charset/UTF_16LE.java,
9318 libjava/java/nio/ByteOrder.java,
9319 libjava/java/nio/MappedByteBuffer.java,
9320 libjava/java/nio/channels/Channels.java,
9321 libjava/java/nio/channels/spi/SelectorProvider.java,
9322 libjava/java/nio/charset/Charset.java:
9325 2004-10-16 Michael Koch <konqueror@gmx.de>
9327 * gnu/java/nio/charset/UTF_16Encoder.java
9328 (UTF_16Encoder): Fixed maxBytesPerChar handling.
9330 2004-10-16 Michael Koch <konqueror@gmx.de>
9332 * java/math/BigDecimal.java, java/math/BigInteger.java:
9333 Reorganized import statements, removed redundant and
9334 reorganized modifiers.
9336 2004-10-16 Michael Koch <konqueror@gmx.de>
9338 * gnu/java/beans/ExplicitBeanInfo.java:
9339 Explicitely import java.awt.Image.
9340 (getIcon): Fixed off-by-one error.
9342 2004-10-15 Andrew Haley <aph@redhat.com>
9344 * Makefile.am (nat_files, xlib_nat_files): New.
9345 * Makefile.in: Regenerate.
9347 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
9349 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
9350 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
9352 2004-10-13 Andrew Haley <aph@redhat.com>
9354 * interpret.cc (_Jv_InterpMethod::run): Initialize
9355 _Jv_StartOfInterpreter.
9356 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
9357 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
9358 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
9359 _Unwind_FindEnclosingFunction to discover whether PC is within the
9362 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
9365 * testsuite/libjava.lang/md5test.java: New file.
9366 * testsuite/libjava.lang/md5test.out: Likewise.
9367 * testsuite/libjava.lang/shatest.java: Likewise.
9368 * testsuite/libjava.lang/shatest.out: Likewise.
9370 2004-10-11 Richard Henderson <rth@redhat.com>
9372 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
9373 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
9375 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
9377 * java/util/Calendar.java (set): Invalidate DST_OFFSET
9378 field as a DST boundary may have been crossed.
9379 * java/util/GregorianCalendar.java (add): Throw
9380 IllegalArgumentException on attempt to add to DST_OFFSET or
9381 ZONE_OFFSET fields. Update javadoc.
9383 2004-10-09 Michael Koch <konqueror@gmx.de>
9385 * java/io/CharArrayWriter.java
9386 (resize): Removed redundant 'final' modifier.
9387 * java/io/DataInputStream.java
9388 (readFully): Throw IndexOutOfBoundsException of len < 0.
9389 * java/io/FileDescriptor.java,
9390 java/io/FileInputStream.java,
9391 java/io/FileOutputStream.java,
9392 java/io/ObjectOutputStream.java,
9393 java/io/ObjectStreamClass.java,
9394 java/io/PipedInputStream.java,
9395 java/io/RandomAccessFile.java:
9396 Reorganized import statements.
9398 2004-10-09 Michael Koch <konqueror@gmx.de>
9400 * gnu/java/rmi/rmic/RMIC.java,
9401 gnu/java/rmi/server/RMIHashes.java,
9402 gnu/java/rmi/server/RMIObjectInputStream.java,
9403 gnu/java/rmi/server/UnicastConnection.java,
9404 gnu/java/rmi/server/UnicastConnectionManager.java,
9405 gnu/java/rmi/server/UnicastRemoteCall.java,
9406 gnu/java/rmi/server/UnicastServerRef.java:
9407 Reworked import statements and fixed file headers.
9409 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
9411 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
9413 * configure: Rebuilt.
9415 2004-09-30 Tom Tromey <tromey@redhat.com>
9417 * java/text/MessageFormat.java (Field): Constructor now
9420 2004-09-30 Tom Tromey <tromey@redhat.com>
9422 * javax/crypto/MacSpi.java: Fixed typo.
9424 2004-09-30 Michael Koch <konqueror@gmx.de>
9426 * java/net/InetAddress.java: Reformatted.
9427 (loopback): Initialize with Inet4Address object.
9428 (static): Initialize ANY_IF with Inet4Address object.
9429 (InetAddress): Removed unused package-private constructor.
9431 2004-09-30 Michael Koch <konqueror@gmx.de>
9433 * java/beans/Beans.java,
9434 java/beans/EventHandler.java,
9435 java/beans/EventSetDescriptor.java,
9436 java/beans/Introspector.java,
9437 java/beans/PropertyEditorManager.java,
9438 java/beans/beancontext/BeanContext.java,
9439 java/beans/beancontext/BeanContextChild.java,
9440 java/beans/beancontext/BeanContextChildSupport.java,
9441 java/beans/beancontext/BeanContextMembershipEvent.java:
9442 Reordered import statements and removed redundant modifiers.
9444 2004-09-29 Tom Tromey <tromey@redhat.com>
9447 * Makefile.in: Rebuilt.
9448 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
9450 (all_property_files): New macro.
9452 * Makefile.in: Rebuilt.
9453 * Makefile.am (ordinary_java_source_files): Re-sorted.
9454 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
9456 2004-09-28 Tom Tromey <tromey@redhat.com>
9458 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
9461 * Makefile.am (libgcj.la): Restored.
9462 * Makefile.in: Rebuilt.
9464 2004-09-28 Michael Koch <konqueror@gmx.de>
9466 * java/net/URLConnection.java: Reformatted.
9467 * java/net/URLClassLoader.java: Reformatted.
9468 (getContent): Reordered return of content.
9469 (getContentHandler): Don't check for null explicitely.
9471 2004-09-27 Michael Koch <konqueror@gmx.de>
9473 * java/io/BufferedInputStream.java
9474 (BufferedInputStream): Added Jeroen Frijters to authors.
9475 (count): Don't explicitely initialize with default value.
9477 (marklimit): Likewise.
9478 (read): Changed boolean expression to match GNU classpath' version.
9479 (reset): Add proper message to exception.
9480 (skip): Check for closed stream.
9483 2004-09-26 Per Bothner <per@bothner.com>
9485 * prims.cc (unblock_signal): Annotate signum with __unused__ to
9486 avoid warnings in the non-POSIX_VERSION case.
9487 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
9488 so place it inside an #if block.
9489 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
9490 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
9491 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
9492 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
9494 2004-09-26 Per Bothner <per@bothner.com>
9496 * prims.cc (process_gcj_properties): Optimization.
9498 2004-09-26 Per Bothner <per@bothner.com>
9500 * java/util/Collections.java (sort): Copy from array in forwards
9501 order, rather than reverse order which may be much less efficient.
9503 2004-09-26 Mark Wielaard <mark@klomp.org>
9505 * java/lang/System.java (properties): Make package private.
9506 * java/lang/Throwable.java (StaticData.nl): Initialize through
9507 directly accessing System.properties.getProperty().
9509 * java/lang/Throwable.java (nl): Remove static field.
9510 (StaticData): New private static inner class.
9511 (stackTraceStringBuffer): Use StaticData.nl.
9513 2004-09-26 Casey Marshall <csm@gnu.org>
9515 * java/security/ProtectionDomain.java
9516 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
9519 * java/security/SecureClassLoader.java
9520 (defineClass): make protection domain dynamically bound.
9521 (getPermissions): call `getCurrentPolicy' to avoid permission
9524 2004-09-25 Mark Wielaard <mark@klomp.org>
9526 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
9527 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
9528 * Makefile.in: Regenerated.
9530 * gcj/javaprims.h: Regenerated.
9532 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
9533 (getDefaultTimeZone): Make package private. Check that GMToffset
9534 contains at least one digit.
9535 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
9537 * util/VMTimeZone.java: New file with above methods.
9539 * java/util/natTimeZone.cc: Removed (renamed).
9540 * java/util/natVMTimeZone.cc: Added (renamed).
9542 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
9544 * java/util/TimeZone.java
9545 (getDefaultTimeZone): Fixed test to distinguish between hours and
9546 minutes in specified timezone.
9548 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
9550 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
9551 handling of default package. (generate): Removed confused comments
9552 and code about making Method and Field accessible.
9554 2004-09-25 Tom Tromey <tromey@redhat.com>
9557 * testsuite/libjava.compile/pr17500.java: New file.
9559 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
9560 Mark Wielaard <mark@klomp.org>
9562 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
9563 * gnu/regexp/RETokenLookAhead.java: New file.
9565 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
9566 * Makefile.in: Regenerated.
9568 2004-09-25 Michael Koch <konqueror@gmx.de>
9570 * java/io/ObjectStreamField.java:
9571 Removed unused import statement.
9573 2004-09-24 Tom Tromey <tromey@redhat.com>
9576 * testsuite/libjava.compile/pr15656.xfail: New file.
9577 * testsuite/libjava.compile/pr15656.java: new file.
9580 * testsuite/libjava.lang/pr16789.out: New file.
9581 * testsuite/libjava.lang/pr16789.java: New file.
9583 2004-09-24 Andrew Haley <aph@redhat.com>
9586 * testsuite/libjava.compile/AssertBug.java: New file.
9588 2004-09-24 Casey Marshall <csm@gnu.org>
9590 * java/util/PropertyPermissionCollection.java
9591 (implies): avoid infinite loop.
9593 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
9595 * javax/security/auth/PrivateCredentialPermission.java
9596 (PrivateCredentialPermission): added serialization UID
9599 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
9601 * gnu/java/rmi/server/UnicastServer.java
9602 (incomingMessageCall): Added code to handle Errors.
9603 * gnu/java/rmi/server/UnicastServerRef.java
9604 (incomingMessageCall): Added code to handle Errors.
9607 2004-09-24 Tom Tromey <tromey@redhat.com>
9609 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
9610 (definedPackages): Likewise.
9612 2004-09-24 Michael Koch <konqueror@gmx.de>
9614 * java/io/ObjectInputStream.java:
9617 2004-09-24 Casey Marshall <csm@gnu.org>
9619 * java/io/ObjectInputStream.java (callReadMethod): re-throw
9620 `ClassNotFoundException'.
9622 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
9624 * java/io/ObjectInputStream.java (readObject): Delegate instantation
9625 of Externalizable classes to ObjectStreamClass.
9626 * java/io/ObjectStreamClass.java (newInstance): New method to
9627 instantiate Externalizable (while ignoring the accessibility of
9628 the constructor). (constructor): New field to cache the constructor.
9630 2004-09-24 Mark Wielaard <mark@klomp.org>
9632 * java/net/URL.java (systemClassLoader): New static field.
9633 (getURLStreamHandler): Always use system/application classloader
9634 for finding URLStreamhandler. Remove unecessary instanceof checks.
9636 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
9639 (set): This method now matches the behaviour of the JDK.
9640 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
9642 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
9644 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
9646 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
9648 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
9649 Don't set authority if host isn't specified.
9651 2004-09-24 Michael Koch <konqueror@gmx.de>
9653 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
9654 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
9655 * gnu/java/nio/VMPipe.java,
9656 gnu/java/nio/VMSelector.java:
9658 * gnu/java/nio/natPipeImplEcos.cc,
9659 gnu/java/nio/natPipeImplPosix.cc,
9660 gnu/java/nio/natPipeImplWin32.cc:
9662 * gnu/java/nio/natSelectorImplEcos.cc,
9663 gnu/java/nio/natSelectorImplPosix.cc,
9664 gnu/java/nio/natSelectorImplWin32.cc:
9665 Ported to VMSelector.
9666 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
9667 gnu/java/nio/VMSelector.java.
9668 * Makefile.in: Regenerated.
9670 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
9672 * java/lang/StackTraceElement.java
9673 (className): Renamed field to declaringClass to be compatible
9674 with Sun serialization format.
9676 2004-09-23 Michael Koch <konqueror@gmx.de>
9678 * java/applet/AppletContext.java,
9679 java/applet/Applet.java,
9680 java/applet/AppletStub.java,
9681 java/applet/AudioClip.java:
9682 Jalopied and checkstyle clean.
9684 * javax/swing/JCheckBox.java: Reformated.
9685 (JCheckBox): Fixed all constructors.
9686 (isBorderPaintedFlat): New method.
9687 (setBorderPaintedFlat): New method.
9688 * javax/swing/JEditorPane.java
9689 (createEditorKitForContentType): Made public.
9690 (scrollToReference): Likewise.
9691 * javax/swing/JTextArea.java
9692 (setLineWrap): Fire property change.
9693 * javax/swing/JToggleButton.java
9694 (JToggleButton): New constructor.
9695 (JToggleButton): Simplified.
9696 * javax/swing/text/AttributeSet.java
9697 (FontAttribute): Renamed from FontCharacterAttribute.
9698 * javax/swing/text/JTextComponent.java
9699 (KeyBinBinding): Added javadoc.
9700 (JTextComponent): Likewise.
9701 (getAccessibleContext): Fixed javadoc.
9702 * javax/swing/text/View.java
9703 (View): Added javadoc.
9704 * javax/swing/text/TabableView.java: New file.
9705 * Makefile.am: Added javax/swing/text/TabableView.java.
9706 * Makefile.in: Regenerated.
9707 2004-09-23 Mark Wielaard <mark@klomp.org>
9709 * java/util/Collections.java
9710 (binarySearch(List, Object, Comparator)): Explicitly
9711 reverse direction in list iterator.
9712 (rotate): Just return when list is empty.
9714 2004-09-23 Tom Tromey <tromey@redhat.com>
9717 * testsuite/libjava.compile/pr17329.java: New file.
9720 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
9723 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
9725 * Makefile.am: Run aclocal with -I ../config
9726 * acinclude.m4: Delete macros picked up from ../config and tidy.
9727 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
9728 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
9729 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
9731 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
9733 * aclocal.m4: Regenerate with aclocal 1.9.2.
9734 * configure: Regenerate.
9735 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
9736 * include/Makefile.in, testsuite/Makefile.in: Likewise.
9738 2004-09-22 David Daney <ddaney@avtrex.com>
9741 * java/net/URL.java (URL): Copy userInfo from context.
9742 (getUserInfo): Return cached userInfo if present.
9744 2004-09-22 Tom Tromey <tromey@redhat.com>
9747 * mauve-libgcj: Enable java.lang.Character tests.
9749 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
9751 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
9753 (lib_org_ietf_jgss_la_LIBADD): Likewise.
9754 * Makefile.in: Regenerated.
9756 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
9758 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
9759 * configure: Regenerate.
9760 * include/config.h.in: Likewise.
9761 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
9762 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
9764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9765 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
9766 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
9768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
9771 2004-09-22 Tom Tromey <tromey@redhat.com>
9774 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
9775 when comparing CRCs.
9776 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
9778 (read()): New overload.
9780 2004-09-21 Tom Tromey <tromey@redhat.com>
9782 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9785 2004-09-21 Michael Koch <konqueror@gmx.de>
9787 * java/net/Socket.java
9788 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
9790 2004-09-21 Casey Marshall <csm@gnu.org>
9792 * javax/crypto/MacSpi.java (clone): Provide meaningful
9795 2004-09-21 Tom Tromey <tromey@redhat.com>
9798 * Makefile.in: Rebuilt.
9799 * Makefile.am (MOSTLYCLEANFILES): Removed.
9800 (mostlyclean-local): Remove header files.
9802 2004-09-21 Casey Marshall <csm@gnu.org>
9804 * java/security/cert/X509CRLSelector.java:
9805 (match): remove unreachable try-catch clauses.
9806 Reported by: Dalibor Topic <robilad@kaffe.org>
9808 2004-09-21 Mark Wielaard <mark@klomp.org>
9810 * java/util/TreeMap.java (root): Don't initialize.
9811 (TreeMap(Comparator)): Call fabricateTree(0).
9812 (fabricateTree): Initialize root and size when count is 0.
9814 2004-09-21 Sven de Marothy <sven@physto.se>
9816 * java/nio/ByteBuffer.java (hashCode): Implemented.
9817 * java/nio/CharBuffer.java: Likewise.
9818 * java/nio/DoubleBuffer.java: Likewise.
9819 * java/nio/FloatBuffer.java: Likewise.
9820 * java/nio/LongBuffer.java: Likewise.
9821 * java/nio/IntBuffer.java: Likewise.
9822 * java/nio/ShortBuffer.java: Likewise.
9824 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
9826 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
9828 2004-09-21 Michael Koch <konqueror@gmx.de>
9830 * javax/net/ssl/SSLServerSocket.java:
9831 Removed comment about "Do not edit this file, it's generated.".
9833 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
9835 Import the big Crypto/Jessie/Security merge from Classpath.
9837 * Makefile.am: Add imported files.
9838 * Makefile.in: Regenerate.
9840 2004-08-14 Casey Marshall <csm@gnu.org>
9842 The Big Crypto Merge of 2004.
9844 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
9847 Files imported from GNU Crypto.
9848 * javax/crypto/BadPaddingException.java
9849 * javax/crypto/Cipher.java
9850 * javax/crypto/CipherInputStream.java
9851 * javax/crypto/CipherOutputStream.java
9852 * javax/crypto/CipherSpi.java
9853 * javax/crypto/EncryptedPrivateKeyInfo.java
9854 * javax/crypto/ExemptionMechanism.java
9855 * javax/crypto/ExemptionMechanismException.java
9856 * javax/crypto/ExemptionMechanismSpi.java
9857 * javax/crypto/IllegalBlockSizeException.java
9858 * javax/crypto/KeyAgreement.java
9859 * javax/crypto/KeyAgreementSpi.java
9860 * javax/crypto/KeyGenerator.java
9861 * javax/crypto/KeyGeneratorSpi.java
9862 * javax/crypto/Mac.java
9863 * javax/crypto/MacSpi.java
9864 * javax/crypto/Makefile.am
9865 * javax/crypto/NoSuchPaddingException.java
9866 * javax/crypto/NullCipher.java
9867 * javax/crypto/NullCipherImpl.java
9868 * javax/crypto/SealedObject.java
9869 * javax/crypto/SecretKey.java
9870 * javax/crypto/SecretKeyFactory.java
9871 * javax/crypto/SecretKeyFactorySpi.java
9872 * javax/crypto/ShortBufferException.java
9873 * javax/crypto/interfaces/DHKey.java
9874 * javax/crypto/interfaces/DHPrivateKey.java
9875 * javax/crypto/interfaces/DHPublicKey.java
9876 * javax/crypto/interfaces/PBEKey.java
9877 * javax/crypto/spec/DESKeySpec.java
9878 * javax/crypto/spec/DESedeKeySpec.java
9879 * javax/crypto/spec/DHGenParameterSpec.java
9880 * javax/crypto/spec/DHParameterSpec.java
9881 * javax/crypto/spec/DHPrivateKeySpec.java
9882 * javax/crypto/spec/DHPublicKeySpec.java
9883 * javax/crypto/spec/IvParameterSpec.java
9884 * javax/crypto/spec/PBEKeySpec.java
9885 * javax/crypto/spec/PBEParameterSpec.java
9886 * javax/crypto/spec/RC2ParameterSpec.java
9887 * javax/crypto/spec/RC5ParameterSpec.java
9888 * javax/crypto/spec/SecretKeySpec.java
9889 * javax/security/auth/AuthPermission.java
9890 * javax/security/auth/DestroyFailedException.java
9891 * javax/security/auth/Destroyable.java
9892 * javax/security/auth/Policy.java
9893 * javax/security/auth/PrivateCredentialPermission.java
9894 * javax/security/auth/RefreshFailedException.java
9895 * javax/security/auth/Refreshable.java
9896 * javax/security/auth/Subject.java
9897 * javax/security/auth/SubjectDomainCombiner.java
9898 * javax/security/auth/callback/Callback.java
9899 * javax/security/auth/callback/CallbackHandler.java
9900 * javax/security/auth/callback/ChoiceCallback.java
9901 * javax/security/auth/callback/ConfirmationCallback.java
9902 * javax/security/auth/callback/LanguageCallback.java
9903 * javax/security/auth/callback/NameCallback.java
9904 * javax/security/auth/callback/PasswordCallback.java
9905 * javax/security/auth/callback/TextInputCallback.java
9906 * javax/security/auth/callback/TextOutputCallback.java
9907 * javax/security/auth/callback/UnsupportedCallbackException.java
9908 * javax/security/auth/login/AccountExpiredException.java
9909 * javax/security/auth/login/AppConfigurationEntry.java
9910 * javax/security/auth/login/Configuration.java
9911 * javax/security/auth/login/CredentialExpiredException.java
9912 * javax/security/auth/login/FailedLoginException.java
9913 * javax/security/auth/login/LoginContext.java
9914 * javax/security/auth/login/LoginException.java
9915 * javax/security/auth/login/NullConfiguration.java
9916 * javax/security/auth/x500/X500PrivateCredential.java
9917 * javax/security/sasl/AuthenticationException.java
9918 * javax/security/sasl/AuthorizeCallback.java
9919 * javax/security/sasl/RealmCallback.java
9920 * javax/security/sasl/RealmChoiceCallback.java
9921 * javax/security/sasl/Sasl.java
9922 * javax/security/sasl/SaslClient.java
9923 * javax/security/sasl/SaslClientFactory.java
9924 * javax/security/sasl/SaslException.java
9925 * javax/security/sasl/SaslServer.java
9926 * javax/security/sasl/SaslServerFactory.java
9927 * org/ietf/jgss/ChannelBinding.java
9928 * org/ietf/jgss/GSSContext.java
9929 * org/ietf/jgss/GSSCredential.java
9930 * org/ietf/jgss/GSSException.java
9931 * org/ietf/jgss/GSSManager.java
9932 * org/ietf/jgss/GSSName.java
9933 * org/ietf/jgss/MessageProp.java
9934 * org/ietf/jgss/Oid.java
9935 * org/ietf/jgss/MessagesBundle.properties
9937 Files imported from Jessie <http://www.nongnu.org/jessie/>
9938 * javax/net/ServerSocketFactory.java
9939 * javax/net/SocketFactory.java
9940 * javax/net/VanillaServerSocketFactory.java
9941 * javax/net/VanillaSocketFactory.java
9942 * javax/net/ssl/HandshakeCompletedEvent.java
9943 * javax/net/ssl/HandshakeCompletedListener.java
9944 * javax/net/ssl/HostnameVerifier.java
9945 * javax/net/ssl/HttpsURLConnection.java
9946 * javax/net/ssl/KeyManager.java
9947 * javax/net/ssl/KeyManagerFactory.java
9948 * javax/net/ssl/KeyManagerFactorySpi.java
9949 * javax/net/ssl/ManagerFactoryParameters.java
9950 * javax/net/ssl/SSLContext.java
9951 * javax/net/ssl/SSLContextSpi.java
9952 * javax/net/ssl/SSLException.java
9953 * javax/net/ssl/SSLHandshakeException.java
9954 * javax/net/ssl/SSLKeyException.java
9955 * javax/net/ssl/SSLPeerUnverifiedException.java
9956 * javax/net/ssl/SSLPermission.java
9957 * javax/net/ssl/SSLProtocolException.java
9958 * javax/net/ssl/SSLServerSocket.java
9959 * javax/net/ssl/SSLServerSocketFactory.java
9960 * javax/net/ssl/SSLSession.java
9961 * javax/net/ssl/SSLSessionBindingEvent.java
9962 * javax/net/ssl/SSLSessionBindingListener.java
9963 * javax/net/ssl/SSLSessionContext.java
9964 * javax/net/ssl/SSLSocket.java
9965 * javax/net/ssl/SSLSocketFactory.java
9966 * javax/net/ssl/TrivialHostnameVerifier.java
9967 * javax/net/ssl/TrustManager.java
9968 * javax/net/ssl/TrustManagerFactory.java
9969 * javax/net/ssl/TrustManagerFactorySpi.java
9970 * javax/net/ssl/X509KeyManager.java
9971 * javax/net/ssl/X509TrustManager.java
9972 * javax/security/cert/Certificate.java
9973 * javax/security/cert/CertificateEncodingException.java
9974 * javax/security/cert/CertificateException.java
9975 * javax/security/cert/CertificateExpiredException.java
9976 * javax/security/cert/CertificateNotYetValidException.java
9977 * javax/security/cert/CertificateParsingException.java
9978 * javax/security/cert/X509CertBridge.java
9979 * javax/security/cert/X509Certificate.java
9981 2004-08-20 Casey Marshall <csm@gnu.org>
9983 * java/security/cert/X509CRLSelector.java: New file.
9984 * java/security/cert/X509CertSelector.java: New file.
9986 2004-09-15 Michael Koch <konqueror@gmx.de>
9988 * gnu/java/net/protocol/file/Handler.java
9989 (openConnection): Don't throw exception if host part for file: URI is
9990 present. setURL() keeps file: protocol if ftp: protocol is not
9993 2004-09-14 Richard Henderson <rth@redhat.com>
9995 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
9996 value of sigsuspend.
9998 2004-09-12 Tom Tromey <tromey@redhat.com>
10000 * javax/naming/CompoundName.java (CompoundName): Don't check for
10001 separator in "flat" case.
10003 2004-09-12 Michael Koch <konqueror@gmx.de>
10005 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
10006 AM_CONFIG_HEADER by AC_CONFIG_FILES.
10007 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
10010 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
10013 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
10014 handle in newly-allocated _Jv_Thread_t.
10015 (_Jv_ThreadDestroyData): Close thread handle.
10016 (_Jv_ThreadStart): Remove obsolete comment.
10017 Store handle of newly-created thread in _Jv_Thread_t.
10018 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
10019 before including <windows.h>
10020 #define _Jv_HaveCondDestroy
10022 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
10024 * java/lang/natThread.cc (finalize_native): Destroy
10025 join conditional variable and mutex if these destroy
10026 operations are supported.
10028 2004-09-10 Dalibor Topic <robilad@kaffe.org>
10030 * gnu/java/net/protocol/file/Connection.java (permission): New field.
10031 (DEFAULT_PERMISSION): New constant.
10032 (Connection): Create a FilePermission with permission to read file.
10034 2004-09-10 Michael Koch <konqueror@gmx.de>
10036 * gnu/java/net/protocol/file/Connection.java
10037 (getLastModified): Moved around.
10038 (getPermission): Return stored permission.
10040 2004-09-10 Michael Koch <konqueror@gmx.de>
10042 * Makefile.in: Regenerate.
10044 2004-09-10 Michael Koch <konqueror@gmx.de>
10046 * Makefile.am: Reverted accidently commited stuff.
10047 * configure: Regenerated.
10049 2004-09-10 Michael Koch <konqueror@gmx.de>
10051 * gnu/java/net/protocol/file/Connection.java
10052 (lineSeparator): Made non-final.
10054 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
10055 instead of StringBufferInputStream.
10057 2004-09-10 Michael Koch <konqueror@gmx.de>
10059 * gnu/java/net/protocol/file/Connection.java
10060 (connect): Handle file is a directory case.
10062 2004-09-10 Michael Koch <konqueror@gmx.de>
10065 (xlib_includes): Removed.
10066 (AM_CPPFLAGS): Renamed from INCLUDES.
10067 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
10068 * Makefile.in: Regenerate.
10070 2004-09-09 Michael Koch <konqueror@gmx.de>
10072 * java/security/ProtectionDomain.java,
10073 * java/util/PropertyPermissionCollection.java:
10074 Fixed javadocs all over.
10076 2004-09-09 Sven de Marothy <sven@physto.se>
10078 Patch from David Gilbert <david.gilbert@object-refinery.com>
10079 * java/lang/Comparable.java: Fixed documentation errors.
10080 * java/util/Arrays.java: Likewise.
10082 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
10084 * java/net/Inet4Address.java
10085 (Inet4Address): Added comment to serialization UID.
10086 * java/text/Format.java
10087 (Format): Added comment to serialization UID.
10089 2004-09-09 Michael Koch <konqueror@gmx.de>
10091 * java/lang/System.java
10092 (err): Fixed javadoci to point to setErr() and not setOut().
10094 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
10096 (normalizePath): Added special case for windows systems.
10098 2004-09-09 Michael Koch <konqueror@gmx.de>
10100 * java/io/File.java
10101 (dupSeparator): Made private.
10102 (File(URI)): New constructor.
10103 (getParentFile): Fixed javadoc.
10104 (createTempFile): Reformated.
10105 (setReadOnly): Added comment.
10106 (deleteOnExit): Merged javadoc with classpath version.
10108 2004-09-09 Michael Koch <konqueror@gmx.de>
10110 * Makefile.am: Don't try to include deps.mk.
10111 * Makefile.in: Regenerated.
10113 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
10115 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
10117 * configure: Rebuilt.
10119 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
10121 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
10122 Changed pfn from static local to local.
10124 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
10125 H.J. Lu <hongjiu.lu@intel.com>
10128 * Makefile.am (GCJCOMPILE): Remove definition.
10129 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
10130 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
10131 * Makefile.in: Rebuilt.
10133 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
10135 * configure.ac (enable-gc-debug): Update help for new syntax.
10136 * configure: Regenerate.
10138 2004-09-03 David Daney <ddaney@avtrex.com>
10140 * include/mips-signal.h: Update copyright.
10142 2004-09-03 David Daney <ddaney@avtrex.com>
10144 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
10145 * include/mips-signal.h: Added HANDLE_FPE support.
10147 2004-08-31 Michael Koch <konqueror@gmx.de>
10149 * javax/swing/plaf/basic/BasicTextAreaUI.java
10150 (create): New method.
10151 * javax/swing/text/DefaultHighlighter.java
10152 (DefaultHighlightPainter.debugRect): Removed.
10153 * javax/swing/text/StyleContext.java
10154 (DEFAULT_STYLE): New field.
10156 2004-08-31 Michael Koch <konqueror@gmx.de>
10158 * javax/swing/plaf/basic/BasicLookAndFeel.java
10159 (initComponentDefaults): Add keybindings for selection.backward and
10160 selection-forward for text components.
10161 * javax/swing/plaf/basic/BasicTextUI.java
10162 (paintSafely): Paint highlight only when something is actually
10164 * javax/swing/text/DefaultCaret.java
10165 (handleHighlight): New method.
10166 (setSelectionVisible): Don't do anything when nothing changes.
10168 (moveDot): Reimplemented. Handle highlight.
10169 (setDot): Set mark too. Handle highlight.
10170 (getSelectionPainter): New method.
10171 * javax/swing/text/DefaultEditorKit.java
10172 (defaultActions): Added new actions for text selection.
10173 * javax/swing/text/DefaultHighlighter.java
10174 (DefaultHighlightPainter): New inner class.
10175 (DefaultPainter): New field.
10176 (paint): Implemented.
10177 * javax/swing/text/PlainView.java
10178 (paint): Don't draw background here again.
10179 * javax/swing/text/Utilities.java
10180 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
10181 (drawTabbedText): Likewise.
10183 2004-08-31 Graydon Hoare <graydon@redhat.com>
10185 * javax/swing/JComponent.java
10186 (resetKeyboardActions): Add null checks.
10188 2004-08-31 Graydon Hoare <graydon@redhat.com>
10190 * javax/swing/DefaultButtonModel.java:
10191 Skip group notification when no group is set.
10193 2004-08-31 Graydon Hoare <graydon@redhat.com>
10195 * javax/swing/JColorChooser.java:
10196 Make a couple inner classes static, for jikes.
10198 2004-08-31 Michael Koch <konqueror@gmx.de>
10200 * javax/swing/plaf/basic/BasicTextUI.java
10201 (RottView.modelToView): New method.
10202 (UpdateHandler): Renamed from EventHandler.
10203 (updateHandler): Renamed from eventHandler.
10204 (modelToView): Implemented.
10205 * javax/swing/text/AbstractDocument.java
10206 (BranchElement.getElement): Return null for non-existing indeces.
10207 (BranchElement.getElementIndex): Return 0 in some corner cases.
10208 * javax/swing/text/FieldView.java
10209 (modelToView): New method.
10210 * javax/swing/text/PlainView.java
10211 (modelToView): Made public.
10213 2004-08-31 Kim Ho <kho@redhat.com>
10215 * Makefile.am: New files.
10216 * Makefile.in: Regenerate.
10217 * gcj/Makefile.in: Regenerate.
10218 * include/Makefile.in: Regenerate.
10219 * java/awt/Color.java: Fix documentation.
10220 (RGBtoHSB): Use floats for conversions.
10221 * javax/swing/ButtonGroup.java: Run Jalopy.
10222 (setSelected): Reimplement.
10223 * javax/swing/DefaultButtonModel.java: Run Jalopy.
10224 (changeState): Let ButtonGroup know that the button
10226 * javax/swing/JColorChooser.java: Implement.
10227 * javax/swing/JLabel.java: Run Jalopy.
10228 * javax/swing/JSpinner.java: Run Jalopy.
10229 (setValue): New method.
10230 * javax/swing/JTabbedPane.java: Run Jalopy.
10231 (removeTabAt): Call correct remove method.
10232 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
10233 (getPreviousValue): Compare minimum value.
10234 * javax/swing/Timer.java: Run Jalopy.
10235 (run): Comment out println.
10236 * javax/swing/ToolTipManager.java:
10237 (mouseMoved): Get new tooltip text for location.
10238 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10239 Jalopy and Javadoc.
10240 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
10242 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
10244 (setSelectedColor): Fire ChangeEvent.
10245 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
10246 New file. Implement.
10247 * javax/swing/colorchooser/DefaultPreviewPanel.java:
10249 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
10251 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
10253 * javax/swing/plaf/basic/BasicArrowButton.java:
10254 (getArrow): Fix size of upward pointing button.
10255 * javax/swing/plaf/basic/BasicColorChooserUI.java:
10257 * javax/swing/plaf/basic/BasicSliderUI.java:
10258 (getWidthOfWidestLabel): Use preferred dimensions.
10259 (getHeightOfTallestLabel): Ditto.
10260 * javax/swing/plaf/basic/BasicSpinnerUI.java:
10262 (mousePressed): Disable changes to spinner if it is not enabled.
10263 * testsuite/Makefile.in: Regenerate.
10266 2004-08-31 Michael Koch <konqueror@gmx.de>
10268 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
10269 javax/swing/plaf/basic/BasicTableUI.java:
10270 Added copyright notice.
10272 2004-08-31 Olga Rodimina <rodimina@redhat.com>
10274 * Makefile.am: Added new files.
10275 * Makefile.in: Regenerate.
10276 * javax/swing/ComboBoxEditor.java: Added javadocs.
10277 * javax/swing/ComboBoxModel.java: Likewise.
10278 * javax/swing/DefaultComboBoxModel.java: Implemented.
10279 * javax/swing/DefaultListCellRenderer.java: Added javadocs
10280 and ran through jalopy to fix formatting style.
10281 (getListCellRendererComponent): Use appropriate border
10282 if renderer has focus and use noFocusBorder when it doesn't.
10283 * javax/swing/JComboBox.java: Implemented.
10284 * javax/swing/JList.java:
10285 (locationToIndex): New Method. Implemented.
10286 (indexToLocation): New Method.
10287 * javax/swing/JPopupMenu.java:
10288 (visible): New field.
10289 (isVisible): Changed to use new field above.
10290 (setVisible): Likewise.
10291 * javax/swing/MutableComboBoxModel.java: Added javadocs.
10292 * javax/swing/plaf/basic/BasicArrowButton.java:
10293 (shadow): Changed default color to Color.gray.
10294 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
10295 UI delegate for JComboBox.
10296 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
10297 Popup menu containing list of JComboBox's items.
10298 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
10299 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
10300 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
10301 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
10302 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
10303 (popupMenuWillBecomeVisible): Set selected path to the first
10304 element only if it is of type MenuElement. Also fix formatting
10306 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
10307 methods signatures.
10309 2004-08-31 Michael Koch <konqueror@gmx.de>
10311 * javax/swing/text/AbstractDocument.java
10312 (createBranchElement): Use new constructor of BranchElement.
10313 (createLeafElement): Renamed arguments.
10314 (getRootElements): Implemented.
10315 (BranchElement.start): Removed.
10316 (BranchElement.end): Likewise.
10317 (BranchElement.BranchElement): Fixed arguments.
10318 (BranchElement.getEndOffset): Reimplemented.
10319 (BranchElement.getStartOffset): Likewis.
10320 * javax/swing/text/DefaultCaret.java
10321 (paint): Draw simple vertical line as caret instead of a rectangle.
10322 * javax/swing/text/JTextComponent.java
10323 (setText): Use doc directly.
10324 * javax/swing/text/PlainView.java
10325 (nextTabStop): Implemented.
10326 * javax/swing/text/Utilities.java
10327 (drawTabbedText): nextTabStop() returns an absolute x position.
10328 (getTabbedTextWidth): Likewise.
10330 2004-08-31 Graydon Hoare <graydon@redhat.com>
10332 * java/awt/Component.java
10333 (isFocusTraversable): Predicate on isLightweight()
10334 (setFocusable): Set isFocusTraversableOverridden.
10335 (requestFocus): Predicate peer dispatch on !isLightweight()
10336 (requestFocusInWindow): Likewise.
10337 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
10338 * java/awt/Container.java
10339 (dispatchEventImpl): Predicate on event mask.
10340 (LightweightDispatcher): Remove focus machinery.
10341 * java/awt/DefaultFocusTraversalPolicy.java
10342 (accept): Expand predicate to include isFocusable().
10343 * java/awt/DefaultKeyboardFocusManager.java:
10344 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
10345 * java/awt/KeyboardFocusManager.java
10346 (redispatchEvent): Synchronize on event to prevent feedback.
10347 * javax/swing/AbstractButton.java
10348 (ButtonFocusListener): Remove class.
10349 (init): Set focusPainted, focusable.
10350 * javax/swing/ActionMap.java (get): Check parent for null.
10351 * javax/swing/InputMap.java (get): Likewise.
10352 * javax/swing/JComponent.java
10353 (inputMap_whenFocused): New InputMap.
10354 (inputMap_whenAncestorOfFocused): Likewise.
10355 (inputMap_whenInFocusedWindow): Likewise.
10356 (getActionForKeyStroke): Rewrite.
10357 (getConditionForKeystroke): Likewise.
10358 (ActionListenerProxy): New private class.
10359 (setInputMap): Implement.
10360 (getInputMap): Likewise.
10361 (setActionMap): Likewise.
10362 (getActionMap): Likewise.
10363 (processComponentKeyEvent): New empty method.
10364 (processKeyEvent): Implement.
10365 (processKeyBinding): Likewise.
10366 (resetKeyboardActions): Rewrite.
10367 * javax/swing/KeyStroke.java: Rewrite.
10368 * javax/swing/SwingUtilities.java
10369 (notifyAction): Implement.
10370 (replaceUIActionMap): Likewise.
10371 (replaceUIInputMap): Likewise.
10372 * javax/swing/plaf/basic/BasicButtonListener.java
10373 (focusGained): Implement.
10374 (focusLost): Repaint if focusPainted().
10375 (installKeyboardActions): Install pressed / released actions.
10376 (uninstallKeyboardActions): Implement.
10377 * javax/swing/plaf/basic/BasicButtonUI.java
10378 (focusColor): New field.
10379 (installDefaults): Load focus color, install input map.
10380 (installKeyboardActions): Implement.
10381 (uninstallKeyboardActions): Likewise.
10382 (paintFocus): Rewrite.
10383 * javax/swing/plaf/basic/BasicLookAndFeel.java
10384 (Button.focus): New default, midPurple.
10385 * javax/swing/plaf/basic/BasicTextUI.java
10386 (kit): Make static.
10387 (installUI): Get doc from kit, load defaults.
10388 (getKeymapName): Implement.
10389 (createKeymap): Likewise.
10390 (installKeyboardActions): Likewise.
10391 (getInputMap): Likewise.
10392 (getActionMap): Likewise.
10393 (createActionMap): Likewise.
10394 * javax/swing/text/AbstractDocument.java
10395 (getStartPosition): Implement.
10396 (getEndPosition): Likewise.
10397 * javax/swing/text/DefaultEditorKit.java
10398 (CopyAction): New class.
10399 (CutAction): Likewise.
10400 (DefaultKeyTypedAction): Likewise.
10401 (InsertBreakAction): Likewise.
10402 (InsertContentAction): Likewise.
10403 (InsertTabAction): Likewise.
10404 (PasteAction): Likewise.
10405 (defaultActions): New static table.
10406 (createCaret): Implement.
10407 (getActions): Likewise.
10408 * javax/swing/text/JTextComponent.java
10409 (KeymapWrapper): New private class.
10410 (KeymapActionMap): Likewise.
10411 (DefaultKeymap): New class.
10412 (keymaps): New static table.
10413 (keymap): New field.
10414 (getKeymap): Implement.
10415 (removeKeymap): Likewise.
10416 (addKeymap): Likewise.
10417 (setKeymap): Likewise.
10418 (loadKeymap): Likewise.
10419 (getActions): Likewise.
10420 (margin): New field.
10421 (JTextComponent): Build and install default keymap.
10422 * javax/swing/text/TextAction.java
10423 (textAction): Call super properly.
10424 (getTextComponent): Implement.
10425 * javax/swing/text/Utilities.java
10426 (drawTabbedText): Adjust position by ascent.
10428 2004-08-31 David Jee <djee@redhat.com>
10432 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10433 (setEnabled): Make it a native method.
10434 * java/awt/DefaultKeyboardFocusManager.java
10435 (postProcessKeyEvent): Only post event if the menu item
10437 * java/awt/MenuItem.java:
10438 Private field 'enabled' should be true by default.
10439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
10440 (setEnabled): New function.
10442 2004-08-31 David Jee <djee@redhat.com>
10446 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
10447 (nativeSetHelpMenu): New native method declaration.
10448 (addHelpMenu): Call nativeSetHelpMenu().
10450 * java/awt/MenuBar.java
10451 (setHelpMenu): Call addNotify() on the new help menu.
10452 (add): Call addNotify() on the new menu.
10453 (addNotify): Set the help menu if one exists.
10454 * java/awt/peer/MenuBarPeer.java
10456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
10457 (nativeSetHelpMenu): New method.
10459 2004-08-31 Graydon Hoare <graydon@redhat.com>
10461 * Makefile.am: Add new files.
10462 * Makefile.in: Regenerate.
10463 * javax/swing/Box.java: Fix setting of layout in ctor.
10464 * javax/swing/JScrollPane.java: Scroll headers as well.
10465 * javax/swing/JTable.java: Reimplement.
10466 * javax/swing/JViewPort.java: Only add non-null children.
10467 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
10468 * javax/swing/Timer.java: Fix stopping null waker.
10469 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
10470 * javax/swing/plaf/basic/BasicTableUI.java: New file.
10471 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
10472 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
10473 * javax/swing/table/DefaultTableModel.java: Clean up.
10474 * javax/swing/table/JTableHeader.java: Implement.
10476 2004-08-31 Mark Wielaard <mark@klomp.org>
10478 * javax/swing/JSpinner.java (getChangeListeners): Remove double
10481 2004-08-31 Mark Wielaard <mark@klomp.org>
10483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
10484 Declare variables at top of functions/block.
10485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
10487 2004-08-31 Mark Wielaard <mark@klomp.org>
10489 * java/lang/Rectangle.java (intersects): Check r.width and r.height
10492 2004-08-31 Michael Koch <konqueror@gmx.de>
10494 * javax/swing/text/PlainView.java
10495 (selectedColor): New field.
10496 (unselectedColor): Likewise.
10498 (updateMetrics): New method.
10499 (lineToRect): Likewise.
10500 (modelToView): Likewise.
10501 (drawSelectedText): Use color from JTextComponent ad draw with
10503 (drawUnselectedText): Likewise.
10504 (paint): Initialize helper fields.
10505 * javax/swing/text/View.java
10506 (getChildAllocation): New method.
10507 (getViewIndex): Likewise.
10508 (getToolTipText): Likewise.
10510 2004-08-31 Michael Koch <konqueror@gmx.de>
10512 * javax/swing/text/Utilities.java
10513 (drawTabbedText): Reimplemented.
10514 (getTabbedTextWidth): Likewise.
10516 2004-08-31 Michael Koch <konqueror@gmx.de>
10518 * javax/swing/plaf/basic/BasicTextUI.java
10519 (installDefaults): Install caret and highlighter.
10520 (modelToView): Use Bias.Forward when calling sibling.
10521 * javax/swing/text/AbstractDocument.java
10522 (ElementEdit): Implements DocumentEvent.ElementChange.
10523 (ElementEdit.ElementEdit): New method.
10524 (ElementEdit.getChildrenAdded): Likewise.
10525 (ElementEdit.getChildrenRemoved): Likewise.
10526 (ElementEdit.getElement): Likewise.
10527 (ElementEdit.getIndex): Likewise.
10528 * javax/swing/text/DefaultCaret.java
10530 (textComponent): Renamed from parent, made private.
10531 (selectionVisible): Renamed from vis_sel, made private.
10532 (blinkRate): Renamed from blink, made private.
10533 (magicCaretPosition): Renamed from magic, made private.
10534 (visible): Renamed from vis, made private.
10535 (dot): Made private.
10537 (deinstall): Remove as MouseMotionListener.
10538 (install): Initialize textComponent first. Add as MouseMotionListener.
10539 (paint): Reimplemented.
10540 * javax/swing/text/JTextComponent.java
10541 (setCaret): Deinstall old caret, install new one and fire property
10542 change after setting property.
10543 (setHighlighter): Deinstall old highlighter, install new one and fire
10544 property change after setting property.
10545 (setCaretColor): Fire property change after setting property.
10546 (setDisabledTextColor): Likewise.
10547 (setSelectedTextColor): Likewise.
10548 (setSelectionColor): Likewise.
10549 (modelToView): New method.
10551 2004-08-31 Michael Koch <konqueror@gmx.de>
10553 * javax/swing/text/AbstractDocument.java
10554 (getText): Simplified.
10555 * javax/swing/text/Segment.java
10556 (current): New field.
10557 (current): Reimplemented.
10559 (getIndex): Likewise.
10562 (previous): Likewise.
10563 (setIndex): Likewise.
10565 2004-08-31 Michael Koch <konqueror@gmx.de>
10567 * javax/swing/plaf/basic/BasicButtonUI.java
10568 (defaultTextIconGap): Made protected.
10569 (defaultTextShiftOffset): Likewise.
10570 (textShiftOffset): New field.
10571 (clearTextShiftOffset): New method.
10572 (getTextShiftOffset): Likewise.
10573 (setTextShiftOffset): Likewise.
10575 2004-08-31 Michael Koch <konqueror@gmx.de>
10577 * javax/swing/plaf/basic/BasicTextUI.java
10578 (installUI): Add eventHandler as property listener.
10579 (uninstallUI): remove eventHandler as propert listener.
10580 (installDefaults): Added comment.
10581 (installListeners): Likewise.
10582 (installKeyboardActions): Likewise.
10583 (uninstallDefaults): Likewise.
10584 (uninstallListeners): Likewise.
10585 (uninstallKeyboardActions): Likewise.
10587 2004-08-31 Michael Koch <konqueror@gmx.de>
10589 * javax/swing/text/AbstractDocument.java:
10590 Fixed some typos in comments.
10591 (insertString): Reimplemented.
10592 (remove): Likewise.
10593 (replace): New method.
10594 (children): Dont use fully qualified class name.
10595 (DefaultDocumentEvent.offset): Renamed from off.
10596 (DefaultDocumentEvent.length): Renamed from len.
10597 (DefaultDocumentEvent.type): New field.
10598 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
10599 (DefaultDocumentEvent.getType): Implemented.
10601 2004-08-31 Michael Koch <konqueror@gmx.de>
10603 * javax/swing/plaf/basic/BasicTextUI.java
10604 (RootView.textComponent): Removed.
10605 (RootView.RootView): Don't initialize textComponent.
10606 (RootView.getViewFactory): New method.
10607 (EventHandler): New inner class.
10608 (rootView): Initialize at instance creation.
10609 (eventHandler): New field.
10610 (installUI): Don't create view hierarchy directly,
10611 call modelChanged() instead.
10612 (modelChanged): New method.
10613 * javax/swing/text/JTextComponent.java
10614 (setDocument): Fire property change event.
10616 2004-08-31 Michael Koch <konqueror@gmx.de>
10618 * javax/swing/plaf/basic/BasicTextUI.java
10619 (RootView.paint): Removed debug output.
10620 (paintSafely): Draw highlighter before text.
10621 (paintBackground): Use background color of text component.
10622 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10625 2004-08-31 Michael Koch <konqueror@gmx.de>
10627 * javax/swing/plaf/basic/BasicToolBarUI.java
10628 (BasicToolBarUI): Fixed arguments for constructor.
10629 (createUI): Fixed creation of object.
10631 2004-08-31 Michael Koch <konqueror@gmx.de>
10633 * javax/swing/DefaultListSelectionModel.java
10634 (fireValueChanged): Renamed from fireSelectionValueChanged,
10637 2004-08-31 Michael Koch <konqueror@gmx.de>
10639 * javax/swing/text/TabSet.java
10640 (TabSet): Implements java.io.Serializable.
10641 * javax/swing/text/TabStop.java
10642 (TabStop): Implements java.io.Serializable.
10643 (TabStop): Made public.
10645 2004-08-31 Michael Koch <konqueror@gmx.de>
10647 * javax/swing/JComponent.java
10648 (setUI): Fire PropertyChange.
10649 * javax/swing/JLabel.java
10650 (text): Renamed from labelText.
10651 (horizontalAlignment): New default vlaue.
10652 (icon): Renamed from activeIcon.
10653 (displayedMnemonic): Renamed from mnemonicKey, added default value.
10654 (displayedMnemonicIndex): Renamed from underlineChar.
10655 (setDisplayedMnemonic): Reimplemented.
10656 * javax/swing/JRadioButton.java
10657 (JRadioButton): New constructors.
10658 * javax/swing/JTextField.java
10659 (JTextField): Throw exception if colums < 0, initialitialz
10660 this.columns directly and initialize document with text conditionally.
10662 2004-08-31 Michael Koch <konqueror@gmx.de>
10664 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
10665 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
10666 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
10667 * javax/swing/text/FieldView.java
10668 (paint): Just call super method for now.
10669 * Makefile.am: Added new files.
10670 * Makefile.in: Regenerated.
10672 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
10674 * javax/swing/AbstractSpinnerModel.java,
10675 javax/swing/JSpinner.java,
10676 javax/swing/SpinnerNumberModel.java,
10677 javax/swing/plaf/basic/BasicSpinnerUI.java:
10679 * javax/swing/plaf/basic/BasicLookAndFeel.java
10680 (initClassDefaults): Added defaults for BasicSpinnerUI.
10682 2004-08-31 Michael Koch <konqueror@gmx.de>
10684 * Makefile.am: Added new files.
10685 * Makefile.in: Regenerated.
10687 2004-08-31 Michael Koch <konqueror@gmx.de>
10689 * javax/swing/TransferHandler.java,
10690 javax/swing/plaf/basic/ComboPopup.java: New files
10691 * Makefile.am: Added javax/swing/TransferHandler.java and
10692 javax/swing/plaf/basic/ComboPopup.java
10693 * Makefile.in: Regenerated.
10695 2004-08-31 Roman Kennke <roman@ontographics.com>
10697 * javax/swing/text/Utilities.java: New file.
10699 2004-08-31 Michael Koch <konqueror@gmx.de>
10701 * Makefile.am: Added javax/swing/text/Utilities.java.
10702 * Makefile.in: Regenerated.
10704 2004-08-31 Graydon Hoare <graydon@redhat.com>
10706 * javax/swing/text/SimpleAttributeSet.java: New file.
10707 * javax/swing/text/StyleConstants.java: New file.
10708 * javax/swing/text/StyleContext.java: New file.
10709 * javax/swing/text/TabSet.java: New file.
10710 * javax/swing/text/TabStop.java: New file.
10711 * javax/swing/text/AbstactDocument.java:
10712 (AbstractElement): Implement attribute support.
10713 * javax/swing/text/AttributeSet.java
10714 (NameAttribute): New static field.
10715 (ResolveAttribute): New static field.
10716 * Makefile.am: Update for new files.
10717 * Makefile.in: Regenerate.
10719 2004-08-31 Craig Black <craig.black@aonix.com>
10721 * gnu/java/awt/peer/gtk/GdkGraphics.java
10722 (drawImage): Add support for scaling pixmaps.
10723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10724 (copyAndScalePixmap): New native method.
10726 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10729 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
10730 type-punning compiler warnings using unions.
10731 (throw): Replace bzero with memset.
10733 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
10734 Thomas Fitzsimmons <fitzsim@redhat.com>
10736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
10737 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
10738 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
10739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10740 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
10742 2004-08-31 Mark Wielaard <mark@klomp.org>
10744 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
10745 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
10746 and stdlib.h, not gtkpeer.h.
10747 (*vm): New static variable.
10748 (areaPreparedID): Make static.
10749 (areaUpdatedID): Likewise.
10750 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
10751 (area_prepared): Likewise.
10752 (area_updated): Likewise.
10753 (closed): Likewise.
10754 (initStaticState): Initialize *vm javaVM.
10755 (pumpBytes): Use given env, not global gdk_env.
10757 2004-08-31 Mark Wielaard <mark@klomp.org>
10759 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
10762 2004-08-31 Sven de Marothy <sven@physto.se>
10764 * java/awt/geom/CubicCurve2D.java: Reindent.
10765 (contains): Implemented.
10766 (intersects): Implemented.
10767 * java/awt/geom/QuadCurve2D.java: Likewise.
10768 * java/awt/geom/GeneralPath.java: Reindent and document.
10769 Fully (re)implemented using separate xpoints and ypoints
10771 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
10773 2004-08-31 Michael Koch <konqueror@gmx.de>
10775 * javax/swing/JMenuItem.java
10776 (getMenuDragMouseListeners): New method.
10777 (getMenuKeyListeners): Likewise.
10779 2004-08-31 Michael Koch <konqueror@gmx.de>
10781 * javax/swing/AbstractButton.java
10782 (model): Made protected.
10783 (actionListener): Likewise.
10784 (changeListener): Likewise.
10785 (itemListener): Likewise.
10786 (multiClickThreshhold): New field.
10787 (getActionListeners): New method.
10788 (getChangeListeners): Likewise.
10789 (getItemListeners): Likewise.
10790 (fireItemStateChanged): Simplified implementation.
10791 (fireActionPerformed): Likewise.
10792 (fireStateChanged): Likewise.
10793 (getMultiClickThreshhold): New method.
10794 (setMultiClickThreshhold): Likewise.
10796 2004-08-31 Tom Tromey <tromey@redhat.com>
10798 * java/awt/image/Kernel.java (clone): Use super.clone().
10800 2004-08-31 David Jee <djee@redhat.com>
10803 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10804 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
10805 (nativeSetIconImageFromData): New native method declaration.
10806 (setIconImage): Handle images not produced from GdkPixbufDecoder.
10807 * gnu/java/awt/peer/gtk/GtkImage.java
10808 (getPixelCache): New method.
10809 (getColorModel): New method.
10810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10811 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
10812 (free_pixbuf_data): New helper function.
10813 (nativeSetIconImageFromData): New function.
10815 2004-08-31 Graydon Hoare <graydon@redhat.com>
10818 * javax/swing/JLayeredPane.java
10819 (setLayer): Permit changing layer after addition.
10820 (setPosition): Permit over-length positions.
10821 (layerToRange): Compare intValue()s.
10822 * javax/swing/Box.java (createHorizontalBox): Implement.
10823 (createRigidArea): Likewise.
10824 (createVerticalBox): Likewise.
10826 2004-08-31 Kim Ho <kho@redhat.com>
10828 * java/awt/Component.java:
10829 (processMouseEvent): Consume event after
10830 listeners process it.
10831 (processMouseMotionEvent): ditto.
10832 (processMouseWheelEvent): ditto.
10833 * java/awt/Container.java:
10834 (acquireComponentForMouseEvent):
10835 Do not dispatch to events that have been
10836 removed from the Container.
10837 (handleEvent): Consume the MouseEvents.
10838 * javax/swing/RepaintManager.java:
10839 (paintDirtyRegions): Do not add to list of
10840 damaged areas if the component has no root.
10842 2004-08-31 Michael Koch <konqueror@gmx.de>
10844 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
10846 2004-08-31 Mark Wielaard <mark@klomp.org>
10848 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
10849 null when a MissingResourceException is thrown. Should never happen.
10851 2004-08-31 Mark Wielaard <mark@klomp.org>
10853 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
10854 when argument is null.
10856 2004-08-31 Mark Wielaard <mark@klomp.org>
10858 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10859 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10860 Define hid at start of function.
10861 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10864 2004-08-31 Mark Wielaard <mark@klomp.org>
10866 * gnu/java/awt/EmbeddedWindow.java: Reindent.
10867 * javax/swing/JButton.java: Reindent.
10868 * javax/swing/JCheckBox.java: Reindent.
10870 2004-08-31 Mark Wielaard <mark@klomp.org>
10872 * Makefile.am (gtk_c_source_files): Added
10873 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
10874 (gtk_awt_peer_sources): Added
10875 gnu/java/awt/peer/gtk/GThreadMutex.java and
10876 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
10877 * Makefile.in: Regenerated.
10879 2004-08-31 Archie Cobbs <archie@dellroad.org>
10881 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
10883 2004-08-31 Steven Augart <augart@watson.ibm.com>
10885 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
10886 Added jfieldID, jmethodID.
10888 2004-08-31 Mark Wielaard <mark@klomp.org>
10890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10891 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
10892 gdk_env before calling any gdk or gtk function.
10894 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
10895 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
10896 (run): Set gtkInitCalled.
10898 2004-08-31 Steven Augart <augart@watson.ibm.com>
10900 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
10901 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
10903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10904 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
10905 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
10907 (init_glib_threads): New function.
10909 2004-08-31 Mark Wielaard <mark@klomp.org>
10911 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
10912 PRIORITY when not already defined in header file.
10914 2004-08-31 Mark Wielaard <mark@klomp.org>
10916 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
10917 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
10919 2004-08-31 Steven Augart <augart@watson.ibm.com>
10921 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
10922 Implemented missing functions for GTK2.
10923 Added error handling.
10924 Renamed static functions out of the g_ namespace.
10925 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
10926 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
10927 Rewrote global-reference code.
10928 Eliminated cascading errors.
10929 (mutex_trylock_jni_impl) Fully implemented.
10930 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
10932 (setup_cache) New function.
10933 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
10934 bug where they were not unlocking the GMutex associated with the
10935 condition variable during the wait on that condition variable.
10937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10938 native/jni/gtk-peer/gthread-jni.c,
10939 native/jni/gtk-peer/gthread-jni.h
10940 (g_thread_jni_functions): Renamed to ...
10941 (portable_native_sync_jni_functions): this name.
10942 (gdk_vm): Renamed to...
10943 (the_vm): this name.
10945 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10946 (gdk_vm): Removed duplicate definition.
10947 (gtkInit): Removed stray message to stdout.
10948 (gtkInit): Use g_malloc and g_free instead of malloc and free.
10949 (gtkInit): Fix a const assignment bug.
10950 (gtkInit): Simplified code.
10952 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
10953 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
10954 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
10955 gnu/java/awt/peer/gtk/GThreadMutex.java:
10958 2004-08-31 Mark Wielaard <mark@klomp.org>
10960 * javax/swing/Box.java: Put FIXME comment above class declaration.
10961 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
10962 * javax/swing/JCheckBox.java: Likewise.
10963 * javax/swing/JDialog.java: Likewise.
10964 * javax/swing/JRadioButton.java: Likewise.
10965 * javax/swing/JToggleButton.java: Likewise.
10966 * javax/swing/UIManager.java: Likewise.
10967 * javax/swing/border/TitledBorder.java: Likewise.
10968 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10969 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
10970 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
10971 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10972 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
10973 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10974 * javax/swing/text/JTextComponent.java: Likewise.
10976 2004-08-31 David Jee <djee@redhat.com>
10979 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10980 (setIconImage): Add a FIXME for unhandled cases.
10982 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10985 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
10986 getModifiers. Replace old button masks with new ones.
10987 * gnu/awt/xlib/XEventLoop.java: Likewise.
10988 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
10989 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10990 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10991 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
10992 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
10993 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
10994 * java/awt/Component.java: Replace old modifier masks with new
10996 * java/awt/Container.java: Call getModifiersEx, not
10998 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
10999 old modifier masks.
11000 * javax/swing/JMenuItem.java: Replace old button masks with new
11002 * javax/swing/KeyStroke.java: Call getModifiersEx, not
11004 * javax/swing/SwingUtilities.java: Likewise.
11005 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
11006 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
11007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
11008 mask macros with new ones.
11009 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
11010 macros with new ones representing new masks.
11012 2004-08-31 Craig Black <craig.black@aonix.com>
11014 * gnu/java/awt/peer/gtk/GdkGraphics.java
11015 (drawRoundRect): Implemented.
11016 (fillRoundRect): Implemented.
11017 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11018 (drawRoundRect): Reimplemented to match GdkGraphics.
11019 (fillRoundRect): Reimplemented to match GdkGraphics.
11021 2004-08-31 Mark Wielaard <mark@klomp.org>
11023 * Makefile.in: Regenerated.
11025 2004-08-31 Michael Koch <konqueror@gmx.de>
11027 * gnu/java/awt/EmbeddedWindow.java
11028 (addNotify): Use AccessController to allow execution of privileged
11031 2004-08-31 Michael Koch <konqueror@gmx.de>
11033 * gnu/java/awt/EmbeddedWindow.java
11035 (addNotify): Set peer via reflection.
11036 (setWindowPeer): Removed.
11037 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
11038 * Makefile.am (nat_source_files):
11039 Removed gnu/java/awt/natEmbeddedWindow.cc.
11041 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11043 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
11044 and gnu/java/security/action/SetAccessibleAction.java.
11046 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11048 * gnu/java/security/action/GetPropertyAction.java (setParameters):
11049 Renamed from 'setName'. New 2-argument form with default value.
11050 (run): Pass default 'value' parameter to System.getProperty().
11051 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
11054 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11056 * gnu/java/security/action/GetPropertyAction.java: New class.
11057 * gnu/java/security/action/SetAccessibleAction.java: New class.
11059 2004-08-31 David Jee <djee@redhat.com>
11061 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11062 (setIconImage): Check if image is null.
11064 2004-08-31 David Jee <djee@redhat.com>
11066 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11067 (create): Set the icon image.
11068 (nativeSetIconImage): New native method declaration.
11069 (setIconImage): Implement.
11070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11071 (nativeSetIconImage): New function.
11073 2004-08-31 Dalibor Topic <robilad@kaffe.org>
11075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11076 (filenameFilterCallback): Declare local variable accepted before use.
11078 2004-08-31 Dalibor Topic <robilad@kaffe.org>
11080 * gnu/java/awt/ComponentDataBlitOp.java:
11081 Cleaned up imports.
11083 2004-08-31 Tom Tromey <tromey@redhat.com>
11085 * gnu/java/awt/peer/GLightweightPeer.java,
11086 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
11087 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11088 javax/swing/JScrollPane.java: Removed
11091 2004-08-31 David Jee <djee@redhat.com>
11093 * java/awt/DefaultKeyboardFocusManager.java
11094 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
11095 event. Fix shift modifier checking.
11096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11097 (accel_attach): Remove.
11098 (setupAccelGroup): Remove calls to accel_attach.
11100 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11102 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
11103 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
11105 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
11107 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
11108 * Makefile.in: Regenerate.
11109 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11110 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11111 (create(String)): New method.
11112 (create): Call new create method.
11113 (getArgs): Remove method.
11114 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11115 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
11116 (nativeCreate): Rename to create.
11117 (gtkSetLabel): Rename to gtkButtonSetLabel.
11118 (gtkToggleButtonSetActive): New method.
11119 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
11120 (setState): Replace set call with gtkToggleButtonSetActive.
11121 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
11122 (getArgs): Remove method.
11123 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11124 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11125 (gtkWidgetSetSensitive): New method.
11126 (gtkWidgetSetParent): Likewise.
11127 (GtkComponentPeer): Call setParent, setComponentBounds and
11128 setVisibleAndEnabled.
11129 (setParent): New method.
11130 (setComponentBounds): New method.
11131 (setVisibleAndEnabled): New method.
11132 (setEnabled): Call gtkWidgetSetSensitive.
11133 (getArgs): Remove method.
11134 Remove all set methods.
11135 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
11136 gtkWindowSetModal, setTitle and setResizable.
11137 (getArgs): Remove method.
11138 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11139 (setComponentBounds): New method.
11140 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11141 Replace set call with gtkWindowSetResizable.
11142 (getArgs): Remove method.
11143 (create): Call setTitle and setResizable.
11144 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11145 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11146 (gtkWindowSetTitle): New method.
11147 (gtkWindowSetResizable): New method.
11148 (gtkWindowSetModal): New method.
11149 (setParent): New method.
11150 (setVisibleAndEnabled): New method.
11151 (getArgs): Remove method.
11152 (setTitle): Call gtkWindowSetTitle.
11153 (setResizable): Call gtkWindowSetResizable.
11154 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
11155 and off locking instrumentation.
11157 2004-08-31 Kim Ho <kho@redhat.com>
11159 * Makefile.am: Add new file.
11160 * Makefile.in: Regenerate.
11161 * gcj/Makefile.in: Regenerate
11162 * include/Makefile.in:
11163 * java/awt/Container.java:
11164 (acquireComponentForMouseEvent): Respect
11165 the event mask when looking for candidate.
11166 * javax/swing/JComponent.java:
11167 Remove toolTip field.
11168 (createToolTip): Create a tooltip on demand.
11169 (setToolTipText): Register with the ToolTipManager.
11170 (getToolTipText(MouseEvent)): Return getToolTipText().
11171 * javax/swing/JToolTip.java: Implement.
11172 * javax/swing/Timer.java: Jalopy.
11173 (restart): Call stop, then start.
11174 (stop): Interrupt the timer rather than wait for
11175 the timer to come to a stop naturally.
11176 * javax/swing/ToolTipManager.java: Implement.
11177 * javax/swing/plaf/basic/BasicLookAndFeel.java:
11178 Change ToolTip.background color.
11179 * javax/swing/plaf/basic/BasicToolTipUI.java:
11181 * testsuite/Makefile.in: Regenerate
11183 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
11185 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
11186 constructor param comments.
11188 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11190 * java/awt/Component.java: Document AWT 1.0 event handler
11193 2004-08-31 Roman Kennke <roman@ontographics.com>
11195 * javax/swing/Box.java:
11196 (createGlue): Implemented
11197 (createHorizontalGlue): Implemented
11198 (createHorizontalStrut): Implemented
11199 (createVerticalGlue): Implemented
11200 (createVerticalStrut): Implemented
11202 2004-08-31 David Jee <djee@redhat.com>
11204 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
11205 (GtkChoicePeer): Do not automatically select first item.
11206 (getHistory): Remove.
11207 (nativeGetSelected): New method.
11208 (nativeRemoveAll): New method.
11209 (add): Use nativeGetSelected() instead of getHistory().
11210 (remove): Likewise.
11211 (removeAll): Call nativeRemoveAll().
11212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11213 (create): Migrate to GtkComboBox.
11214 (append): Likewise.
11215 (nativeAdd): Likewise.
11216 (nativeRemove): Likewise.
11217 (select): Likewise.
11218 (nativeRemoveAll): New method.
11219 (nativeGetSelected): New method.
11220 (selection_changed): New method.
11221 (getHistory): Remove.
11222 (item_activate): Remove.
11223 (item_removed): Remove.
11224 (connect_choice_item_selectable_hook): Remove.
11226 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11228 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
11229 variable in setEditable call.
11231 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11232 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11233 (gtkWidgetSetBackground): New method.
11234 (gtkWidgetSetForeground): Likewise.
11235 (create): Set peer's editable state based on awtComponent's.
11237 * java/awt/Button.java (Button()): Use empty string rather than
11238 null in no-label constructor.
11240 2004-08-31 Roman Kennke <roman@ontographics.com>
11242 * javax/swing/BoxLayout.java: Reimplement.
11244 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11246 * gnu/java/awt/peer/gtk/GdkGraphics.java,
11247 gnu_java_awt_peer_gtk_GdkGraphics.c
11248 (initState(GtkComponentPeer)): Don't return array of colour
11250 (GdkGraphics(int,int)): Set default font to size 12.
11251 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
11252 component's foreground colour.
11253 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
11254 gnu_java_awt_peer_gtk_GdkGraphics2D.c
11255 (initState(GtkComponentPeer)): Don't return array of colour
11257 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
11258 colours to component's colours.
11259 (current_colors_of_widget): Remove function.
11260 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
11261 Return a new graphics object.
11262 * java/awt/Font.java (toString): Fix format.
11263 * java/awt/Graphics.java (toString): Likewise.
11265 2004-08-31 Craig Black <craig.black@aonix.com>
11267 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11268 (addTearOff): New function.
11269 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
11271 (init): Call addTearOff() when menu.isTearOff().
11273 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11275 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
11276 Default implementation.
11277 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
11278 Implement using GdkPixbufDecoder.
11280 2004-08-31 David Jee <djee@redhat.com>
11282 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11283 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
11284 setting the size of GtkFileDialogPeers.
11285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11286 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
11287 use their default sizes rather than their natural requisitions.
11289 2004-08-31 Michael Koch <konqueror@gmx.de>
11291 * javax/swing/JFormattedTextField.java
11292 (JFormattedTextField): Implemented.
11293 * javax/swing/text/DefaultEditorKit.java
11294 (BeepAction): New inner class.
11295 * javax/swing/text/Segment.java
11296 (partialReturn): New field.
11297 (setPartialReturn): New method.
11298 (isPartialReturn): Likewise.
11299 * javax/swing/text/View.java
11300 (createFragment): Fixed typo.
11301 (getStartOffset): New method.
11302 (getEndOffset): Likewise.
11304 2004-08-31 Michael Koch <konqueror@gmx.de>
11306 * javax/swing/table/DefaultTableColumnModel.java
11307 (serialVersionUID): Made private.
11308 (listenerList): Initialize.
11309 (changeEvent): Initialize.
11310 * javax/swing/table/JTableHeader.java
11311 (JTableHeader): New constructors.
11312 (createDefaultColumnModel): New method.
11313 * javax/swing/table/TableColumn.java
11314 (setHeaderRenderer): Simplified code.
11315 (setCellRenderer): Likewise.
11316 (setWidth): Likewise.
11318 2004-08-31 Tom Tromey <tromey@redhat.com>
11320 * java/text/AttributedString.java (AttributedString): Use
11321 ArrayList to build array of attribute ranges. Don't use
11322 `attribs' before it is set.
11324 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
11326 * HACKING: Remove reference to special automake. No longer needed.
11328 2004-08-30 Tom Tromey <tromey@redhat.com>
11330 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
11331 return result from `add'.
11333 2004-08-30 Tom Tromey <tromey@redhat.com>
11335 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
11337 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
11339 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
11341 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
11343 * java/io/File.java File(String,String): Fixed handling of empty
11346 2004-08-30 Casey Marshall <csm@gnu.org>
11348 Author e-mail updated for all files.
11349 * gnu/java/security/OID.java (equals): Test if the aurgment is an
11351 (compareTo): Use `equals'.
11352 * gnu/java/security/der/BitString.java (equals): Test if the
11353 argument is an instance of BitString.
11354 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
11355 class final. Made fields private.
11356 (<init>): New constructor.
11357 (skip): New method.
11358 (makeString): Made static; don't use NIO.
11359 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
11360 * gnu/java/security/der/DERWriter.java: Fixed imports.
11361 (writeString): Don't use NIO.
11362 (toIso88591, toUtf16Be, toUtf8): New methods.
11363 * gnu/java/security/der/DERValue.java: Formatting changes only.
11364 * gnu/java/security/der/DER.java: Likewise.
11366 2004-08-30 Tom Tromey <tromey@redhat.com>
11368 * java/nio/CharBuffer.java (put): Fix typo.
11369 * java/nio/DoubleBuffer.java (put): Fix typo.
11370 * java/nio/FloatBuffer.java (put): Fix typo.
11371 * java/nio/IntBuffer.java (put): Fix typo.
11372 * java/nio/LongBuffer.java (put): Fix typo.
11373 * java/nio/ShortBuffer.java (put): Fix typo.
11375 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
11377 * java/nio/ByteBuffer.java (put): Fix typo.
11379 2004-08-30 Casey Marshall <csm@gnu.org>
11381 * java/security/DummyKeyPairGenerator.java (clone): Removed
11382 useless instanceof check.
11383 * java/security/DummyMessageDigest.java (clone): Likewise.
11384 * java/security/DummySignature.java (clone): Likewise.
11385 * java/security/MessageDigest.java (clone): Remove useless
11387 * java/security/MessageDigestSpi.java (clone): Likewise.
11388 * java/security/Signature.java (clone): Provide meaningful
11390 * java/security/SignatureSpi.java (clone): Likewise.
11392 2004-08-29 Mark Wielaard <mark@klomp.org>
11394 * java/util/Arrays.java
11395 (sort(byte[], int, int)): Check fromIndex < 0.
11396 (sort(char[], int, int)): Likewise.
11397 (sort(short[], int, int)): Likewise.
11398 (sort(int[], int, int)): Likewise.
11399 (sort(long[], int, int)): Likewise.
11400 (sort(float[], int, int)): Likewise.
11401 (sort(double[], int, int)): Likewise.
11402 (sort(Object[], int, int, Comparator)): Likewise.
11403 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
11404 (qsort(char[], int, int)): Likewise.
11405 (qsort(short[], int, int)): Likewise.
11406 (qsort(int[], int, int)): Likewise.
11407 (qsort(long[], int, int)): Likewise.
11408 (qsort(float[], int, int)): Likewise.
11409 (qsort(double[], int, int)): Likewise.
11411 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
11413 * java/util/AbstractCollection.java, java/util/AbstractList.java,
11414 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
11415 java/util/ArrayList.java, java/util/Arrays.java,
11416 java/util/BitSet.java, java/util/Calendar.java,
11417 java/util/Collection.java, java/util/ListIterator.java,
11418 java/util/Map.java, java/util/SortedSet.java:
11419 Added additional exceptions to documentation, along
11420 with some additions and corrections.
11422 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
11424 * configure.ac: Handle --enable-gc-debug.
11425 * configure: Regenerate.
11426 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
11427 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
11428 Rearrange include file order.
11429 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
11430 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
11431 (disable_gc_mutex): Delete along with all references.
11432 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
11433 adjust for debug header size.
11434 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
11436 (_Jv_AllocArray): Declare min_heap_addr only if needed.
11437 (gcj_describe_type_fn): New.
11438 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
11439 Register gcj_describe_type_fn.
11440 * include/boehm-gc.h:
11441 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
11442 Don't define, but declare, for debug case.
11443 * java/lang/natObject.cc:
11444 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
11446 2004-08-26 Mark Wielaard <mark@klomp.org>
11448 Fixes PR libgcj/17002:
11449 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
11450 a TimeZoneId string and then try to convert that to a TimeZone with
11451 getDefaultSystemTimeZone(String).
11452 (timezones0): Changed type from Hashtable to HashMap.
11453 (timezones): Create HashMap, not Hashtable.
11454 (getDefaultTimeZone): New method, rewritten from CNI version.
11455 (readTimeZoneFile): New method.
11456 (readtzFile): Likewise.
11457 (skipFully): Likewise.
11458 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
11459 getDefaultTimeZoneId and rewritten.
11460 (getDefaultTimeZoneId): Rewritten in java.
11462 2004-08-25 David Daney <daney@avtrex.com>
11464 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
11465 * Makefile.in: Regenerated.
11467 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
11469 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
11470 only if jvmpi is enabled.
11471 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
11472 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
11473 (_Jv_AllocString): Likewise.
11474 (_Jv_AllocPtrFreeObject): Likewise.
11476 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
11478 * defineclass.cc: Include <stdio.h>.
11479 * java/lang/natClassLoader.cc: Include <stdio.h>.
11481 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
11482 Michael Koch <konqueror@gmx.de>
11484 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
11485 * Makefile.in: Regenerated.
11487 2004-08-20 Michael Koch <konqueror@gmx.de>
11489 * configure.ac: Replaced all AC_TRY_COMPILE macros with
11490 AC_COMPILE_IFELSE macros.
11492 2004-08-20 Michael Koch <konqueror@gmx.de>
11494 * configure.in: Renamed to configure.ac.
11495 * configure.ac: New file.
11496 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
11497 include/config.h.in, testsuite/Makefile.in: Regenerated.
11499 2004-08-20 Michael Koch <konqueror@gmx.de>
11501 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
11502 * aclocal.m4, configure: Regenerated.
11504 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
11505 Michael Koch <konqueror@gmx.de>
11507 * configure.in, Makefile.am: Ported to automake 1.9.
11508 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
11509 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
11512 2004-08-19 Tom Tromey <tromey@redhat.com>
11514 * java/net/DatagramSocket.java: Fixed typo.
11516 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
11519 * java/net/URI.java (string): New field. Make all other fields
11521 (readObject): Implemented.
11522 (writeObject): Implemented.
11523 (URI): Set 'string'.
11525 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
11528 * java/util/logging/Handler.java (isLoggable): Accept record if its
11529 log level equals the threshold level. From Robin Green.
11531 2004-08-18 David Daney <ddaney@avtrex.com>
11533 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
11534 instead of sigwait.
11536 2004-08-17 Michael Koch <konqueror@gmx.de>
11538 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
11539 * Makefile.in: Regenerated.
11541 2004-08-16 Tom Tromey <tromey@redhat.com>
11544 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
11546 2004-08-16 Michael Koch <konqueror@gmx.de>
11549 (math_c_files): Renamed from c_files.
11550 (math_c_source_files): Renamed from c_source_files.
11553 include/Makefile.in,
11554 testsuite/Makefile.in: Regenerated.
11556 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
11558 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
11559 to avoid autoconf warning.
11560 * configure: Rebuilt.
11562 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
11564 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
11565 localhostAddress to loopbackAddress.
11566 * java/net/natInetAddressWin32.cc (lookup): Likewise.
11568 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
11570 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
11571 boehm-gc's include dirs.
11572 * configure: Rebuilt.
11573 * include/boehm-gc.h: Include gc_config.h.
11575 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
11577 * java/net/InetAddress.java (loopbackAddress): Renamed from
11579 (getByName): Return loopback address for null hostname, without
11580 security check. Use lookup(), not getAllByName.
11581 (getAllByName): Return loopback address for null hostname, without
11583 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
11586 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
11589 Reported by Robin Green.
11590 * defineclass.cc (handleField): Don't throw exception on unrecognised
11591 modifier. Add FIXME comments for spec compliance.
11592 (handleMethod): Likewise.
11594 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
11597 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
11598 (Almost everywhere): add LOG calls, fix, add comments.
11599 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
11600 Add explicit check for LOCKED bit in slow case (PR 16662).
11601 (_Jv_MonitorExit): Add casts in debug-only code.
11602 Always release LOCKED bit before throwing exception.
11603 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
11604 isn't. Handle easy cases without lock acquisition.
11605 (Object::wait): Use NotifyAll for lock inflation.
11607 2004-08-12 David Daney <ddaney@avtrex.com>
11609 * testsuite/libjava.lang/Process_1.java: New test.
11610 * testsuite/libjava.lang/Process_2.java: New test.
11611 * testsuite/libjava.lang/Process_3.java: New test.
11612 * testsuite/libjava.lang/Process_4.java: New test.
11613 * testsuite/libjava.lang/Process_5.java: New test.
11614 * testsuite/libjava.lang/Process_6.java: New test.
11615 * testsuite/libjava.lang/Process_1.out: Expected result.
11616 * testsuite/libjava.lang/Process_2.out: Expected result.
11617 * testsuite/libjava.lang/Process_3.out: Expected result.
11618 * testsuite/libjava.lang/Process_4.out: Expected result.
11619 * testsuite/libjava.lang/Process_5.out: Expected result.
11620 * testsuite/libjava.lang/Process_6.out: Expected result.
11622 2004-08-12 David Daney <ddaney@avtrex.com>
11625 * java/lang/PosixProcess.java: Rewrote.
11626 * java/lang/natPosixProcess.cc: Rewrote.
11627 * java/lang/Runtime.java (execInternal): Declare throws IOException.
11628 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
11629 * posix-threads.cc (block_sigchld) New function.
11630 (_Jv_ThreadRegister) Use it.
11631 (_Jv_ThreadStart) Use it.
11632 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
11633 * Makefile.am: ... to specify extra native headers.
11634 * configure: Regenerated.
11635 * include/config.h: Regenerated.
11636 * Makefile.in: Regenerated.
11637 * gcj/Makefile.in: Regenerated.
11638 * include/Makefile.in: Regenerated.
11639 * testsuite/Makefile.in: Regenerated.
11641 2004-08-12 Diego Novillo <dnovillo@redhat.com>
11643 PR tree-optimization/16867
11644 * testsuite/libjava.lang/PR16867.java: New test.
11646 2004-08-09 Per Bothner <per@bothner.com>
11648 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
11649 with private fields and access methods.
11650 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
11651 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
11652 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
11653 ( _Jv_makeUtf8Const): Rewrite using new constructors.
11654 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
11655 * defineclass.cc: Use new _Utf8Const access/convenience methods.
11656 * jni.cc: Likewise.
11657 * resolve.cc: Likewise.
11658 * gcj/field.h: Likewise.
11659 * include/jvm.h: Likewise.
11660 * java/lang/Class.h: Likewise.
11661 * java/lang/natClass.cc: Likwise.
11662 * java/lang/natClassLoader.cc: Likewise
11663 * java/lang/reflect/natMethod.cc: Likewise
11664 * verify.cc: Likewise.
11665 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
11666 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
11668 2004-08-10 Andrew Haley <aph@redhat.com>
11670 * testsuite/libjava.lang/err14.java: New file.
11671 * testsuite/libjava.lang/err14.out: New file.
11673 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
11675 * Makefile.am: Fix missing rename from x_nat_headers to
11677 * Makefile.in: Regenerated.
11679 2004-08-04 Andrew Haley <aph@redhat.com>
11681 * java/security/BasicPermission.java: Don't check wildcards.
11683 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
11684 Michael Koch <konqueror@gmx.de>
11686 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
11687 * configure.in: Replaced all usages of AC_LINK_FILES by
11690 configure: Regenerated.
11692 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
11693 Michael Koch <konqueror@gmx.de>
11695 * acconfig.h: Removed.
11696 * Makefile.am: Rename variables for xlib peer to include xlib and
11697 gtk_c_headers to gtk_jni_headers.
11698 * Makefile.in: Regenerated.
11700 2004-08-04 Andrew Haley <aph@redhat.com>
11702 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
11705 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
11707 * configure.in: Eliminate uses of changequote (mostly by quoting []).
11708 Replace most top level 'dnl' comments with '#' comments, conforming
11709 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
11711 * configure: Rebuilt.
11713 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
11715 * acinclude.m4: Include no-executables.m4.
11716 * aclocal.m4: Rebuild.
11717 * configure.in: Convert to the autoconf 2.59 version of
11718 of the no-executables hack, and also of the nonstandard CXX
11719 hack and the multilibbed CC and CXX hack. Change prerequisite
11721 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
11722 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
11723 testsuite/Makefile.in: Regenerate.
11725 2004-08-03 Tom Tromey <tromey@redhat.com>
11727 * jni.cc: Reindented.
11729 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
11731 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
11733 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
11735 * testsuite/libjava.compile/PR16701.java: New test.
11737 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
11739 * java/util/Collection.java, java/util/List.java,
11740 java/util/Map.java, java/util/Set.java,
11741 java/util/SortedMap.java, java/util/SortedSet.java:
11742 Added additional exceptions to documentation.
11744 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
11747 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
11748 * configure. Regenerate.
11749 * include/win32.h: Explicitly include winsock2.h
11750 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
11753 2004-07-30 Michael Koch <konqueror@gmx.de>
11755 * java/util/zip/GZIPInputStream.java
11756 (GZIPInputStream): Increase buffer size to 4k.
11757 * java/util/zip/GZIPOutputStream.java
11758 (GZIPOutputStream): Likewise.
11759 * java/util/zip/Inflater.java
11760 (setInput): Merged formating with GNU classpath.
11761 * java/util/zip/InflaterInputStream.java
11762 (InflaterInputStream): Increase buffer size to 4k.
11763 (fill): Throw exception if stream ends early.
11764 (read): Merged endless-loop with GNU classpath.
11765 (skip): Increase buffer size to 2k.
11767 2004-07-30 Michael Koch <konqueror@gmx.de>
11769 * gnu/java/awt/EmbeddedWindow.java
11770 (addNotify): Use AccessController to allow execution of privileged
11773 2004-07-29 Michael Koch <konqueror@gmx.de>
11775 * gnu/java/lang/MainThread.java:
11776 Explicitely import used classes.
11777 (args): Make it type String[].
11779 2004-07-29 Dalibor Topic <robilad@kaffe.org>
11781 * gnu/java/awt/ComponentDataBlitOp.java,
11782 gnu/java/beans/ExplicitBeanInfo.java,
11783 gnu/java/beans/IntrospectionIncubator.java,
11784 gnu/java/beans/editors/ColorEditor.java,
11785 gnu/java/beans/editors/FontEditor.java,
11786 gnu/java/beans/editors/NativeBooleanEditor.java,
11787 gnu/java/beans/editors/NativeByteEditor.java,
11788 gnu/java/beans/editors/NativeDoubleEditor.java,
11789 gnu/java/beans/editors/NativeFloatEditor.java,
11790 gnu/java/beans/editors/NativeIntEditor.java,
11791 gnu/java/beans/editors/NativeLongEditor.java,
11792 gnu/java/beans/editors/NativeShortEditor.java,
11793 gnu/java/beans/editors/StringEditor.java,
11794 gnu/java/io/ClassLoaderObjectInputStream.java,
11795 gnu/java/io/decode/Decoder.java,
11796 gnu/java/io/encode/Encoder.java,
11797 gnu/java/lang/ClassHelper.java,
11798 gnu/java/locale/Calendar.java,
11799 gnu/java/locale/Calendar_de.java,
11800 gnu/java/locale/Calendar_en.java,
11801 gnu/java/locale/Calendar_nl.java,
11802 gnu/java/locale/LocaleInformation_de.java,
11803 gnu/java/locale/LocaleInformation_en.java,
11804 gnu/java/locale/LocaleInformation_nl.java:
11805 Cleaned up imports.
11807 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
11809 * README: Remove obsolete info. Update bug URL.
11811 * NEWS: Updated with news up to GCC 3.4 release.
11813 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
11815 * gnu/java/security/action/GetPropertyAction.java (setParameters):
11816 Renamed from 'setName'. New 2-argument form with default value.
11817 (run): Pass default 'value' parameter to System.getProperty().
11818 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
11820 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
11823 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
11825 * configure.in: Check for minimum GTK version 2.4 requirement.
11826 * configure: Rebuilt.
11828 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
11830 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
11831 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
11833 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
11835 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
11836 address. Reduce sleep times. Synchronize with target threads before
11837 attempting to interrupt them. Don't try to calibrate yeild count,
11838 instead, always loop for a fixed time.
11839 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
11840 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
11841 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
11842 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
11843 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
11844 * testsuite/libjava.lang/pr179.java: Likewise.
11845 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
11846 time. Remove upper bounds check on sleep time.
11848 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
11850 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
11851 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
11853 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
11855 * java/io/File.java (toURI): Throw RuntimeException, not
11857 * java/lang/Runtime.java (exit): Qualify static sleep() call with
11858 class name, not instance.
11860 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
11862 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
11863 and gnu/java/security/action/SetAccessibleAction.java.
11864 * Makefile.in: Rebuilt.
11866 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
11868 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
11869 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
11871 (DECLARE_PRIM_TYPE): Don't declare array vtables.
11872 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
11873 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
11875 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
11877 * Makefile.am: Replace jar, rmic and rmiregistry references with
11878 gjar, grmic and grmiregistry.
11879 * configure.in: Likewise.
11880 * Makefile.in: Regenerate.
11881 * configure: Likewise.
11882 * gcj/Makefile.in: Likewise.
11883 * include/Makefile.in: Likewise.
11884 * testsuite/Makefile.in: Likewise.
11886 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
11888 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
11889 for privileged getProperty calls.
11890 * java/io/ObjectOutputStream.java (getField): No longer static. Use
11891 SetAccessibleAction instead of anonymous class for doPrivileged call.
11892 (getMethod): Likewise.
11893 (setAccessible): New field. PrivilegedAction object to use when
11894 calling setAccessible.
11895 * java/io/ObjectStreamClass.java (calculateOffsets): Use
11896 SetAccessibleAction instead of anonymous class for diPrivileged call.
11897 (setFields): Likewise.
11898 (getClassUID): Likewise.
11899 (findMethod): Likewise.
11900 * gnu/java/security/action/GetPropertyAction.java: New class.
11901 * gnu/java/security/action/SetAccessibleAction.java: New class.
11903 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
11905 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
11907 * testsuite/libjava.lang/Serialization.java: New test.
11908 * testsuite/libjava.lang/Serialization.out: New.
11910 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
11912 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
11913 missed in last commit.
11915 2004-07-23 Mark Wielaard <mark@klomp.org>
11917 * java/lang/System.java (static): Set http.agent system property when
11919 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
11920 from system property inside AccessController.doPrivileged() call.
11921 (proxyPort): Made package private.
11922 (proxyInUse): Likewise.
11923 (proxyHost): Likewise.
11924 (userAgent): Likewise.
11926 2004-07-23 Mark Wielaard <mark@klomp.org>
11928 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
11931 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
11933 * Makefile.am (ordinary_java_source_files): Add
11934 DefaultContentHandlerFactory.java.
11935 * Makefile.in: Rebuilt.
11936 * java/net/URLConnection.java (defaultFactory): New field.
11938 (getContentHandler): Renamed from 'setContentHandler'. Try
11939 defaultFactory after user-set factory, if any. Search for content
11940 handler implementations in gnu.java.net.content, not gnu.gcj.content.
11941 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
11943 (getLastModified): Implemented.
11944 (getPermission): Create file permission here, instead of in
11946 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
11948 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
11950 (getLastModified): Implemented.
11951 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
11952 Default implementation.
11953 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
11954 Implement using GdkPixbufDecoder.
11956 2004-07-21 Michael Koch <konqueror@gmx.de>
11958 * javax/swing/JTextArea.java
11959 (setLineWrap): Fire property change event after new value is set.
11960 (setTabSize): Likewise.
11962 2004-07-21 Michael Koch <konqueror@gmx.de>
11964 * javax/swing/JTable.java
11965 (autoCreateColumnsFromModel): New field.
11966 (autoResizeMode): Likewise.
11967 (cellEditor): Likewise.
11968 (cellSelectionEnabled): Likewise.
11969 (columnModel): Likewise.
11970 (dataModel): Likewise.
11971 (defaultEditorsByColumnClass): Likewise.
11972 (defaultRenderersByColumnClass): Likewise.
11973 (editingColumn): Likewise.
11974 (editingRow): Likewise.
11975 (gridColor): Likewise.
11976 (preferredViewportSize): Likewise.
11977 (rowHeight): Likewise.
11978 (rowMargin): Likewise.
11979 (rowSelectionAllowed): Likewise.
11980 (selectionBackground): Likewise.
11981 (selectionForeground): Likewise.
11982 (selectionModel): Likewise.
11983 (showHorizontalLines): Likewise.
11984 (showVerticalLines): Likewise.
11985 (tableHeader): Likewise.
11986 (JTable): Implemented.
11987 (getColumnModel): Likewise.
11988 (getSelectedRow): Likewise.
11989 (getSelectionModel): Likewise.
11990 (setModel): Likewise.
11991 (setSelectionModel): Likewise.
11992 (createScrollPaneForTable): New method.
11993 (createDefaultDataModel): Likewise.
11994 (createDefaultListSelectionModel): Likewise.
11995 (getModel): Likewise.
11996 (getTableHeader): Likewise.
11997 (setTableHeader): Likewise.
11998 (getColumnSelectionAllowed): Likewise.
11999 (setColumnSelectionAllowed): Likewise.
12000 (getRowSelectionAllowed): Likewise.
12001 (setRowSelectionAllowed): Likewise.
12002 (getAutoResizeMode): Likewise.
12003 (setAutoResizeMode): Likewise.
12004 (getColumnCount): Likewise.
12005 (getRowCount): Likewise.
12006 (getCellRenderer): Likewise.
12007 * javax/swing/JTree.java
12008 (cellRenderer): New field.
12009 (editable): Likewise.
12010 (rootVisible): Likewise.
12011 (showsRootHandles): Likewise.
12012 (getModel): New method.
12013 (setModel): Likewise.
12014 (isEditable): Likewise.
12015 (setEditable): Likewise.
12016 (isRootVisbile): Likewise.
12017 (setRootVisible): Likewise.
12018 (getShowsRootHandles): Likewise.
12019 (setShowRootHandles): Likewise.
12020 (getCellRenderer): Likewise.
12021 (setCellRenderer): Likewise.
12023 2004-07-21 Michael Koch <konqueror@gmx.de>
12025 * javax/swing/JFormattedTextField.java
12026 (setDocument): Implemented.
12027 * javax/swing/JRootPane.java:
12029 * javax/swing/JTable.java
12030 (getDefaultRenderer): New method.
12031 * javax/swing/JTextField.java
12032 (setFont): Likewise.
12033 (getPreferredSize): Likewise.
12034 * javax/swing/JToggleButton.java
12035 (getAccessibleContext): Fix javadoc.
12036 * javax/swing/JTree.java:
12038 * javax/swing/JViewport.java:
12041 2004-07-21 David Jee <djee@redhat.com>
12043 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
12044 Collect all native method declaration at the top.
12045 (create): Set the filename filter if necessary.
12046 (setDirectory): Call nativeSetDirectory().
12047 (setFilenameFilter): Implement.
12048 (filenameFilterCallback): New method.
12049 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12050 (create): Configure dialog to show hidden files.
12051 (filenameFilterCallback): New function.
12052 (nativeSetFilenameFilter): New function.
12053 (nativeSetDirectory): New function.
12055 2004-07-21 Kim Ho <kho@redhat.com>
12057 * javax/swing/plaf/basic/BasicSliderUI.java:
12059 (paintTrack): Fill the track before painting
12062 2004-07-21 Graydon Hoare <graydon@redhat.com>
12064 patch from Roman Kennke <roman@ontographics.com>
12065 * javax/swing/Spring.java: New file.
12066 * javax/swing/SpringLayout.java: New file.
12067 * Makefile.am: Add new files.
12068 * Makefile.in: Regenerate.
12070 2004-07-21 Graydon Hoare <graydon@redhat.com>
12072 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
12073 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
12074 * javax/swing/ScrollPaneLayout.java: Likewise.
12076 2004-07-21 Kim Ho <kho@redhat.com>
12078 * javax/swing/DefaultDesktopManager.java:
12079 (findMinimum): Removed.
12080 (resizeFrame): Trust the UI to pass valid
12082 * javax/swing/JOptionPane.java:
12083 Implemented showInternalXXXDialog methods.
12084 (startModal): New method.
12085 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
12086 (BorderListener::mouseDragged): Verify that the new
12087 bounds are valid before passing them to the DesktopManager.
12088 (preferredLayoutSize): Delegate
12090 (minimumLayoutSize): Ditto.
12091 (getSize): New method.
12092 (GlassPaneDispatcher): Reimplemented by copying
12093 a stripped down LightweightDispatcher from Container.
12094 (getMinimumSize): Call minimumLayoutSize.
12095 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12097 (mousePressed): Add ability to properly close
12099 * javax/swing/plaf/basic/BasicToolBarUI.java:
12100 (DragWindow): Set owner for DragWindow.
12102 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12104 * java/awt/image/ShortLookupTable.java: New file.
12105 * java/awt/image/ByteLookupTable.java: New file.
12106 * Makefile.am: Added new files.
12107 * Makefile.in: Regenerated.
12109 2004-07-21 David Jee <djee@redhat.com>
12111 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12112 (create(GtkContainerPeer)): New native method.
12113 (create()): Call native create(), passing in the parent frame
12114 as the paramter. Natively set the current file and directory.
12115 (setFile): Construct an absolute filename before passing it to
12117 (nativeGetDirectory): New method.
12118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12119 (window_closed): Removed.
12120 (ok_clicked): Likewise.
12121 (cancel_clicked): Likewise.
12122 (handle_response): New method.
12123 (create): Use GtkFileChooserDialog.
12124 (connectSignals): Connect to handle_response.
12125 (nativeGetDirectory): New method.
12126 (nativeSetFile): Use GtkFileChooserDialog.
12128 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12130 * java/awt/image/LookupTable.java: New file.
12131 * Makefile.am: Added new file.
12132 * Makefile.in: Regenerated.
12134 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12136 * java/awt/image/Kernel.java: New file.
12137 * Makefile.am: Added new file.
12138 * Makefile.in: Regenerated.
12140 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12142 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
12143 * javax/swing/JMenu.java: Likewise.
12144 * javax/swing/JMenuBar.java: Likewise.
12145 (MARGIN_CHANGED_PROPERTY): New property.
12146 (setMargin): Implemented.
12147 * javax/swing/JMenuItem.java: Fixed javadocs.
12148 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
12149 (LABEL_CHANGED_PROPERTY): New property.
12150 (add): changed to use createActionComponent.
12151 (createActionComponent): Implemented.
12152 (setLabel): Fire PropertyChangeEvent if label property
12154 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
12155 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
12156 (ContainerHandler): Repaint if margin property has changed.
12157 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12158 (installUI): Call installComponents().
12159 (uninstallUI): Call uinstallComponents().
12160 * javax/swing/plaf/basic/BasicMenuUI.java:
12162 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12165 2004-07-21 Kim Ho <kho@redhat.com>
12167 * javax/swing/plaf/basic/BasicToolBarUI.java:
12168 (DragWindow): Use the right constructor.
12170 2004-07-21 Kim Ho <kho@redhat.com>
12172 * javax/swing/JToolBar.java:
12173 (layoutContainer): Use getComponents.
12174 * javax/swing/plaf/basic/BasicToolBarUI.java:
12175 (DragWindow): Don't use SwingUtilities'
12177 (ToolBarDialog): ditto.
12179 2004-07-21 Kim Ho <kho@redhat.com>
12181 * javax/swing/JRootPane.java:
12183 (layoutContainer): Set the glasspane's size to
12184 be the same as the content pane.
12185 (createGlassPane): Set opaque property to false.
12187 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12189 * java/awt/Component.java (requestFocus()): Don't handle Panels
12191 (requestFocus(boolean)): Likewise.
12192 (requestFocusInWindow(boolean)): Likewise.
12193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
12194 Set GTK_CAN_FOCUS flag.
12196 2004-07-21 Kim Ho <kho@redhat.com>
12198 * Makefile.am: Added new file.
12199 * Makefile.in: Regenerated.
12200 * gcj/Makefile.in: Regenerated.
12201 * include/Makefile.in: Regenerated.
12202 * javax/swing/AbstractButton.java:
12203 Add rollOverEnabled property.
12204 (setRolloverEnabled): Use new property.
12205 (isRolloverEnabled): Use new property.
12206 * javax/swing/JTabbedPane.java:
12207 (setComponent): Remove useless JTabbedPane.this.
12208 * javax/swing/JToolBar.java: Finish implementation.
12209 * javax/swing/plaf/basic/BasicArrowButton.java:
12210 (paint): Moved border painting to a border.
12211 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12212 Change JToolBar look and feel defaults.
12213 * javax/swing/plaf/basic/BasicOptionPaneUI.java
12214 (actionPerformed): Return Integer index instead of name.
12215 (addButtonComponents): Check to see if component is
12217 (createMessageArea): Don't use components that are not
12219 (getIconForType): Use temporary icons.
12220 * javax/swing/plaf/basic/BasicSliderUI.java:
12221 (mousePressed): Do not return if it's on thumb.
12222 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
12223 (paintMinorTickForVertSlider): ditto.
12224 (paintMajorTickForHorizSlider): ditto.
12225 (paintMajorTickForVertSlider): ditto.
12226 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
12227 Add a border around the SplitPaneDivider.
12228 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
12230 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
12231 New file. Implemented.
12232 * javax/swing/plaf/basic/BasicToolBarUI.java:
12234 * testsuite/Makefile.in: Regenerated.
12236 2004-07-21 Graydon Hoare <graydon@redhat.com>
12238 * javax/swing/Timer.java (run): Queue events each time cycle.
12240 2004-07-21 David Jee <djee@redhat.com>
12242 * gnu/java/awt/peer/gtk/GtkImagePainter.java
12243 (imageComplete): Call image.imageComplete().
12244 * java/awt/image/MemoryImageSource.java:
12245 Reimplement consumers as a Vector instead of a Hashtable. This is
12246 because enumeration on a Hashtable is not thread-safe.
12247 (addConsumer): Adapt to Vector consumers.
12248 (isConsumer): Adapt to Vector consumers.
12249 (removeConsumer): Adapt to Vector consumers.
12250 (startProduction): Adapt to Vector consumers. Call imageComplete()
12251 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
12252 (newPixels): Adapt to Vector consumers.
12253 (sendPicture): Set the color model of the image consumer.
12254 (newPixels(IIII)): Adapt to Vector consumers.
12255 (newPixels(IIIIB)): Adapt to Vector consumers.
12257 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12259 * java/awt/Component.java (deliverEvent): Implement.
12260 (postEvent): Implement.
12261 (handleEvent): Implement.
12262 (translateEvent): New method.
12263 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
12264 * java/awt/Container.java (deliverEvent): Implement.
12265 * java/awt/Event.java (paramString): Fix formatting.
12266 * java/awt/Font.java (toString): Likewise.
12267 * java/awt/Window.java (postEvent): Implement.
12269 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12271 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
12272 Set window's focus owner upon receiving a FOCUS_LOST event.
12273 * java/awt/Window.java (Window()): Refocus the previously
12274 focused component within the window when the window regains the
12276 (setFocusOwner): New method.
12277 * java/awt/Component.java (requestFocus): Add FIXME.
12279 * libgcj.pc.in: Remove library flags.
12281 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12283 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
12284 MOUSE_PRESSED event.
12285 * java/awt/Component.java (requestFocus()): Handle Panel
12286 specially. Post FOCUS_LOST event on opposite component.
12287 (requestFocus(boolean)): Likewise.
12288 (requestFocusInWindow(boolean)): Likewise.
12289 (paramString): Reorder dimension fields.
12290 * java/awt/Container.java (paramString): Fix string format.
12291 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
12292 Handle FOCUS_LOST events. Don't handle Windows specially. Only
12293 process key events if the focus owner is non-null.
12294 (dispatchKeyEvent): Likewise.
12295 * java/awt/Frame.java (paramString): Fix formatting.
12296 (generateName): New method.
12297 (getUniqueLong): Likewise.
12298 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
12299 the temporary focus owner is null. If so, return the permanent
12301 * java/awt/Panel.java (generateName): New method.
12302 (getUniqueLong): Likewise.
12303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
12304 signal handling to make callbacks more specific.
12306 2004-07-21 Michael Koch <konqueror@gmx.de>
12308 * javax/swing/text/Position.java
12309 (Bias): Implemented.
12311 2004-07-21 Michael Koch <konqueror@gmx.de>
12313 * javax/swing/LookAndFeel.java
12314 (provideErrorFeedback): New method.
12316 2004-07-21 Michael Koch <konqueror@gmx.de>
12318 * javax/swing/JTextArea.java
12319 (tabSize): New field.
12320 (getTabSize): New method.
12321 (setTabSize): Likewise.
12323 2004-07-21 Michael Koch <konqueror@gmx.de>
12325 * javax/swing/ActionMap.java:
12326 Fixed javadocs all over.
12327 (serialVersionUID): Made private.
12328 (parent): Don't explicitely initialize with default value.
12330 (keys): Reimplemented.
12331 (allKeys): Likewise.
12332 (convertSet): Removed.
12333 * javax/swing/ComponentInputMap.java:
12334 Fixed javadocs all over.
12335 (ComponentInputMap): Implemented.
12338 (remove): Likewise.
12339 (SetParent): Likewise.
12340 (getComponent): Likewise.
12341 * javax/swing/InputMap.java:
12342 Fixed javadocs all over.
12343 (serialVersionUID): Made private.
12344 (parent): Don't explicitely initialize with default value.
12346 (keys): Reimplemented.
12347 (allKeys): Likewise.
12348 (convertSet): Removed.
12350 2004-07-21 Michael Koch <konqueror@gmx.de>
12352 * javax/swing/ActionMap.java,
12353 javax/swing/ComponentInputMap.java,
12354 javax/swing/InputMap.java,
12355 javax/swing/table/DefaultTableColumnModel.java,
12356 javax/swing/table/TableColumn.java,
12357 javax/swing/table/TableColumnModel.java,
12358 javax/swing/table/TableModel.java,
12359 javax/swing/text/AbstractDocument.java,
12360 javax/swing/text/TextAction.java:
12363 2004-07-21 Graydon Hoare <graydon@redhat.com>
12365 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
12366 Make method non-static.
12367 * javax/swing/AbstractButton.java:
12368 Rename fields to match property names where possible.
12369 (iconTextGap): New property.
12370 * javax/swing/JCheckBox.java: Match AbstractButton changes.
12371 (init) New method, call from after various constructors.
12372 * javax/swing/JComponent.java (revalidate):
12373 Invalidate before queueing repair.
12374 * javax/swing/JList.java (getPreferredScrollableViewportSize):
12375 Reimplement in terms of visibleRowCount property.
12376 * javax/swing/JMenuButton.java: Match AbstractButton changes.
12377 * javax/swing/JScrollPane.java (createScrollListener):
12378 Remove tracing chatter.
12379 * javax/swing/JToggleButton.java: Match AbstractButton changes.
12380 * javax/swing/RepaintManager.java (addInvalidComponent):
12382 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
12384 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
12385 Mimic sun behavior on top left/right positioning.
12386 * javax/swing/ViewportLayout.java (preferredLayoutSize):
12387 Remove mistaken use of preferredScrollableViewportSize here.
12388 (layoutContainer): Use view's preferred size as basis.
12389 * javax/swing/plaf/basic/BasicButtonUI.java:
12390 Set, get, and use textIconGap property.
12391 (paint) Paint text returned from layout (with ellipsis).
12392 * javax/swing/plaf/basic/BasicListUI.java:
12393 Remove tracing chatter, correct various minor calculations.
12394 (getCellBounds): Update layout state before calculating.
12395 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
12396 Use margin default similar to sun's.
12397 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
12398 (createIncreaseIcon): Center icon, minimize margins.
12399 (createDecreaseIcon): Likewise.
12400 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
12402 (installUI): Call it.
12403 (uninstallDefaults): Implement.
12404 (uninstallUI): Call it.
12405 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
12406 Call existing Window constructor.
12407 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
12408 Set clip before painting.
12410 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12412 * javax/swing/JMenuItem.java:
12413 (processMouseEvent): Reimplemented to deal with
12415 (createMenuDragMouseEvent): New private helper method.
12416 Creates MenuDragMouseEvent.
12417 * javax/swing/MenuSelectionManager.java
12418 (componentForPoint): Implemented.
12419 (isComponentPartOfCurrentMenu): Made public.
12420 (processMouseEvent): Reimplemented to deal with
12422 (setSelectedPath): Corrected small mistake that caused
12423 path to be set incorrectly.
12424 (getPath): If given component is JMenu then also add this
12425 menu's popup menu to the selected path.
12426 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12428 (getPreferredSize): Call getPreferredMenuItemSize().
12429 (getPreferredItemSize): Moved code from getPreferredSize to here.
12430 (installListeners): Install MouseMotionListeners.
12431 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
12432 if mouse wasn't released in the bounds of this menu item.
12433 (MenuDragMouseHandler): Implemented.
12434 * javax/swing/plaf/basic/BasicMenuUI.java:
12435 (installListeners): Install MouseMotionListener and
12436 MenuDrageMouseListener.
12437 (MenuDragMouseHandler): Implemented.
12438 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12439 (uninstallListeners): Implemented.
12441 2004-07-21 Michael Koch <konqueror@gmx.de>
12443 * javax/swing/JCheckBox.java: Reformated.
12444 (JCheckBox): Fixed all constructors.
12445 (isBorderPaintedFlat): New method.
12446 (setBorderPaintedFlat): New method.
12447 * javax/swing/JEditorPane.java
12448 (createEditorKitForContentType): Made public.
12449 (scrollToReference): Likewise.
12450 * javax/swing/JTextArea.java
12451 (setLineWrap): Fire property change.
12452 * javax/swing/JToggleButton.java
12453 (JToggleButton): New constructor.
12454 (JToggleButton): Simplified.
12455 * javax/swing/text/AttributeSet.java
12456 (FontAttribute): Renamed from FontCharacterAttribute.
12457 * javax/swing/text/JTextComponent.java
12458 (KeyBinBinding): Added javadoc.
12459 (JTextComponent): Likewise.
12460 (getAccessibleContext): Fixed javadoc.
12461 * javax/swing/text/View.java
12462 (View): Added javadoc.
12463 * javax/swing/text/TabableView.java: New file.
12464 * Makefile.am: Added javax/swing/text/TabableView.java.
12465 * Makefile.in: Regenerated.
12467 2004-07-21 Graydon Hoare <graydon@redhat.com>
12469 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
12470 * gnu/java/awt/peer/gtk/GtkToolkit.java
12471 (GtkErrorImage): New helper class.
12472 (bufferedImageOrError): New helper method.
12473 (createImage): Use it.
12475 2004-07-21 David Jee <djee@redhat.com>
12477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
12478 (setCaretPosition): Scroll the text view so the new caret position
12479 is visible on screen.
12481 2004-07-21 David Jee <djee@redhat.com>
12483 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12484 (setBounds): Do not validate awtComponent here.
12485 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
12486 (getPreferredSize): New method.
12487 * java/awt/ScrollPane.java
12488 (ScrollPane): Set default size to 100x100.
12489 (addNotify): If child is not a Panel, wrap it with a new Panel.
12490 (paramString): Implement.
12492 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12494 * javax/swing/JMenu.java:
12495 (setSelected): Display popup menu only if this menu
12496 is showing on the screen.
12497 * javax/swing/JPopupMenu.java:
12498 (processMouseEvent): Added comment.
12499 (processKeyEvent): Likewise.
12500 * javax/swing/MenuSelectionManager.java:
12501 (clearSelectedPath): Only fireStateChanged() after
12502 selected path was changed, not before.
12503 (setSelectedPath): Likewise.
12504 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12505 (paintMenuItem): Corrected position of menu item's
12507 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12508 (installUI): Correct setDefaultLightWeightPopupEnabled call.
12509 (popupMenuCanceled): Reimplemented.
12510 (popupMenuWillBecomeVisible): Select first menu item by default
12511 when displaying free floating popup menus.
12512 (TopWindowListener): Reimplemented.
12514 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12516 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
12517 Panel from being painted twice when it is first shown.
12519 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12521 * java/awt/Window.java: Reverted changes from my
12522 previous patch for creating window without an owner.
12523 * javax/swing/SwingUtilities.java:
12524 (SwingUtilities.OwnerFrame): made static.
12525 (OwnerFrame.setVisible): New method. Overridden with
12526 empty implementation.
12527 (OwnerFrame.isShowing): New method. Ovverridden
12528 to return always true.
12530 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12532 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12534 (GtkComponentPeer): Remove temporary try/catch block.
12535 (setVisible): Call show and hide.
12536 (show): Make native.
12538 (getArgs): Don't add "visible" argument.
12539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12540 (property_notify_predicate): Return Bool instead of int.
12541 (find_layout): New function.
12542 (connectJObject): Call find_layout.
12543 (connectSignals): Likewise.
12544 (moveLayout): Likewise.
12545 (gtkLayoutSetVisible): Likewise.
12547 2004-07-21 Mark Wielaard <mark@klomp.org>
12549 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
12550 on notifier object before calling notifyAll().
12552 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12554 * java/awt/Window.java: Changed constructors to use new
12555 method that is described below. Constructors call this
12556 methods only if newly created window should have an owner.
12557 (setWindowOwner): New method. Implementation for
12558 this method is moved from this(owner,configuration).
12559 * javax/swing/JWindow.java:
12560 (JWindow): Reimplement to use SwingUtilities.ownerFrame
12562 * javax/swing/SwingUtilities.java:
12563 (ownerFrame): Change type of this field to OwnerFrame.
12564 (getOwnerFrame): Changed to return object of type OwnerFrame.
12565 (SwingUtilities.OwnerFrame): New class. Represents owner
12566 of a Window that is not provided with one.
12568 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12570 * javax/swing/AbstractButton.java:
12571 (configurePropertiesFromAction): Set action command
12572 to button's text by default if action command is not
12573 explicitely specified.
12574 * javax/swing/JMenu.java: Remove unnecessary listener
12575 and methods relevant to it.
12576 (setSelected): Reimplemented.
12577 (menuSelectionChanged): Moved most part of implementation to
12578 setSelected() and call it instead.
12579 * javax/swing/JMenuItem.java:
12580 (init): Comment out statement that sets paint_border to false.
12581 (configurePropertiesFromAction): Do not set accelerator
12583 (menuSelectionChanged): Change selected index in the selection
12584 model of menu item's parent.
12585 * javax/swing/JPopupMenu.java:
12586 (remove): Set constraints.fill field to GridBagConstraints.BOTH
12587 instead of GridBagConstraints.HORIZONTAL.
12588 (insert): Likewise.
12589 (createActionChangeListener): Implemented.
12590 (setVisible): Correct location of HeavyWeightMenu and
12591 don't firePopupMenuCanceled().
12592 (menuSelectionChanged): Implemented.
12593 (ActionChangeListener): New Listener. Implemented.
12594 * javax/swing/plaf/basic/BasicMenuBarUI.java:
12595 (BasicMenuBarUI.ContainerHandler): Implemented.
12596 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12597 (paintMenuItem): Uncommented out code that paints
12598 icon, now that icons are working properly.
12599 (PropertyChangeListener): Implemented.
12600 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12602 (topWindowListener): New field.
12603 (Constructor): initialize topWindowListener.
12604 (BasicPopupMenuUI.TopWindowListener): Implemented.
12605 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
12606 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
12609 2004-07-21 Michael Koch <konqueror@gmx.de>
12611 * javax/swing/plaf/basic/BasicButtonUI.java
12612 (paintFocus): Fixed method signature.
12613 (paintButtonPressed): Likewise.
12614 (paintButtonNormal): Likewise.
12615 (paintText): New method.
12616 * javax/swing/plaf/basic/BasicLabelUI.java
12617 (paint): Re-indented.
12618 * javax/swing/plaf/basic/BasicTextUI.java
12619 (installUI): Set parent textComponent to opaque.
12620 * javax/swing/text/DefaultHighlighter.java
12621 (checkPositions): New helper method.
12622 (addHighlight): Throws BadLocationException, check positions.
12623 (changeHighlight): Likewise.
12624 * javax/swing/text/EditorKit.java
12625 (EditorKit): Implements Serializable.
12626 * javax/swing/text/JTextComponent.java
12627 (getUI): Added javadoc.
12629 (upadteUI): Added javadoc, don't revalidate and repaint.
12631 2004-07-21 David Jee <djee@redhat.com>
12633 * java/awt/GridBagLayout.java
12634 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
12635 * javax/swing/AbstractButton.java
12636 (setText): Reindent.
12637 * javax/swing/RepaintManager.java
12638 (addInvalidComponent): Find the first ancestor that isValidateRoot().
12640 2004-07-21 Michael Koch <konqueror@gmx.de>
12642 * javax/swing/JFormattedTextField.java
12643 (value): New field.
12644 (JFormattedTextField): Implemented.
12645 (getValue): Likewise.
12646 (setValue): Likewise.
12647 * javax/swing/LookAndFeel.java
12648 (getSupportsWindowDecorations): New method.
12649 * javax/swing/UIDefaults.java:
12650 Use java.beans.PropertyChangeSupport instead of doing all ourself.
12651 (addPropertyChangeListener): Made public.
12652 (addResourceBundle): Likewise.
12653 (removeResourceBundle): Likewise.
12654 (setDefaultLocale): Likewise.
12655 * javax/swing/plaf/basic/BasicRootPaneUI.java
12656 (BasicRootPaneUI): Implements PropertyChangeListener.
12657 (propertyChange): New method.
12658 * javax/swing/plaf/basic/BasicTextUI.java
12659 (BasicHighlighter): New inner class.
12660 (createHighlighter): New method.
12661 * javax/swing/plaf/basic/BasicToolBarUI.java
12662 (DragWindow): Extends java.awt.Window.
12663 * javax/swing/text/JTextComponent.java
12664 (getDocument): Removed debug output.
12665 * javax/swing/plaf/basic/BasicTextFieldUI.java,
12666 javax/swing/text/DefaultHighlighter.java,
12667 javax/swing/text/FieldView.java,
12668 javax/swing/text/PlainView.java: New files.
12669 * Makefile.am: Added new files.
12670 * Makefile.in: Regenerated.
12672 2004-07-21 Michael Koch <konqueror@gmx.de>
12674 * javax/swing/JEditorPane.java
12675 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
12676 (createEditorKitForContentType): Likewise.
12677 * javax/swing/text/DefaultEditorKit.java
12678 (serialVersionUID): Added constant field.
12679 (EndOfLineStringPropery): Fixed typo.
12680 (DefaultEditorKit): New constructor.
12681 * javax/swing/text/Segment.java:
12682 Import java.text.CharacterIterator.
12683 * javax/swing/text/CharacterIterator.java,
12684 javax/swing/text/PlainEditorKit.java: Removed.
12685 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
12686 javax/swing/text/PlainEditorKit.java.
12687 * Makefile.in: Regenerated.
12689 2004-07-21 Michael Koch <konqueror@gmx.de>
12691 * javax/swing/JButton.java,
12692 javax/swing/text/DefaultEditorKit.java,
12693 javax/swing/text/EditorKit.java,
12694 javax/swing/text/Segment.java,
12695 javax/swing/text/StyledEditorKit.java:
12698 2004-07-21 Michael Koch <konqueror@gmx.de>
12700 * javax/swing/ImageIcon.java
12702 (description): Renamed from descr.
12703 (ImageIcon): Added missing constructors.
12704 (setParent): Removed.
12705 (setImageObserver): New method.
12706 (getImageObserver): New method.
12707 (paintIcon): Handle observer = null.
12708 * javax/swing/JButton.java
12709 (removeNotify): Fixed javadoc.
12710 (updateUI): Simplified.
12711 * javax/swing/JRootPane.java
12712 (serialVersionUID): New constant field.
12713 * javax/swing/UIManager.java:
12714 Fixed javadocs all over.
12715 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
12716 * javax/swing/text/AbstractDocument.java
12717 (createPosition): Throws BadLocationException.
12718 (getText): Likewise.
12719 (remove): Likewise.
12720 * javax/swing/text/ComponentView.java
12721 (modelToView): Likewise.
12722 * javax/swing/text/DefaultEditorKit.java:
12723 Made all public methods public.
12724 (read): Throws BadLocationException and IOException.
12726 * javax/swing/text/EditorKit.java:
12727 Made all public methods public.
12728 (serialVersionUID): New constant field.
12729 (clone): New method.
12730 (read): Throws BadLocationException and IOException.
12732 * javax/swing/text/Segment.java
12733 (array): Made public.
12735 (offset): Likewise.
12736 (Segment): New constructors.
12737 (clone): Reimplemented.
12738 * javax/swing/text/StyledEditorKit.java
12739 (serialVersionUID): New constant field.
12741 2004-07-21 Graydon Hoare <graydon@redhat.com>
12743 * java/awt/image/BufferedImage.java
12744 (getSource): Implement.
12745 * javax/swing/ImageIcon.java
12746 (ImageIcon): Implement ctor.
12747 * javax/swing/ScrollPaneLayout.java
12748 (preferredLayoutSize): Be more careful about nulls.
12750 2004-07-21 Michael Koch <konqueror@gmx.de>
12752 * javax/swing/text/AttributeSet.java
12753 (CharacterAttribute): New interface
12754 (ColorAttribute): Likewise.
12755 (FontCharacterAttribute): Likewise.
12756 (ParagraphAttribute): Likewise.
12757 * javax/swing/text/DefaultCaret.java
12758 (moveCaret): New method.
12759 (positionCaret): Likewise.
12760 (repaint): Made protected.
12761 * javax/swing/text/JTextComponent.java
12762 (KeyBinding): Made it static.
12763 * javax/swing/text/View.java
12764 (getContainer): Honor parent == null.
12766 2004-07-21 Michael Koch <konqueror@gmx.de>
12768 * javax/swing/text/AbstractDocument.java:
12771 2004-07-21 Michael Koch <konqueror@gmx.de>
12773 * javax/swing/plaf/basic/BasicRootPaneUI.java:
12774 Import javax.swing.UIManager explicitely.
12775 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12776 (ScrollingButton): Made it static.
12778 2004-07-21 Michael Koch <konqueror@gmx.de>
12780 * javax/swing/UIDefaults.java
12781 (ActiveValue): Made public.
12782 (LazyValue): Likewise.
12783 * javax/swing/plaf/basic/BasicTextUI.java
12784 (RootView): Reintroduced.
12786 (rootView): New field.
12787 (installUI): Create document if needed, initialize rootView.
12788 (uninstallUI): Hanle rootView.
12790 (getRootView): Likewise.
12791 (setView): Likewise.
12792 * javax/swing/text/DefaultCaret.java:
12793 Renamed all "evt" variables to "event".
12795 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12797 * libgcj.spec.in: Add -l-java-util-logging.
12799 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
12801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
12802 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
12803 gtk-xft-dpi can no calculate the right value.
12804 (dpi_changed_cb): Mark *pspec as unsused.
12806 2004-07-21 David Jee <djee@redhat.com>
12808 * java/awt/Component.java
12809 (move): Delegate to setBounds().
12810 (resize): Likewise.
12811 (reshape): Fix so it repaints parent and self only when necessary.
12813 2004-07-21 David Jee <djee@redhat.com>
12815 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12816 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12817 (GtkComponentPeer): Revert previous patch from 2004-06-22.
12818 (setVisible): Likewise.
12821 (getArgs): Likewise.
12822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12823 (property_notify_predicate): Likewise.
12824 (find_layout): Likewise.
12825 (connectJObject): Likewise.
12826 (connectSignals): Likewise.
12827 (moveLayout): Likewise.
12828 (gtkLayoutSetVisible): Likewise.
12830 2004-07-21 Graydon Hoare <graydon@redhat.com>
12833 (jv_convert_LDADD):
12836 (rmiregistry_LDADD): Add lib-java-util-logging.la
12837 * Makefile.in: Regenerate.
12839 2004-07-21 Michael Koch <konqueror@gmx.de>
12841 * javax/swing/text/AbstractDocument.java
12842 (replace): Dont use protected method of java.util.Vector directly.
12844 2004-07-21 Michael Koch <konqueror@gmx.de>
12846 * javax/swing/plaf/basic/BasicTextUI.java
12847 (installUI): Call specialized install methods.
12848 (installDefaults): New method.
12849 (installListeners): Likewise.
12850 (installKeyboardActions): Likewise.
12851 (uninstallUI): Likewise.
12852 (uninstallDefaults): New method.
12853 (uninstallListeners): Likewise.
12854 (uninstallKeyboardActions): Likewise.
12855 (getPropertyPrefix): New abstract method.
12856 (paint): Made final, just call paintSafely().
12857 (paintSavely): New method.
12858 (paintBackground): Likewise.
12859 (getVisibleEditorRect): Likewise.
12860 * javax/swing/text/LayeredHighlighter.java,
12861 javax/swing/text/TabExpander.java: New files.
12862 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
12863 and javax/swing/text/TabExpander.java.
12864 * Makefile.in: Regenerated.
12866 2004-07-21 Michael Koch <konqueror@gmx.de>
12868 * javax/swing/plaf/basic/BasicTextUI.java
12869 (BasicTextUI): Made abstract.
12870 (BasicCaret): New inner class.
12871 (view): Don't explicitely initialize with "null".
12872 (textComponent): New field.
12873 (textColor): Removed.
12874 (disabledTextColor): Removed.
12875 (normalBackgroundColor): Removed.
12876 (RootView): Removed commented out inner class.
12877 (createUI): Removed.
12878 (createCaret): New method.
12879 (getComponent): Likewise.
12880 (installUI): Initialize textComponent only.
12881 (getPreferredSize): Use installed JTextComponent.
12882 (setView): New method.
12883 (create): Likewise.
12884 * javax/swing/text/JTextComponent.java
12885 (highlighter): New field.
12886 (caretColor): Likewise.
12887 (disabledTextColor): Likewise.
12888 (seletedTextColor): Likewise.
12889 (selectionColor): Likewise.
12890 (setUI): New method.
12891 (getCaretColor): Likewise.
12892 (setCaretColor): Likewise.
12893 (getDisabledColor): Likewise.
12894 (setDisabledColor): Likewise.
12895 (getSelectedTextColor): Likewise.
12896 (setSelectedTextColor): Likewise.
12897 (getSelectionColor): Likewise.
12898 (setSelectionColor): Likewise.
12899 (getHighlighter): Likewise.
12900 (setHighlighter): Likewise.
12901 (replaceSelection): Likewise.
12903 2004-07-21 Michael Koch <konqueror@gmx.de>
12905 * javax/swing/plaf/basic/BasicScrollPaneUI.java
12906 (BasicScrollPaneUI): Implements ScrollPaneConstants.
12907 * javax/swing/plaf/basic/BasicToolBarUI.java
12908 (BasicToolBarUI): Implements SwingConstants.
12910 2004-07-21 Michael Koch <konqueror@gmx.de>
12912 * javax/swing/JPopupMenu.java: Removed CVS tags.
12913 * javax/swing/UIDefaults.java: Reformatted.
12914 * javax/swing/plaf/basic/BasicRootPaneUI.java:
12915 Explicitely import used classes.
12917 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12919 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12920 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12921 (GtkComponentPeer): Remove temporary try/catch block.
12922 (setVisible): Call show and hide.
12923 (show): Make native.
12925 (getArgs): Don't add "visible" argument.
12926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12927 (property_notify_predicate): Return Bool instead of int.
12928 (find_layout): New function.
12929 (connectJObject): Call find_layout.
12930 (connectSignals): Likewise.
12931 (moveLayout): Likewise.
12932 (gtkLayoutSetVisible): Likewise.
12934 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12936 * javax/swing/AbstractButton.java:
12937 (setDisplayedMnemonicIndex): Check if button
12938 text is not null before checking its length.
12939 * javax/swing/JMenuItem.java:
12940 (processMouseEvent): Disarm menu item if mouse has
12942 * javax/swing/plaf/basic/BasicMenuUI.java:
12943 (MouseInputHandler.mouseEntered): Do not raise
12944 popup menu if this menu is already selected.
12945 (MouseInputHandler.mousePressed): Do not fire
12947 (MenuHandler): Implemented.
12949 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12951 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
12952 (getSelectedObjects): Implemented.
12953 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
12954 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
12955 Added javadoc for few methods.
12956 (processMouseEvent): Made public.
12957 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
12958 (processMouseEvent): Likewise.
12960 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12962 * javax/swing/AbstractButton.java:
12963 (init): Set display mnemonic index to -1.
12964 (setMnemonic(char)): Use setMnemonic(int).
12965 (setMnemonic(int)): Set display mnemonic index.
12966 (getDisplayedMnemonicIndex): Change method signature
12967 by removing 'index' parameter.
12968 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12969 Added default for Menu.selectionBackground.
12970 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12971 (paintMenuItem): Change background color of the selected
12973 (paintText): Paint differently when menu item is disabled.
12974 Also paint mnemonic if it appears in the menu item's label.
12975 (paintAccelerator): Paint accelerator differently
12976 if menu item is disabled.
12977 * javax/swing/plaf/basic/BasicMenuUI.java:
12978 (installDefaults): Install defaults for
12979 selectionForeground and selectionBackground.
12980 (uninstallDefaults): Uninstall defauls for
12981 selectionForeground and selectionBackground.
12983 2004-07-21 Michael Koch <konqueror@gmx.de>
12985 * javax/swing/text/AbstractDocument.java
12986 (BranchElement): Implemented.
12987 (LeafElement): Implemented.
12988 * javax/swing/text/DefaultCaret.java:
12989 Import used classes.
12990 (serialVersionUID): New constant.
12991 * javax/swing/text/JTextComponent.java
12992 (AccessibleJTextComponent): Removed dead declaration.
12993 (caretPos): Removed.
12994 (setCaret): New method.
12995 * javax/swing/text/PlainDocument.java
12996 (rootElement): New field.
12997 (PlainDocument): Initialize rootElement.
12998 (createDefaultRoot): New method.
12999 (getDefaultRootElement): Implemented.
13000 * javax/swing/text/View.java: Reformatted.
13001 * javax/swing/text/ViewFactory.java
13002 (create): Added javadoc.
13004 2004-07-21 Michael Koch <konqueror@gmx.de>
13006 * javax/swing/ToolTipManager.java: Reformatted.
13008 2004-07-21 Rodimina Olga <rodimina@redhat.com>
13010 * javax/swing/AbstractButton.java
13011 (changeEvent): New field.
13012 (fireItemStateChanged): Change source of the event
13013 to 'this' before firing it to button listeners.
13014 (fireActionPerformed): Likewise.
13015 (fireStateChanged): Likewise.
13016 (createActionListener): Do not set source
13017 of the event to AbstractButton.
13018 * javax/swing/plaf/basic/BasicMenuBarUI.java:
13019 (ContainerHandler.componentAdded): Removed
13020 print out statement.
13021 (ContainerHandler.componentRemoved): Likewise.
13023 2004-07-21 Michael Koch <konqueror@gmx.de>
13025 * javax/swing/text/Highlighter.java: New file.
13026 * Makefile.am: Added javax/swing/text/Highlighter.java.
13027 * Makefile.in: Regenerated.
13029 2004-07-21 Michael Koch <konqueror@gmx.de>
13031 * javax/swing/ToolTipManager.java
13032 (stillInsideTimerAction): Fixed constructor arguments.
13033 (outsideTimerAction): Likewise.
13034 (insideTimerAction): Likewise.
13036 2004-07-21 Michael Koch <konqueror@gmx.de>
13038 * javax/swing/JButton.java: Reformatted.
13039 * javax/swing/JFormattedTextField.java
13040 (getUIClassID): Implemented.
13041 * javax/swing/JRootPane.java
13042 (serialVersionUID): New constant.
13043 * javax/swing/JTextField.java
13044 (align): New field.
13045 (JTextField): Simplified.
13046 (getUIClassID): New method.
13047 (getActionListeners): Added @since tag.
13048 (setColumns): Invalidate layout and repaint.
13049 (getHorizontalAlignment): New method.
13050 (setHorizontalAlignment): New method.
13051 (selectAll): Removed.
13052 * javax/swing/SwingUtilities.java
13053 (getAncestorOfClass): Removed redundant @see tag.
13054 (isLeftMouseButton): Fixed implementation.
13055 (isMiddleMouseButton): Likewise.
13056 (isRightMouseButton): Likewise.
13057 * javax/swing/text/AbstractDocument.java
13058 (AttributeContext.addAttribute): New method.
13059 (AttributeContext.addAttributes): New method.
13060 (AttributeContext.getEmptySet): New method.
13061 (AttributeContext.reclaim): New method.
13062 (AttributeContext.removeAttribute): New method.
13063 (AttributeContext.removeAttributes): New method.
13064 * javax/swing/text/Document.java
13065 (createPosition): Throws BadLocationException.
13066 (getText): Likewise.
13067 (remove): Likewise.
13068 * javax/swing/text/JTextComponent.java
13069 (getText): Return null if no document is set. Catch
13070 BadLocationException.
13071 (getUI): Return ui.
13072 (updateUI): Simplified.
13074 2004-07-21 Michael Koch <konqueror@gmx.de>
13076 * javax/swing/JButton.java
13077 (removeNotify): Fixed javadoc.
13078 (updateUI): Simplified.
13080 2004-07-21 David Jee <djee@redhat.com>
13082 * gnu/java/awt/image/ImageDecoder.java
13083 (startProduction): Only add consumer if it's not added yet.
13084 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
13085 (GdkPixbufDecoder): Don't call initState() here.
13086 (produce): Call initState() here, to ensure area_prepared and
13087 area_updated signals are properly connected.
13088 * gnu/java/awt/peer/gtk/GtkImage.java
13089 (setColorModel): Use equals() to compare ColorModel objects.
13090 (setPixels): Likewise.
13091 * java/awt/image/ColorModel.java
13092 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
13093 * java/awt/image/RGBImageFilter.java
13094 (setColorModel): Set consumer's color model.
13095 (setPixels): Use equals() to compare ColorModel objects.
13097 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
13099 * java/net/URLConnection.java (position): New field.
13100 (dateFormat1, dateFormat2, dateFormat3): Removed.
13101 (dateFormats): New field.
13102 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
13103 each time instead of re-allocating.
13104 (initializeDateFormats): Initialize 'dateFormats'.
13106 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13109 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
13112 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13114 * java/net/Socket.java (getImpl): Now private. Remove comment.
13116 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13118 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
13119 of chained Writer when calling super-constructor.
13120 * java/io/FilterWriter.java (FilterWriter): Likewise.
13121 * java/io/PrintWriter.java (PrintWriter): Likewise.
13123 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
13125 * prims.cc (process_gcj_properties): Don't increment i within LHS
13128 2004-07-19 Per Bothner <per@bothner.com>
13130 Print -verbose:message on "loading", not initialization.
13131 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
13132 * defineclass.cc (_Jv_ClassReader::parse): Print message if
13133 gcj::verbose_class_flag.
13134 * java/lang/natClass.cc (initializeClass): Don't print message here.
13135 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
13136 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
13137 (_Jv_PrepareCompiledClass): Likewise.
13139 2004-07-18 Matthias Klose <doko@debian.org>
13141 * configure.in: Substitute target_noncanonical.
13142 * configure: Regenerate
13144 2004-07-17 Michael Koch <konqueror@gmx.de>
13146 * java/lang/String.java: Fixed javadocs all over.
13148 2004-07-17 Mark Wielaard <mark@klomp.org>
13150 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
13151 when size is smaller.
13152 * java/io/RandomAccessFile.java (setLength): Use truncate for
13153 shrinking the file and seek plus write for expanding the file.
13155 2004-07-17 Michael Koch <konqueror@gmx.de>
13157 * gnu/java/nio/channels/natFileChannelPosix.cc
13158 (implTruncate): Always save current position. Only reposition file
13159 pointer to where we started if not beyond new lenght. Reposition file
13160 pointer to file length if it points beyond the end of file.
13162 2004-07-17 Mark Wielaard <mark@klomp.org>
13164 * javax/swing/Box.java: Put FIXME comment above class declaration.
13165 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
13166 * javax/swing/JCheckBox.java: Likewise.
13167 * javax/swing/JDialog.java: Likewise.
13168 * javax/swing/JRadioButton.java: Likewise.
13169 * javax/swing/JToggleButton.java: Likewise.
13170 * javax/swing/UIManager.java: Likewise.
13171 * javax/swing/border/TitledBorder.java: Likewise.
13172 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
13173 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
13174 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
13175 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
13176 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
13177 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
13178 * javax/swing/text/JTextComponent.java: Likewise.
13180 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
13182 * java/net/DatagramPacket.java (setAddress): Removed check for
13185 2004-07-17 Michael Koch <konqueror@gmx.de>
13187 * java/net/DatagramSocket.java
13188 (getLocalAddress): Check if socket is bound or not.
13189 * java/net/Socket.java
13190 (getLocalAddrss): Check if socket is bound or not.
13191 (getPort): Return -1 when not connected. Dont check getImpl() for
13193 (setReuseAddress): Check if socket is closed.
13194 (isConnected): Check if getImpl() returns null.
13196 2004-07-17 Mark Wielaard <mark@klomp.org>
13198 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
13199 on notifier object before calling notifyAll().
13201 2004-07-17 Michael Koch <konqueror@gmx.de>
13203 * gnu/java/nio/channels/FileChannelImpl.java
13204 (finalize): Added javadoc.
13206 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
13208 * java/text/CollationElementIterator.java
13209 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
13210 (setText): Use ArrayList instead of Vector.
13212 2004-07-17 Michael Koch <konqueror@gmx.de>
13214 * java/nio/ByteOrder.java
13215 (static): Removed. Not needed.
13216 Thanks to Patrick Reali for noticing.
13217 * java/nio/charset/CharsetDecoder.java
13218 (decode): Fix for classpath bug #9177: Reset state before flipping.
13220 2004-07-17 Michael Koch <konqueror@gmx.de>
13222 * java/security/Security.java: Fixed javadocs all over.
13224 2004-07-17 Michael Koch <konqueror@gmx.de>
13226 * gnu/java/awt/EmbeddedWindow.java
13228 (addNotify): Set peer via reflection.
13229 (setWindowPeer): Removed.
13230 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
13231 * Makefile.am (nat_source_files):
13232 Removed gnu/java/awt/natEmbeddedWindow.cc.
13233 * Makefile.in: Regenerated.
13235 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
13237 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
13239 * configure: Regenerated.
13241 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
13243 * configure.in: Use build_noncanonical rather than build_alias.
13244 * configure: Rebuild.
13246 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
13247 by logic refactoring. Move default definition of NATIVE closer
13248 to first alternate definition.
13249 * configure: Regenerate.
13251 * Makefile.am: Set ZIP and GCJH directly using autoconf.
13252 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
13253 gcj/Makefile.in: Regenerate.
13254 * configure.in: Set ZIP and GCJH. Remove redundant condition
13255 in AM_CONDITIONAL(NATIVE,...)
13256 * configure: Regenerate.
13258 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
13260 * configure.in: Use target_noncanonical rather than
13261 target_alias for forward-compatibility with autoconf 2.59.
13262 * configure: Regenerate.
13263 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
13264 testsuite/Makefile.am: Substitute target_noncanonical.
13265 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
13266 testsuite/Makefile.in: Regenerate.
13268 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
13269 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
13270 * acinclude.m4: Include acx.m4.
13271 * aclocal.m4: Regenerate.
13272 * configure: Regenerate.
13274 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
13277 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
13278 (decimalFormat): New static variable.
13280 (getTime): New. Override Date.getTime().
13281 (toString): Synchronize. Use decimalFormat to format nanos value
13282 correctly. Truncate extra zeros.
13283 (before): Compare getNanos() only if getTime() is equal.
13286 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
13288 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
13289 * configure.in: ...here.
13290 * aclocal.m4: Regenerate.
13291 * configure: Regenerate.
13293 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
13294 * configure: Rebuilt with autoconf 2.13.
13295 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
13296 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
13298 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
13301 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
13302 large file support.
13303 * Makefile.in: Rebuilt.
13304 * testsuite/libjava.lang/LargeFile.java: New test case.
13305 * testsuite/libjava.lang/LargeFile.out: New file.
13307 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
13309 * java/beans/EventHandler.java: Remove debugging statements.
13311 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
13313 * java/beans/EventHandler.java: New file.
13314 * Makefile.am (awt_java_source_files): Add EventHandler.java.
13315 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
13316 testsuite/Makefile.in: Regenerate.
13318 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
13320 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
13321 flag to the gcj_setup.
13322 (gcj_jacks_run): Check tclsh version and launch jacks directly with
13324 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
13325 deprecation flag change. 58 XFAILS removed.
13327 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
13329 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
13330 -fno-use-divide-subroutine.
13331 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
13332 (HANDLE_FPE): Define.
13333 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
13334 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
13335 (HANDLE_DIVIDE_OVERFLOW): Define.
13337 2004-07-14 Michael Koch <konqueror@gmx.de>
13338 Matthias Klose <doko@debian.org>
13340 * java/awt/im/InputContext.java: Initialize in, line.
13342 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
13344 * interpret.cc (run): Correctly access libffi return values of
13345 integral smaller-than-int type; these are implicitly promoted.
13347 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
13350 * interpret.cc (compile_mutex): New.
13351 (_Jv_InitInterpreter): New. Initialize compile_mutex.
13352 (run): Lock compile_mutex before calling compile() if compilation is
13354 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
13355 * include/java-interp.h (_Jv_InitInterpreter): Declare.
13357 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
13360 * include/jvm.h (_Jv_value): New union type.
13361 * gcj/field.h (_Jv_Field): Add new _addr union field variants
13362 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
13365 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
13367 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
13368 * gnu/awt/xlib/XOffScreenImage.java
13369 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
13370 constructor argument. Add constructor using ImageProducer.
13371 (getSource): Implement.
13372 (imageComplete): New method.
13373 (setColorModel): New method.
13374 (setDimensions): New method.
13375 (setHints): New method.
13376 (setPixels): New method.
13377 (setProperties): New method.
13378 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
13379 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
13381 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
13384 * prims.cc (_Jv_CreateJavaVM): Fix comment.
13385 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
13386 (finalizerReady): Now native.
13388 (runFinalizers): Removed.
13389 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
13390 a primitive lock, and don't hold it while running the finalizers.
13391 (runFinalizers): Implement. Don't aquire any Java lock.
13392 (finalizerReady): Use lock primitives to signal finalizer thread.
13394 2004-07-11 Mark Wielaard <mark@klomp.org>
13396 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
13397 * java/net/URLStreamHandler.java (parseURL): When url file part
13398 doesn't contain a '/' just ignore context.
13400 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
13402 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
13403 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
13404 (MAKE_THROW_FRAME): Do not modify PSW address.
13405 (INIT_SEGV): Install SIGINFO-style signal handler.
13406 (INIT_FPE): Likewise.
13408 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
13410 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
13411 status. 21 xfail's removed, 1 added.
13413 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
13415 * gcj/javaprims.h: Regenerate CNI namespace definitions.
13417 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
13419 * java/text/MessageFormat.java
13420 (formatInternal): Append "{n}" if argument n is unavailable.
13421 (format(Object, StringBuffer, FieldPosition)): This
13422 should be equivalent to format(Object[],
13423 StringBuffer, FieldPosition).
13425 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13427 * java.util.Calendar.java (cache): New private static field. Cached
13428 mappings of locales->calendar classes.
13429 (ctorArgTypes): New private static field. Singleton argument for
13430 calendar class constructor lookup.
13431 (getInstance): Cache Locale->Calendar class mappings using HashMap.
13432 Optimize by bypassing reflection instantiation for the
13433 GregorianCalendar case.
13435 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13437 * java/util/Calendar.java: Use getSystemClassLoader as argument for
13438 ResourceBundle.getBundle() calls.
13439 * java/util/GregorianCalendar.java: Likewise.
13440 * java/util/Currency.java: Likewise.
13441 * java/text/BreakIterator.java: Likewise.
13442 * java/text/Collator.java: Likewise.
13443 * java/text/DateFormat.java: Likewise.
13444 * java/text/DateFormatSymbols.java: Likewise.
13445 * java/text/DecimalFormatSymbols.java: Likewise.
13446 * java/text/NumberFormat.java: Likewise.
13447 * java/awt/Window.java: Likewise.
13449 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13451 * java/util/ResourceBundle.java (bundleCache): Renamed from
13452 resourceBundleCache. Update comments.
13453 (getObject): Don't catch MissingResourceException.
13454 (getBundle(String)): Remove 'final'. Use system classloader if
13455 getCallingClassLoader returned null.
13456 (getBundle(String, Locale)): Likewise.
13457 (BundleKey): New private class. HashMap key for bundle cache lookup.
13458 (lookupKey): New. Singleton instance of BundleKey.
13459 (nullEntry): New. Cache entry to represent failed lookups.
13460 (getBundle(String, Locale, ClassLoader)): Re-written to use new
13461 caching strategy, no-allocation lookup, and new tryBundle methods.
13462 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
13463 name using given classloader.
13464 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
13465 baseName for given Locale and attempt to load bundle.
13467 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13469 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
13470 illegal protected method calls.
13472 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13474 Fix or remove some bogus test cases.
13475 * testsuite/libjava.compile/pr10459_2.java: Removed.
13476 * testsuite/libjava.compile/pr10459.java: Test using its own method,
13477 not Object.clone().
13478 * testsuite/libjava.compile/inner_data.java: Test against its own
13481 2004-07-09 Michael Koch <konqueror@gmx.de>
13483 * scripts/unicode-muncher.pl: Updated to version 2.1
13484 from GNU classpath. Added some clarifications on where to find the
13485 needed files from www.unicode.org.
13486 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
13487 gnu/gcj/convert/UnicodeData-3.0.0.txt:
13488 Removed, these can directly be downloaded from www.unicode.org if
13490 * gnu/java/lang/CharData.java: Regenerated.
13491 * include/java-chartables.h: Regenerated.
13492 * Makefile.am (ordinary_java_source_files):
13493 Removed gnu/java/lang/CharData.java.
13494 * Makefile.in: Regenerated.
13496 2004-07-09 Michael Koch <konqueror@gmx.de>
13498 * java/security/AccessControlContext.java,
13499 java/security/SecureClassLoader.java:
13502 2004-07-09 Michael Koch <konqueror@gmx.de>
13504 * java/io/ObjectInputStream.java (readFields): Use long datatype
13505 when shifting byte values more then 24 bits left.
13507 2004-07-09 Michael Koch <konqueror@gmx.de>
13509 * java/util/zip/DeflaterOutputStream.java,
13510 java/util/zip/GZIPInputStream.java,
13511 java/util/zip/GZIPOutputStream.java,
13512 java/util/zip/InflaterInputStream.java:
13513 Reformatted. Added javadocs. Reordered all stuff.
13514 Renamed variables to be more clear.
13516 2004-07-09 Michael Koch <konqueror@gmx.de>
13518 * javax/imageio/IIOException.java,
13519 javax/imageio/event/IIOReadProgressListener.java,
13520 javax/imageio/event/IIOReadUpdateListener.java,
13521 javax/imageio/event/IIOReadWarningListener.java,
13522 javax/imageio/event/IIOWriteProgressListener.java,
13523 javax/imageio/event/IIOWriteWarningListener.java:
13525 * Makefile.am: Added new files.
13526 * Makefile.in: Regenerated.
13528 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
13530 * java/text/RuleBasedCollator.java
13531 (mergeRules): Use ArrayList instead of Vector.
13532 (subParseString): likewise.
13533 (parseString): likewise.
13534 (buildCollationVector): likewise.
13535 (getCollationKey): likewise.
13537 2004-07-09 Dalibor Topic <robilad@kaffe.org>
13539 * java/text/DateFormat.java (parse):
13540 Improved javadoc. Improved exception message.
13542 2004-07-09 Mark Wielaard <mark@klomp.org>
13544 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
13545 interrupted() method to clear interupt flag of our Thread.
13547 2004-07-09 Dalibor Topic <robilad@kaffe.org>
13549 * java/nio/Buffer.java,
13550 java/nio/ByteBuffer.java,
13551 java/nio/ByteBufferHelper.java,
13552 java/nio/ByteBufferImpl.java,
13553 java/nio/CharBuffer.java,
13554 java/nio/CharBufferImpl.java,
13555 java/nio/CharViewBufferImpl.java,
13556 java/nio/DirectByteBufferImpl.java,
13557 java/nio/DoubleBuffer.java,
13558 java/nio/DoubleBufferImpl.java,
13559 java/nio/DoubleViewBufferImpl.java,
13560 java/nio/FloatBuffer.java,
13561 java/nio/FloatBufferImpl.java,
13562 java/nio/FloatViewBufferImpl.java,
13563 java/nio/IntBuffer.java,
13564 java/nio/IntBufferImpl.java,
13565 java/nio/IntViewBufferImpl.java,
13566 java/nio/LongBuffer.java,
13567 java/nio/LongBufferImpl.java,
13568 java/nio/LongViewBufferImpl.java,
13569 java/nio/MappedByteBufferImpl.java,
13570 java/nio/ShortBuffer.java,
13571 java/nio/ShortBufferImpl.java,
13572 java/nio/ShortViewBufferImpl.java:
13573 Fixed javadocs all over. Improved input error
13576 * java/nio/Buffer.java
13577 (checkForUnderflow, checkForOverflow, checkIndex,
13578 checkIfReadOnly, checkArraySize): New helper methods
13579 for error checking.
13581 * java/nio/ByteBufferHelper.java
13582 (checkRemainingForRead, checkRemainingForWrite,
13583 checkAvailableForRead, checkAvailableForWrite): Removed
13584 no longer needed methods.
13586 2004-07-09 Michael Koch <konqueror@gmx.de>
13588 * gnu/regexp/CharIndexedInputStream.java:
13589 Reordered imports to match classpath.
13591 2004-07-09 Michael Koch <konqueror@gmx.de>
13593 * gnu/java/awt/EmbeddedWindow.java:
13594 Load native library for setWindowPeer method.
13596 2004-07-08 Randolph Chung <tausq@debian.org>
13598 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
13599 * configure: Regenerate.
13600 * configure.host: Set can_unwind_signal for hppa*-linux.
13601 * include/pa-signal.h: New file.
13603 2004-07-07 Per Bothner <per@bothner.com>
13605 * Makefile.am: Add rules to build libgij from just gij.cc.
13607 * include/jvm.h (namespace jcj): Declare verbose_class_flag
13608 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
13609 (initializeClass): If verbose_class_flag, print message.
13610 * gij.cc (main): Handle -verbose:class flag.
13612 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
13614 * configure.host: Enable hash synchronization on Darwin.
13615 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
13616 ';', since this is a comment on Darwin.
13617 (compare_and_swap_release): Likewise.
13619 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
13621 * java/net/URLStreamHandler.java (parseURL): Canonicalize
13622 file portion of URL in addition to spec for file: protocol.
13624 2004-07-05 Anthony Green <green@redhat.com>
13626 * java/io/File.java (toURI): Merge from Classpath.
13628 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
13630 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
13631 before passing to URL constructor. Rethrow any MalformedURLException
13632 as a RuntimeException. Catch MalformedURLException specifically, not
13635 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
13637 * java/util/Locale.java (readObject): Intern strings read from object
13640 2004-07-04 Michael Koch <konqueror@gmx.de>
13642 * gnu/gcj/runtime/FirstThread.java,
13643 gnu/gcj/runtime/natFirstThread.cc: Removed.
13644 * gnu/java/lang/MainThread.java,
13645 gnu/java/lang/natMainThread.cc: New files.
13646 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
13647 * Makefile.am: Added new files and removed deleted ones.
13648 * Makefile.in: Regenerated.
13650 2004-07-03 Mark Wielaard <mark@klomp.org>
13651 Anthony Green <green@redhat.com>
13653 * java/net/URL.java (getFile): Clarify return value doc.
13654 (getPath): Return null if file is empty - not empty String.
13655 (set): Convert protocol to lower case before doing anything.
13656 Only change the protocol handler if it's different.
13658 2004-07-03 Anthony Green <green@redhat.com>
13660 * java/net/URL.java (URL): Convert protocol to lower case before
13661 doing anything, so we getURLStreamHandler() with the proper value.
13663 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
13665 * java/util/Locale.java (hashcode): Made transient.
13666 (hashCode): No longer synchronized.
13667 (equals): Remove comment.
13668 (writeObject): No longer synchronized. Implement using writeObject
13669 calls instead of tweaking hashCode field. Update doc.
13670 (readObject): Implement using readObject calls.
13672 2004-06-26 Geoffrey Keating <geoffk@apple.com>
13673 Andreas Tobler <a.tobler@schweiz.ch>
13675 * configure.host (powerpc-*-darwin*): New case, define
13677 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
13678 * configure: Regenerate.
13679 * include/darwin-signal.h: New.
13681 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
13683 * java/beans/Statement.java (doExecute): Fix formatting.
13685 2004-06-29 Per Bothner <per@bothner.com>
13687 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
13688 etc etc): Remove needless parenthesis, which causes __stdcall__
13689 attribute on MinGW to get ignored.
13691 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
13693 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
13695 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
13697 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
13699 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
13701 * java/beans/Expression.java: New file.
13702 * java/beans/Statement.java: New file.
13703 * Makefile.am: Added new files.
13704 * Makefile.in: Re-generate.
13706 2004-06-27 Mark Wielaard <mark@klomp.org>
13708 * java/io/FilePermission.java (usingPerms): Removed.
13709 (actionsString): Made final.
13710 (cachePerms): Renamed to checkPerms.
13711 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
13713 (FilePermission): Check arguments, call checkPerms().
13714 (equals): Remove cachePerms() call.
13715 (implies): Likewise.
13717 2004-06-27 Mark Wielaard <mark@klomp.org>
13719 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
13721 (sendRequest): Use new field in user-agent http agent.
13723 2004-06-27 Mark Wielaard <mark@klomp.org>
13725 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
13726 when argument is null.
13728 2004-06-26 Mark Wielaard <mark@klomp.org>
13730 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13731 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
13733 (cancel_clicked): Likewise.
13735 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
13737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13738 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
13739 can not calculate the right value.
13740 (dpi_changed_cb): Likewise. Mark *pspec as unused.
13742 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
13744 * testsuite/libjava.jacks/jacks.xfail: Remove
13745 15.9.1-qualified-concrete-20.
13747 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
13749 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
13750 encoding name to iconv.
13751 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
13753 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
13756 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
13757 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
13758 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
13760 2004-06-21 Andrew Haley <aph@redhat.com>
13762 * java/io/ObjectOutputStream.java: Add DEBUG statements
13764 (dumpElementln): New method.
13765 (depth): New field.
13766 * java/io/ObjectInputStream.java
13767 (currentClassLoader): Make native.
13768 (callersClassLoader): New field.
13769 (depth): New field.
13770 (readObject): ENDBLOCKDATA is generated if the class has a write
13771 method, not if it has a read method.
13772 (readObject): Save and restore this.currentObject and
13773 this.currentObjectStreamClass around calls to callReadMethod().
13774 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
13777 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
13779 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
13782 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
13784 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
13785 if desired, before the default class loader is initialised.
13786 Call INIT_SEGV only if HANDLE_SEGV is defined.
13788 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
13790 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
13791 directory only if it actually exists.
13793 2004-06-18 Graydon Hoare <graydon@redhat.com>
13795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
13796 Fix up non-ansi comments.
13798 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
13800 * javax/swing/text/AbstractDocument.java: Adding missing import
13801 for javax.swing.event.EventListenerList.
13802 * javax/swing/text/DefaultCaret.java: Likewise.
13804 2004-06-17 Michael Koch <konqueror@gmx.de>
13806 * javax/swing/JToolBar.java
13808 (JToolBar): Use Component.setName(String) instead of doing it all
13810 * javax/swing/Timer.java
13811 (queueEvent): Added missing modifier.
13813 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
13815 * Makefile.am: Added new file.
13816 * Makefile.in: Re-generate.
13817 * javax/swing/JMenu.java:
13818 (insertSeparator): Implemented.
13819 * javax/swing/JPopupMenu.java:
13820 (JPopupMenu.Separator): Implemented.
13821 * javax/swing/MenuSelectionManager.java:
13822 (processMouseEvent): Use java.awt.Component
13823 for event source instead of javax.swing.JComponent.
13824 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
13825 New File. Implemented.
13827 2004-06-16 David Jee <djee@redhat.com>
13829 * java/awt/GridBagLayout.java
13830 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
13831 Make sure pos_x and pos_y are never negative.
13833 2004-04-16 Andrew Overholt <overholt@redhat.com>
13835 * Makefile.am: Add new file.
13836 * Makefile.in: Re-generate.
13837 * javax/swing/JToolBar.java
13838 Partially implemented.
13839 * javax/swing/plaf/basic/BasicToolBarUI.java
13840 New file. Partially implemented.
13842 2004-06-16 Graydon Hoare <graydon@redhat.com>
13844 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13845 (setComposite): Accept AlphaComposite arguments.
13846 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
13847 (createBufferedImage): Add new overloads.
13848 * gnu/java/awt/peer/gtk/GtkToolkit.java
13849 (createImage): Use GdkPixbufDecoder.createBufferedImage
13850 when useGraphics2D() is true.
13851 (getImage): Delegate to createImage.
13852 * javax/swing/JList.java
13853 (isSelectionEmpty):
13854 (getFirstVisibleIndex):
13855 (getLastVisibleIndex):
13856 (setSelectedValue):
13857 (ensureIndexIsVisible): New methods.
13858 * javax/swing/Timer.java: Reimplement.
13860 2004-06-16 Michael Koch <konqueror@gmx.de>
13862 * javax/swing/text/AbstractDocument.java
13863 (AbstracElement): Made public, implements java.io.Serializable.
13864 (AttributeContext): Made public.
13865 (BranchElement): Likewise.
13866 (Content): Likewise.
13867 (DefaultDocumentEvent): Made public, extends
13868 javax.swing.undo.CompoundEdit.
13869 (ElementEdit): Made public, extends
13870 javax.swing.undo.AbstractUndoableEdit.
13871 (LeafElement): Made public.
13872 (LeafElement.LeafElement): Made public.
13874 2004-06-16 Michael Koch <konqueror@gmx.de>
13876 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
13877 methods (that were obviously never be intended to get included hi this
13878 class. Added some methods too.
13880 2004-06-16 Michael Koch <konqueror@gmx.de>
13882 * javax/swing/text/PlainDocument.java
13883 (serialVersionUID): New constant.
13884 (lineLimitAttribute): Likewise.
13885 (tabSizeAttribute): Likewise.
13886 (tabSize): New field.
13887 (PlainDocument): Made public.
13888 (PlainDocument): New constructor.
13890 2004-06-16 Michael Koch <konqueror@gmx.de>
13892 * javax/swing/text/AbstractDocument.java
13893 (insertString): Throws BadLocationException.
13894 * javax/swing/text/Document.java
13895 (insertString): Likewise.
13896 * javax/swing/text/JTextComponent.java:
13897 Javadocs and comments cleaned up.
13899 2004-06-16 Michael Koch <konqueror@gmx.de>
13901 * javax/swing/event/UndoableEditListener.java: Reformatted.
13902 * javax/swing/text/AbstractDocument.java
13903 (AbstractDocument): Implements java.io.Serializable.
13904 (doc_list): Removed.
13905 (undo_list): Removed.
13906 (AbstractElement.serialVerionUID): New field.
13907 (BranchElement.serialVerionUID): Likewise.
13908 (DefaultDocumentEvent.serialVerionUID): Likewise.
13909 (ElementEdit.serialVerionUID): Likewise.
13910 (LeafElement.serialVerionUID): Likewise.
13911 (serialVerionUID): Likewise.
13912 (BAD_LOCATION): New constant.
13913 (BidiElementName): Likewise.
13914 (ContentElementName): Likewise.
13915 (ParagraphElementName): Likewise.
13916 (SectionElementName): Likewise.
13917 (ElementNameAttribute): Likewise.
13918 (AbstractDocument): Made protected.
13919 (AbstractDocument): New construtor.
13920 (listenerList): New field.
13921 (fireChangedUpdate): Implemented.
13922 (fireInsertUpdate): Likewise.
13923 (fireRemoveUpdate): Likewise.
13924 (fireUndoableEditUpdate): Likewise.
13925 (getListeners): Likewise.
13926 (addDocumentListener): Likewise.
13927 (removeDocumentListener): Likewise.
13928 (addUndoableEditListener): Likewise.
13929 (removeUndoableEditListener): Likewise.
13930 (getDocumentListeners): New method.
13931 (getUndoableEditListeners): Likewise.
13932 (getAsynchronousLoadPriority): Made public.
13933 (getBidiRootElement): Likewise.
13934 (setAsynchronousLoadPriority): Likewise.
13935 (setDocumentProperties): Likewise.
13936 * javax/swing/text/BadLocationException.java
13937 (serialVerionUID): New field.
13938 * javax/swing/text/DefaultCaret.java
13939 (changeEvent): New field.
13940 (listenerList): Likewise.
13941 (changes): Removed.
13942 (addChangeListener): Reimplemented.
13943 (removeChangeListener): Likewise.
13944 (getListeners): New method.
13945 (getChangeListeners): Likwise.
13946 (getComponent): Likewise.
13947 * javax/swing/text/GapContent.java
13948 (GapContent): Implements java.io.Serializable.
13949 (serialVerionUID): New field.
13951 2004-06-16 Michael Koch <konqueror@gmx.de>
13953 * javax/swing/JTree.java
13954 (treeModel): New field.
13955 (JTree): New constructors, one existing one made public.
13956 (createTreeModel): New method.
13957 (addTreeExpansionListener): Likewise.
13958 (removeTreeExpansionListener): Likewise.
13959 (getTreeExpansionListeners): Likewise.
13960 (fireTreeCollapsed): Likewise.
13961 (fireTreeExpanded): Likewise.
13962 (addTreeSelectionListener): Likewise.
13963 (removeTreeSelectionListener): Likewise.
13964 (getTreeSelectionListeners): Likewise.
13965 (fireValueChanged): Likewise.
13966 (addTreeWillExpandListener): Likewise.
13967 (removeTreeWillExpandListener): Likewise.
13968 (getTreeWillExpandListeners): Likewise.
13969 (fireTreeWillCollapse): Likewise.
13970 (fireTreeWillExpand): Likewise.
13972 2004-06-16 Michael Koch <konqueror@gmx.de>
13974 * javax/swing/JTree.java: Reformatted.
13976 2004-06-16 Michael Koch <konqueror@gmx.de>
13978 * javax/swing/JTextArea.java: New file.
13979 * javax/swing/JTextField.java
13980 (actions): Removed.
13981 (notifyAction): New constant.
13982 (columns): New field.
13983 (JTextField): New constructors.
13984 (createDefaultModel): New method.
13985 (addActionListener): Reimplmemented.
13986 (removeActionListener): Reimplemented.
13987 (getActionListeners): New method.
13988 (fireActionPerformed): New method.
13989 (getColumns): New method.
13990 (setColumne): New method.
13991 * javax/swing/text/JTextComponent.java
13992 (AccessibleJTextComponent.serialVersionUID): New field.
13993 (serialVersionUID): Likewise.
13994 (DEFAULT_KEYMAP): Likewise.
13995 (FOCUS_ACCELERATOR_KEY): Likewise.
13996 (doc): Made private.
13997 (icon_gap): Likewise.
14000 (JTextComponent): Some constructors removed.
14001 (getScrollableTracksViewportHeight): New method.
14002 (getScrollableTracksViewportWidth): Likewise.
14003 * Makefile.am: Added javax/swing/JTextArea.java.
14004 * Makefile.in: Regenerated.
14006 2004-06-15 Graydon Hoare <graydon@redhat.com>
14008 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
14009 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
14010 * javax/swing/JViewport.java
14011 (getExtentSize): Return size rather than preferred size.
14012 (toViewCoordinates): New methods.
14013 (getViewSize): Return size rather than preferred size.
14014 (setViewSize): Note view size as set.
14015 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
14016 * javax/swing/plaf/basic/BasicScrollBarUI.java
14017 (getPreferredSize): Don't redo layout.
14018 * javax/swing/plaf/basic/BasicViewportUI.java
14019 (paint): Translate image properly and eat exceptions.
14021 2004-06-15 Kim Ho <kho@redhat.com>
14023 * javax/swing/JTabbedPane.java
14024 (setComponent): Remove old component and
14026 (setSelectedIndex): Don't operate on the
14027 components if they're null. Don't set index
14028 on the model if the index is the same.
14029 (insertTab): Don't add or hide the component
14030 if it's null. Repaint the container.
14031 * javax/swing/plaf/basic/BasicLookAndFeel.java
14032 Change colors for TabbedPane.
14033 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
14034 (mousePressed): Re-layout and paint the component.
14035 (layoutContainer): Don't set location on the view.
14036 (ScrollingViewport::paint): Remove.
14038 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
14040 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14041 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
14043 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
14044 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
14045 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
14047 (drawLine): Call gdk_flush before leaving GDK critical region.
14048 (fillRect): Likewise.
14049 (drawRect): Likewise.
14050 (copyArea): Likewise.
14051 (copyPixmap): Likewise.
14052 (clearRect): Likewise.
14053 (drawArc): Likewise.
14054 (drawPolyline): Likewise.
14055 (drawPolygon): Likewise.
14056 (fillPolygon): Likewise.
14057 (fillArc): Likewise.
14058 (drawOval): Likewise.
14059 (fillOval): Likewise.
14061 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
14063 (GdkFontMetrics): Add style argument to initState call.
14064 (stringWidth(String,int,int,String)): Add style parameter.
14065 (stringWidth(String)): Add style argument to stringWidth call.
14066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
14067 (initState): Set pango font style and weight based on AWT style
14068 parameter. Pass default GTK language to
14069 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
14070 simply dividing by PANGO_SCALE.
14071 (stringWidth): Set pango font style and weight based on AWT style
14074 * java/awt/Button.java (next_button_number): New field.
14075 (paramString): Change output.
14076 (generateName): New method.
14077 (getUniqueLong): New method.
14079 2004-06-14 Kim Ho <kho@redhat.com>
14081 * javax/swing/JTabbedPane.java:
14082 (setComponentAt): Set the component, not
14083 the enabled status.
14084 * javax/swing/plaf/basic/BasicDesktopIconUI.java
14085 (actionPerformed): Let deiconize catch exception.
14087 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14089 * javax/swing/JPopupMenu.java:
14090 (setVisible): Corrected location of a
14091 heavyweight popup menu.
14093 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14095 * javax/swing/MenuSelectionManager.java:
14096 Ran through jalopy to fix formatting style.
14098 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14100 * javax/swing/JLayeredPane.java:
14101 (remove): Revalidate and repaint layered pane after
14102 the component was removed.
14103 javax/swing/JMenu.java:
14104 (setVisible): Display popup menu at the user location,
14105 if one was set by the user.
14106 (setMenuLocation): Reimplemented. Fixed javadoc.
14107 * javax/swing/JMenuBar.java: Added javadoc.
14108 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
14109 (MODEL_CHANGED_PROPERTY): New Property.
14110 (isSelected): Implemented.
14111 (setBorderPainted): Fire PropertyChangeEvent
14112 if paintBorder property changes.
14113 (setSelected): Implemented.
14114 (setSelectionModel): Implemented.
14115 * javax/swing/JPopupMenu.java: Added Javadoc
14116 (pack): Implemented.
14117 (setVisible): Reimplemented.
14118 (show): Fixed location.
14119 (JPopupMenu.LigthWeightPopup): Reimplemented to use
14120 Container instead of JPanel.
14121 * javax/swing/MenuSelectionManager.java: Added Javadocs.
14122 (clearSelectedPath): Reimplemented to clear selectedPath
14124 (processMouseEvent): Reimplemented.
14125 (setSelectedPath): Fire stateChange event indicating that
14126 selected menu path has changed.
14127 (getPath): Change to use ArrayList instead of Vector.
14128 * javax/swing/plaf/basic/BasicMenuBarUI.java:
14129 (installUI): call installKeyboardActions().
14130 (uninstallUI): call uninstallKeyboardActions().
14132 2004-06-13 Michael Koch <konqueror@gmx.de>
14134 * javax/swing/text/DefaultCaret.java,
14135 javax/swing/text/BadLocationException.java:
14138 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
14140 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
14141 DEFAULT_COLS): New variables.
14142 (create): Don't allow 0 rows or 0 columns. Instead, set the
14143 values to DEFAULT_ROWS or DEFAULT_COLS.
14144 (getMinimumSize): Likewise.
14145 (getPreferredSize): Likewise.
14146 (minimumSize): Likewise.
14147 (preferredSize): Likewise.
14148 (create): Set peer's editable state.
14149 * java/awt/TextArea.java (TextArea()): Set rows and columns to
14150 zero. Update javadocs.
14151 (TextArea(String)): Likewise.
14152 (TextArea(int,int)): Fix javadocs.
14153 (TextArea(String,int,int,int)): Only throw exception if one of
14154 rows or columns is zero. Fix javadocs.
14156 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
14158 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
14159 addition to Components.
14161 * java/awt/MenuItem.java (dispatchEventImpl): If the event
14162 wasn't consumed by normal processing, send it to the parent
14165 * gnu/java/awt/peer/gtk/GtkImagePainter.java
14166 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
14169 2004-06-11 David Jee <djee@redhat.com>
14171 * java/awt/MediaTracker.java
14172 (addImage(Image,int)): Call imageUpdate() to udpate image status.
14173 (addImage(Image,int,int,int)): Likewise.
14175 2004-06-11 Michael Koch <konqueror@gmx.de>
14177 * javax/swing/text/AbstractDocument.java,
14178 javax/swing/text/Document.java,
14179 javax/swing/text/GapContent.java,
14180 javax/swing/text/JTextComponent.java,
14181 javax/swing/text/PlainDocument.java:
14184 2004-06-11 Michael Koch <konqueror@gmx.de>
14186 * javax/swing/JRootPane.java
14187 (AccessibleJRootPane.serialVersionUID): New field.
14188 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
14189 (AccessibleJRootPane.getAccessibleRole): New method.
14190 (RootLayout): Implements Serializable.
14191 (RootLayout.serialVersionUID): New field.
14192 (RootLayout.RootLayout): New constructor.
14193 (setJMenuBar): Made public.
14194 (getJMenuBar): Likewise.
14195 (JRootPane): Likewise.
14196 (createContentPane): Likewise.
14197 (createGlassPane): Likewise.
14198 (createLayeredPane): Likewise.
14200 2004-06-11 Michael Koch <konqueror@gmx.de>
14202 * javax/swing/SwingUtilities.java
14203 (isLeftMouseButton): Fixed javadoc.
14204 (isMiddleMouseButton): Likewise.
14205 (isRightMouseButton): Likewise.
14207 2004-06-11 Michael Koch <konqueror@gmx.de>
14209 * javax/swing/JScrollPane.java
14210 (serialVersionUID): New field.
14211 (columnHeader): Made protected.
14212 (rowHeader): Likewise.
14213 (lowerLeft): Likewise.
14214 (lowerRight): Likewise.
14215 (upperLeft): Likewise.
14216 (upperRight): Likewise.
14217 (horizontalScrollBar): Likewise.
14218 (horizontalScrollBarPolicy): Likewise.
14219 (verticalScrollBar): Likewise.
14220 (verticalScrollBarPolicy): Likewise.
14221 (viewport): Likewise.
14223 2004-06-11 Michael Koch <konqueror@gmx.de>
14225 * javax/swing/LookAndFeel.java: Fixed javadocs.
14227 2004-06-11 Michael Koch <konqueror@gmx.de>
14229 * javax/swing/JEditorPane.java: Fixed javadocs.
14230 (JEditorPane): Removed redundant call to to this().
14231 (fireHyperlinkUpdate): Implemented.
14233 2004-06-10 Olga Rodimina <rodimina@redhat.com>
14235 * javax/swing/JMenu.java: Fixed file name
14236 in the file comment.
14238 2004-06-10 Olga Rodimina <rodimina@redhat.com>
14240 * javax/swing/JMenu.java: Added javadoc.
14241 (JMenu): Added MenuChangeListener to listen to
14242 ChangeEvents occuring in menu's model.
14243 (insert): Throw IllegalArgumentException if
14244 index is less than 0
14245 (setSelected): Reimplement.
14246 (setPopupMenuVisible): Call menu's model isEnabled()
14247 (setDelay): Throw IllegalArgumentException if
14248 given amount of delay is less than 0.
14249 (createActionComponent): Implemented.
14250 (createActionChangeListener): Implemented.
14251 (addSeparator): Implemented.
14252 (getItem): Throw IllegalArgumentException if index is
14254 (getItemCount): Implemented.
14255 (fireMenuSelected): Changed to use menuEvent.
14256 (fireMenuDeselected): Likewise.
14257 (fireMenuCanceled): Likewise.
14258 (setAccelerator): Changed to throw an error if this
14260 (doClick): Implemented.
14261 (JMenu.ActionChangedListener): New inner class to handle
14262 PropertyChangeEvents occuring in the actions associated with menu.
14263 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
14264 (BasicMenuUI): Added PropertyChangeListener to the menu.
14265 (createChangeListener): Implemented.
14266 (createMenuDragMouseListener): Likewise.
14267 (createMenuKeyListener): Likewise.
14268 (createPropertyChangeListener): Likewise.
14269 (uninstallListeners): Likewise.
14270 (BasicMenuUI.MouseInputHandler): Reimplemented.
14271 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
14272 (BasicMenuUI.ChangeHandler): Likewise.
14273 (BasicMenuUI.MenuDragMouseHandler): Likewise.
14274 (BasicMenuUI.MenuKeyHandler): Likewise.
14276 2004-06-10 David Jee <djee@redhat.com>
14278 * java/awt/MediaTracker.java
14279 (imageUpdate): Only do notifyAll() if the image is complete.
14281 2004-06-10 Olga Rodimina <rodimina@redhat.com>
14283 * javax/swing/JApplet.java:
14284 (getJMenuBar): Made public.
14285 (setJMenuBar): Likewise.
14286 * javax/swing/JFrame.java:
14287 (getJMenuBar): Made public.
14288 (setJMenuBar): Likewise.
14289 * javax/swing/JWindow.java:
14290 (getJMenuBar): Removed.
14291 (setJMenuBar): Removed.
14293 2004-06-10 Michael Koch <konqueror@gmx.de>
14295 * javax/swing/JEditorPane.java
14296 (createEditorKitForContentType): Fixed visibility.
14297 (fireHyperlinkUpdate): Likewise.
14298 (getContentType): Likewise.
14299 (getEditorKit): Likewise.
14300 (getEditorKitForContentType): Likewise.
14301 (getPage): Likewise.
14303 (registerEditorKitForContentTyoe): Likewise.
14304 (replaceSelection): Likewise.
14305 (setContentType): Likewise.
14306 (setEditorKit): Likewise.
14307 (setPage): Likewise.
14309 2004-06-10 Michael Koch <konqueror@gmx.de>
14311 * javax/swing/Timer.java
14312 (Timer): New constructor.
14313 * javax/swing/plaf/basic/BasicProgressBarUI.java
14314 (animationTimer): Don't initialize at construction.
14315 (startAnimationTimer): Added since tag.
14316 (stopAnimationTimer): Likewise.
14317 (installUI): Use new Timer constructor.
14318 * javax/swing/plaf/basic/BasicScrollBarUI.java
14319 (installUI): Likewise.
14320 * javax/swing/plaf/basic/BasicSliderUI.java
14321 (installUI): Likewise.
14323 2004-06-10 Michael Koch <konqueror@gmx.de>
14325 * javax/swing/ButtonGroup.java
14326 (serialVersionUID): Made private.
14327 (buttons): Renamed from v, added javadoc.
14328 (sel): Added javadoc.
14329 (ButtonGroup): Likewise.
14331 (remove): Likewise.
14332 (getElements): Likewise.
14333 (getSelection): Likewise.
14334 (setSelected): Likewise.
14335 (isSelected): Likewise.
14336 (getButtonCount): Likewise.
14338 2004-06-10 Michael Koch <konqueror@gmx.de>
14340 * javax/swing/ButtonGroup.java,
14341 javax/swing/ImageIcon.java,
14342 javax/swing/JEditorPane.java,
14343 javax/swing/JRootPane.java,
14344 javax/swing/JTextField.java,
14345 javax/swing/LookAndFeel.java,
14346 javax/swing/plaf/basic/BasicTextUI.java:
14349 2004-06-10 Michael Koch <konqueror@gmx.de>
14351 * javax/swing/text/Style.java: Added javadocs.
14353 2004-06-10 Michael Koch <konqueror@gmx.de>
14355 * javax/swing/JComponent.java
14356 (fireVetoableChange): Removed redundant cast.
14357 * javax/swing/JLabel.java
14358 (getDisabledIcon): Save icon for next call.
14360 2004-06-10 Michael Koch <konqueror@gmx.de>
14362 * javax/swing/KeyStroke.java
14363 (getKeyStroke(char,boolean)): Marked deprecated.
14365 2004-06-10 Michael Koch <konqueror@gmx.de>
14367 * javax/swing/DefaultCellEditor.java,
14368 javax/swing/GrayFilter.java,
14369 javax/swing/event/DocumentEvent.java,
14370 javax/swing/text/JTextComponent.java,
14371 javax/swing/text/MutableAttributeSet.java:
14374 2004-06-10 Michael Koch <konqueror@gmx.de>
14376 * javax/swing/plaf/BorderUIResource.java:
14377 Added serialVersionUID all over.
14379 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
14381 * javax/swing/undo/UndoManager.java: Re-written from scratch.
14383 2004-06-10 Michael Koch <konqueror@gmx.de>
14385 * javax/swing/table/DefaultTableCellRenderer.java
14386 (noFocusBorder): Initialize directly.
14388 2004-06-10 Michael Koch <konqueror@gmx.de>
14390 * javax/swing/plaf/basic/BasicArrowButton.java
14391 (setDirection): Use method argument.
14393 2004-06-10 Michael Koch <konqueror@gmx.de>
14395 * javax/swing/plaf/BorderUIResource.java,
14396 javax/swing/plaf/ComponentUI.java,
14397 javax/swing/undo/CompoundEdit.java,
14398 javax/swing/undo/StateEdit.java:
14399 Fixed javadocs all over.
14401 2004-06-10 Michael Koch <konqueror@gmx.de>
14403 * javax/swing/DefaultButtonModel.java
14404 (ARMED): Made public final, fixed value.
14405 (ENABLED): Likewise.
14406 (PRESSED): Likewise.
14407 (ROLLOVER): Likewise.
14408 (SELECTED): Likewise.
14409 (stateMask): Initialize directly.
14410 (listenerList): Likewise.
14411 (mnemonic): Likewise.
14412 (fireStateChanged): Removed argument, use changeEvent as event.
14413 All places where this method is called are fixed too.
14414 (getActionCommant): Fixed javadoc.
14415 (setGroup): Fixed javadoc.
14416 (getGroup): New method.
14418 2004-06-09 Olga Rodimina <rodimina@redhat.com>
14420 * javax/swing/AbstractButton.java
14421 (AbstractButton): Use init() to initialize the button.
14422 (init): New Method. Initializes AbstractButton.
14423 * javax/swing/JMenuItem.java: Documented.
14424 (JMenuItem): Reimplemented.
14425 (init): Implemented.
14426 (setEnabled): Changed to call super.setEnabled()
14427 (processMouseEvent): Reimplemented.
14428 (fireMenuKeyPressed): Implemented.
14429 (fireMenuKeyReleased): Implemented.
14430 (fireMenuKeyTyped): Implemented.
14431 (menuSelectionChanged): disarm the model if the menu item was
14433 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
14434 (getPath): Change to use ArrayList instead of Vector.
14435 (getPreferredSize): Renamed variable.
14436 (paintMenuItem): Paint margin area of menu item.
14437 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
14438 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
14439 menu item's bounds before clearing the selection.
14441 2004-06-09 David Jee <djee@redhat.com>
14443 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
14444 (GtkTextComponentPeer): Set caret position to 0.
14445 * java/awt/TextComponent.java
14446 (setText): Set caret position to 0.
14447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14448 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14449 Handle GtkScrolledWindow separately. Fix signal handler blocking.
14450 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
14453 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
14456 2004-06-09 Kim Ho <kho@redhat.com>
14458 * Makefile.am: New files
14459 * Makefile.in: Regenerated
14460 * java/awt/Container.java
14461 (getComponentAt): Removed.
14462 * javax/swing/AbstractAction.java
14463 (ENABLED_PROPERTY): New property.
14464 (putValue): Fire PropertyChangeEvents.
14465 (setEnabled): ditto.
14466 (firePropertyChange): Javadoc and implement
14467 convenience method.
14468 * javax/swing/AbstractButton.java
14469 (setAction): Don't create PropertyChangeListener
14470 if new Action is null.
14471 (setIcon): Don't set icon till after comparing
14473 (configurePropertiesFromAction): Check mnemonic
14474 key before calling intValue().
14475 (createActionPropertyChangeListener): Check
14476 properties rather than bulk change.
14477 * javax/swing/DefaultDesktopManager.java:
14479 * javax/swing/DesktopManager.java:
14480 Jalopy and javadoc.
14481 * javax/swing/JComponent.java
14482 (fireVetoableChange): Implement.
14483 (paintImmediately): Use root component.
14484 * javax/swing/JDesktopPane.java: Implement
14485 * javax/swing/JInternalFrame.java: Implement
14486 * javax/swing/JLabel.java
14487 (getDisabledIcon): Return grayscaled icon if
14488 no disabled icon specified.
14489 * javax/swing/JMenuBar.java
14490 (getComponentAtIndex): Use getComponent
14491 * javax/swing/JOptionPane.java
14492 (getDesktopPaneForComponent): Use SwingUtilities'
14494 (getFrameForComponent): ditto.
14495 * javax/swing/JSplitPane.java
14496 (remove): Use getComponent.
14497 * javax/swing/SwingUtilities.java
14498 (convertPoint): Implement.
14499 * javax/swing/plaf/basic/BasicButtonUI.java
14500 (paintButtonNormal): Check opaqueness before
14501 filling background.
14502 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
14504 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
14506 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
14508 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
14510 * javax/swing/plaf/basic/BasicLookAndFeel.java:
14511 Change InternalFrame and Desktop colors.
14513 2004-06-09 David Jee <djee@redhat.com>
14515 * java/awt/Container.java
14516 (remove): Do not set component to invisible.
14518 2004-06-09 Michael Koch <konqueror@gmx.de>
14520 * javax/swing/tree/DefaultMutableTreeNode.java
14521 (getLeafCount): Renamed enum to e.
14523 2004-06-09 Michael Koch <konqueror@gmx.de>
14525 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
14526 (positionForMouseEvent): Removed redundant semicolon.
14527 (continueDrag): Use method arguments.
14529 2004-06-09 Michael Koch <konqueror@gmx.de>
14531 * javax/swing/border/TitledBorder.java,
14532 javax/swing/filechooser/FileSystemView.java,
14533 javax/swing/plaf/basic/BasicButtonListener.java,
14534 javax/swing/plaf/basic/BasicGraphicsUtils.java,
14535 javax/swing/plaf/basic/BasicLabelUI.java,
14536 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
14537 javax/swing/plaf/basic/BasicScrollBarUI.java,
14538 javax/swing/plaf/basic/BasicScrollPaneUI.java,
14539 javax/swing/plaf/basic/BasicSliderUI.java,
14540 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14541 javax/swing/plaf/basic/BasicToggleButtonUI.java,
14542 javax/swing/table/JTableHeader.java,
14543 javax/swing/text/AbstractDocument.java,
14544 javax/swing/text/DefaultCaret.java,
14545 javax/swing/text/StyledEditorKit.java,
14546 javax/swing/tree/DefaultTreeCellEditor.java:
14547 Reworked import statements.
14549 2004-06-08 Graydon Hoare <graydon@redhat.com>
14551 * javax/swing/Box.java: Temporarily comment out code
14552 broken due to visibility bug.
14554 2004-06-09 Michael Koch <konqueror@gmx.de>
14556 * javax/swing/ImageIcon.java
14557 (ImageIcon): Added missing constructor.
14559 2004-06-08 Michael Koch <konqueror@gmx.de>
14561 * javax/swing/JToggleButton.java
14562 (JToggleButton): New constructor.
14563 (getAccessibleContext): Moved documentation into javadoc.
14564 (getUIClassID): Likewise.
14566 2004-06-08 Michael Koch <konqueror@gmx.de>
14568 * javax/swing/AbstractButton.java
14569 (getDisabledIcon): Create disabled icon if none exists yet.
14571 2004-06-08 Michael Koch <konqueror@gmx.de>
14573 * javax/swing/plaf/basic/BasicLookAndFeel.java
14574 (initClassDefaults): Added FormattedTextFieldUI.
14575 (loadResourceBundle): Renamed enum to e.
14577 2004-06-08 Michael Koch <konqueror@gmx.de>
14579 * javax/swing/plaf/basic/BasicButtonUI.java
14580 (paintIcon): Simplified.
14581 (paintText): Paint disabled button correctly.
14583 2004-06-08 Michael Koch <konqueror@gmx.de>
14585 * javax/swing/JComponent.java
14586 (createToolTip): Use official JToolTip API.
14588 2004-06-08 Michael Koch <konqueror@gmx.de>
14590 * javax/swing/JToolTip.java
14591 (JToolTip): No arguments in API.
14592 (setTipText): New method.
14594 2004-06-08 Michael Koch <konqueror@gmx.de>
14596 * javax/swing/SwingUtilities.java
14597 (isLeftMouseButton): New method.
14598 (isMiddleMouseButton): New method.
14599 (isRightMouseButton): New method.
14601 2004-06-08 Michael Koch <konqueror@gmx.de>
14603 * javax/swing/AbstractButton.java,
14604 javax/swing/CellRendererPane.java,
14605 javax/swing/JCheckBoxMenuItem.java,
14606 javax/swing/JColorChooser.java,
14607 javax/swing/JComboBox.java,
14608 javax/swing/JComponent.java,
14609 javax/swing/JDesktopPane.java,
14610 javax/swing/JFileChooser.java,
14611 javax/swing/JMenu.java,
14612 javax/swing/JMenuItem.java,
14613 javax/swing/JOptionPane.java,
14614 javax/swing/JPasswordField.java,
14615 javax/swing/JPopupMenu.java,
14616 javax/swing/JProgressBar.java,
14617 javax/swing/JRadioButtonMenuItem.java,
14618 javax/swing/JScrollBar.java,
14619 javax/swing/JSeparator.java,
14620 javax/swing/JSlider.java,
14621 javax/swing/JSplitPane.java,
14622 javax/swing/JTabbedPane.java,
14623 javax/swing/JTextField.java,
14624 javax/swing/JToolBar.java,
14625 javax/swing/text/JTextComponent.java:
14626 Fixed all constructors of accessibility classes.
14628 2004-06-08 Michael Koch <konqueror@gmx.de>
14630 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
14633 2004-06-08 Michael Koch <konqueror@gmx.de>
14635 * javax/swing/Box.java
14636 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
14637 (AccessibleBoxFiller.serialVersionUID): New member variable.
14638 * javax/swing/DefaultButtonModel.java
14639 (stateMask): Made protected.
14640 (listenerList): Likewise.
14641 (changeEvent): Likewise.
14643 (mnemonic): Likewise.
14644 (actionCommand): Likewise.
14645 (getListeners): New method.
14646 (getActionListeners): New method.
14647 (getItemListeners): New method.
14648 (getChangeListeners): New method.
14649 (fireItemStateChanged): Simplified.
14650 (fireActionPerformed): Simplified.
14651 (fireStateChanged): Simplified.
14652 * javax/swing/JFrame.java
14653 (JFrame): Implements WindowContants.
14654 (HIDE_ON_CLOSE): Removed.
14655 (EXIT_ON_CLOSE): Removed.
14656 (DISPOSE_ON_CLOSE): Removed.
14657 (DO_NOTHING_ON_CLOSE): Removed.
14658 (processWindowEvent): Exit with code 0.
14659 (setDefaultCloseOperation): Do security check before setting value.
14660 * javax/swing/JOptionPane.java
14661 (message): Initialize only in constructor.
14662 * javax/swing/JToolTip.java: Removed unused imports.
14663 * javax/swing/JViewport.java
14664 (serialVersionUID): New member variable.
14665 (SIMPLE_SCROLL_MODE): Made final, fixed value.
14666 (BLIT_SCROLL_MODE): Likewise.
14667 (BACKINGSTORE_SCROLL_MODE): Likewise.
14668 (scrollUnderway): Made protected.
14669 (isViewSizeSet): Likewise.
14670 * javax/swing/ListModel.java: Fixed javadoc.
14671 * javax/swing/Popup.java: Likewise.
14672 * javax/swing/RepaintManager.java
14673 (paintDirtyRegions): Don't use internal classes of
14674 java.util.AbstractMap.
14675 * javax/swing/ScrollPaneConstants.java: Reindented.
14676 * javax/swing/ScrollPaneLayout.java
14677 (viewport): Made protected.
14678 (verticalScrollBar): Made protected, renamed to vsb.
14679 (horizontalScrollBar): Made protected, renamed to hsb.
14680 (rowHeader): Made protected, renamed to rowHead.
14681 (columnHeader): Made protected, renamed to colHead.
14682 (lowerLeft): Made protected.
14683 (lowerRight): Made protected.
14684 (upperLeft): Made protected.
14685 (upperRight): Made protected.
14686 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
14687 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
14689 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
14691 * java/awt/MediaTracker.java (imageUpdate): Only set status to
14692 LOADING if flags has SOMEBITS set.
14694 2004-06-07 Michael Koch <konqueror@gmx.de>
14696 * javax/swing/AbstractButton.java: Reorganized imports.
14697 * javax/swing/ActionMap.java: Likewise.
14698 * javax/swing/DefaultButtonModel.java: Likewise.
14699 * javax/swing/DefaultListModel.java: Likewise.
14700 * javax/swing/ImageIcon.java: Likewise.
14701 (serialVersionUID): New member variable.
14702 * javax/swing/JComboBox.java: Reorganized imports.
14703 * javax/swing/JComponent.java: Likewise.
14704 (ui): Made protected.
14705 (listenerList): Made protected.
14706 (TOOL_TIP_TEXT_KEY): New constant.
14707 (scrollRectToVisible): Removed redundant null check.
14708 * javax/swing/JFrame.java: Reorganized imports.
14709 * javax/swing/JInternalFrame.java: Reorganized imports.
14710 * javax/swing/JProgressBar.java: Likewise.
14711 * javax/swing/JRootPane.java: Likewise.
14712 * javax/swing/JScrollBar.java: Likewise.
14713 * javax/swing/JSeparator.java: Likewise.
14714 * javax/swing/JSlider.java: Likewise.
14715 * javax/swing/JTabbedPane.java: Likewise.
14716 * javax/swing/JTextField.java: Likewise.
14717 * javax/swing/JToolBar.java: Likewise.
14718 * javax/swing/JTree.java: Likewise.
14719 * javax/swing/JViewport.java: Likewise.
14720 * javax/swing/JWindow.java: Likewise.
14721 * javax/swing/KeyStroke.java: Likewise.
14722 * javax/swing/LookAndFeel.java: Likewise.
14723 * javax/swing/MenuSelectionManager.java: Likewise.
14724 * javax/swing/SwingUtilities.java: Likewise.
14725 * javax/swing/Timer.java: Likewise.
14726 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
14727 * javax/swing/JList.java
14728 (HORIZONTAL_WRAP): Made final, fixed value.
14729 (VERTICAL): Likewise.
14730 (VERTICAL_WRAP): Likewise.
14732 2004-06-07 Michael Koch <konqueror@gmx.de>
14734 * javax/swing/AbstractButton.java
14735 (serialVersionUID): New member variable.
14736 (AccessibleAbstractButton.serialVersionUID): Likewise.
14737 (AbstractButton): Made public.
14738 * javax/swing/Box.java
14739 (AccessibleBox.serialVersionUID): New member variable.
14740 (Filler.serialVersionUID): Likewise.
14741 * javax/swing/DefaultListSelectionModel.java
14742 (serialVersionUID): Likewise.
14743 * javax/swing/JApplet.java
14744 (serialVersionUID): Likewise.
14745 * javax/swing/JCheckBox.java
14746 (serialVersionUID): Likewise.
14747 * javax/swing/JCheckBoxMenuItem.java
14748 (serialVersionUID): Likewise.
14749 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
14750 * javax/swing/JColorChooser.java
14751 (serialVersionUID): Likewise.
14752 (AccessibleJColorChooser.serialVersionUID): Likewise.
14753 * javax/swing/JComponent.java
14754 (serialVersionUID): Made private.
14755 (AccessibleJComponent.serialVersionUID): New member variable.
14756 * javax/swing/JDesktopPane.java
14757 (serialVersionUID): Likewise.
14758 * javax/swing/JDialog.java
14759 (serialVersionUID): Likewise.
14760 * javax/swing/JFormattedTextField.java
14761 (serialVersionUID): Fixed value.
14762 * javax/swing/JFrame.java
14763 (serialVersionUID): New member variable.
14764 (getDefaultCloseOpertation): Made public.
14765 * javax/swing/JLayeredPane.java
14766 (serialVersionUID): Likewise.
14767 (LAYER_PROPERTY): Made final, fixed value.
14768 (JLayeredPane): Made public.
14769 * javax/swing/JMenu.java
14770 (AccessibleJMenu.serialVersionUID): New member variable.
14771 (WinListener.serialVersionUID): Likewise.
14772 * javax/swing/JMenuBar.java
14773 (serialVersionUID): Likewise.
14774 (getComponentAtIndex): Added @deprecated tag.
14775 * javax/swing/JMenuItem.java
14776 (serialVersionUID): New member variable.
14777 (AccessibleJMenuItem.serialVersionUID): Likewise.
14778 * javax/swing/JOptionPane.java
14779 (serialVersionUID): Likewise.
14780 (AccessibleJOptionPane.serialVersionUID): Likewise.
14781 * javax/swing/JPopupMenu.java
14782 (serialVersionUID): Likewise.
14783 (AccessibleJPopupMenu.serialVersionUID): Likewise.
14784 (getPopupMenuListeners): New method.
14785 (getComponentAtIndex): Added @deprecated tag.
14786 * javax/swing/JProgressBar.java
14787 (serialVersionUID): New member variable.
14788 (AccessibleJProgressBar.serialVersionUID): Likewise.
14789 * javax/swing/JRadioButton.java
14790 (serialVersionUID): Likewise.
14791 * javax/swing/JRadioButtonMenuItem.java
14792 (serialVersionUID): Likewise.
14793 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
14794 * javax/swing/JScrollBar.java
14795 (serialVersionUID): Likewise.
14796 (AccessibleJScrollBar.serialVersionUID): Likewise.
14797 * javax/swing/JSeparator.java
14798 (serialVersionUID): Likewise.
14799 (AccessibleJSeparator.serialVersionUID): Likewise.
14800 * javax/swing/JSlider.java: Fixed javadocs.
14801 (AccessibleJSlider.serialVersionUID): New member variable.
14802 * javax/swing/JSplitPane.java: Added copyright statement.
14803 (serialVersionUID): New member variable.
14804 (AccessibleJSplitPane.serialVersionUID): Likewise.
14805 * javax/swing/JTabbedPane.java
14806 (serialVersionUID): Likewise.
14807 (AccessibleJTabbedPane.serialVersionUID): Likewise.
14808 (ModelListener.serialVersionUID): Likewise.
14809 (ModelListener.ModelListener): New constructor.
14810 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
14811 (WRAP_TAB_LAYOUT): Likewise.
14812 * javax/swing/JTable.java
14813 (serialVersionUID): New member variable.
14814 * javax/swing/JToggleButton.java
14815 (serialVersionUID): Likewise.
14816 (ToggleButtonModel): Made static.
14817 (ToggleButtonModel.serialVersionUID): New member variable.
14818 * javax/swing/JToolTip.java
14819 (serialVersionUID): Likewise.
14820 * javax/swing/JTree.java
14821 (serialVersionUID): Likewise.
14822 * javax/swing/JWindow.java
14823 (serialVersionUID): Likewise.
14824 * javax/swing/Timer.java
14825 (serialVersionUID): Likewise.
14827 2004-06-06 Michael Koch <konqueror@gmx.de>
14829 * javax/swing/SwingConstants.java
14830 (NEXT): New constant.
14831 (PREVIOUS): Likewise.
14832 * javax/swing/UIManager.java
14833 (LookAndFeel): Made public.
14834 (LookAndFeel.getClassName): Likewise.
14835 (LookAndFeel.getName): Likewise.
14837 2004-06-02 Olga Rodimina <rodimina@redhat.com>
14839 * javax/swing/JCheckBoxMenuItem.java:
14841 * javax/swing/JMenu.java: Likewise.
14842 * javax/swing/JMenuBar.java: Likewise.
14843 * javax/swing/JMenuItem.java: Likewise.
14844 * javax/swing/JPopupMenu.java: Likewise.
14845 * javax/swing/JRadioButtonMenuItem.java: Likewise.
14846 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
14847 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
14848 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
14849 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
14850 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
14851 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
14853 2004-05-31 Olga Rodimina <rodimina@redhat.com>
14855 * javax/swing/plaf/basic/BasicMenuUI.java:
14856 (MouseEntered): Do not call getPath() from MenuSelectionManager.
14857 Call getPath() from super class instead.
14859 2004-05-31 David Jee <djee@redhat.com>
14861 * java/awt/Container.java
14862 (remove): Set component visibility to false after removing it.
14864 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
14866 * java/awt/Component.java (getForeground): Return SystemColor if
14868 (getBackground): Likewise.
14870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
14871 (item_highlighted): New function.
14872 (connectSignals): Set item_highlighted as list's select
14875 * java/applet/Applet.java: Revert changes from 2004-04-29,
14876 2004-03-15 and 2004-03-14.
14878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
14879 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
14882 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
14883 "Dialog" as the default font.
14884 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
14886 * java/awt/Component.java (getFont): Return "Dialog" font by
14888 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
14889 Multiply size argument to pango_font_description_set_size by the
14890 DPI conversion factor rather than by PANGO_SCALE.
14891 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
14892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
14893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
14894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
14895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
14896 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
14897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
14898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
14899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
14900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
14901 Divide baseline y coordinate by DPI conversion factor rather
14902 than by PANGO_SCALE.
14903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
14904 (area_prepared): Fix typo.
14905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14906 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
14907 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
14908 (dpi_conversion_factor): New global variable.
14909 (init_dpi_conversion_factor): New function to calculate and
14910 track DPI conversion factor.
14911 (dpi_changed_cb): New callback.
14912 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
14914 2004-05-27 David Jee <djee@redhat.com>
14916 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14917 (getGraphics): Return a new GdkGraphics instance.
14918 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14919 (getGraphics): Call super.getGraphics().
14921 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
14923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14924 (setNativeBounds): Clamp width and height values to >= 0.
14926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14927 (find_fg_color_widget): Handle GtkOptionMenu specially.
14929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14930 (pre_event_handler): Only post configure events to visible
14933 2004-05-26 David Jee <djee@redhat.com>
14935 * java/awt/BorderLayout.java
14936 (layoutContainer): Fix size calculations.
14938 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
14940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14941 (window_wm_protocols_filter): Remove function.
14942 (create): Remove filter that removes WM_TAKE_FOCUS client
14945 2004-06-17 Anthony Green <green@redhat.com>
14947 * java/util/zip/ZipFile.java (getInputStream): Return null if
14950 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
14951 directory contents to the class path.
14953 2004-06-15 Andrew Haley <aph@redhat.com>
14955 * java/lang/natSystem.cc (getenv0): Don't assume environment
14956 variable is Latin 1 coded.
14958 2004-06-14 Andreas Jaeger <aj@suse.de>
14960 * configure.in: Support --enable-version-specific-runtime-libs.
14961 * configure: Regenerated.
14963 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
14965 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
14966 to pass ClassLoader argument.
14967 * java/util/GregorianCalendar.java: Likewise.
14968 * java/util/Currency.java: Likewise.
14969 * java/text/BreakIterator.java: Likewise.
14970 * java/text/Collator.java: Likewise.
14971 * java/text/DateFormat.java: Likewise.
14972 * java/text/DateFormatSymbols.java: Likewise.
14973 * java/text/DecimalFormatSymbols.java: Likewise.
14974 * java/text/NumberFormat.java: Likewise.
14975 * java/awt/Window.java: Likewise.
14977 2004-06-14 Andrew Haley <aph@redhat.com>
14979 * java/lang/System.java: (getenv0): New method.
14980 (getenv): Add security check. Do the right thing.
14981 * java/lang/natSystem.cc (getenv0): New method.
14983 2004-06-12 Mark Wielaard <mark@klomp.org>
14985 * javax/swing/RepaintManager.java
14986 (paintDirtyRegions): Use entrySet(), not values().
14988 2004-06-10 Mark Wielaard <mark@klomp.org>
14990 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
14993 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
14995 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
14996 when we already know the answer.
14997 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
14998 (setStartRule,setEndRule): Don't take abs of day number.
14999 (getOffset): Clarify docs. Add argument checks.
15000 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
15001 (equals,hasSameRules,toString,readObject): Use startTimeMode and
15004 2004-06-10 Tom Tromey <tromey@redhat.com>
15006 * interpret.cc (run): Handle wide fload.
15008 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
15010 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
15012 2004-06-05 Michael Koch <konqueror@gmx.de>
15014 * javax/swing/SwingConstants.java
15015 (NEXT): New constant.
15016 (PREVIOUS): Likewise.
15018 2004-06-05 Michael Koch <konqueror@gmx.de>
15020 * javax/swing/UIManager.java
15021 (LookAndFeel): Made public.
15022 (LookAndFeel.getName): Likewise.
15023 (LookAndFeel.getClassName): Likewise.
15025 2004-06-03 Michael Koch <konqueror@gmx.de>
15027 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15028 (requestFocus): Revert last changes.
15029 (gtkRequestFocus): Removed.
15030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15031 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15033 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
15034 Reverted last patch.
15035 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15036 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
15037 Reverted comment change.
15039 2004-06-02 Olga Rodimina <rodimina@redhat.com>
15041 * javax/swing/JCheckBoxMenuItem.java:
15043 * javax/swing/JMenu.java: Likewise.
15044 * javax/swing/JMenuBar.java: Likewise.
15045 * javax/swing/JMenuItem.java: Likewise.
15046 * javax/swing/JPopupMenu.java: Likewise.
15047 * javax/swing/JRadioButtonMenuItem.java: Likewise.
15048 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
15049 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
15050 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15051 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
15052 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
15053 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
15055 2004-06-01 Tom Tromey <tromey@redhat.com>
15057 * java/io/ObjectStreamField.java: Cleaned up imports.
15059 2004-06-01 Michael Koch <konqueror@gmx.de>
15061 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
15063 2004-06-01 Mark Wielaard <mark@klomp.org>
15065 * java/io/Writer.java (Writer(Object)): Fixed API doc.
15067 2004-06-01 Michael Koch <konqueror@gmx.de>
15069 * java/security/Security.java
15070 (insertProviderAt): Use equals() instead of ==.
15071 (removeProvicer): Likewise.
15072 (getProvider): Likewise.
15073 * java/security/Signature.java
15074 (sign): Don't set state to UNINITIALIZED.
15075 (verify): Likewise.
15077 2004-06-01 Mark Wielaard <mark@klomp.org>
15079 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
15080 Implement by calling gtkRequestFocus.
15081 (gtkRequestFocus): New native method.
15082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15083 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
15085 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15087 (filter_expose_event_handler):
15089 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15090 (menu_pos): Mark static.
15092 2004-06-01 Michael Koch <konqueror@gmx.de>
15094 * java/text/CollationElementIterator.java,
15095 java/text/CollationKey.java,
15096 java/text/RuleBasedCollator.java: New versions from GNU classpath.
15097 * testsuite/libjava.mauve/xfails: Removed all
15098 java.text.CollationElementIterator tests.
15100 2004-06-01 Michael Koch <konqueror@gmx.de>
15102 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
15104 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
15105 Java 1.5 keyword usage.
15107 2004-05-31 Olga Rodimina <rodimina@redhat.com>
15109 * javax/swing/plaf/basic/BasicMenuUI.java:
15110 (MouseEntered): Do not call getPath() from MenuSelectionManager.
15111 Call getPath() from super class instead.
15113 2004-05-31 Michael Koch <konqueror@gmx.de>
15115 * java/io/SequenceInputStream.java:
15116 Rename enum to e because enum is a keyword in Java 1.5.
15118 2004-05-31 Michael Koch <konqueror@gmx.de>
15120 * gnu/java/rmi/rmic/CompilerProcess.java:
15121 Fixed javadoc to by XHTML compliant.
15123 2004-05-30 Mark Wielaard <mark@klomp.org>
15125 * java/awt/Toolkit.java (loadSystemColors): Implement.
15127 2004-05-30 Michael Koch <konqueror@gmx.de>
15129 * java/lang/System.java: Reordered imports.
15131 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
15133 * java/text/DecimalFormat.java
15134 (parse): Fixed parsing of decimal strings. Number of maximum
15135 digits to be read should now work.
15136 * java/text/SimpleDateFormat.java
15137 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
15138 formatter. This fixes DateFormatTest.
15140 2004-05-30 Michael Koch <konqueror@gmx.de>
15142 * java/nio/Buffer.java
15143 (limit): Fixed off by one error.
15144 * java/nio/CharBuffer.java
15145 (wrap): Fixed arguments, added javadocs.
15147 2004-05-30 Michael Koch <konqueror@gmx.de>
15149 * gnu/java/beans/BeanInfoEmbryo.java,
15150 java/awt/im/InputContext.java,
15151 javax/swing/tree/DefaultMutableTreeNode.java:
15152 Rename enum to e because enum is a keyword in Java 1.5.
15154 2004-05-30 Michael Koch <konqueror@gmx.de>
15156 * gnu/java/math/MPN.java,
15157 java/awt/geom/Arc2D.java:
15158 Fixed javadocs all over.
15160 2004-05-30 Michael Koch <konqueror@gmx.de>
15162 * java/awt/DefaultKeyboardFocusManager.java
15163 (dispatchEvent): Call method to get key event dispatchers.
15164 (dispatchKeyEvent): Call method to get key event post processors.
15165 * javax/swing/JComponent.java
15166 (listenerList): Made protected.
15167 * javax/swing/JOptionPane.java
15168 (message): Don't initialize.
15169 (JOptionPane): Set message text.
15170 * javax/swing/JPopupMenu.java
15171 (show): Fixed typo in argument name.
15172 * javax/swing/RepaintManager.java
15173 (paintDirtyRegions): Use public API of java.util.Map.
15174 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
15175 (positionForMouseEvent): Removed redundant ';'.
15176 (continueDrag): Use method arguments.
15178 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
15180 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
15183 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
15185 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
15187 * gnu/gcj/RawDataManaged.java: New file.
15188 * java/lang/Thread.java (data): Declare as RawDataManaged.
15189 * java/lang/natThread.cc (init_native): Cast natThread data to
15190 RawDataManaged, not jobject.
15191 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
15192 * Makefile.in: Rebuilt.
15194 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
15196 * java/util/SimpleTimeZone.java: Reverting my last change until I
15197 can fix it properly.
15199 2004-05-27 Michael Koch <konqueror@gmx.de>
15201 * javax/swing/JPopupMenu.java
15202 (isVisible): Do not use visible directly.
15203 (setVisible): Likewise.
15204 * javax/swing/JWindow.java
15205 (JWindow): call accessible constructor.
15206 * javax/swing/RepaintManager.java
15207 (paintDirtyRegions): Use public methods to obtain iterator.
15209 2004-05-25 David Jee <djee@redhat.com>
15211 * java/awt/Container.java
15212 (remove): Set component's parent to null only after we removed the
15213 component from its parent's layout manager.
15215 2004-05-25 David Jee <djee@redhat.com>
15217 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15218 (GtkComponentPeer): Set bounds regardless of whether awtComponent
15220 * gnu/java/awt/peer/gtk/GtkListPeer.java
15221 (getSize): Change native method declaration.
15222 (minimumSize): Pass visible row count into getSize().
15223 (preferredSize): Likewise.
15224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
15225 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
15226 natural size. Use visible row count to determine the final height
15229 2004-05-21 Graydon Hoare <graydon@redhat.com>
15231 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15232 (setClip): Minor correction to order of operations.
15234 * javax/swing/JScrollPane.java: Extend sketchy implementation.
15235 * javax/swing/ScrollPaneLayout.java: Likewise.
15236 * javax/swing/JViewPort.java: Likewise.
15237 * javax/swing/ViewportLayout.java: Likewise.
15239 * javax/swing/JComponent.java: Rewrite.
15240 * javax/swing/RepaintManager.java: Likewise.
15242 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
15243 * javax/swing/JList.java
15244 (setSelectedIndices):
15245 (getSelectedIndices):
15246 (getSelectedValues): New functions.
15247 (getPreferredScrollableViewportSize): Return preferred size.
15248 (getScrollableUnitIncrement):
15249 (getScrollableBlockIncrement): Initial implementations.
15250 * javax/swing/JRootPane.java: Clean up slightly.
15255 (isValidateRoot): Add overrides from JComponent.
15256 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
15257 * javax/swing/UIManager.java (getDimension): Return the dimension.
15259 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
15260 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
15261 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15262 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
15263 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
15264 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
15265 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
15266 * javax/swing/plaf/basic/BasicRootPaneUI.java:
15267 Likewise, and set background.
15268 * javax/swing/plaf/basic/BasicListUI.java:
15269 Likewise, and improve a bit.
15270 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15271 Likewise, and adjust calculations.
15272 * javax/swing/plaf/basic/BasicViewportUI.java:
15273 Likewise, and improve a bit.
15274 * javax/swing/plaf/basic/BasicLookAndFeel.java
15275 (Button.margin): Shrink.
15277 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
15278 Hack to set horizontal always, workaround pango.
15280 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
15281 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
15282 Synchronize more often, check cairo status after ops,
15283 handle changes to cairo pattern API, check for disposal.
15285 2004-05-21 Olga Rodimina <rodimina@redhat.com>
15287 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15288 (BasicMenuItemUI): Create propertyChangeListener.
15289 (getPath):Implemented.
15290 (installListeners): Add propertyChangeListener to menuItem.
15291 (uninstallListeners): Remove propertyChangeListener from menuItem.
15292 (update): Implemented.
15293 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
15294 (mouseEntered): Take insets of popup menu into account when
15295 calculating position of popup menu.
15297 2004-05-18 Olga Rodimina <rodimina@redhat.com>
15299 * Makefile.am: Added new file.
15300 * Makefile.in: Regenerate.
15301 * javax/swing/JMenuBar.java:
15302 Started implementation.
15303 * javax/swing/JPopupMenu.java:
15304 (setVisible): Fixed location of lightweight/mediumweight
15306 (show): Fixed location of PopupMenu.
15307 * javax/swing/plaf/basic/BasicMenuBarUI.java:
15308 New file. UI Delegate for JMenuBar.
15309 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
15310 (mouseEntered): Corrected position of the submenu.
15312 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
15315 to _gtk_accel_group_attach.
15316 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
15319 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
15320 package access. Don't override setFont.
15321 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
15322 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
15323 gtkWidgetRequestFocus package access.
15324 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
15326 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
15327 Give gtkWidgetRequestFocus package access.
15328 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
15329 gtkWidgetRequestFocus package access. Don't override setFont.
15330 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
15332 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
15333 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
15335 (gtkSetFont): Likewise.
15336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
15338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15339 (gtkSetFont): Whitespace fix.
15341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15342 (gtkWidgetSetUsize): Remove method.
15344 2004-05-18 David Jee <djee@redhat.com>
15346 * java/awt/image/MemoryImageSource.java
15347 (newPixels(int,int,int,int,boolean)): Set only the specified
15348 rectangle of pixels.
15349 (newPixels(byte[],ColorModel,int,int)): Implement.
15350 (newPixels(int[],ColorModel,int,int)): Implement.
15352 2004-05-18 Olga Rodimina <rodimina@redhat.com>
15354 * Makefile.am: Added new file.
15355 * Makefile.in: Regenerate.
15356 * javax/swing/JMenu.java: Started
15358 * javax/swing/JPopupMenu.java:
15359 (insert): If specified index is -1, then
15360 add component at the end.
15361 (isPopupTrigger): Reimplemented.
15362 (JPopupMenu.LightWeightPopup): setBounds
15363 of the lightWeightPopup before adding it
15364 to the layeredPane.
15365 (javax/swing/plaf/basic/BasicIconFactory.java):
15366 (getMenuArrowIcon): Implemented.
15367 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15368 (getPreferredSize): Add size of the arrow icon
15369 if this menu item is instance of JMenu.
15370 (paintMenuItem): Paint arrow icon if this
15371 menu item is a submenu.
15372 * javax/swing/plaf/basic/BasicMenuUI.java:
15373 New File. UI Delegate for JMenu.
15375 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
15377 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
15378 Post KEY_TYPED events.
15379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15380 (generates_key_typed_event): Remove function.
15382 2004-05-17 Olga Rodimina <rodimina@redhat.com>
15384 * javax/swing/JRootPane.java
15385 (JRootPane.RootLayout): Reimplemented to
15386 set bounds of contentPane and menuBar.
15387 (setJMenuBar): Add menu bar to the layered pane.
15388 (createLayeredPane): Set layout of layeredPane
15390 * javax/swing/JLayeredPane.java:
15391 (addImpl): Calculate index of the component in the
15392 layeredPane according to the specified position within
15395 2004-05-17 David Jee <djee@redhat.com>
15397 * gnu/java/awt/peer/gtk/GtkImagePainter.java
15398 (setPixels): Change color model to the default model after
15400 * java/awt/image/MemoryImageSource.java
15401 (newPixels): Set only the specified rectangle of pixels.
15403 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15405 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
15406 -l-java-beans -l-javax-accessibility -l-javax-swing.
15408 * java/awt/AWTEvent.java (toString): Print source's name rather
15409 than the source itself.
15411 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
15413 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
15415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
15416 (gdk_color_to_java_color): New function.
15417 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
15419 2004-05-12 David Jee <djee@redhat.com>
15421 * java/awt/image/RGBImageFilter.java:
15422 Initialize origmodel as null.
15423 (makeColor): Fix pixel component order.
15424 (filterRGBPixels): Fix pixel iteration.
15425 (setPixels): Add extra checks for index color model. Convert pixels
15426 to default color model if necessary.
15427 (convertColorModelToDefault): New override method for byte pixels.
15428 (convertColorModelToDefault): For int pixels, fix pixel iteration.
15429 (makeColorbyDefaultCM): New override method for byte pixels.
15430 (makeColorbyDefaultCM): For int pixel, add color model as argument.
15431 (makeColor): Fix pixel component order.
15433 2004-05-11 Kim Ho <kho@redhat.com>
15435 * javax/swing/Box.java:
15436 Comment out more parts of Box.Filler.
15438 2004-05-11 Kim Ho <kho@redhat.com>
15440 * javax/swing/Box.java:
15441 Remove reference to AccessibleAWTComponent so
15444 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
15446 * gnu/java/awt/peer/gtk/GtkListPeer.java,
15447 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
15448 implementation of list peer to use GtkTreeView instead of
15449 deprecated GtkCList.
15451 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
15453 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15454 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
15455 (handleEvent): Remove keyChar argument to
15456 gtkWidgetDispatchKeyEvent calls.
15457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
15459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
15460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
15461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
15464 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
15466 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15467 (gtkWidgetRequestFocus): Mark protected.
15468 (GtkComponentPeer): Only set the peer's bounds if its component
15470 * java/awt/Component.java (static): Set the default keyboard
15472 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
15473 requestFocusInWindow(temporary)): Don't request focus if the
15474 component is not showing. Get tree lock before traversing
15475 component hierarchy.
15476 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
15477 Only set the global focus owner if it is not a Window.
15478 (processKeyEvent): Consume keystrokes associated with the focus
15479 traversal keystroke.
15480 (focusPreviousComponent, focusNextComponent, upFocusCycle,
15481 downFocusCycle): Call requestFocusInWindow instead of
15483 * java/awt/EventDispatchThread.java (run): Move setting of
15484 default keyboard focus manager to Component.java.
15485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15486 (awt_keycode_to_keysym): New function.
15487 (gtkWidgetDispatchKeyEvent): Finish implementation.
15488 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15489 (pre_event_handler): Add FIXME comment.
15491 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15492 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15493 (gtkWidgetRequestFocus): New method.
15494 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
15495 disable Tab and Shift-Tab keystrokes.
15496 (addNotify, appendText, insertText, replaceText): Simplify peer
15498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
15499 (connectSignals): Remove connections to "commit" signals.
15500 Remove C++-style comments.
15502 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
15503 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
15504 (handleEvent): Activate GTK button when the space bar key is
15506 (gtkActivate): New method.
15508 2004-05-06 David Jee <djee@redhat.com>
15510 * java/awt/image/CropImageFilter.java
15511 (setPixels): Implement for byte array pixels.
15512 * java/awt/image/ReplicateScaleFilter.java
15513 (setPixels): Implement for byte array pixels.
15514 (replicatePixels): Overload for byte array pixels.
15516 2004-05-06 Kim Ho <kho@redhat.com>
15518 * javax/swing/Box.java:
15519 (getAccessibleContext): Return an instance of the
15522 2004-05-05 David Jee <djee@redhat.com>
15524 * gnu/java/awt/peer/gtk/GdkGraphics.java
15525 (drawImage): When component is null, use SystemColor.window as
15526 the default bgcolor.
15527 * gnu/java/awt/peer/gtk/GtkImage.java
15528 (setPixels): We can avoid iterating through the pixel rows only
15530 * java/awt/Image.java
15531 (getScaledInstance): Partially implement.
15532 * java/awt/image/CropImageFilter.java
15533 (setProperties): Fix "filter" property.
15534 (setPixels): Implement.
15535 * java/awt/image/ReplicateScaleFilter.java
15536 (setDimensions): Use scaled dimensions.
15537 (setPixels): Implement.
15538 (replicatePixels): New method.
15540 2004-05-05 David Jee <djee@redhat.com>
15542 * gnu/java/awt/peer/gtk/GtkImagePainter.java
15543 (convertPixels): If either pixels or model is null, return null.
15544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
15545 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
15546 is null, do nothing and return.
15548 2004-05-03 Kim Ho <kho@redhat.com>
15550 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
15551 (getGraphics): Like GtkFramePeer, the Graphics
15552 object needs to be translate to account for
15553 window decorations.
15554 (postMouseEvent): New method. Account for
15556 (postExposeEvent): ditto.
15557 * javax/swing/Box.java: Stubbed.
15558 * javax/swing/JDialog.java: Ran through jalopy
15559 to fix indentation.
15560 (JDialog): Call SwingUtilities' getOwnerFrame
15562 (setLayout): Check isRootPaneCheckingEnabled
15563 * javax/swing/JOptionPane.java: Re-implemented.
15564 * javax/swing/SwingUtilities.java:
15565 (getOwnerFrame): Static method to grab a default
15566 owner frame for Dialogs that don't specify owners.
15567 * javax/swing/event/SwingPropertyChangeSupport.java:
15568 (firePropertyChange): Fix early exit condition.
15569 * javax/swing/plaf/basic/BasicLabelUI.java:
15570 (paint): Avoid painting text if it is null
15572 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
15575 2004-05-03 Olga Rodimina <rodimina@redhat.com>
15577 * Makefile.am: Added new file.
15578 * Makefile.in: Regenerate.
15579 * javax/swing/JPopupMenu.java:
15580 Started implementation.
15581 * javax/swing/JWindow.java
15582 (JWindow): call super() if parent for window
15584 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
15585 New File. UI Delegate for JPopupMenu.
15587 2004-04-30 Olga Rodimina <rodimina@redhat.com>
15589 * javax/swing/JApplet.java: Indicated that JApplet
15590 implements RootPaneContainer and made method of this
15592 * javax/swing/JFrame.java: Ditto.
15593 * javax/swing/JWindow.java: Ditto.
15595 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
15597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15598 (nativeSetBounds): Call gdk_window_move in addition to
15601 * java/applet/Applet.java (preferredSize): Call parent's
15602 preferredSize if the applet stub is null.
15603 (minimumSize): Likewise for parent's minimumSize.
15605 2004-04-27 Olga Rodimina <rodimina@redhat.com>
15607 * javax/swing/JMenuItem.java
15608 (createActionPropertyChangeListener): Implemented.
15609 (processMouseEvent): Ditto.
15610 (fireMenuDragMouseEntered): Ditto.
15611 (fireMenuDragMouseExited): Ditto.
15612 (fireMenuDragMouseDragged): Ditto.
15613 (fireMenuDragMouseReleased): Ditto.
15614 (menuSelectionChanged): Ditto.
15615 (getSubElements): Ditto.
15616 (getComponent): Ditto.
15617 (addMenuDragMouseListener): Ditto.
15618 (removeMenuDragMouseListener):Ditto.
15619 (addMenuKeyListener): Ditto.
15620 (removeMenuKeyListener): Ditto.
15621 * javax/swing/plaf/basic/BasicMenuItemUI.java
15622 (doClick): Imlemented.
15623 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
15624 Don't handle mouse events here. Pass them to
15625 MenuSelectionManager.
15627 2004-04-26 Olga Rodimina <rodimina@redhat.com>
15628 Used correct version of jalopy configuration
15629 file to fix style in the files below.
15631 2004-04-26 Olga Rodimina <rodimina@redhat.com>
15633 * javax/swing/JCheckBoxMenuItem.java:
15634 Fixed style and removed unnecessary comments.
15635 * javax/swing/JMenuItem.java: Ditto.
15636 * javax/swing/JRadioButtonMenuItem.java: Ditto.
15637 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
15638 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
15639 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
15641 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
15643 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
15646 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
15648 * java/awt/ContainerOrderFocusTraversalPolicy.java
15649 (getComponentAfter): Start from current component and work up
15650 the component hierarchy until an acceptable component is found.
15651 Synchronize on tree lock.
15652 (getComponentBefore): Likewise.
15654 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
15656 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
15657 focus-related debugging messages.
15658 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
15659 * java/awt/EventDispatchThread.java: Likewise.
15660 * java/awt/KeyboardFocusManager.java: Likewise.
15661 * java/awt/Window.java: Likewise.
15662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
15663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
15665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
15666 new C++-style comments to C-style comments.
15667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
15669 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15670 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15671 (handleEvent): Dispatch key press and key release events to
15673 (requestFocus): Post a FOCUS_GAINED event to the event queue.
15674 (gtkWidgetRequestFocus): New method.
15675 (gtkWidgetDispatchKeyEvent): Likewise.
15676 * java/awt/Component.java (requestFocus, requestFocus(boolean),
15677 requestFocusInWindow, requestFocusInWindow(boolean),
15678 getFocusCycleRootAncestor, nextFocus, transferFocus,
15679 transferFocusBackward, transferFocusUpCycle, hasFocus,
15680 isFocusOwner): Implement and document focus-handling methods.
15681 (setFocusTraversalKeys): Inherit focus traversal keys when
15682 keystrokes argument is null. Fix focus-handling documentation
15684 * java/awt/Container.java (setFocusTraversalKeys,
15685 getFocusTraversalKeys, areFocusTraversalKeysSet,
15686 isFocusCycleRoot, setFocusTraversalPolicy,
15687 getFocusTraversalPolicy, isFocusTraversalPolicySet,
15688 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
15689 Implement and document focus-handling methods.
15690 (transferFocusBackward): Remove method.
15691 (readObject, writeObject): Implement and document serialization
15693 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
15695 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
15697 * java/awt/DefaultKeyboardFocusManager.java: Implement and
15698 partially document.
15699 * java/awt/EventDispatchThread.java (run): Set default keyboard
15700 focus manager. Attempt to dispatch each event to the keyboard
15701 focus manager before normal dispatch.
15702 * java/awt/KeyboardFocusManager.java: Implement and partially
15704 * java/awt/Window.java (Window): Set focusCycleRoot to true.
15705 (show): Focus initial component when window is shown for the
15707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15708 (pre_event_handler): Replace complex key press and key release
15709 logic with simple callbacks into GtkComponentPeer.
15710 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
15712 2004-04-21 Olga Rodimina <rodimina@redhat.com>
15714 * javax/swing/MenuSelectionManager.java
15715 (componentForPoint): Added new method.
15716 (defaultManager): New Method. Implemented.
15717 (getSelectedPath): Ditto.
15718 (isComponentPartOfCurrentMenu): Ditto.
15719 (processKeyEvent): Added new method.
15720 (processMouseEvent): New Method. Implemented.
15721 (setSelectedPath): Ditto.
15724 2004-04-19 Kim Ho <kho@redhat.com>
15726 * java/awt/Container.java:
15727 (remove): Set the component's parent to null.
15728 (getComponentAt): Implement.
15729 * javax/swing/JComponent.java:
15730 (JComponent): Initialize defaultLocale
15731 (getDefaultLocale): Implement.
15732 (setDefaultLocale): ditto.
15733 * javax/swing/JSlider.java:
15734 (JSlider): Fix calculation of value.
15735 * javax/swing/JSplitPane.java: Implement.
15736 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15737 Change SplitPane's default divider size.
15738 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15739 (paint): Remove unused code.
15740 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
15741 Added comments and ran through jalopy.
15742 (setBasicSplitPaneUI): Get reference to hidden divider
15743 and set up one touch buttons if necessary.
15744 (setBorder): Fire propertyChangeEvent only if
15745 borders are different.
15746 (getPreferredSize): Defer to layout manager.
15747 (propertyChange): Implement.
15748 (oneTouchExpandableChanged): ditto.
15749 (createLeftOneTouchButton): Use BasicArrowButton.
15750 (createRightOneTouchButton): ditto.
15751 (moveDividerTo): New method. Moves the divider
15752 to a set location based on the last divider location.
15753 (BasicSplitPaneDivider::MouseHandler): Implement.
15754 (BasicSplitPaneDivider::OneTouchButton): Removed.
15755 (BasicSplitPaneDivider::DragController): Implement.
15756 (BasicSplitPaneDivider::VerticalDragController):
15758 (BasicSplitPaneDivider::DividerLayout): ditto.
15759 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
15760 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
15761 (calculateLayoutInfo): Don't show component if it's
15763 (paintTab): Fix title paint logic.
15765 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
15768 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
15769 (setStartRule,setEndRule): Don't take abs of day number.
15770 (getOffset): Clarify docs. Add argument checks.
15771 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
15772 (equals,hasSameRules,toString,readObject): Use startTimeMode and
15774 * testsuite/libjava.mauve/xfails
15775 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
15777 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
15779 Layout interfaces during preparation, not initialization.
15780 * java/lang/natClass.cc (initializeClass): Move
15781 _Jv_LayoutInterfaceMethods call...
15782 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
15784 2004-05-19 Anthony Green <green@localhost.localdomain>
15786 * Makefile.am (awt_java_source_files): Remove javax.rmi and
15787 gnu.javax.rmi code.
15788 * Makefile.in: Rebuilt.
15789 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
15790 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
15791 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
15792 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
15793 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
15794 gnu/javax/rmi/CORBA/DelegateFactory.java,
15795 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
15796 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
15797 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
15798 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
15799 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
15800 gnu/javax/rmi/PortableServer.java: Remove files.
15802 2004-05-19 Anthony Green <green@redhat.com>
15804 * Makefile.am: Define JAVA_EXT_DIRS.
15805 * Makefile.in: Rebuilt.
15806 * java/lang/natRuntime.cc (insertSystemProperties): Set
15807 java.ext.dirs property.
15809 2004-05-16 Mark Wielaard <mark@klomp.org>
15811 * java/io/Writer.java (Writer(Object)): Check for null lock object.
15813 2004-05-15 Mark Wielaard <mark@klomp.org>
15815 * doc/cni.sgml: Removed, merged into gcj.texi.
15817 2004-05-15 Mark Wielaard <mark@klomp.org>
15819 * Makefile.am (ordinary_java_source_files): Add new javax.print
15821 * Makefile.in: Regenerated.
15823 2004-05-15 Michael Koch <konqueror@gmx.de>
15825 * javax/print/attribute/standard/DateTimeAtCompleted.java,
15826 javax/print/attribute/standard/DateTimeAtCreation.java,
15827 javax/print/attribute/standard/DateTimeAtProcessing.java,
15828 javax/print/attribute/standard/DocumentName.java,
15829 javax/print/attribute/standard/JobHoldUntil.java,
15830 javax/print/attribute/standard/JobImpressionsCompleted.java,
15831 javax/print/attribute/standard/JobMessageFromOperator.java,
15832 javax/print/attribute/standard/JobName.java,
15833 javax/print/attribute/standard/JobOriginatingUserName.java,
15834 javax/print/attribute/standard/JobPriority.java,
15835 javax/print/attribute/standard/JobPrioritySupported.java,
15836 javax/print/attribute/standard/NumberOfInterveningJobs.java,
15837 javax/print/attribute/standard/OutputDeviceAssigned.java,
15838 javax/print/attribute/standard/PrinterInfo.java,
15839 javax/print/attribute/standard/PrinterLocation.java,
15840 javax/print/attribute/standard/PrinterMakeAndModel.java,
15841 javax/print/attribute/standard/PrinterMessageFromOperator.java,
15842 javax/print/attribute/standard/PrinterName.java,
15843 javax/print/attribute/standard/QueuedJobCount.java,
15844 javax/print/attribute/standard/RequestingUserName.java:
15845 Fixed javadocs all over.
15847 2004-05-15 Michael Koch <konqueror@gmx.de>
15849 * javax/print/DocFlavor.java,
15850 javax/print/attribute/standard/ColorSupported.java,
15851 javax/print/attribute/standard/Compression.java,
15852 javax/print/attribute/standard/CopiesSupported.java,
15853 javax/print/attribute/standard/Fidelity.java,
15854 javax/print/attribute/standard/Finishings.java,
15855 javax/print/attribute/standard/JobImpressionsSupported.java,
15856 javax/print/attribute/standard/JobKOctetsSupported.java,
15857 javax/print/attribute/standard/JobMediaSheetsSupported.java,
15858 javax/print/attribute/standard/JobSheets.java,
15859 javax/print/attribute/standard/JobState.java,
15860 javax/print/attribute/standard/JobStateReason.java,
15861 javax/print/attribute/standard/JobStateReasons.java,
15862 javax/print/attribute/standard/Media.java,
15863 javax/print/attribute/standard/MediaSizeName.java,
15864 javax/print/attribute/standard/MultipleDocumentHandling.java,
15865 javax/print/attribute/standard/NumberUpSupported.java,
15866 javax/print/attribute/standard/OrientationRequested.java,
15867 javax/print/attribute/standard/PDLOverrideSupported.java,
15868 javax/print/attribute/standard/PageRanges.java,
15869 javax/print/attribute/standard/PresentationDirection.java,
15870 javax/print/attribute/standard/PrintQuality.java,
15871 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
15872 javax/print/attribute/standard/PrinterMoreInfo.java,
15873 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
15874 javax/print/attribute/standard/PrinterResolution.java,
15875 javax/print/attribute/standard/PrinterState.java,
15876 javax/print/attribute/standard/PrinterStateReason.java,
15877 javax/print/attribute/standard/PrinterStateReasons.java,
15878 javax/print/attribute/standard/PrinterURI.java,
15879 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
15880 javax/print/attribute/standard/Severity.java,
15881 javax/print/attribute/standard/SheetCollate.java,
15882 javax/print/attribute/standard/Sides.java:
15883 Added serialVersionUID and removed final keyword where it doenst
15886 2004-05-15 Michael Koch <konqueror@gmx.de>
15888 * javax/print/PrintServiceLookup.java: New file.
15890 2004-05-15 Michael Koch <konqueror@gmx.de>
15892 * javax/print/DocFlavor.java:
15893 Implemented all flavor classes.
15895 2004-05-15 Michael Koch <konqueror@gmx.de>
15897 * javax/print/attribute/standard/ColorSupported.java,
15898 javax/print/attribute/standard/Compression.java,
15899 javax/print/attribute/standard/CopiesSupported.java,
15900 javax/print/attribute/standard/Fidelity.java,
15901 javax/print/attribute/standard/Finishings.java,
15902 javax/print/attribute/standard/JobImpressionsSupported.java,
15903 javax/print/attribute/standard/JobKOctetsSupported.java,
15904 javax/print/attribute/standard/JobMediaSheetsSupported.java,
15905 javax/print/attribute/standard/JobSheets.java,
15906 javax/print/attribute/standard/JobState.java,
15907 javax/print/attribute/standard/JobStateReason.java,
15908 javax/print/attribute/standard/JobStateReasons.java,
15909 javax/print/attribute/standard/Media.java,
15910 javax/print/attribute/standard/MediaSizeName.java,
15911 javax/print/attribute/standard/MultipleDocumentHandling.java,
15912 javax/print/attribute/standard/NumberUpSupported.java,
15913 javax/print/attribute/standard/OrientationRequested.java,
15914 javax/print/attribute/standard/PDLOverrideSupported.java,
15915 javax/print/attribute/standard/PageRanges.java,
15916 javax/print/attribute/standard/PresentationDirection.java,
15917 javax/print/attribute/standard/PrintQuality.java,
15918 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
15919 javax/print/attribute/standard/PrinterMoreInfo.java,
15920 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
15921 javax/print/attribute/standard/PrinterResolution.java,
15922 javax/print/attribute/standard/PrinterState.java,
15923 javax/print/attribute/standard/PrinterStateReason.java,
15924 javax/print/attribute/standard/PrinterStateReasons.java,
15925 javax/print/attribute/standard/PrinterURI.java,
15926 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
15927 javax/print/attribute/standard/Severity.java,
15928 javax/print/attribute/standard/SheetCollate.java,
15929 javax/print/attribute/standard/Sides.java: New files.
15931 2004-05-15 Michael Koch <konqueror@gmx.de>
15933 * javax/print/Doc.java
15934 (getPrintData): Throws IOException.
15935 (getReaderForText): Likewise.
15936 (getStreamForBytes): Likewise.
15937 * javax/print/DocFlavor.java:
15938 Fixed filename in copyright.
15939 (serialVersionUID): New field.
15940 * javax/print/ServiceUIFactory.java:
15941 Made all constants final.
15942 * javax/print/AttributeException.java
15943 javax/print/MultiDoc.java
15944 javax/print/MultiDocPrintJob.java
15945 javax/print/MultiDocPrintService.java
15946 javax/print/StreamPrintService.java
15947 javax/print/URIException.java: New files.
15948 * javax/print/Makefile.am
15949 (EXTRA_DIST): Added all new files.
15951 2004-05-15 Michael Koch <konqueror@gmx.de>
15953 * javax/print/attribute/standard/Copies.java,
15954 javax/print/attribute/standard/DateTimeAtCompleted.java,
15955 javax/print/attribute/standard/DateTimeAtCreation.java,
15956 javax/print/attribute/standard/DateTimeAtProcessing.java,
15957 javax/print/attribute/standard/DocumentName.java,
15958 javax/print/attribute/standard/JobHoldUntil.java,
15959 javax/print/attribute/standard/JobImpressions.java,
15960 javax/print/attribute/standard/JobImpressionsCompleted.java,
15961 javax/print/attribute/standard/JobKOctets.java,
15962 javax/print/attribute/standard/JobKOctetsProcessed.java,
15963 javax/print/attribute/standard/JobMediaSheets.java,
15964 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15965 javax/print/attribute/standard/JobMessageFromOperator.java,
15966 javax/print/attribute/standard/JobName.java,
15967 javax/print/attribute/standard/JobOriginatingUserName.java,
15968 javax/print/attribute/standard/JobPriority.java,
15969 javax/print/attribute/standard/JobPrioritySupported.java,
15970 javax/print/attribute/standard/NumberOfDocuments.java,
15971 javax/print/attribute/standard/NumberOfInterveningJobs.java,
15972 javax/print/attribute/standard/NumberUp.java,
15973 javax/print/attribute/standard/OutputDeviceAssigned.java,
15974 javax/print/attribute/standard/PagesPerMinute.java,
15975 javax/print/attribute/standard/PagesPerMinuteColor.java:
15976 Fixed @return tag all over.
15978 2004-05-15 Michael Koch <konqueror@gmx.de>
15980 * javax/print/attribute/AttributeSetUtilities.java
15981 (verifyCategoryForValue): Fixed typo in javadoc.
15982 * javax/print/attribute/HashAttributeSet.java
15983 (containsKey): Fixed @return tag.
15984 (comtainsValue): Likewise.
15985 (equals): Likewise.
15986 * javax/print/attribute/IntegerSyntax.java
15987 (equals): Likewise.
15988 * javax/print/attribute/ResolutionSyntax.java
15989 (equals): Likewise.
15990 (getCrossFeedResolution): Removed unused code.
15991 (getFeedResolution): Likewise.
15992 * javax/print/attribute/SetOfIntegerSyntax.java
15993 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
15994 (equals): Fixed @return tag.
15995 * javax/print/attribute/TextSyntax.java
15996 (TextSyntax): Take locale into account.
15997 (hashCode): Better implementation.
15999 2004-05-15 Michael Koch <konqueror@gmx.de>
16001 * javax/print/CancelablePrintJob.java,
16002 javax/print/Doc.java,
16003 javax/print/DocFlavor.java,
16004 javax/print/DocPrintJob.java,
16005 javax/print/FlavorException.java,
16006 javax/print/PrintException.java,
16007 javax/print/PrintService.java,
16008 javax/print/ServiceUIFactory.java: New files.
16010 2004-05-15 Mark Wielaard <mark@klomp.org>
16012 * gnu/regexp/CharIndexedReader.java: Removed.
16013 * gnu/regexp/REFilterReader.java: Likewise.
16014 * gnu/regexp/RETokenLookAhead.java: Likewise.
16015 * Makefile.am (ordinary_java_source_files): Remove above classes.
16016 * Makefile.in: Regenerated.
16018 2004-05-14 Tom Tromey <tromey@redhat.com>
16020 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
16021 not `XGraphicsConfiguration.XOffScreenImage'.
16023 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
16025 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
16027 2004-05-14 Steven Augart <augart@watson.ibm.com>
16029 * include/jni.h (_Jv_func): Removed.
16030 (struct JNINativeInterface): Use `void *' for reserved slots.
16031 (struct JNIInvokeInterface): Likewise.
16033 2004-05-11 Michael Koch <konqueror@gmx.de>
16035 * gnu/java/net/natPlainSocketImplPosix.cc
16036 (read): Fixed typo in expression.
16038 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
16040 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
16041 ld_library_additions. Adjust all calls to libjava_invoke to match
16044 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
16045 path to cxxflagslist.
16046 Pass path of libstdc++ to libjava_invoke.
16048 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
16049 libjava_invoke arguments.
16051 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
16053 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
16056 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
16058 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
16059 main binary against the JNI shared library.
16061 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
16063 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
16064 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
16065 (SimpleTimeZone): Tweak docs. Add new variation.
16066 (setStartRule,setEndRule): Add new variations. Use
16067 startTimeMode and endTimeMode.
16069 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
16071 * java/util/Calendar.java (getActualMinimum,
16072 getActualMaximum): Remove abstract. Implement.
16074 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
16076 Run the jni tests using the interpreter.
16077 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
16078 options_cxx to shared lib compile command.
16079 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
16080 they are used to link the shared lib, not the main binary.
16081 Use libjava_invoke to run gij.
16083 2004-05-06 Michael Koch <konqueror@gmx.de>
16085 * java/util/logging/Level.java
16086 (parse): Use == instead of String.equals().
16088 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
16090 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
16091 verify_field_signature and verify_method_signature, not
16092 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
16093 (_Jv_ClassReader::handleField): Likewise.
16094 (_Jv_ClassReader::handleMethod): Likewise.
16096 2004-05-06 Michael Koch <konqueror@gmx.de>
16098 * javax/swing/table/TableColumn.java:
16101 2004-05-06 Michael Koch <konqueror@gmx.de>
16103 * javax/imageio/spi/ImageReaderWriterSpi.java
16104 (ImageReaderWriterSpi): Made it public.
16105 * javax/imageio/stream/ImageInputStream.java:
16108 2004-05-06 Michael Koch <konqueror@gmx.de>
16110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16111 Removed empty line.
16113 2004-05-06 Michael Koch <konqueror@gmx.de>
16115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
16116 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
16118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
16119 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
16120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
16121 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
16122 their own source file.
16123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16124 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
16125 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
16126 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
16127 (create): Define variable on top of function.
16128 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
16129 (menu_pos): Prototyped.
16130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16131 (setTitle): Removed.
16132 * jni/gtk-peer/gthread-jni.c
16133 (gdk_threads_wake): Removed.
16134 * Makefile.am (gtk_c_source_files): Added new files
16135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
16136 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
16137 * Makefile.in: Regenerated.
16139 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
16141 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
16144 2004-05-05 Mark Wielaard <mark@klomp.org>
16146 * javax/swing/AbstractButton.java: Replace special HTML entities with
16148 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
16149 * javax/swing/DefaultButtonModel.java: Likewise.
16150 * javax/swing/DefaultListModel.java: Likewise.
16151 * javax/swing/JList.java: Likewise.
16152 * javax/swing/JSlider.java: Likewise.
16153 * javax/swing/ListModel.java: Likewise.
16154 * javax/swing/Popup.java: Likewise.
16155 * javax/swing/SwingUtilities.java: Likewise.
16157 2004-05-05 Michael Koch <konqueror@gmx.de>
16159 * javax/swing/AbstractButton.java,
16160 javax/swing/ActionMap.java,
16161 javax/swing/DefaultButtonModel.java,
16162 javax/swing/DefaultListModel.java,
16163 javax/swing/ImageIcon.java,
16164 javax/swing/JComboBox.java,
16165 javax/swing/JComponent.java,
16166 javax/swing/JFrame.java,
16167 javax/swing/JInternalFrame.java,
16168 javax/swing/JMenuBar.java,
16169 javax/swing/JMenuItem.java,
16170 javax/swing/JOptionPane.java,
16171 javax/swing/JProgressBar.java,
16172 javax/swing/JRootPane.java,
16173 javax/swing/JScrollBar.java,
16174 javax/swing/JScrollPane.java,
16175 javax/swing/JSeparator.java,
16176 javax/swing/JSlider.java,
16177 javax/swing/JTabbedPane.java,
16178 javax/swing/JTable.java,
16179 javax/swing/JTextField.java,
16180 javax/swing/JToolBar.java,
16181 javax/swing/JToolTip.java,
16182 javax/swing/JTree.java,
16183 javax/swing/JViewport.java,
16184 javax/swing/JWindow.java,
16185 javax/swing/KeyStroke.java,
16186 javax/swing/LookAndFeel.java,
16187 javax/swing/SwingUtilities.java,
16188 javax/swing/Timer.java,
16189 javax/swing/ToolTipManager.java,
16190 javax/swing/UIDefaults.java,
16191 javax/swing/border/TitledBorder.java,
16192 javax/swing/filechooser/FileSystemView.java,
16193 javax/swing/plaf/basic/BasicButtonListener.java,
16194 javax/swing/plaf/basic/BasicButtonUI.java,
16195 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
16196 javax/swing/plaf/basic/BasicGraphicsUtils.java,
16197 javax/swing/plaf/basic/BasicLabelUI.java,
16198 javax/swing/plaf/basic/BasicMenuItemUI.java,
16199 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
16200 javax/swing/plaf/basic/BasicRootPaneUI.java,
16201 javax/swing/plaf/basic/BasicScrollBarUI.java,
16202 javax/swing/plaf/basic/BasicScrollPaneUI.java,
16203 javax/swing/plaf/basic/BasicSliderUI.java,
16204 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
16205 javax/swing/plaf/basic/BasicToggleButtonUI.java,
16206 javax/swing/table/JTableHeader.java,
16207 javax/swing/text/AbstractDocument.java,
16208 javax/swing/text/DefaultCaret.java,
16209 javax/swing/text/StyledEditorKit.java,
16210 javax/swing/tree/DefaultTreeCellEditor.java:
16211 Cleaned up imports.
16213 2004-05-05 Michael Koch <konqueror@gmx.de>
16215 * java/util/prefs/AbstractPreferences.java
16216 (AbstractPreferences): Added parenthesis for clarity.
16217 Closes classpath bug #7940.
16219 2004-05-05 Tom Tromey <tromey@redhat.com>
16221 * javax/naming/CompoundName.java (endsWith): Look at correct
16222 element of source name.
16224 2004-05-05 Mark Wielaard <mark@klomp.org>
16226 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
16227 * java/util/HashMap.java (rehash): Add entry at start of bucket.
16229 2004-05-05 Tom Tromey <tromey@redhat.com>
16231 * java/io/BufferedReader.java (skip): Removed unused
16234 2004-05-05 Michael Koch <konqueror@gmx.de>
16236 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
16238 2004-05-05 Dalibor Topic <robilad@kaffe.org>
16240 * java/text/AttributedString.java,
16241 java/text/AttributedStringIterator.java,
16242 java/text/Collator.java,
16243 java/text/DecimalFormatSymbols.java,
16244 java/text/NumberFormat.java,
16245 java/text/RuleBasedCollator.java:
16246 Cleaned up imports.
16248 2004-05-05 Tom Tromey <tromey@redhat.com>
16250 * java/text/Format.java: Cleaned up imports.
16251 * java/text/DecimalFormat.java: Cleaned up imports.
16252 * java/security/SecureRandom.java: Cleaned up imports.
16253 (SecureRandom): Removed unused variable.
16254 * java/security/UnresolvedPermission.java: Cleaned up imports.
16255 * java/util/Date.java (parse): Removed unused variable.
16256 * java/util/ResourceBundle.java: Cleaned up imports.
16257 (getBundle): Removed unused variable.
16258 (tryBundle): Likewise.
16259 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
16261 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16263 * java/text/SimpleDateFormat.java:
16264 (formatWithAttribute): New method. It implements
16265 the formatting process with attributes.
16266 (format): Use formatWithAttribute.
16267 (formatToCharacterIterator): New method. Use
16268 formatWithAttribute.
16270 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16272 * java/text/MessageFormat.java:
16273 (class Field): New class.
16274 (formatToCharacterIterator): New method.
16275 (format): Use formatInternal now.
16276 (formatInternal): New method. String formatter should
16277 be done here (with attributes). Attributes merging supported.
16278 (parse): More documentation.
16279 (getFormatsByArgumentIndex): New method.
16280 (setFormatByArgumentIndex): New method.
16281 (setFormatsByArgumentIndex): New method.
16283 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16285 * java/text/DecimalFormat.java
16286 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
16287 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
16288 (parse): Fixed handling of exponentiation notation and grouping.
16290 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16292 * java/text/DecimalFormat.java
16293 (scanFix): Build attribute array. Fixed error reporting.
16294 (applyPatternWithSymbols): Store attributes for the prefix and
16296 (formatInternal): New method. Changed the way the string is
16297 computed. Implemented attributes. Cleant up rounding in
16298 exponential notation.
16299 (format): Use formatInternal.
16300 (formatToCharacterIterator): New method.
16301 (exponentRound, negativePrefixRanges, positivePrefixRanges,
16302 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
16303 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
16306 2004-05-04 Dalibor Topic <robilad@kaffe.org>
16308 * java/security/interfaces/DSAKeyPairGenerator.java,
16309 java/security/interfaces/DSAPrivateKey.java,
16310 java/security/interfaces/DSAPublicKey.java,
16311 java/security/interfaces/RSAPrivateKey.java,
16312 java/security/interfaces/RSAPublicKey.java:
16313 Cleaned up imports.
16315 2004-05-04 Michael Koch <konqueror@gmx.de>
16317 * java/nio/ByteBuffer.java,
16318 java/nio/CharBuffer.java,
16319 java/nio/DoubleBuffer.java,
16320 java/nio/FloatBuffer.java,
16321 java/nio/IntBuffer.java,
16322 java/nio/LongBuffer.java,
16323 java/nio/ShortBuffer.java:
16324 (compareTo): Fixed bogus implementation in all buffer classes.
16326 2004-05-04 Ingo Proetel <proetel@aicas.com>
16328 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
16329 32 bit pixels not 8 bit pixels.
16330 (isCompatibleRaster): Added javadoc comment.
16332 2004-05-04 Ingo Proetel <proetel@aicas.com>
16334 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
16337 2004-05-04 Ingo Proetel <proetel@aicas.com>
16339 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
16340 (getColorModel): Return the actual color model.
16341 (getRaster): Implemented.
16342 (ColorRaster): New inner class.
16343 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
16345 * java/awt/Color.java (<init>): Make exception more verbose.
16346 (createContext): Use ColorModel when creating a PaintContext.
16348 2004-05-04 Michael Koch <konqueror@gmx.de>
16350 * gnu/java/text/CharacterBreakIterator.java
16351 (previous): Removed unused variable.
16353 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
16355 * gnu/java/text/FormatBuffer.java,
16356 gnu/java/text/AttributedFormatBuffer.java,
16357 gnu/java/text/StringFormatBuffer.java: New classes to implement
16358 attributed iterators in java.text.
16359 * gnu/java/text/FormatCharacterIterator.java: Moved
16360 from java/text as it is an internal class.
16361 * java/text/FormatCharacterIterator.java: Removed.
16362 * java/text/Format.java:
16363 Import gnu.java.text.FormatCharacterIterator.
16364 * Makefile.am (java_source_files): Added new files.
16365 * Makefile.in: Regenerated.
16368 2004-05-04 Mark Wielaard <mark@klomp.org>
16370 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
16372 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
16374 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
16375 * Makefile.in: Rebuilt.
16377 2004-05-03 Mark Wielaard <mark@klomp.org>
16379 * gnu/java/security/der/DERReader.java: Call static methods staticly.
16380 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
16381 * java/net/URL.java
16382 (set(String, String, int, String, String, String, String, String)):
16383 Assign this.file to path or path + "?" + query.
16384 * java/util/Arrays.java: Call static methods staticly.
16385 * java/util/zip/ZipEntry.java: Likewise.
16386 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
16387 dir to this.direction.
16388 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
16389 Assign static field only once.
16390 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
16392 2004-05-03 Mark Wielaard <mark@klomp.org>
16394 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
16395 unused variables hScrollbarHeight and vScrollbarWidth.
16396 (preferredSize): Likewise.
16397 * gnu/java/security/provider/DSAParameters.java (engineToString):
16398 Removed unused call to System.getProperty("line.seperator");
16399 * java/security/Security.java (loadProviders): Return result.
16401 2004-05-03 Tom Tromey <tromey@redhat.com>
16403 * java/net/URLStreamHandler.java (toExternalForm): Removed
16405 unused constructor.
16406 * java/math/BigDecimal.java (divide): Removed unused variable.
16407 * java/lang/Throwable.java: Cleaned up imports.
16408 * java/lang/ClassLoader.java: Cleaned up imports.
16409 * java/io/FilePermission.java (implies): Removed unused
16411 * java/awt/TextComponent.java: Removed unused import.
16412 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
16413 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
16414 * gnu/java/text/WordBreakIterator.java: Removed unused import.
16415 * gnu/java/text/SentenceBreakIterator.java: Removed unused
16417 * gnu/java/text/LineBreakIterator.java: Removed unused import.
16418 * gnu/java/text/CharacterBreakIterator.java: Removed
16420 * gnu/java/security/provider/DSAKeyPairGenerator.java:
16421 Cleaned up imports.
16422 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
16423 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
16425 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
16426 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
16427 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
16428 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
16429 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
16430 (lookupProviders): Removed unused variable.
16431 (loadNextServiceProvider): Likewise.
16432 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
16434 2004-05-03 Michael Koch <konqueror@gmx.de>
16436 Fixes PR libgcj/14695:
16437 * java/net/NetworkInterface.java
16438 (getByName): Return null when no interface was found.
16440 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
16441 Tom Tromey <tromey@redhat.com>
16443 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
16444 additional option "-Wmissing-prototypes" for compiling C sources.
16445 Print actual filename for pass/fail rather than $name.c.
16446 * testsuite/libjava.jni/PR15133.java: New testcase file.
16447 * testsuite/libjava.jni/PR15133.c: Likewise.
16448 * testsuite/libjava.jni/PR15133.out: Likewise.
16450 2004-04-30 Roger Sayle <roger@eyesopen.com>
16452 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
16455 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
16457 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
16458 limit the maximum heap size to avoid unnecessary thrashing.
16460 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
16462 * java/text/CollationElementIterator.java (reset): Reset
16463 lookahead variables.
16465 2004-04-23 Mark Wielaard <mark@klomp.org>
16467 * jni/classpath/jcl.c: Changed C++ comments into C comments.
16469 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16471 * java/sql/DriverManager.java:
16472 Cleaned up imports.
16474 2004-04-23 Michael Koch <konqueror@gmx.de>
16476 * java/net/URL.java
16477 (hashcode): Don't initialize with default value explicitely.
16478 (getContent): Removed redundant "final" keyword.
16479 (openStream): Likewise.
16480 (getURLStreamHandler): Fixed coding style.
16481 * java/net/URLConnection.java
16482 (defaultAllowUserInteraction): Don't initialize with default value
16484 (connected): Likewise.
16485 (doOutput): Likewise.
16486 (ifModifiedSince): Likewise.
16487 (dateformats_initialized): Likewise.
16488 (setURLStreamHander): Use StreamTokenizer where it belongs to.
16490 2004-04-23 Michael Koch <konqueror@gmx.de>
16492 * gnu/java/nio/channels/FileChannelImpl.java
16493 (SET, CUR): Unused, removed.
16494 (read): Implement here directly.
16495 (implRead): Removed.
16496 (write): Implement here directly.
16497 (implWrite): Removed.
16499 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16501 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
16502 javax/rmi/CORBA/Stub.java,
16503 javax/rmi/CORBA/Util.java,
16504 javax/rmi/CORBA/ValueHandler.java,
16505 javax/rmi/CORBA/ValueHandler.java,
16506 javax/rmi/PortableRemoteObject.java:
16507 Cleaned up imports.
16509 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16511 * java/util/jar/JarFile.java,
16512 java/util/jar/JarInputStream.java,
16513 java/util/jar/JarOutputStream.java,
16514 java/util/jar/Manifest.java:
16515 Cleaned up imports.
16517 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16519 * java/util/ArrayList.java,
16520 java/util/Calendar.java,
16521 java/util/Currency.java,
16522 java/util/HashMap.java,
16523 java/util/HashSet.java,
16524 java/util/Hashtable.java,
16525 java/util/LinkedList.java,
16526 java/util/Properties.java,
16527 java/util/PropertyPermission.java,
16528 java/util/TimeZone.java,
16529 java/util/TreeMap.java,
16530 java/util/TreeSet.java,
16531 java/util/Vector.java,
16532 java/util/WeakHashMap.java:
16533 Cleaned up imports.
16535 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16537 * java/util/logging/FileHandler.java,
16538 java/util/logging/Formatter.java,
16539 java/util/logging/Handler.java,
16540 java/util/logging/Logger.java,
16541 java/util/logging/SimpleFormatter.java,
16542 java/util/logging/XMLFormatter.java:
16543 Cleaned up imports.
16545 2004-04-22 Mark Wielaard <mark@klomp.org>
16547 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
16548 -Wno-long-long flags variable.
16549 (gtk_c_files): Use PEDANTIC_CFLAGS.
16550 * Makefile.in: Regenerated.
16552 2004-04-22 Mark Wielaard <mark@klomp.org>
16554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16555 Changed C++ comments into C comments.
16556 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
16559 2004-04-22 Michael Koch <konqueror@gmx.de>
16561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
16562 Merged copyright year with GNU classpath.
16564 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16566 * javax/security/auth/x500/X500Principal.java:
16567 Cleaned up imports.
16569 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16571 * javax/swing/JSlider.java:
16572 Fixed HTML tags in comments.
16574 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16576 * javax/accessibility/AccessibleText.java:
16577 Cleaned up imports.
16579 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
16581 * java/net/URLStreamHandler.java
16582 (parseURL): Convert the file path to using '/' instead of native
16585 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
16587 * java/net/URL.java
16588 (userInfo): New field.
16589 (URL): Set authority to the right value.
16590 (setURL): Fixed authority and file initialization.
16591 * java/net/URLStreamHandler.java
16592 (parseURL): Take care of the query tag. Build authority.
16593 (toExternalForm): Fixed URL building using authority.
16595 2004-04-22 Michael Koch <konqueror@gmx.de>
16597 * java/net/Socket.java
16598 (impl): Made package-private.
16599 * java/net/ServerSocket.java
16600 (implAccept): Access Socket.impl field directly.
16602 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16604 * java/util/prefs/Preferences.java,
16605 java/util/prefs/InvalidPreferencesFormatException.java,
16606 java/util/prefs/BackingStoreException.java,
16607 java/util/prefs/AbstractPreferences.java:
16608 Cleaned up imports.
16610 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16612 * java/util/regex/Matcher.java,
16613 java/util/regex/Pattern.java:
16614 Cleaned up imports.
16616 2004-04-22 Michael Koch <konqueror@gmx.de>
16618 * java/nio/charset/IllegalCharsetNameException.java
16619 (charsetName): Made private.
16620 (IllegalCharsetNameException): Added @param tag to javadoc.
16621 (getCharsetName): Added @return tag to javadoc.
16622 * java/nio/charset/MalformedInputException.java
16623 (MalformedInputException): Added @param tag to javadoc.
16624 (getInputLength): Revised method description, added @return tag.
16625 (getMessage): Added @return tag.
16627 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
16629 * java/awt/Font.java (deriveFont): Implement missing variants.
16630 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
16633 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
16635 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
16636 Set method->index values for interface methods to their itable index.
16637 (initializeClass): Call _Jv_LayoutInterfaceMethods.
16639 2004-04-21 Michael Koch <konqueror@gmx.de>
16641 * java/nio/DirectByteBufferImpl.java
16642 (shiftDown): Made static, give address as argument and
16643 provide a convenience method that overwrites shiftDown in
16644 ByteBufferImpl and calls the native shiftDown.
16645 * java/nio/MappedByteBufferImpl.java
16646 (): Use optimized method in DirectByteBufferImpl.
16647 * java/nio/natDirectByteBufferImpl.cc
16648 (shiftDown): Changed method signature. Removed usage of array_offset.
16650 2004-04-21 Michael Koch <konqueror@gmx.de>
16652 * gnu/java/net/natPlainSocketImplPosix.cc
16653 (SocketInputStream::read): Make sure returned data is a byte value.
16655 2004-04-21 Michael Koch <konqueror@gmx.de>
16657 * gnu/classpath/ServiceFactory.java,
16658 gnu/classpath/ServiceProviderLoadingAction.java,
16659 javax/imageio/ImageReader.java,
16660 javax/imageio/ImageTranscoder.java,
16661 javax/imageio/ImageWriter.java,
16662 javax/imageio/package.html,
16663 javax/imageio/spi/IIOServiceProvider.java,
16664 javax/imageio/spi/ImageInputStreamSpi.java,
16665 javax/imageio/spi/ImageOutputStreamSpi.java,
16666 javax/imageio/spi/ImageReaderWriterSpi.java,
16667 javax/imageio/spi/ImageTranscoderSpi.java,
16668 javax/imageio/spi/RegisterableService.java,
16669 javax/imageio/spi/ServiceRegistry.java,
16670 javax/imageio/spi/package.html,
16671 javax/imageio/stream/IIOByteBuffer.java,
16672 javax/imageio/stream/ImageInputStream.java,
16673 javax/imageio/stream/ImageOutputStream.java,
16674 javax/imageio/stream/package.html:
16677 (ordinary_java_source_files): Added
16678 gnu/classpath/ServiceFactory.java and
16679 gnu/classpath/ServiceProviderLoadingAction.java.
16680 (javax_source_files): Added
16681 javax/imageio/ImageReader.java,
16682 javax/imageio/ImageTranscoder.java,
16683 javax/imageio/ImageWriter.java,
16684 javax/imageio/spi/IIOServiceProvider.java,
16685 javax/imageio/spi/ImageInputStreamSpi.java,
16686 javax/imageio/spi/ImageOutputStreamSpi.java,
16687 javax/imageio/spi/ImageReaderWriterSpi.java,
16688 javax/imageio/spi/ImageTranscoderSpi.java,
16689 javax/imageio/spi/RegisterableService.java,
16690 javax/imageio/spi/ServiceRegistry.java,
16691 javax/imageio/stream/IIOByteBuffer.java,
16692 javax/imageio/stream/ImageInputStream.java and
16693 javax/imageio/stream/ImageOutputStream.java.
16694 * Makefile.in: Regenerated.
16696 2004-04-21 Michael Koch <konqueror@gmx.de>
16698 * java/util/Properties.java
16699 (load): Fix wrongly merged fix.
16701 2004-04-21 Mark Wielaard <mark@klomp.org>
16703 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
16704 malloc and free buf.
16706 2004-04-21 Dalibor Topic <robilad@kaffe.org>
16708 * javax/naming/AuthenticationException.java,
16709 javax/naming/AuthenticationNotSupportedException.java,
16710 javax/naming/CannotProceedException.java,
16711 javax/naming/CommunicationException.java,
16712 javax/naming/CompoundName.java,
16713 javax/naming/ConfigurationException.java,
16714 javax/naming/ContextNotEmptyException.java,
16715 javax/naming/InitialContext.java,
16716 javax/naming/InsufficientResourcesException.java,
16717 javax/naming/InterruptedNamingException.java,
16718 javax/naming/LimitExceededException.java,
16719 javax/naming/LinkException.java,
16720 javax/naming/LinkLoopException.java,
16721 javax/naming/LinkRef.java,
16722 javax/naming/MalformedLinkException.java,
16723 javax/naming/Name.java,
16724 javax/naming/NameAlreadyBoundException.java,
16725 javax/naming/NameNotFoundException.java,
16726 javax/naming/NamingSecurityException.java,
16727 javax/naming/NoInitialContextException.java,
16728 javax/naming/NoPermissionException.java,
16729 javax/naming/NotContextException.java,
16730 javax/naming/PartialResultException.java,
16731 javax/naming/ReferralException.java,
16732 javax/naming/ServiceUnavailableException.java,
16733 javax/naming/SizeLimitExceededException.java,
16734 javax/naming/TimeLimitExceededException.java,
16735 javax/naming/directory/Attribute.java,
16736 javax/naming/directory/Attributes.java,
16737 javax/naming/directory/SearchResult.java,
16738 javax/naming/event/NamingExceptionEvent.java,
16739 javax/naming/spi/ResolveResult.java:
16740 Cleaned up imports.
16742 2004-04-21 Mark Wielaard <mark@klomp.org>
16744 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
16745 Changed C++ comments into C comments. Removed commented out code.
16746 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16748 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
16750 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
16752 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
16754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
16756 * native/jni/gtk-peer/gthread-jni.c:
16759 2004-04-21 Mark Wielaard <mark@klomp.org>
16761 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
16762 static fields defined in interface.
16763 * javax/awt/JDialog.java: Likewise.
16764 (JDialog): Make constructors public.
16765 (getDefaultCloseOperation): Make public.
16766 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
16767 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
16768 * javax/swing/JViewport.java (JViewport): Make constructor public.
16770 2004-04-21 Michael Koch <konqueror@gmx.de>
16772 * java/util/Map.java
16773 (Entry): Removed redundant "static" modifier.
16774 * java/text/AttributedCharacterIterator.java:
16775 Updated copyright year.
16777 2004-04-20 Michael Koch <konqueror@gmx.de>
16779 * javax/naming/directory/SearchControls.java:
16780 Don't explicitely extend java.lang.Object.
16781 * javax/naming/spi/DirStateFactory.java:
16782 Merged copyright year with GNU classpath.
16784 2004-04-20 Michael Koch <konqueror@gmx.de>
16786 * java/nio/channels/Channels.java:
16787 Merged coding style with GNU classpath.
16789 2004-04-20 Michael Koch <konqueror@gmx.de>
16791 * java/net/ServerSocket.java
16792 Merged coding style from GNU classpath.
16794 2004-04-20 Michael Koch <konqueror@gmx.de>
16796 * java/io/BufferedWriter.java:
16797 Reordered variables to be at top of the class.
16798 (localFlush): Removed redundant final keyword.
16800 2004-04-20 Ingo Proetel <proetel@aicas.com>
16802 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
16804 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
16806 * java/text/DecimalFormat.java (scanFix): Removed suffix check
16807 for percent and permill check.
16809 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
16811 * java/text/FieldPosition.java
16812 (FieldPosition) Constructor now behaves as it should according
16813 to the java documentation.
16815 2004-04-20 Mark Wielaard <mark@klomp.org>
16817 * java/util/Properties.java: Use the word umlaut, not ä in api
16820 2004-04-20 Michael Koch <konqueror@gmx.de>
16822 * java/nio/Buffer.java,
16823 java/nio/channels/AlreadyConnectedException.java,
16824 java/nio/channels/AsynchronousCloseException.java,
16825 java/nio/channels/ByteChannel.java,
16826 java/nio/channels/CancelledKeyException.java,
16827 java/nio/channels/Channel.java,
16828 java/nio/channels/Channels.java,
16829 java/nio/channels/ClosedByInterruptException.java,
16830 java/nio/channels/ClosedChannelException.java,
16831 java/nio/channels/ClosedSelectorException.java,
16832 java/nio/channels/ConnectionPendingException.java,
16833 java/nio/channels/DatagramChannel.java,
16834 java/nio/channels/FileChannel.java,
16835 java/nio/channels/FileLock.java,
16836 java/nio/channels/FileLockInterruptionException.java,
16837 java/nio/channels/GatheringByteChannel.java,
16838 java/nio/channels/IllegalBlockingModeException.java,
16839 java/nio/channels/IllegalSelectorException.java,
16840 java/nio/channels/InterruptibleChannel.java,
16841 java/nio/channels/NoConnectionPendingException.java,
16842 java/nio/channels/NonReadableChannelException.java,
16843 java/nio/channels/NonWritableChannelException.java,
16844 java/nio/channels/NotYetBoundException.java,
16845 java/nio/channels/NotYetConnectedException.java,
16846 java/nio/channels/OverlappingFileLockException.java,
16847 java/nio/channels/Pipe.java,
16848 java/nio/channels/ReadableByteChannel.java,
16849 java/nio/channels/ScatteringByteChannel.java,
16850 java/nio/channels/SelectableChannel.java,
16851 java/nio/channels/SelectionKey.java,
16852 java/nio/channels/Selector.java,
16853 java/nio/channels/ServerSocketChannel.java,
16854 java/nio/channels/SocketChannel.java,
16855 java/nio/channels/UnresolvedAddressException.java,
16856 java/nio/channels/UnsupportedAddressTypeException.java,
16857 java/nio/channels/WritableByteChannel.java,
16858 java/nio/channels/spi/AbstractInterruptibleChannel.java,
16859 java/nio/channels/spi/AbstractSelectableChannel.java,
16860 java/nio/channels/spi/AbstractSelectionKey.java,
16861 java/nio/channels/spi/AbstractSelector.java,
16862 java/nio/channels/spi/SelectorProvider.java,
16863 java/nio/charset/spi/CharsetProvider.java:
16864 Fixed javadocs and jalopied all over java.nio.
16866 2004-04-20 Michael Koch <konqueror@gmx.de>
16868 * java/nio/ByteBufferImpl.java,
16869 java/nio/CharBufferImpl.java,
16870 java/nio/DirectByteBufferImpl.java,
16871 java/nio/DoubleBufferImpl.java,
16872 java/nio/DoubleViewBufferImpl.java,
16873 java/nio/FloatBufferImpl.java,
16874 java/nio/FloatViewBufferImpl.java,
16875 java/nio/IntBufferImpl.java,
16876 java/nio/IntViewBufferImpl.java,
16877 java/nio/LongBufferImpl.java,
16878 java/nio/LongViewBufferImpl.java,
16879 java/nio/MappedByteBufferImpl.java,
16880 java/nio/ShortBufferImpl.java,
16881 java/nio/ShortViewBufferImpl.java:
16882 Made sure all classes are final and removed final keyword from all
16885 2004-04-20 Michael Koch <konqueror@gmx.de>
16887 * java/rmi/MarshalledObject.java,
16888 java/rmi/Naming.java,
16889 java/rmi/RemoteException.java,
16890 java/rmi/activation/ActivationException.java,
16891 java/rmi/server/ServerCloneException.java,
16892 java/security/AccessController.java,
16893 java/security/AlgorithmParameterGenerator.java,
16894 java/security/AlgorithmParameters.java,
16895 java/security/CodeSource.java,
16896 java/security/Identity.java,
16897 java/security/IdentityScope.java,
16898 java/security/KeyPairGenerator.java,
16899 java/security/KeyStore.java,
16900 java/security/Security.java,
16901 java/security/Signature.java,
16902 java/security/SignatureSpi.java,
16903 java/security/SignedObject.java,
16904 java/security/spec/DSAParameterSpec.java,
16905 java/security/spec/DSAPrivateKeySpec.java,
16906 java/security/spec/DSAPublicKeySpec.java,
16907 java/sql/Array.java,
16908 java/sql/DatabaseMetaData.java,
16909 java/sql/ResultSet.java,
16910 java/text/ChoiceFormat.java,
16911 java/text/CollationElementIterator.java,
16912 java/text/CollationKey.java,
16913 java/text/Collator.java,
16914 java/text/DateFormat.java,
16915 java/text/DateFormatSymbols.java,
16916 java/text/DecimalFormatSymbols.java,
16917 java/text/Format.java,
16918 java/text/ParsePosition.java,
16919 java/text/RuleBasedCollator.java,
16920 java/text/SimpleDateFormat.java,
16921 java/text/StringCharacterIterator.java,
16922 java/util/Collections.java,
16923 java/util/PropertyResourceBundle.java,
16924 java/util/ResourceBundle.java,
16925 java/util/StringTokenizer.java,
16926 java/util/jar/Attributes.java,
16927 java/util/logging/ConsoleHandler.java,
16928 java/util/logging/LogManager.java,
16929 java/util/logging/MemoryHandler.java,
16930 java/util/logging/SocketHandler.java,
16931 javax/naming/NamingException.java:
16932 Fixed javadoc, coding style and argument names all over.
16934 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
16936 * java/io/FileDescriptor.java: (FileDescriptor) Added public
16937 constructor. (valid) Added null check.
16939 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
16941 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
16942 * java/io/FileOutputStream.java
16943 (FileOutputStream) Reorganized constructors. Constructors now
16944 check whether the given path is directory.
16946 2004-04-20 Michael Koch <konqueror@gmx.de>
16948 * java/net/Authenticator.java,
16949 java/net/BindException.java,
16950 java/net/ConnectException.java,
16951 java/net/ContentHandler.java,
16952 java/net/ContentHandlerFactory.java,
16953 java/net/DatagramPacket.java,
16954 java/net/DatagramSocket.java,
16955 java/net/DatagramSocketImpl.java,
16956 java/net/DatagramSocketImplFactory.java,
16957 java/net/FileNameMap.java,
16958 java/net/HttpURLConnection.java,
16959 java/net/Inet4Address.java,
16960 java/net/Inet6Address.java,
16961 java/net/InetAddress.java,
16962 java/net/InetSocketAddress.java,
16963 java/net/JarURLConnection.java,
16964 java/net/MalformedURLException.java,
16965 java/net/MulticastSocket.java,
16966 java/net/NetPermission.java,
16967 java/net/NetworkInterface.java,
16968 java/net/NoRouteToHostException.java,
16969 java/net/PasswordAuthentication.java,
16970 java/net/PortUnreachableException.java,
16971 java/net/ProtocolException.java,
16972 java/net/ServerSocket.java,
16973 java/net/Socket.java,
16974 java/net/SocketAddress.java,
16975 java/net/SocketException.java,
16976 java/net/SocketImpl.java,
16977 java/net/SocketImplFactory.java,
16978 java/net/SocketOptions.java,
16979 java/net/SocketPermission.java,
16980 java/net/SocketTimeoutException.java,
16982 java/net/URISyntaxException.java,
16984 java/net/URLClassLoader.java,
16985 java/net/URLConnection.java,
16986 java/net/URLDecoder.java,
16987 java/net/URLEncoder.java,
16988 java/net/URLStreamHandler.java,
16989 java/net/URLStreamHandlerFactory.java,
16990 java/net/UnknownHostException.java,
16991 java/net/UnknownServiceException.java:
16992 Fixed javadocs, coding style and argument names all over.
16994 2004-04-20 Michael Koch <konqueror@gmx.de>
16996 * java/lang/Byte.java,
16997 java/lang/CharSequence.java,
16998 java/lang/ClassLoader.java,
16999 java/lang/Compiler.java,
17000 java/lang/Double.java,
17001 java/lang/Float.java,
17002 java/lang/Integer.java,
17003 java/lang/Long.java,
17004 java/lang/Math.java,
17005 java/lang/Number.java,
17006 java/lang/Package.java,
17007 java/lang/Runtime.java,
17008 java/lang/RuntimePermission.java,
17009 java/lang/SecurityManager.java,
17010 java/lang/Short.java,
17011 java/lang/StringBuffer.java,
17012 java/lang/System.java,
17013 java/lang/ThreadGroup.java,
17014 java/lang/Throwable.java,
17015 java/lang/reflect/InvocationHandler.java,
17016 java/lang/reflect/Proxy.java:
17017 Fixed javadocs, coding style and argument names all over.
17019 2004-04-20 Michael Koch <konqueror@gmx.de>
17021 * java/io/BufferedWriter.java,
17022 java/io/ByteArrayInputStream.java,
17023 java/io/CharArrayWriter.java,
17024 java/io/DataInput.java,
17025 java/io/DataInputStream.java,
17027 java/io/FilterInputStream.java,
17028 java/io/InputStream.java,
17029 java/io/InputStreamReader.java,
17030 java/io/ObjectInputStream.java,
17031 java/io/ObjectStreamClass.java,
17032 java/io/PipedInputStream.java,
17033 java/io/PipedReader.java,
17034 java/io/PushbackInputStream.java,
17035 java/io/PushbackReader.java,
17036 java/io/RandomAccessFile.java,
17037 java/io/SerializablePermission.java,
17038 java/io/StreamTokenizer.java,
17039 java/io/StringWriter.java,
17040 java/io/WriteAbortedException.java,
17041 java/io/Writer.java:
17042 Fixed javadocs all over, rename arguments to match javadocs,
17043 fixed coding style.
17045 2004-04-20 Ingo Proetel <proetel@aicas.com>
17047 * java/awt/FontMetrics.java:
17048 (charsWidth): fixed accumulation of total_width
17049 (getWidth): simple default implementation
17050 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
17051 in Rectangle constructor.
17052 * java/awt/image/Raster.java (toString): Added method.
17053 * java/awt/image/SampleModel.java (<init>): Added error cause
17054 information to thrown exception.
17055 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
17057 (setDataElements): New method.
17058 (setPixels): New method.
17059 (toString): New method.
17061 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
17063 * java/awt/image/ComponentColorModel.java
17064 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
17065 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
17066 Mauve tests on this method. Improved documentation.
17068 2004-04-20 Michael Koch <konqueror@gmx.de>
17070 * javax/swing/JLayeredPane.java,
17071 javax/swing/plaf/BorderUIResource.java,
17072 javax/swing/plaf/ComponentUI.java,
17073 javax/swing/undo/CompoundEdit.java,
17074 javax/swing/undo/StateEdit.java:
17075 Fixed HTML tags in javadocs all over.
17077 2004-04-20 Michael Koch <konqueror@gmx.de>
17079 * javax/print/attribute/EnumSyntax.java
17080 (getOffset): Made protected.
17081 * javax/print/attribute/HashAttributeSet.java
17082 (HashAttributeSet): Likewise.
17083 * javax/print/attribute/ResolutionSyntax.java
17084 (getFeedResolution): Fixed typo in exception name.
17085 (getCrossFeedResolution): Likewise.
17086 * javax/print/attribute/SetOfIntegerSyntax.java
17087 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
17088 * javax/print/attribute/TextSyntax.java
17089 (TextSyntax): Handle locale correctly.
17090 (hashCode): Calc better hashcode value.
17091 (equals): Fixed @return tag.
17092 (toString): New method.
17094 2004-04-20 Michael Koch <konqueror@gmx.de>
17096 * gnu/java/nio/FileLockImpl.java
17097 (static): Removed, not needed anymore.
17098 * gnu/java/nio/channels/FileChannelImpl.java
17099 (FileChannelImpl): Made final.
17100 (mode): Made private.
17101 (READ, WRITE, APPEND): Made public.
17102 (EXCL, SYNC, DSYNC): Likewise.
17103 (static): Load native JNI library, when needed.
17104 (length): Unused, removed.
17105 (available): Made public.
17106 (implPosition): Throws IOException.
17108 (implTruncate): Likewise.
17109 (unlock): Likewise.
17112 2004-04-20 Michael Koch <konqueror@gmx.de>
17114 * java/awt/AWTPermission.java,
17115 java/awt/Component.java,
17116 java/awt/ComponentOrientation.java,,
17117 java/awt/Dialog.java,
17118 java/awt/FontMetrics.java,
17119 java/awt/Graphics.java,
17120 java/awt/datatransfer/DataFlavor.java,
17121 java/beans/Introspector.java,
17122 java/beans/PropertyEditor.java,
17123 java/beans/PropertyEditorManager.java,
17124 java/beans/beancontext/BeanContextServiceProvider.java:
17125 Fixed HTML tags in javadocs all over.
17127 2004-04-20 Mark Wielaard <mark@klomp.org>
17129 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
17130 MissingResourceException is thrown.
17131 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
17132 null when a MissingResourceException is thrown. Should never happen.
17134 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
17136 * java/awt/image/DataBufferShort.java,
17137 java/awt/image/DataBufferFloat.java,
17138 java/awt/image/DataBufferDouble.java,
17139 java/awt/image/PixelInterleavedSampleModel.java: New files.
17140 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
17141 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
17143 2004-04-20 Michael Koch <konqueror@gmx.de>
17145 * Makefile.am (java_source_files): Added
17146 java/awt/image/DataBufferDouble.java,
17147 java/awt/image/DataBufferFloat.java,
17148 java/awt/image/DataBufferShort.java and
17149 java/awt/image/PixelInterleavedSampleModel.java.
17150 * Makefile.in: Regenerated.
17152 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
17154 * gcj/cni.h (JvAllocObject): Remove these obsolete,
17155 undocumented CNI calls.
17156 * include/java-interp.h (_Jv_InterpClass): No longer
17157 extends java.lang.Class.
17158 * java/lang/Class.h (Class): Add new field `aux_info'.
17159 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
17160 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
17161 Use Class->aux_info instead.
17162 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
17163 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
17164 Use Class->aux_info instead.
17165 * java/io/natObjectInputStream.cc (allocateObject): Use
17167 * java/lang/natClass.cc (newInstance): Likewise.
17168 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
17169 * java/lang/natObject.cc (clone): Likewise.
17170 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
17171 * java/lang/natVMClassLoader.cc (defineClass): Don't use
17172 JvAllocObject. Allocate klass->aux_info here for interpreted
17175 2004-04-17 Mark Wielaard <mark@klomp.org>
17177 * javax/swing/JToggleButton.java (ToggleButtonModel):
17178 Make public static inner class.
17179 * javax/swing/JTabbedPane.java (setComponentAt):
17180 Call Page.setComponent().
17181 (SCROLL_TAB_LAYOUT): Make public, value is 1.
17182 (WRAP_TAB_LAYOUT): Make public, value is 0.
17183 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
17184 Make private static inner class.
17186 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
17188 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
17189 arguments to match new signature. Remove FIXME comments.
17191 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
17193 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
17195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
17198 2004-04-02 Olga Rodimina <rodimina@redhat.com>
17200 * Makefile.am: Added new file.
17201 * Makefile.in: Regenerate.
17202 * javax/swing/ImageIcon.java:
17203 (ImageIcon(file)): set description of the icon
17205 * javax/swing/JCheckBoxMenuItem.java:
17206 Mostly Implemented. Work in progress.
17207 * javax/swing/JRadioButtonMenuItem.java:
17208 Reimplement constructors to use JToggleButtonModel.
17209 * javax/swing/plaf/basic/BasicIconFactory.java:
17210 (getCheckBoxMenuItemIcon): return check box
17212 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17213 paint menu item selected only when it is armed and
17216 2004-04-02 David Jee <djee@redhat.com>
17218 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
17219 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
17220 * java/awt/Component.java
17221 (add): Set the parent of the popup as this component.
17222 * java/awt/PopupMenu.java
17223 (addNotify): Create popup menu when peer is null.
17224 (show): Call addNotify() if peer is null.
17225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
17226 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
17227 argument for gtk_menu_popup() as zero. This causes the popup menu to
17228 respond to any mouse button.
17230 2004-03-31 Olga Rodimina <rodimina@redhat.com>
17232 * Makefile.am: Added new file.
17233 * Makefile.in: Regenerate.
17234 * javax/swing/JRadioButtonMenuItem.java:
17236 * javax/swing/plaf/basic/BasicIconFactory.java:
17237 (getRadioButtonMenuItemIcon): Return
17239 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17240 (getPreferredSize): Add size of checkIcon if it
17242 (installDefaults): Don't initialize checkIcon.
17243 It's value will be set in subclasses.
17244 (uninstallDefaults): remove uninstallation of
17246 (paint): Moved code to paintMenuItem().
17247 (paintMenuItem): Implemented.
17248 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
17249 UI delegate for JRadioButtonMenuItem.
17251 2004-03-29 Olga Rodimina <rodimina@redhat.com>
17253 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17254 Corrected position of the accelerator.
17256 2004-03-29 Olga Rodimina <rodimina@redhat.com>
17258 * Makefile.am: Added new file.
17259 * Makefile.in: Regenerate.
17260 * javax/swing/JMenuItem.java: Partly
17261 implemented. Work in progress
17262 * javax/swing/plaf/basic/BasicLookAndFeel.java:
17263 Changed default value of acceleratorDelimiter.
17264 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17265 New class. Partly implemented.
17267 2004-03-26 Mark Wielaard <mark@klomp.org>
17269 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
17270 (item_activate): Declare label before use.
17271 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17272 (gtkSetFont): Removed unused variable label.
17273 (addExposeFilter): Declare variables before use.
17274 (removeExposeFilter): Likewise.
17275 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
17276 (ok_clicked): Declare str_fileName before use.
17278 2004-03-26 David Jee <djee@redhat.com>
17280 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
17281 (addSeparator): Remove.
17282 * java/awt/Menu.java
17283 (separator): Remove static final MenuItem field.
17284 (separatorLabel): New static final String field.
17285 (addSeparator): Do not use peer method; use add(MenuItem) instead.
17286 Use separatorLabel to denote that it is a separator.
17287 (insertSeparator): Create a new MenuItem with separatorLabel, instead
17288 of reusing the static separator instance, because a MenuItem instance
17289 can't be added more than once without being cloned.
17290 * java/awt/peer/MenuPeer.java
17291 (addSeparator): Remove from interface.
17293 2004-03-26 David Jee <djee@redhat.com>
17295 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
17296 (connectSignals): New native method declaration.
17297 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
17298 * java/awt/MenuItem.java
17299 (getActionCommand): Return the label if the action command is not set.
17300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
17301 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
17302 gtk_menu_shell_append().
17303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
17304 (item_activate): Fix argument type.
17305 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
17307 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
17309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
17310 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
17311 given. Add the menu widget's top-level GtkWindow to the global window
17312 group, so it can grab the pointer.
17313 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
17314 gtk_menu_shell_append().
17316 2004-03-23 Graydon Hoare <graydon@redhat.com>
17318 * java/text/AttributedString.java
17319 (addAttribute): Fix off-by-one.
17320 (getIterator): Likewise.
17321 * java/text/AttributedStringIterator.java
17322 (getRunLimit): Correct logic.
17323 (getRunStart): Likewise.
17324 (getAttribute): Fix inequality.
17325 (getAttributes): Likewise.
17326 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
17328 2004-03-23 Kim Ho <kho@redhat.com>
17330 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
17331 (calculateSizes): Return real width and height.
17333 2004-03-23 Kim Ho <kho@redhat.com>
17335 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
17336 (calculateTabRects): Set the selectedRun before
17337 trying to rotate tabs.
17339 2004-03-23 Kim Ho <kho@redhat.com>
17341 * Makefile.am: New file
17342 * Makefile.in: Regenerate
17343 * java/awt/Graphics.java: (drawRect):
17344 Draw to the correct point.
17345 * javax/swing/DefaultSingleSelectionModel.java
17346 (isSelected): Return true if the selected index
17348 * javax/swing/JLabel.java: Do not change mnemonic
17349 index if text is null.
17350 * javax/swing/JProgressBar.java: Use JComponent's
17352 * javax/swing/JScrollBar.java: Ditto.
17353 * javax/swing/JSlider.java: Ditto.
17354 * javax/swing/JTabbedPane.java: Reimplement.
17355 * javax/swing/plaf/basic/BasicLookAndFeel.java:
17356 Add defaults for TabbedPane.
17357 * javax/swing/plaf/basic/BasicArrowButton.java:
17359 * javax/swing/plaf/basic/BasicProgressBarUI.java:
17360 (paintDeterminate): Don't paint String if it's
17362 (paintIndeterminate): ditto.
17363 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
17366 2004-03-19 Michael Koch <konqueror@gmx.de>
17368 * java/awt/image/AffineTransformOp.java
17369 (AffineTransformOp): Made public.
17370 * javax/swing/JComponent.java
17371 (listenerList): Made protected.
17372 (accessibleContext): Likewise.
17373 * javax/swing/JList.java
17374 (valueChanged): Dont use internal fields of ListSelectionEvent.
17375 * javax/swing/JViewport.java
17376 (getView): Dont use internal fields of Component.
17377 (addImpl): Likewise.
17378 * javax/swing/Timer.java
17379 (isRunning): Made public.
17382 * javax/swing/UIDefaults.java
17383 (getInt): Made public.
17384 * javax/swing/plaf/basic/BasicListUI.java
17385 (mousePressed): Dont use internal fields of MouseEvent.
17386 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
17387 * javax/swing/plaf/basic/BasicScrollBarUI.java
17388 (arrowIcon): Made static.
17389 * javax/swing/plaf/basic/BasicViewportUI.java
17390 (stateChanged): Dont use internal field on ChangeEvent.
17391 * javax/swing/text/JTextComponent.java
17392 (getUI): Call UIManager.getUI().
17393 (updateUI): Use getUI().
17395 2004-03-19 Graydon Hoare <graydon@redhat.com>
17397 * javax/swing/JComponent.java: Turn off double buffer by default.
17398 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
17399 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17400 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
17401 Use cairo to copy areas.
17402 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
17403 Initialize and set clip region.
17405 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
17407 * java/applet/Applet.java (preferredSize): Override deprecated
17408 variant of getPreferredSize.
17409 (minimumSize): Override deprecated variant of getMinimumSize.
17411 2004-03-15 Olga Rodimina <rodimina@redhat.com>
17413 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17414 (drawImage(img,xform,bgcolor,obs)): New Method.
17415 Helper function that every drawImage method will
17417 (drawRaster): Added new parameter, bgcolor. All
17418 transparent pixels are changed to bgcolor before
17420 (drawRenderedImage): Fixed to use changed drawRaster().
17421 (drawImage(image,xform,obs): Fixed to use new helper function
17422 (drawImage(image,op,x,y)): Ditto.
17423 (drawImage (img,x,y,observer)): Ditto.
17424 ((PainterThread) bgcolor): New Field.
17425 ((PainterThread) (setPixels)): Changed all transparent pixels
17427 (drawImage(img,x,y,width,height,bgcolor,observer)):
17428 Fixed FIXME - all the transparent pixels are
17429 changed to the specified bgcolor.
17430 (drawImage(img, x, y, width, height, observer): Changed to
17431 use function above.
17432 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
17433 Fixed FIXME- changed all transparent pixels to bgcolor.
17434 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
17435 Changed to use function above.
17437 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
17439 * java/applet/Applet.java (dimensions): New field.
17440 (getDimensions): New method.
17441 (getPreferredSize): Call getDimensions.
17442 (getMinimumSize): Likewise.
17444 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
17446 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
17447 * jni/classpath/jnilink.c: Likewise.
17449 * java/applet/Applet.java (getPreferredSize): New method.
17450 (getMinimumSize): New method.
17452 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
17454 * prims.cc (_Jv_AllocObject): Remove `size' argument.
17455 (_Jv_AllocObjectNoFinalizer): Likewise.
17456 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
17457 (_Jv_AllocPtrFreeObject): Likewise.
17458 (_Jv_AllocString): Moved from natString.cc. Call collector interface
17459 directly even in the JVMPI case.
17460 * gcj/cni.h (JvAllocObject): Remove `size' argument from
17461 _Jv_AllocObject calls.
17462 * gcj/javaprims.h: Update prototypes.
17463 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
17464 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
17465 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
17467 2004-04-14 Andrew Haley <aph@redhat.com>
17468 Bryce McKinlay <mckinlay@redhat.com>
17470 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
17471 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
17472 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
17474 * testsuite/libjava.lang/InvokeInterface.java: New file.
17475 * testsuite/libjava.lang/InvokeInterface.out: New file.
17477 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
17479 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
17481 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
17482 StackTraceElement directly.
17483 (newElement): New native helper method to create StackTraceElement
17484 bypassing Java access control.
17485 (createStackTraceElement): Use newElement() instead of directly
17486 calling StackTraceElement's constructor.
17487 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
17489 2004-04-01 Michael Koch <konqueror@gmx.de>
17491 * java/lang/SecurityManager.java
17492 (checkAwtEventQueueAccess): Implemented.
17494 2004-04-01 Gary Benson <gbenson@redhat.com>
17496 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
17497 (_Jv_SearchMethodInClass): Likewise.
17499 2004-03-26 Peter Moon <peterm@miraculum.com>
17501 * java/text/NumberFormat.java: Fix spelling of setCurrency
17504 2004-03-21 Anthony Green <green@redhat.com>
17506 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
17507 recursion when searching for the system ClassLoader.
17509 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
17511 * java/net/ServerSocket.java
17512 (accept): Close the socket when error occured.
17514 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
17516 * java/net/URI.java (parseURI): Added unquoting.
17517 (unquote): New method.
17518 (quoteAuthority): Implemented.
17519 (quote(String,String)): New method.
17520 (quotePath): Implemented.
17521 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
17522 (getSchemeSpecificPart): Removed FIXME comment.
17523 (getRawAuthority): Return new rawAuthority field.
17524 (getAuthority): Removed FIXME comment.
17525 (getRawUserInfo): Return new rawUserInfo field.
17526 (getUserInfo): Removed FIXME comment.
17527 (getRawPath): Return new rawPath field.
17528 (getPath): Removed FIXME comment.
17529 (getRawQuery): Return new rawQuery field.
17530 (getQuery): Removed FIXME comment.
17531 (getRawFragment): Return new rawFragment field.
17532 (getFragment): Removed FIXME comment.
17534 2004-03-20 Michael Koch <konqueror@gmx.de>
17536 * java/net/URLConnection.java: Merged copyright year with classpath.
17538 2004-03-20 Norbert Frese <postfach@nfrese.net>
17540 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
17541 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
17542 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
17544 (getObjectInputStream): Return object reference, throw IOException if null.
17545 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
17546 (getObjectOutputStream): Return object reference, throw IOException if null.
17547 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
17548 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
17549 (UnicastConnectionManager): Throw RemoteException if port is not available.
17550 (getInstance): Throw RemoteException.
17551 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
17552 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
17553 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
17554 Collect Exceptions which are returned by a rmi-call and fix void returns.
17555 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
17556 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
17557 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
17558 (dispatch): Answer ping messages which are sent by other java implementions.
17559 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
17560 for every rmi-message and fix void return problems.
17561 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
17562 (UnicastServerRef): Throw RemoteException.
17563 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
17564 In some situations it is necessary to export a subclass of the class which has the _Stub.
17565 For instance when the class with has the _Stub is abstract.
17566 (findStubSkelClass): New method which looks for the class which has the _Stub.
17567 (getClientHost): Implementated.
17568 * gcc/libjava/java/rmi/server/RemoteServer.java
17569 (getClientHost): Implementated.
17570 * gcc/libjava/Makefile.am (rmi_java_source_files):
17571 Added gnu/java/rmi/server/RMIIncomingThread.java.
17572 * Makefile.in: Regenerated.
17574 2004-03-20 Michael Koch <konqueror@gmx.de>
17576 * java/net/InetAddress.java
17577 (getLocalHostname): Added javadoc.
17579 2004-03-19 Per Bothner <per@bothner.com>
17581 * configure.in: FILE variable overrides FLATFORM when linking
17582 natFileChannelXXX.cc.
17584 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
17585 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
17587 2004-03-19 Per Bothner <per@bothner.com>
17589 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
17590 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
17591 * Makefile.am: Update accordingly.
17592 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
17593 as aliases for UnicodeLittle and UnicodeBig.
17595 2004-03-20 Mark Wielaard <mark@klomp.org>
17597 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
17598 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
17599 Don't access ws when it is null.
17600 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
17603 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
17605 * java/lang/ThreadGroup.java (list): Changed print to println.
17607 2004-03-19 Mark Wielaard <mark@klomp.org>
17609 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
17612 2004-02-10 Randolph Chung <tausq@debian.org>
17614 * configure.in: Build java for hppa target.
17615 * configure: Regenerate.
17616 * libjava/configure.host (hppa-*): Add target.
17617 * libjava/sysdeps/pa/lock.h: New file.
17619 2004-03-19 Mark Wielaard <mark@klomp.org>
17621 Reported by Stephen Crawley
17622 * java/io/FilePermission.java (implies): Use String.length() -1 to
17623 access last char of String.
17625 2004-03-19 Michael Koch <konqueror@gmx.de>
17627 * java/awt/image/AffineTransformOp.java
17628 (AffineTransformOp): Made public.
17629 * javax/swing/JComponent.java
17630 (listenerList): Made protected.
17631 (accessibleContext): Likewise.
17632 * javax/swing/JList.java
17633 (valueChanged): Dont use internal fields of ListSelectionEvent.
17634 * javax/swing/JViewport.java
17635 (getView): Dont use internal fields of Component.
17636 (addImpl): Likewise.
17637 * javax/swing/Timer.java
17638 (isRunning): Made public.
17641 * javax/swing/UIDefaults.java
17642 (getInt): Made public.
17643 * javax/swing/plaf/basic/BasicListUI.java
17644 (mousePressed): Dont use internal fields of MouseEvent.
17645 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
17646 * javax/swing/plaf/basic/BasicScrollBarUI.java
17647 (arrowIcon): Made static.
17648 * javax/swing/plaf/basic/BasicViewportUI.java
17649 (stateChanged): Dont use internal field on ChangeEvent.
17650 * javax/swing/text/JTextComponent.java
17651 (getUI): Call UIManager.getUI().
17652 (updateUI): Use getUI().
17654 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17656 * verify.cc: Undef PC.
17658 2004-03-18 Michael Koch <konqueror@gmx.de>
17660 * java/nio/channels/spi/AbstractSelectableChannel.java
17661 (keys): Initialize at declaration.
17662 (locate): keys cant be null.
17664 (addSelectionKey): New method.
17665 (removeSelectionKey): New method.
17666 * java/nio/channels/spi/AbstractSelectionKey.java
17667 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
17668 * java/nio/channels/spi/AbstractSelector.java
17669 (provider): Javadoc added.
17670 (cancelledKeys): Javadoc added.
17671 (cancelKey): Javadoc added, add key to cancelledKeys.
17672 (deregister): Implemented.
17674 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17676 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
17677 MAP_FAILED to void *.
17679 2004-03-12 Graydon Hoare <graydon@redhat.com>
17681 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
17682 * javax/swing/JComponent.java (paint): Use persistent double buffer.
17683 * javax/swing/JList.java (ListListener): Revalidate on changes.
17684 * javax/swing/JScrollPane.java: Reimplement.
17685 * javax/swing/JViewport.java: Reimplement.
17686 * javax/swing/ScrollPaneLayout.java: Reimplement.
17687 * javax/swing/ViewportLayout.java: Tidy up.
17688 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
17689 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
17690 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
17691 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
17692 backing store only.
17694 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
17696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
17697 (window_wm_protocols_filter): New function.
17698 (window_focus_in_cb): Remove function.
17699 (window_focus_out_cb): Likewise.
17700 (window_focus_or_active_state_change_cb): New function.
17701 (create): Add filter that removes WM_TAKE_FOCUS client messages.
17702 (connectSignals): Don't attach handlers to focus-in-event or
17703 focus-out-event signals. Handle notify signal.
17705 2004-03-11 David Jee <djee@redhat.com>
17707 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
17708 (gtkSetLabel): New native method declaration.
17709 (setLabel): Use gtkSetLabel.
17710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
17711 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
17713 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
17715 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
17716 black when color argument is null.
17718 2004-03-10 Kim Ho <kho@redhat.com>
17720 * java/awt/Container.java: Remove check
17723 2004-03-10 Kim Ho <kho@redhat.com>
17725 * java/awt/Container.java: (visitChild):
17726 Remove candidate clip. Use the component
17728 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
17729 (handleEvent): Use the PaintEvent's clip.
17731 2004-03-10 Kim Ho <kho@redhat.com>
17733 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
17734 (handleEvent): Don't set the clip for the
17737 2004-03-09 Graydon Hoare <graydon@redhat.com>
17739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
17740 Fix double <-> fixed macros, reset font transform.
17741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
17744 2004-03-09Â Kim Ho <kho@redhat.com>
17746 * java/awt/Container.java: (visitChild): Move
17747 the x and y coordinate of the component rectangle
17748 to correct position.
17749 (handleEvent): Forward drag events to the pressed
17751 * javax/swing/plaf/basic/BasicScrollBarUI.java:
17753 (ArrowButtonListener::mousePressed): Stop the
17755 (mouseDragged): Implement.
17756 (TrackListener::mousePressed): Only react if
17757 the press doesn't occur on the thumb, otherwise
17758 just set the offset.
17759 (TrackListener::mouseReleased): Unset the isAdjusting
17761 (createIncreaseIcon): Switch icon.
17762 (createDecreaseIcon): Switch icon.
17763 (calculatePreferredSize): Use width.
17764 (getThumbBounds): Use the top as the lower value.
17765 (layoutVScrollBar): Switch the button locations.
17766 (paintIncreaseHighlight): Paint correct side of thumb.
17767 (paintDecreaseHighlight): ditto.
17768 (valueForYPosition): Use top as the lower value.
17769 * javax/swing/plaf/basic/BasicSliderUI.java:
17771 (mouseDragged): Implement.
17772 (mousePressed): Only react when the thumb isn't
17773 pressed, otherwise just set offset.
17774 (mouseReleased): Handle a release of the thumb.
17775 (scrollDueToClickInTrack): Stop the timer first.
17776 * javax/swing/JProgressBar.java:
17777 (setString): Fix change condition.
17778 * javax/swing/JSeparator.java:
17781 2004-03-08 David Jee <djee@redhat.com>
17783 * java/awt/image/AffineTransformOp.java:
17784 (filter): Use Graphics2D interface instead of directly using the
17785 GdkGraphics2D peer.
17787 2004-03-05 David Jee <djee@redhat.com>
17789 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
17790 (handleEvent): Action events are generated upon MOUSE_RELEASED.
17791 * java/awt/Container.java
17792 (acquireComponentForMouseEvent): Fixed.
17793 (handleEvent): Fixed.
17794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
17795 (state_to_awt_mods_with_button_states): New method.
17796 (pre_event_handler): Fixed mouse event generation.
17798 2004-03-05 Olga Rodimina <rodimina@redhat.com>
17800 gnu/java/awt/peer/gtk/GdkGraphics2D.java
17801 (GdkGraphics2D (BufferedImage)): Initialize
17802 pixmap associated with specified BufferedImage.
17803 (setPaint): Changed implementation of Texture
17804 Paint to use AffineTransformOp.
17805 * java/awt/image/AffineTransformOp.java
17806 (createCompatibleDestRaster): Throw RasterFormatException
17807 if resulting width or height of raster is 0.
17809 2004-03-04 Olga Rodimina <rodimina@redhat.com>
17811 * java/awt/image/AffineTransformOp.java:
17812 Removed unnecessary field interpolationType.
17813 Formatted some of the lines to be consistent with
17815 (AffineTransformOp): Create new RenderingHints
17816 containing specified interpolation type.
17817 (createCompatibleDestImage): Implemented.
17818 (createCompatibleDestRaster): Implemented.
17819 (filter): Implemented.
17820 (getBounds2D(BufferedImage)): Implemented.
17821 (getBounds2D(Raster)): Implemented.
17822 (getInterpolationType): Get interpolation value from
17825 2004-03-04 David Jee <djee@redhat.com>
17827 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
17828 (setFont): Check if child peers are null.
17830 2004-03-04 Graydon Hoare <graydon@redhat.com>
17832 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
17833 .libs in -L option.
17834 (libjava_arguments): Add new libraries to argument list.
17836 2004-03-02 Olga Rodimina <rodimina@redhat.com>
17838 * Makefile.am: Added java/awt/image/AffineTransformOp.java
17839 * Makefile.in: Re-generated.
17840 * java/awt/image/AffineTransformOp.java: New Class.
17842 2004-03-01 Olga Rodimina <rodimina@redhat.com>
17844 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17845 (setPaint): Interpret correctly TexturePaint's
17847 (drawImage): Fixed scale factors of the affine
17850 2004-02-27 David Jee <djee@redhat.com>
17852 * gnu/java/awt/peer/gtk/GdkGraphics.java
17853 (GdkGraphics(Component)): Inherit font from component.
17854 (drawString): Use font style.
17855 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
17856 (gtkSetFont): New native method declaration.
17857 (setFont): New method.
17858 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17859 (gtkSetFont): New native method declaration.
17860 (setFont): Call new native method gtkSetFont.
17861 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
17862 (setFont): For all child components who do not their fonts set,
17863 set their peers' fonts with this container's font.
17864 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
17865 Move all native method declarations to the top for readability.
17866 (gtkSetFont): New native method declaration.
17867 (setFont): New method.
17868 * java/awt/Component.java
17869 (setFont): Invalidate after setting the font.
17870 * java/awt/Container.java
17871 (invalidateTree): New method.
17872 (setFont): Invalidate the container tree after setting the font.
17873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
17874 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
17875 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
17876 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
17877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17878 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
17879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
17880 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
17882 2004-02-27 Olga Rodimina <rodimina@redhat.com>
17884 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17885 (updateBufferedImage): New helper function.
17886 Updates BufferedImage in memory if it was changed.
17887 (draw): changed to update BufferedImage in memory after
17888 this drawing operation
17890 (draw3DRect): Ditto.
17891 (fill3DRect): Ditto.
17892 (clearRect): Ditto.
17893 (drawRaster): Ditto.
17894 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
17895 no affine transformation.
17896 (drawGlyphVector): Ditto.
17898 2004-02-26 Olga Rodimina <rodimina@redhat.com>
17900 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17901 (isBufferedImageGraphics): New Helper function.
17902 Returns true if this graphics2d can be used to draw
17903 into buffered image and false otherwise.
17904 (updateImagePixels): New Helper function.
17905 Updates pixels in the BufferedImage.
17906 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17907 (getImagePixels): New function. Returns pixels
17908 of the buffered image associated with
17911 2004-02-26 David Jee <djee@redhat.com>
17913 * java/awt/BorderLayout.java
17914 (layoutContainer): Fix width and height calculations to ensure
17915 that they're non-negative.
17916 * java/awt/Component.java
17917 (setBackground): If c is null, inherit from closest ancestor whose
17918 background color is set.
17920 2004-02-26 Kim Ho <kho@redhat.com>
17922 * Makefile.am: Add new files.
17923 * Makefile.in: Re-generate.
17924 * javax/swing/JProgressBar.java:
17925 (JProgressBar(int, int int)): Throw
17926 IllegalArgumentException if orientation is
17928 (JProgressBar(BoundedRangeModel)): Create
17929 ChangeListener and register it. UpdateUI.
17930 (getChangeListeners): Implement.
17931 (setModel): Reset ChangeListener.
17932 * javax/swing/JScrollBar.java: Implement.
17933 * javax/swing/JSeparator.java: Implement.
17934 * javax/swing/JSlider.java:
17935 (JSlider(int, int, int, int)): Throw
17936 IllegalArgumentException if orientation
17938 (getChangeListeners): Fix method name.
17939 * javax/swing/SwingUtilities.java:
17940 (layoutCompoundLabel): If there is no text,
17941 set the text rectangle dimensions to 0.
17942 * javax/swing/plaf/basic/BasicButtonUI.java:
17943 (paint): If there is no text, don't paint it.
17944 * javax/swing/plaf/basic/BasicScrollBarUI.java:
17946 * javax/swing/plaf/basic/BasicSeparatorUI.java:
17948 * javax/swing/plaf/basic/BasicSliderUI.java:
17949 (propertyChange): If the model changes, change
17950 the listeners accordingly.
17952 2004-02-25 Graydon Hoare <graydon@redhat.com>
17954 * javax/swing/AbstractButton.java: Add "final" qualifiers.
17955 * javax/swing/JList.java: Reimplement.
17956 * javax/swing/DefaultListSelectionModel.java: Reimplement.
17957 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
17958 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
17959 * javax/swing/ListModel.java: Javadoc.
17960 * javax/swing/ListSelectionModel.java: Add missing methods.
17961 * javax/swing/AbstractListModel.java: Javadoc and corrections.
17962 * javax/swing/DefaultListModel.java: Javadoc and corrections.
17963 * javax/swing/ListModel.java: Javadoc and corrections.
17964 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
17966 2004-02-25 David Jee <djee@redhat.com>
17968 * gnu/java/awt/peer/gtk/GtkFontPeer.java
17969 (GtkFontPeer): Change default size to 12.
17970 * gnu/java/awt/peer/gtk/GtkToolkit.java
17971 (getFontPeer): Change default size to 12.
17972 (getClasspathFontPeer): Likewise. Set default name to "Default".
17973 * java/awt/Font.java
17974 (Font(Map)): Call Font(String,Map).
17975 (Font(String,Map)): If attrs is null, initialize it as an empty
17976 HashMap, which will ensure that the Font will get default attributes.
17978 2004-02-25 David Jee <djee@redhat.com>
17980 * gnu/java/awt/peer/gtk/GtkFontPeer.java
17981 (GtkFontPeer(String,int)): Call the new constructor with size 1.
17982 (GtkFontPeer(String,int,int)): New constructor with size attribute.
17983 * gnu/java/awt/peer/gtk/GtkToolkit.java
17984 (getFontPeer(String,int)): Call the new overload method with size 1.
17985 (getFontPeer(String,int,int)): New method. Overloaded with size
17987 (getClasspathFontPeer): Set the size of the font.
17989 2004-02-24 Olga Rodimina <rodimina@redhat.com>
17991 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17992 (bimage): New field.
17993 (GdkGraphics2D): New Constructor. Constructs Graphics
17994 object that can be used to draw into the Buffered Image.
17995 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17996 (GdkGraphicsEnvironment): Fixed to include public
17998 (createGraphics): Implemented.
17999 * gnu/java/awt/peer/gtk/GtkToolkit.java
18000 (getLocalGraphicsEnvironment): Implemented.
18001 * java/awt/GraphicsEnvironment.java:
18002 (getLocalGraphicsEnvironment): Implemented.
18003 * java/awt/image/BufferedImage.java:
18004 (createGraphics): Implemented.
18006 2004-02-24 David Jee <djee@redhat.com>
18008 * java/awt/Component.java
18009 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
18010 * java/awt/Container.java
18011 (addNotifyContainerChildren): Fix event enabling.
18013 2004-02-23 Olga Rodimina <rodimina@redhat.com>
18015 * Makefile.am: Added
18016 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18017 * Makefile.in: Re-generated.
18018 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
18021 2004-02-19 Kim Ho <kho@redhat.com>
18023 * Makefile.am: Add BasicProgressBarUI
18024 * Makefile.in: Regenerate.
18025 * javax/swing/JProgressBar.java:
18027 * javax/swing/plaf/basic/BasicLookAndFeel.java
18028 Add constants for JProgressBar.
18029 * javax/swing/plaf/basic/BasicProgressBarUI.java
18031 * javax/swing/plaf/basic/BasicSliderUI.java
18033 (calculateGeometry): New method
18034 (paint): Remove unnecessary size calculations.
18036 2004-02-18 Olga Rodimina <rodimina@redhat.com>
18038 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18039 (drawRaster): Fixed small error that caused
18040 imageToUser transformation to be set incorrectly.
18041 (toString): Implemented.
18043 2004-02-18 David Jee <djee@redhat.com>
18045 * java/awt/CardLayout.java
18046 (addLayoutComponent): Show the first component added as the default.
18047 (removeLayoutComponent): After removing, show the next component.
18048 (gotoComponent): If there is only one component, show it and return.
18050 2004-02-18 Kim Ho <kho@redhat.com>
18052 * javax/swing/JSlider.java: Re-order
18054 * javax/swing/JLabel.java: Re-order
18056 * javax/swing/JComponent.java:
18057 (addPropertyChangeListener):
18059 (removePropertyChangeListener):
18061 (firePropertyChangeEvent):
18064 2004-02-17 David Jee <djee@redhat.com>
18066 * java/awt/Component.java
18067 (show): Dispatch ComponentEvent via system event queue.
18070 (resize): Likewise.
18071 (reshape): Likewise.
18072 * java/awt/Window.java
18073 (setBoundsCallback): Likewise.
18075 2004-02-17 David Jee <djee@redhat.com>
18077 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18078 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
18079 Use gtk_widget_set_size_request() instead of the deprecated
18080 gtk_widget_set_usize().
18082 2004-02-17 Kim Ho <kho@redhat.com>
18084 * javax/swing/JSlider.java: Fix comments and
18085 make property strings constants.
18086 (createStandardLabels): Use the labels
18087 preferred size as bounds.
18088 * javax/swing/plaf/basic/BasicSliderUI.java
18090 (ScrollHandler::actionPerformed): Don't
18091 calculate the timer stop value. Let the
18092 MouseListeners find the stop location.
18093 (getPreferredHorizontalSize): Re-implement.
18094 (getPreferredVerticalSize): ditto.
18095 (getMinimumHorizontalSize): ditto.
18096 (getMinimumVerticalSize): ditto.
18097 (getPreferredSize): ditto.
18098 (getMinimumSize): ditto.
18099 (getMaximumSize): ditto.
18100 (paintTicks): Use doubles to find the
18102 (paintHorizontalLabel):Â Use preferredSize
18103 as initial width and height.
18104 (paintVerticalLabel): ditto.
18106 2004-02-17 Kim Ho <kho@redhat.com>
18108 * javax/swing/JLabel.java: Changed
18109 property strings to constants.
18110 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
18112 (setText): Change mnemonic index if
18114 (setDisplayedMnemonicIndex): Fire property
18116 (getDisplayedMnemonicIndex): Remove check
18117 against short text.
18119 2004-02-17 Olga Rodimina <rodimina@redhat.com>
18121 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
18122 (drawImage(img,xform,obs)): Invert xform before
18123 passing the xform to cairo.
18124 (drawImage(img,x,y,bgcolor,obs)): Implemented.
18125 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
18127 (drawImage (img,x,y,w,h,obs)): Implemented.
18128 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
18129 bgcolor,obs)): Partly implemented.
18130 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
18132 * java/awt/image/BufferedImage.java:
18133 (copyData): if dest is null, create raster with same
18134 dimensions as the current image.
18136 2004-02-16 Graydon Hoare <graydon@redhat.com>
18138 * javax/swing/plaf/basic/BasicLabelUI.java
18139 (getPreferredSize): Use layoutCL.
18140 * javax/swing/plaf/basic/BasicGraphicsUtils.java
18141 (getPreferredButtonSize): Start with empty view rect, layout using
18142 component's preferred alignment.
18143 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
18146 2004-02-16 David Jee <djee@redhat.com>
18148 * java/awt/Component.java
18149 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
18150 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
18151 (move): Erase old bounds and repaint new bounds. Dispatch
18152 COMPONENT_MOVED ComponentEvent.
18153 (resize): Erase old bounds and repaint new bounds. Dispatch
18154 COMPONENT_RESIZED ComponentEvent.
18155 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
18157 * java/awt/Window.java
18158 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
18161 2004-02-16 Olga Rodimina <rodimina@redhat.com>
18163 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
18164 (setRenderingHint): Added implementation of
18165 Interpolation rendering hints.
18166 (setRenderingHints): Ditto.
18167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
18168 (drawPixels): fixed to allow user to choose type
18169 of filtering that should be used when displaying images.
18170 (cairoSurfaceSetFilter): New method. Sets filter type for
18171 interpolation of pixel values.
18173 2004-02-16 David Jee <djee@redhat.com>
18175 * java/awt/GridBagLayout.java
18176 (calcCellSizes): Rows or columns with zero sizes should still be
18177 considered for extra space distribution.
18179 2004-02-16 Kim Ho <kho@redhat.com>
18181 * javax/swing/JLabel.java: Re-implement.
18182 * javax/swing/plaf/basic/BasicLabelUI.java
18184 * javax/swing/plaf/basic/BasicLookAndFeel.java:
18187 2004-02-16 Kim Ho <kho@redhat.com>
18189 * javax/swing/JSlider.java: Fix indentation and comments.
18190 (setModel): Remove null check to conform with Sun's.
18191 (setOrientation): Throw exception if not
18192 HORIZONTAL or VERTICAL.
18193 (getInverted): Use private variable instead of
18194 ComponentOrientation.
18195 (setInverted): ditto.
18196 * javax/swing/plaf/basic/BasicSliderUI.java:
18197 Fix indentation and comments.
18198 (propertyChange): Remove check for inverted slider, handle
18200 (getMinimumSize): Return preferred size.
18201 (getMaximumSize): ditto.
18202 (calculateFocusRect): Don't relocate rectangle.
18203 (drawInverted): Return XOR of the slider's inversion and
18204 the component's orientation.
18205 (paint): Update leftToRightCache
18207 2004-02-13 David Jee <djee@redhat.com>
18209 * java/awt/GridBagLayout.java
18210 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
18211 code to helper methods.
18212 (sortBySpan): New helper method.
18213 (distributeSizeAndWeight): Likewise.
18214 (calcCellWeights): Likewise.
18215 (calcCellSizes): Add comments.
18217 2004-02-13 David Jee <djee@redhat.com>
18219 * java/awt/Component.java
18220 (show): Only do something if component is invisible at the moment.
18221 (hide): Only do something if component is visible at the moment.
18222 (reshape): If lightweight, erase old bounds and repaint new bounds.
18224 2004-02-13 Kim Ho <kho@redhat.com>
18226 * Makefile.am: Updated for new file.
18227 * Makefile.in: Regenerated.
18228 * javax/swing/JSlider.java: Reimplement.
18229 * javax/swing/SwingUtilities.java
18230 (layoutCompoundLabel): Use icon height
18232 (paintComponent): Implement.
18233 * javax/swing/plaf/basic/BasicLookAndFeel.java:
18234 Add JSlider defaults.
18235 * javax/swing/plaf/basic/BasicSliderUI.java:
18236 Implement. New file.
18238 2004-03-17 Michael Koch <konqueror@gmx.de>
18240 * gnu/java/net/PlainDatagramSocketImpl.java
18241 (RECEIVE_LOCK): New member field.
18242 (SEND_LOCK): New member field.
18243 (send0): New method.
18244 (send): Synchronize on SEND_LOCK.
18245 (receive0): New method.
18246 (receive): Synchronize on RECEIVE_LOCK.
18247 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
18248 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
18249 gnu/java/net/natPlainDatagramSocketImplWin32.cc
18250 (send0): Renamed from send.
18251 (receive0): Renamed from receive.
18252 2004-03-17 Michael Koch <konqueror@gmx.de>
18254 * gnu/java/net/natPlainSocketImplPosix.cc
18255 (write): Just call write(jbyteArray, offset, len).
18256 (read): Just call read(jbyteArray, offset, len).
18258 2004-03-16 Michael Koch <konqueror@gmx.de>
18260 * javax/swing/JTabbedPane.java
18261 (serialVersionUID): New field.
18263 2004-03-16 Norbert Frese <postfach@nfrese.net>
18265 * java/net/InetAddress.java
18266 (getByName): Handle hostname == "" case.
18268 2004-03-16 Dalibor Topic <robilad@kaffe.org>
18270 Reported by: Adam Heath <doogie@debian.org>
18271 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
18274 2004-03-15 Michael Koch <konqueror@gmx.de>
18276 * java/util/Locale.java: Reverting my last patch
18277 and add a comment why the original version was okay.
18279 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
18281 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
18282 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
18283 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
18284 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
18286 2004-03-12 Michael Koch <konqueror@gmx.de>
18288 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
18290 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
18292 * java/net/URI.java (toURL): Implemented.
18294 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
18296 * java/net/URI.java
18297 (URI_REGEXP) updated to contain scheme specific part.
18298 (SCHEME_SPEC_PART_GROUP) new constant.
18299 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
18300 updated to make room for SCHEME_SPEC_PART_GROUP.
18301 (parseURI) parse scheme specific part.
18302 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
18303 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
18304 getQuery, getFragment) implemented.
18306 2004-03-12 Dalibor Topic <robilad@kaffe.org>
18308 * libraries/javalib/java/net/URI.java
18309 partially implemented using java.util.regex.
18310 (URI_REGEXP) new constant. Used to parse URIs.
18311 (SCHEME_GROUP) new constant representing index of scheme group
18313 (AUTHORITY_GROUP) new constant representing index of authority
18314 group in parsed URI.
18315 (PATH_GROUP) new constant representing index of path group in
18317 (QUERY_GROUP) new constant representing index of query group in
18319 (FRAGMENT_GROUP) new constant representing index of fragment
18320 group in parsed URI.
18321 (getURIGroup) new static utility method.
18322 (parseURI) implemented.
18323 (quote) stub for new static utility method.
18324 (quoteAuthority) stub for new static utility method.
18325 (quoteHost) stub for new static utility method.
18326 (quotePath) stub for new static utility method.
18327 (quoteUserInfo) stub for new static utility method.
18329 (create) don't throw URISyntaxException. Implemented.
18330 (toString) implemented.
18332 2004-03-12 Michael Koch <konqueror@gmx.de>
18334 * java/net/HttpURLConnection.java
18335 (getResponseCode): Fix another typo in javadoc.
18337 2004-03-11 Michael Koch <konqueror@gmx.de>
18339 * java/util/logging/Level.java
18340 (parse): Use String.equals() instead of ==.
18342 2004-03-11 Michael Koch <konqueror@gmx.de>
18344 * gnu/java/net/protocol/jar/Connection.java
18345 (getContentLength): New method.
18347 2004-03-11 Michael Koch <konqueror@gmx.de>
18349 * gnu/java/net/PlainSocketImpl.java:
18350 Reformated to merge better with classpath's version.
18352 2004-03-11 Michael Koch <konqueror@gmx.de>
18354 * java/util/Locale.java
18355 (getISO3Language): Use String.equals() instead of ==.
18356 (getISO3Country): Likewise.
18358 2004-03-11 Dalibor Topic <robilad@kaffe.org>
18360 * java/text/AttributedString.java
18361 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
18362 Use HashMap instead of Hashtable since value can be null, and
18363 you can not store a null value in a Hashtable.
18365 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
18367 * java/text/AttributedStringIterator.java
18368 (getAllAttributesKey): Return only keys concerned
18369 by the current iterator.
18370 (getAttributes): Use strict inequality for
18373 2004-03-11 Michael Koch <konqueror@gmx.de>
18375 * java/net/HttpURLConnection.java:
18376 Fixed typo in javadoc.
18378 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
18380 * java/io/BufferedInputStream.java (marktarget): New field for max
18382 (CHUNKSIZE): New constant for incremental mark buffer allocation.
18383 (mark): Use new fields.
18385 (read(byte[],int,int)): Likewise.
18387 (refill): Likewise.
18389 2004-03-11 Mark Wielaard <mark@klomp.org>
18391 * java/beans/BeanDescriptor.java (BeanDescriptor):
18392 Set the FeatureDescriptor programmatic name.
18394 2004-03-11 Michael Koch <konqueror@gmx.de>
18396 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
18397 This file was was just copied form java/io/natFileDescriptorEcos.cc
18398 and never changed to compile correctly.
18400 2004-03-11 Michael Koch <konqueror@gmx.de>
18402 * gnu/java/nio/PipeImpl.java
18403 (SourceChannelImpl): Made final.
18404 (read): Implemented.
18405 (SinkChannelImpl): Made final.
18406 (write): Implemented.
18408 2004-03-11 Michael Koch <konqueror@gmx.de>
18410 * gnu/java/net/PlainDatagramSocketImpl.java:
18411 Reformated to match classpath's version more.
18413 2004-03-11 Michael Koch <konqueror@gmx.de>
18415 * gnu/java/awt/peer/ClasspathFontPeer.java:
18416 Fixed javadoc to be correct xhtml.
18417 * gnu/java/awt/peer/gtk/GtkArgList.java
18418 (add): Use Boolean.valueOf() instead of new Boolean().
18420 2004-03-09 Michael Koch <konqueror@gmx.de>
18422 * java/lang/Thread.java
18423 (runnable): Moved around.
18424 (daemon): Renamed from daemon_flag.
18425 (contextClassLoader): Renamed from context_class_loader.
18426 (Thread): Reordered constructors.
18427 (activeCount): Use group directly.
18428 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
18429 (holdsLock): Reworked javadoc.
18430 (setDaemon): Reworked.
18431 * java/lang/natThread.cc
18432 (destroy): Removed.
18434 2004-03-08 Anthony Green <green@redhat.com>
18436 * Makefile.am: Build property resource files into libgcj.
18437 * Makefile.in: Rebuilt.
18438 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
18439 java/util/regex/PatternSyntaxException.java,
18440 gnu/regexp/CharIndexed.java,
18441 gnu/regexp/CharIndexedCharArray.java,
18442 gnu/regexp/CharIndexedInputStream.java,
18443 gnu/regexp/CharIndexedReader.java,
18444 gnu/regexp/CharIndexedString.java,
18445 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
18446 gnu/regexp/REException.java,
18447 gnu/regexp/REFilterInputStream.java,
18448 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
18449 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
18450 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
18451 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
18452 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
18453 gnu/regexp/RETokenLookAhead.java,
18454 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
18455 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
18456 gnu/regexp/RETokenStart.java,
18457 gnu/regexp/RETokenWordBoundary.java,
18458 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
18460 2004-03-03 Per Bothner <per@bothner.com>
18462 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
18463 Optimize when argument is a FileChannelImpl.
18464 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
18465 New native methods.
18466 * java/nio/channels/natChannels.cc: New file for new native methods.
18467 * Makefile.am: Update accordingly.
18469 2004-03-02 Jan Hubicka <jh@suse.cz>
18471 * configure.host: Pass -fno-omit-frame-pointer for i386.
18472 * configure.in: Likewise.
18473 * configure: Regenerate.
18475 2004-03-01 Per Bothner <per@bothner.com>
18477 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
18479 2004-02-29 Per Bothner <per@bothner.com>
18481 * java/nio/channels/FileChannelImpl.java: Moved to package
18482 gnu/java/nio/channels, since we need to refer to it from java.io.
18483 * java/nio/channels/natFileChannelImpl.cc: Removed file.
18484 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
18485 from java/nio/channels. Don't depend on FileDescriptor.
18486 (in, out, err): New static fields.
18488 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
18489 from FileDescriptor.
18490 (by): Removed MappedByteBuffer field.
18491 (map): New working implementation.
18492 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
18493 some code "ported" from natFileDescriptoPosix.cc.
18494 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
18495 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
18496 * java/io/FileDescriptor.java: Implement on top of FileChannel.
18497 Remove native methods.
18498 * Makefile.am, configure.in: Updated accordingly.
18500 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
18501 (ch): New FileChannelImpl field. Update constructor to match.
18502 (releaseImpl): Remove native method. Instead ...
18503 (release): Call unlock on channel.
18504 * gnu/java/nio/natFileLockImpl.cc: Removed file.
18506 * java/io/natFileDescriptorEcos.cc: Remove file.
18507 * java/io/natFileDescriptorPosix.cc: Remove file.
18508 * java/io/natFileDescriptorWin32.cc: Remove file.
18509 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
18510 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
18511 (<init>(FileChannelImpl)): New package-private constructor.
18512 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
18513 (available, close, read, skip): Implement using FileChannelImpl.
18514 (getFD): Allocate FileDescriptor if needed.
18515 (getChannel): Is now trivial.
18516 * java/io/FileOutputStream.java: Corresponding changes.
18517 * java/io/RandomAccessFile.java: Corresponding changes.
18519 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
18520 unmapImpl): New dummy methods, to be overridden by subclass.
18521 (finalize, isLoaded, load, force): New methods.
18522 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
18523 Now works, at least for read mapping.
18525 * java/lang/natPosixProcess.cc (startProcess): Implement standard
18526 streams using FileChannelImpl, not FileDescriptor.
18527 * java/lang/natWin32Process.cc (startProcess): Likewise.
18529 2004-02-28 Michael Koch <konqueror@gmx.de>
18531 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
18534 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
18536 * java/io/ObjectInputStream.java
18537 (readClassDescriptor): Keep elements of the mapping non null.
18538 (checkTypeConsistency): New method.
18539 (readFields): Fixed main loop and base logic. Small reindentation.
18540 * java/io/ObjectStreamField.java
18541 (lookupField): New method to update the field reference.
18542 (checkFieldType): New method.
18543 * java/io/ObjectStreamClass.java
18544 (setClass, setFields): Call lookupField when building the field
18545 database. Check the real field type.
18547 2004-02-28 Michael Koch <konqueror@gmx.de>
18549 * java/nio/ByteOrder.java
18550 (nativeOrder): Use equals() to compare strings.
18552 2004-02-26 Michael Koch <konqueror@gmx.de>
18554 * gnu/java/nio/FileLockImpl.java
18555 (finalize): Made protected.
18556 * java/nio/channels/FileChannel.java
18557 (MapMode.READ_ONLY): Made final.
18558 (MapMode.READ_WRITE): Made final.
18559 (MapMode.PRIVATE): Made final.
18560 * java/nio/channels/SocketChannel.java
18561 (open): Simplified code.
18562 * java/nio/channels/spi/AbstractSelectableChannel.java
18563 (registered): Unused, removed.
18564 (keyFor): Check channel is open, only locate key
18565 and not add a new one.
18566 (register): Don't delete attachments.
18568 2004-02-26 Michael Koch <konqueror@gmx.de>
18570 * gnu/java/awt/ComponentDataBlitOp.java
18571 (INSTANCE): Made final.
18572 * gnu/java/awt/image/ImageDecoder.java:
18574 (cm): Unused, removed.
18576 2004-02-26 Michael Koch <konqueror@gmx.de>
18578 * gnu/java/nio/DatagramChannelImpl.java
18579 (send): Check if target address is resolved.
18581 2004-02-26 Michael Koch <konqueror@gmx.de>
18583 * Makefile.am: Generate and install headers for inner classes in
18584 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
18585 * Makefile.in: Regenerated.
18587 2004-02-24 Anthony Green <green@redhat.com>
18589 * java/lang/StringBuffer.java: No need to NULL out remainder of
18590 buffer since ensureCapacity_unsynchronized will have done this for
18593 2004-02-20 Michael Koch <konqueror@gmx.de>
18595 * gnu/java/net/protocol/jar/Handler.java
18596 (): Removed unneeded check for file != null. java.net.URL.getFile()
18597 returns an empty string but never null.
18599 2004-02-20 Michael Koch <konqueror@gmx.de>
18601 * gnu/gcj/convert/Convert.java
18602 (main): Use equals() to compare strings.
18604 2004-02-20 Michael Koch <konqueror@gmx.de>
18606 * javax/swing/AbstractButton.java: Made several constants final.
18607 (getRolloverSelectedIcon): Made public.
18608 (getSelectedIcon): Made public.
18610 2004-02-16 Per Bothner <per@bothner.com>
18612 * java/nio/CharBufferImpl.java: Inline super constructor.
18613 * java/nio/DoubleBufferImpl.java: Likewise.
18614 * java/nio/FloatBufferImpl.java: Likewise.
18615 * java/nio/IntBufferImpl.java: Likewise.
18616 * java/nio/LongBufferImpl.java: Likewise.
18617 * java/nio/ShortBufferImpl.java: Likewise.
18618 * java/nio/CharBuffer.java: Remove unused constructor.
18619 * java/nio/DoubleBuffer.java: Likewise.
18620 * java/nio/FloatBuffer.java: Likewise.
18621 * java/nio/IntBuffer.java: Likewise.
18622 * java/nio/LongBuffer.java: Likewise.
18623 * java/nio/ShortBuffer.java: Likewise.
18624 * java/nio/CharViewBufferImpl.java: New convenience constructor.
18625 Fix buggy call to super constructor.
18626 * java/nio/DoubleViewBufferImpl.java: Likewise.
18627 * java/nio/FloatViewBufferImpl.java: Likewise.
18628 * java/nio/IntViewBufferImpl.java: Likewise.
18629 * java/nio/LongViewBufferImpl.java: Likewise.
18630 * java/nio/ShortViewBufferImpl.java: Likewise.
18632 * java/nio/ByteBuffer.java (endian): Make non-private so other
18633 java.nio classes can inherit it.
18634 (<init>): Don't bother clearing array_offset.
18635 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
18636 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
18637 Remove redundant test.
18639 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
18640 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
18641 Use new XxxViewBufferImpl constructors.
18642 * java/nio/MappedByteBufferImpl.java: Likewise.
18643 * java/nio/DirectByteBufferImpl.java: Likewise.
18645 * java/nio/ByteBufferImpl.java: Remove one constructor.
18646 Inline super in remaining constructor.
18647 * java/nio/ByteBuffer.java: Remove unused constructor.
18649 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
18651 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
18652 * java/nio/DirectByteBufferImpl.java (owner): New field.
18653 (offset): Remove unused field.
18654 (<init>): Modify one and add another constructor. Change callers.
18655 (allocateDirect): Removed - not used.
18656 (getImpl, putImpl): Make static and pass address explicitly,
18657 to make them useful for MappedByteBufferImpl.
18658 (get, put): Check for underflow. Modify for new getImpl.
18659 (getImpl): New native method where target is array.
18660 (get(byte[],int,int)): Use the above.
18661 (adjustAddress): New static native method.
18662 (slice, duplicate, asReadOnly): New implementations.
18663 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
18664 adjustAddress): New or updated native methods.
18666 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
18668 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
18669 overflow of fieldmapping.
18671 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
18673 * javax/swing/undo/UndoManager.java: Re-written from scratch.
18675 2004-02-14 Per Bothner <per@bothner.com>
18677 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
18678 Set closed before calling implCloseChannel, as in the spec.
18680 2004-02-09 Graydon Hoare <graydon@redhat.com>
18682 * javax/swing/ToggleButtonModel.java: Remove dead class.
18683 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
18684 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
18685 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
18686 * Makefile.am: Update for new and removed files.
18687 * Makefile.in: Regenerate.
18689 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
18690 * javax/swing/AbstractButton.java
18691 (AbstractButton): Initialize fields correctly in ctor.
18692 * javax/swing/JCheckbox.java
18693 (JCheckBox): Override painting flags.
18694 * javax/swing/DefaultButtonModel.java: Conform to sun.
18695 * javax/swing/JComponent.java (paint): Fill with background color
18697 (processComponentKeyEvent)
18698 (processFocusEvent)
18700 (processMouseMotionEvent): Remove event-consuming empty methods.
18701 (getUIClassID): Return "ComponentUI" not "JComponent"
18702 * javax/swing/JFrame.java: Remove some debugging chatter.
18703 (JFrame): Subscribe to window events.
18704 * javax/swing/JRadioButton.java
18705 (JRadioButton): Override painting flags.
18706 * javax/swing/JRootPane.java
18707 (JRootPane): Set background from UIDefaults.
18708 * javax/swing/JToggleButton.java
18709 (ToggleButtonModel): New inner class.
18710 (JToggleButton): Override layout alighment.
18711 * javax/swing/SwingUtilities.java:
18712 (getLocalBounds): Return width and height, not x and y.
18713 (calculateInnerArea): Use local bounds, not bounds.
18714 (layoutCompoundLabel): Provide overridden form.
18715 (layoutCompoundLabel): Correct bugs.
18716 * javax/swing/UIDefaults.java: Correct comment.
18717 * javax/swing/plaf/basic/BasicButtonUI.java:
18718 Move most logic into defaults, external listener.
18719 (paintIcon): Implement icon painting.
18720 (paint): Fix state painting to conform to changes in model.
18721 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
18722 Remove most dead/wrong methods.
18723 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
18724 * javax/swing/plaf/basic/BasicIconFactory.java:
18725 (DummyIcon): New class.
18726 (getMenuItemCheckIcon)
18727 (getMenuItemArrowIcon)
18729 (getCheckBoxMenuItemIcon)
18730 (getRadioButtonMenuItemIcon)
18731 (createEmptyFrameIcon): Return DummyIcons, not null.
18732 (getCheckBoxIcon): Implement an icon that looks like sun's.
18733 (getRadioButtonIcon): Implement an icon that looks like sun's.
18734 * javax/swing/plaf/basic/BasicLookAndFeel.java
18735 (initComponentDefaults): Fix impossible values, add some missing.
18736 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
18737 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
18738 Remove most dead/wrong methods.
18740 (getDefaultIcon): New method.
18741 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
18742 Remove most dead/wrong methods.
18743 * javax/swing/plaf/metal/MetalLookAndFeel.java
18744 (getDefaults): Return super.getDefaults(), not BasicDefaults.
18745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
18746 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
18747 Implement "clearing" as drawing, when on pixmap drawables.
18749 * javax/swing/JButton.java (getUIClassID):
18750 * javax/swing/JCheckBox.java (getUIClassID):
18751 * javax/swing/JEditorPane.java (getUIClassID):
18752 * javax/swing/JLabel.java (getUIClassID):
18753 * javax/swing/JList.java (getUIClassID):
18754 * javax/swing/JOptionPane.java (getUIClassID):
18755 * javax/swing/JPanel.java (getUIClassID):
18756 * javax/swing/JPasswordField.java (uiClassID):
18757 * javax/swing/JRadioButton.java (getUIClassID):
18758 * javax/swing/JRootPane.java (getUIClassID):
18759 * javax/swing/JScrollPane.java (getUIClassID):
18760 * javax/swing/JTabbedPane.java (getUIClassID):
18761 * javax/swing/JToggleButton.java (getUIClassID):
18762 * javax/swing/JTree.java (getUIClassID):
18763 * javax/swing/JViewport.java (getUIClassID):
18764 * javax/swing/text/JTextComponent.java (getUIClassID):
18765 Return "fooUI" not "Jfoo"
18767 2004-02-11 Michael Koch <konqueror@gmx.de>
18769 * java/net/DatagramSocket.java
18770 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
18772 (setBroadcast): Likewise.
18773 * java/net/MulticastSocket.java
18774 (setLoopbackMode): Likewise.
18775 * java/net/ServerSocket.java
18776 (setReuseAddress): Likewise.
18777 * java/net/Socket.java
18778 (setTcpNoDelay): Likewise.
18779 (setSoLinger): Likewise.
18780 (setOOBInline): Likewise.
18781 (setKeepAlive): Likewise.
18782 (setReuseAddress): Likewise.
18783 * java/net/URLConnection.java
18784 (setContentHandler): Replace == with equals().
18785 * java/net/URLStreamHandler.java
18786 (hostSEquals): Fix checking host addresses.
18787 (toExternalForm): Dont check protocol for null. We know already its
18790 2004-02-10 David Jee <djee@redhat.com>
18792 * java/awt/BorderLayout.java
18793 (calcCompSize): Invisible components get zero dimensions.
18794 * java/awt/Button.java
18795 (setLabel): Set actionCommand.
18796 * java/awt/Component.java
18797 (show): Invalidate component and parent container.
18800 2004-02-10 David Jee <djee@redhat.com>
18802 * java/awt/GridBagLayout.java
18803 (GridBagLayout): New private field, internalcomptable.
18804 (lookupInternalConstraints): New method.
18805 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
18806 (GetLayoutInfo): Reimplement.
18807 (calcCellSizes): Ignore rows/columns with size 0.
18809 2004-02-10 Michael Koch <konqueror@gmx.de>
18811 * gnu/java/awt/EmbeddedWindow.java
18812 (setHandle): Use java.awt.Component.getPeer() instead of
18813 java.awt.Component.peer directly.
18815 2004-02-10 David Jee <djee@redhat.com>
18817 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
18818 (gtkSetLabel): New native method definition.
18819 (setLabel): Use gtkSetLabel.
18820 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
18821 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
18823 2004-02-10 Alan Modra <amodra@bigpond.net.au>
18825 * include/powerpc-signal.h: Revert 2004-01-21 change.
18826 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
18827 from syscall for ppc32 versions.
18829 2004-02-08 Per Bothner <per@bothner.com>
18831 * java/nio/ByteBuffer.java (shiftDown): New helper method.
18832 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
18833 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
18834 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
18835 Pass ByteOrder parameter to most methods, since the underlying
18836 ByteBuffer's order isn't always what we should use.
18837 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
18838 * java/nio/DirectByteBufferImpl.java: Likewise.
18839 Use ByteBufferHelper methods.
18840 * java/nio/MappedByteBufferImpl.java: Likewise.
18841 (compact): Use shiftDown.
18842 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
18843 (get, put): Use ByteBufferHelper.
18844 (compact): Use new shiftDown method.
18845 (duplicate(boolean)): New helper method.
18846 (duplicate, asReadOnlyBuffer): Use it.
18847 (order): Return endian field.
18848 * java/nio/DoubleViewBufferImpl.java: Likewise.
18849 * java/nio/FloatViewBufferImpl.java: Likewise.
18850 * java/nio/IntViewBufferImpl.java: Likewise.
18851 * java/nio/LongViewBufferImpl.java: Likewise.
18852 * java/nio/ShortViewBufferImpl.java: Likewise.
18853 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
18854 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
18855 (compact): Re-implement using shiftDown.
18857 2004-02-08 Andreas Jaeger <aj@suse.de>
18859 * include/x86_64-signal.h: Fix typo.
18861 2004-02-08 Diego Novillo <dnovillo@redhat.com>
18863 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
18864 qualifier to _regs.
18865 (HANDLE_DIVIDE_OVERFLOW): Likewise.
18867 2004-02-06 Michael Koch <konqueror@gmx.de>
18869 * java/io/ObjectInputStream.java
18870 (currentClassLoader): Reverted to old version of this method.
18872 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
18874 * java/io/ObjectInputStream.java: Made all calls
18875 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
18876 use cached info from ObjectStreamClass. (readClassDescriptor):
18877 Cache more information in ObjectStreamClass. (processResolution,
18878 readFields): Use cached info from ObjectStreamClass.
18879 (newObject): Throw exception instead of returning null for failure.
18880 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
18881 setCharField, setDoubleField, setFloatField, setIntField,
18882 setLongField, setShortField, setObjectField, readObjectParams):
18883 Removed. (dumpElement, dumpElementln): Removed dump flag condition
18885 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
18886 (setClass): Added call to cacheMethods() (findMethod): New method.
18887 (cacheMethods): New method. (ObjectStreamClass): Added call to
18888 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
18889 AccessController.doPrivileged to invoke setAccessible.
18890 (readObjectMethod, readResolveMethod, realClassIsSerializable,
18891 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
18893 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
18894 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
18895 isPrimitive): Made safe for cases where type == null.
18896 (setBooleanField, setByteField, setCharField, setShortField,
18897 setIntField, setLongField, setFloatField, setDoubleField,
18898 setObjectField): New methods.
18900 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
18902 * java/awt/Component.java (getFont): Return a default font
18905 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
18906 (Scrollbar (int, int, int, int, int)): Make default page
18908 (setValues): Only call peer.setValues if one of the values has
18910 (generateName): New method.
18911 (getUniqueLong): New method.
18912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
18913 (range_scrollbar): Remove structure.
18914 (post_adjustment_event): Remove function.
18915 (post_change_event): Accept jobject argument.
18916 (create): Cast jints to gdoubles. Round scrollbar values to the
18917 nearest integer. Clamp min, max and value settings.
18918 (connectJObject): Connect hook to widget->window.
18919 (connectSignals): Remove range_scrollbar structure variables.
18920 Remove "move-slider" connection. Pass global peer reference to
18921 "value-changed" callback.
18922 (setLineIncrement): Cast jint value to gdouble.
18923 (setPageIncrement): Likewise.
18924 (setValues): Likewise. Clamp min, max and value settings.
18926 2004-02-05 Michael Koch <konqueror@gmx.de>
18928 * javax/swing/AbstractCellEditor.java
18929 (getCellEditorValue): Removed.
18930 * javax/swing/Box.java: Reformated.
18931 (serialVersionUID): New field.
18932 * javax/swing/ButtonGroup.java:
18933 Removed some weird whitespace.
18934 * javax/swing/CellEditor.java: Reformated.
18935 * javax/swing/CellRendererPane.java
18936 (serialVersionUID): New field.
18937 (AccessibleCellRendererPaneserialVersionUID): New field.
18938 * javax/swing/DefaultListModel.java
18939 (serialVersionUID): New field.
18940 * javax/swing/JEditorPane.java
18941 (serialVersionUID): New field.
18942 (setPage): Throws IOException.
18943 (addHyperlinkListener): Implemented.
18944 (removeHyperlinkListener): Implemented.
18945 (getHyperlinkListener): New method.
18946 * javax/swing/JFileChooser.java
18947 (serialVersionUID): New field.
18948 (AccessibleJFileChooser.serialVersionUID): New field.
18949 (addActionListener): Implemented.
18950 (removeActionListener): Implemented.
18951 (getActionListeners): New method.
18952 * javax/swing/JFormattedTextField.java
18953 (serialVersionUID): New field.
18954 (AbstractFormatter.serialVersionUID): New field.
18955 (clone): Throws CloneNotSupportedException
18956 (setEditValid): Add missing argument.
18957 (stringToValue): Throws ParseExcpetion.
18958 (valueToString): Throws ParseException.
18959 (commitEdit): Throws ParseException.
18960 * javax/swing/JLabel.java
18961 (serialVersionUID): New field.
18962 * javax/swing/JList.java
18963 (serialVersionUID): New field.
18964 (addListSelectionListener): Reformated.
18965 (removeListSelectionListener): Reformated.
18966 (getListSelectionListeners): New method.
18967 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
18969 (serialVersionUID): New field.
18970 * javax/swing/table/AbstractTableModel.java
18971 (getValueAt): Removed.
18972 (getColumnCount): Removed.
18973 (getRowCount): Removed.
18975 2004-02-05 Michael Koch <konqueror@gmx.de>
18977 * java/awt/datatransfer/DataFlavor.java
18978 (imageFlavor): Javadoc added.
18979 (javaJVMLocalObjectType): Fixed.
18981 2004-02-05 Michael Koch <konqueror@gmx.de>
18983 * java/lang/Thread.java
18984 (Thread): Reordered.
18985 (setContextClassLoader): Fixed javadoc comment.
18986 (setPriority): Reordered.
18987 (yield): Reordered.
18988 (initialize_native): Reordered.
18989 (gen_name): Reordered.
18991 2004-02-05 Michael Koch <konqueror@gmx.de>
18993 * java/lang/Thread.java: Reordered fields, reformated much code,
18994 no functional changes, some variables renamed, javadoc comments
18997 2004-02-05 Michael Koch <konqueror@gmx.de>
18999 * java/util/zip/Deflater.java,
19000 java/util/zip/DeflaterOutputStream.java,
19001 java/util/zip/GZIPInputStream.java:
19002 Reformated and javadoc comments merged from classpath.
19004 2004-02-05 Michael Koch <konqueror@gmx.de>
19006 * gnu/java/nio/NIOServerSocket.java
19007 (impl): Unused, removed.
19008 * gnu/java/nio/SocketChannelImpl.java
19009 (finnishConnect): Don't throw NoConnectionPendingException if not
19010 connected or no connection pending.
19012 2004-02-02 Graydon Hoare <graydon@redhat.com>
19014 * javax/swing/SwingUtilities.java: Many new functions.
19015 * java/awt/Container.java (LightweightDispatcher): Reimplement.
19016 * javax/swing/basic/BasicGraphicsUtils.java
19017 (getPreferredButtonSize): Start layout from top-left corner.
19019 2004-02-04 Olga Rodimina <rodimina@redhat.com>
19021 * java/awt/geom/AffineTransform.java:
19022 Corrected comments on the field definitions for
19024 (shear): Fixed few errors that caused shear
19025 transformation to be performed incorrectly.
19026 (createInverse): Fixed to return correct
19027 inverse of the given matrix.
19029 2004-02-03 Tom Tromey <tromey@redhat.com>
19031 * java/lang/natPosixProcess.cc (startProcess): Handle case where
19032 PATH or LD_LIBRARY_PATH is not set in parent environment.
19034 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
19036 * gnu/java/awt/peer/gtk/GtkListPeer.java,
19037 java/awt/BorderLayout.java, java/awt/CardLayout.java,
19038 java/awt/CheckboxGroup.java, java/awt/Choice.java,
19039 java/awt/Component.java, java/awt/Container.java,
19040 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
19041 java/awt/LayoutManager2.java, java/awt/List.java,
19042 java/awt/Menu.java, java/awt/MenuBar.java,
19043 java/awt/MenuItem.java, java/awt/Polygon.java,
19044 java/awt/Rectangle.java, java/awt/ScrollPane.java,
19045 java/awt/Scrollbar.java, java/awt/TextArea.java,
19046 java/awt/TextField.java,
19047 java/awt/image/renderable/RenderContext.java,
19048 javax/swing/JApplet.java: Fix handling of alias methods, where a
19049 method has been deprecated in favour of a new one with the same
19050 funtion but a different name. Put the method implementation in
19051 the deprecated method and have the new method call the
19052 deprecated one. Make all other code call the new method.
19054 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
19056 * gnu/java/nio/DatagramChannelImpl.java
19057 (inChannelOperation): New field.
19058 (isInChannelOperation): New accessor.
19059 (setInChannelOperation): New modifier.
19060 (receive): Use capacity() - position() of destination
19061 buffer instead of remaining(). Set and reset our "in
19062 channel operation indicator" before and after delegating
19063 the receive to our datagram socket. Removed testing code.
19064 Update destination buffer's current position if it is
19065 backed by a byte array (hasArray() is true).
19066 (send): Set and reset our "in channel operation indicator"
19067 before and after delegating the send to our datagram socket.
19068 Removed testing code. Update source buffer's current position
19069 if it is backed by a byte array (hasArray() is true).
19070 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
19071 Use capacity() - position() of destination buffer instead
19073 * java/net/DatagramSocket.java (receive): Don't throw an
19074 IllegalBlockingModeException if we have a non-blocking
19075 channel which initiated this operation.
19078 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
19080 * configure.in: Add pkgconfig check for glib and gthread.
19081 * configure: Regenerate.
19083 2004-02-01 Michael Koch <konqueror@gmx.de>
19085 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
19087 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
19088 * verify.cc (debug_print): Mark 'fmt' unused.
19090 2004-01-30 Michael Koch <konqueror@gmx.de>
19092 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
19093 * configure: Regenerated.
19094 * glib-2.0.m4: Removed.
19095 * gtk-2.0.m4: Removed.
19096 * libart.m4: Removed.
19097 * pkg.m4: New file.
19099 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
19101 * gnu/java/net/PlainSocketImpl.java
19102 (inChannelOperation): New field.
19103 (isInChannelOperation): New accessor.
19104 (setInChannelOperation): New modifier.
19105 * gnu/java/nio/ServerSocketChannelImpl.java
19106 (accept): Set and reset our server socket's PlainSocketImpl's
19107 "in channel operation" indicator before and after delegating
19108 the accept to our server socket.
19109 * gnu/java/nio/SocketChannelImpl.java
19110 (connect): Set and reset our socket's PlainSocketImpl's "in channel
19111 operation" indicator before and after delegating the operation to
19115 * java/net/ServerSocket.java (implAccept): Don't throw an
19116 IllegalBlockingModeException if we have a non-blocking
19117 channel which initiated this accept operation.
19118 * java/net/Socket.java (connect): Don't throw an
19119 IllegalBlockingModeException if we have a non-blocking
19120 channel which initiated this connect operation.
19121 * java/nio/channels/spi/AbstractSelectableChannel.java
19122 (configureBlocking): Only call implConfigureBlocking() if
19123 the desired blocking mode is different from our current one.
19125 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
19127 * java/io/BufferedReader.java (sbuf): New field.
19128 (readLine): Use String.valueOf instead of new String() as per
19129 Per Bothner's suggestion. Use instance sbuf field instead of a
19130 local StringBuffer instance.
19131 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
19132 caller's buffer to refill().
19133 (read(void)): Pass our internal work buffer to refill if our
19134 input queue is empty.
19135 (refill): Changed return type to int. Use the specified buffer
19136 instead of our work buffer as per Bryce McKinlay's suggestion.
19137 Return the number of characters read or -1 for EOF.
19139 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
19141 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
19143 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
19145 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
19146 * Makefile.in: Re-generated.
19147 * gnu/awt/xlib/XFontPeer.java: New file.
19148 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
19149 (setClip): Commented out debug printout.
19150 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
19151 (getFontPeer): Return XFontPeer.
19152 (getLocalGraphicsEnvironment): New method.
19153 (getClasspathFontPeer): New method.
19154 (createFont): New method.
19156 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
19158 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
19161 2004-01-29 Kim Ho <kho@redhat.com>
19163 * gnu/java/awt/peer/gtk/GtkFramePeer.java
19164 (gtkLayoutSetVisible): New method
19165 (setMenuBar): Hide layout before setting MenuBar
19166 and reshow it after.
19167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19168 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
19170 2004-01-28 Michael Koch <konqueror@gmx.de>
19172 * gnu/java/lang/ClassHelper.java
19173 (getPackagePortion): Removed.
19175 2004-01-28 Michael Koch <konqueror@gmx.de>
19177 * javax/swing/JComponent.java
19178 (listenerList): Initalize globally.
19179 (ancestor_list): Removed.
19180 (veto_list): Removed.
19181 (change_list): Removed.
19182 (get_veto_list): Removed.
19183 (get_change_list): Removed.
19184 (get_ancestor_list): Removed.
19185 (removeAncestorListener): Reimplemented.
19186 (removePropertyChangeListener): Likewise.
19187 (removeVetoableChangeListener): Likewise.
19188 (addAncestorListener): Likewise.
19189 (addPropertyChangeListener): Likewise.
19190 (addVetoableChangeListener): Likewise.
19191 (getListeners): New method.
19192 (getAncestorListeners): Likewise.
19193 (getVetoableChangeListeners): Likewise.
19194 (fireVetoableChange): Throws PropertyVetoException.
19195 * javax/swing/JEditorPane.java
19196 (JEditorPane): Throws IOException.
19198 2004-01-28 David Jee <djee@redhat.com>
19200 * gnu/java/awt/peer/gtk/GtkFramePeer.java
19201 (create): Set the default foreground color to
19202 java.awt.SystemColor.windowText.
19204 2004-01-27 Michael Koch <konqueror@gmx.de>
19206 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
19207 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
19208 Reindented to merge with classpath.
19210 2004-01-27 David Jee <djee@redhat.com>
19212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19213 (addExposeFilter): Handle GtkFramePeer separately.
19214 (removeExposeFilter): Likewise.
19216 2004-01-27 Michael Koch <konqueror@gmx.de>
19218 * gnu/java/net/protocol/http/Connection.java
19219 (getOutputStream): Fixed typo.
19221 2004-01-27 Michael Koch <konqueror@gmx.de>
19223 * java/lang/Class.java
19224 (getConstructor): Removed SecurityException from throws clause.
19225 (_getConstructors): Likewise.
19226 (getConstructors): Likewise.
19227 (getDeclaredConstructor): Likewise.
19228 (getDeclaredClasses): Likewise.
19229 (getDeclaredConstructors): Likewise.
19230 (getDeclaredField): Likewise.
19231 (getDeclaredMethod): Likewise.
19232 (getDeclaredMethods): Likewise.
19233 (getField): Likewise.
19234 (getMethod): Likewise.
19235 (getMethods): Likewise.
19237 2004-01-27 Kim Ho <kho@redhat.com>
19239 * gnu/java/awt/peer/gtk/GtkFramePeer.java
19240 (removeMenuBarPeer): Remove MenuBarPeer argument.
19241 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
19242 (dispose): Call native method.
19243 * java/awt/Frame.java (setMenuBar): Create and remove
19244 MenuBar peers only if the Frame has a peer.
19245 (addNotify): Create the MenuBar peer if one exists.
19246 (removeNotify): Remove MenuBar peer if one exists.
19247 * java/awt/Menu.java: Fix imports.
19248 (addNotify): Don't use full class name.
19249 (removeNotify): Call removeNotify on all children.
19250 * java/awt/MenuBar.java (removeNotify): Call
19251 removeNotify on all children.
19252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19253 (removeMenuBarPeer): Remove MenuBarPeer argument.
19254 Iterate through children to find the Frame's MenuBar.
19255 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
19257 (dispose): Remove references to the MenuComponent.
19259 2004-01-27 Michael Koch <konqueror@gmx.de>
19261 * javax/swing/AbstractCellEditor.java: Reformated.
19262 * javax/swing/DefaultListSelectionModel.java
19263 (listenerList): Made protected.
19264 (addListSelectionListener): Javadoc added.
19265 (removeListSelectionListener): Likewise.
19266 (getListeners): Likewise.
19267 (getListSelectionListeners): Likewise.
19268 * javax/swing/JComboBox.java: Merged copyright year.
19269 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
19271 2004-01-26 Andrew Haley <aph@redhat.com>
19273 * javax/swing/table/JTableHeader.java: Extend JComponent
19275 2004-01-26 Kim Ho <kho@redhat.com>
19277 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
19280 2004-01-26 Kim Ho <kho@redhat.com>
19282 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
19284 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
19285 height and let the Layout Managers readjust anything that
19287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19288 (moveLayout): New method. Shift everything in the Gtk
19289 layout in the Y direction by an offset.
19291 2004-01-26 David Jee <djee@redhat.com>
19293 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
19294 (handleEvent): Implemented. Handles PaintEvents.
19295 (paint): Implemented. Use GTK native methods to queue updates
19296 for this heavyweight peer.
19297 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
19298 (handleEvent): Removed.
19299 * java/awt/Component.java
19300 (paint): Implemented. Explictly paint the heavyweight peer.
19301 (update): Clear the background for heavyweight components.
19302 (paintAll): No need to call peer.paint() anymore.
19303 (processEvent): Don't process PaintEvents here. It's now done in
19304 the peer's handleEvent().
19305 (processPaintEvent): Removed.
19306 * java/awt/Container.java
19307 (paint): No need to call super.paint(). Visit heavyweight
19309 (update): Don't clear the background here. It's done in
19310 Component.update().
19311 (visitChildren): Added check to not recurse into Containers.
19312 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19313 (filter_expose_event_handler): New method. Filter unwanted
19314 expose events while painting heavyweight peers.
19315 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
19316 New method. Connect filter and block pre_event_handler.
19317 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
19318 New method. Disconnect filter and unblock pre_event_handler.
19319 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
19320 New method. Invalidate and update given area.
19321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
19322 (pre_event_handler): Add checks for unwanted expose events.
19324 2004-01-26 David Jee <djee@redhat.com>
19326 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19327 (find_bg_color_widget): For GtkButton, return its child.
19329 2004-01-26 Kim Ho <kho@redhat.com>
19331 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
19333 (setMenuBar): Grab MenuBar height and change insets.
19334 (setBounds): Account for MenuBar height.
19335 (postInsetsChangedEvent): Ditto.
19336 (postSizeAllocateEvent): Remove.
19337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19338 (menubar_resize_cb): Remove
19339 (setMenuBarPeer): Remove callback.
19340 (getMenuBarHeight): Use size requisition instead of
19343 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
19345 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
19346 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
19348 (setColumns): Remove FIXME -- peer will retrieve number of
19349 columns by calling getColumns.
19350 (setRows): Likewise for number of rows.
19351 (next_text_number): New field.
19352 (paramString): Fix param string.
19353 (generateName): New method.
19354 (getUniqueLong): New method.
19356 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
19358 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
19359 image observer of image loading status.
19360 (getImage (String)): Start image production.
19361 (getImage (URL)): Likewise.
19363 2004-01-25 Michael Koch <konqueror@gmx.de>
19365 * java/lang/Class.java: Imports reworked, reformated.
19366 (Class): Javadoc added.
19367 (forName): Likewise.
19368 (getClasses): Likewise.
19369 (getClassLoader): Likewise.
19370 (getComponentType): Likewise.
19371 (getConstructor): Likewise.
19372 (getConstructors): Likewise.
19373 (getDeclaredConstructor): Likewise.
19374 (getDeclaredClasses): Likewise.
19375 (getDeclaredConstructors): Likewise.
19376 (getDeclaredField): Likewise.
19377 (getDeclaredMethod): Likewise.
19378 (getDeclaredMethods): Likewise.
19379 (getDeclaringClass): Likewise.
19380 (getField): Likewise.
19381 (getInterfaces): Likewise.
19382 (getMethod): Likewise.
19383 (getMethods): Likewise.
19384 (getModifiers): Likewise.
19385 (getName): Likewise.
19386 (getResource): Likewise.
19387 (getResourceAsStream): Likewise.
19388 (getSigners): Likewise.
19389 (setSigners): Likewise.
19390 (getSuperclass): Likewise.
19391 (isArray): Likewise.
19392 (isAssignableFrom): Likewise.
19393 (isInstance): Likewise.
19394 (isInterface): Likewise.
19395 (isPrimitive): Likewise.
19396 (newInstance): Likewise.
19397 (getProtectionDomain): Likewise.
19398 (toString): Likewise.
19400 (initializeClass): Likewise.
19401 (finalize): Likewise.
19403 2004-01-24 Michael Koch <konqueror@gmx.de>
19405 * gnu/java/net/protocol/jar/Connection.java
19406 (hdrHash): Removed.
19408 (gotHeaders): Removed.
19409 (getHeaderField): Removed.
19410 (getHeaderFields): Removed.
19411 (getHeaderFieldKey): Removed.
19413 (getField): Removed.
19414 (getHeaders): Removed.
19416 2004-01-24 Michael Koch <konqueror@gmx.de>
19418 * Makefile.am: Added library version to gtk peer lib.
19419 * Makefile.in: Regenerated.
19421 2004-01-24 Michael Koch <konqueror@gmx.de>
19423 * java/util/zip/InflaterInputStream.java: Merged class documentation
19426 2004-01-21 Jakub Jelinek <jakub@redhat.com>
19428 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
19429 header. For __powerpc64__ provide the default-signal.h definitions
19431 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
19432 instead of the dummy definitions.
19433 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
19434 (powerpc64*-*): Remove with_libffi_default.
19435 Only add -mminimal-toc for 64-bit compilations.
19436 * configure.in: Use powerpc-signal.h on powerpc64 as well.
19437 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
19438 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
19439 * configure: Rebuilt.
19441 2004-01-23 Michael Koch <konqueror@gmx.de>
19443 * gnu/java/nio/FileLockImpl.java: Compile fixes.
19445 2004-01-23 Michael Koch <konqueror@gmx.de>
19447 * java/lang/VMClassLoader.java: Reworked imports.
19449 2004-01-23 Michael Koch <konqueror@gmx.de>
19451 * javax/swing/AbstractAction.java: Reformated.
19453 2004-01-23 Michael Koch <konqueror@gmx.de>
19455 * java/text/CollationElementIterator.java:
19456 (setText): New method.
19458 2004-01-23 Michael Koch <konqueror@gmx.de>
19460 * gnu/java/nio/FileLockImpl.java:
19461 Fixed filename in copyright.
19462 (released): Removed.
19463 (finalize): New method.
19464 * gnu/java/nio/natFileLockImpl.cc
19465 (releaseImpl): Implemented.
19466 * java/nio/channels/FileChannelImpl.java:
19468 (lock): Implemented.
19469 (lockImpl): New method.
19470 (tryLock): Implemented.
19471 (tryLockImpl): New method.
19472 * java/nio/channels/natFileChannelImpl.cc
19473 (lockImpl): New method.
19474 (tryLockImpl): New method.
19476 2004-01-23 Michael Koch <konqueror@gmx.de>
19478 * java/io/FileDescriptor.java
19479 (lock): New method.
19480 (tryLock): New method.
19481 (unlock): New method.
19482 * java/io/natFileDescriptorEcos.cc
19483 (lock): New method.
19484 (tryLock): New method.
19485 (unlock): New method.
19486 * java/io/natFileDescriptorPosix.cc
19487 (lock): New method.
19488 (tryLock): New method.
19489 (unlock): New method.
19490 * java/io/natFileDescriptorWin32.cc
19491 (lock): New method.
19492 (tryLock): New method.
19493 (unlock): New method.
19495 2004-01-23 Michael Koch <konqueror@gmx.de>
19497 * java/io/FileDescriptor.java
19498 (sync): Moved around, added javadoc.
19503 (setLength): Likewise.
19505 (getLength): Likewise.
19506 (getFilePointer): Likewise.
19508 (available): Likewise.
19509 (finalize): Likewise.
19511 2004-01-23 Michael Koch <konqueror@gmx.de>
19513 * javax/swing/AbstractAction.java: Reformated.
19514 (getPropertyChangeListeners): New method.
19515 * javax/swing/AbstractCellEditor.java: Reformated.
19516 (getCellEditorListeners): New method.
19517 * javax/swing/DefaultListSelectionModel.java
19518 (listenerList): New field.
19519 (listeners): Removed.
19520 (get_listeners): Removed.
19521 (addListSelectionListener): Rewritten.
19522 (removeListSelectionListener): Rewritten.
19523 (getListSelectionListeners): New method.
19524 (getListeners): New method.
19525 * javax/swing/JComboBox.java: Imports reworked.
19526 (addActionListener): Implemented.
19527 (removeActionListener): Implemented.
19528 (addItemListener): Implemented.
19529 (removeItemListener): Implemented.
19530 (addPopupMenuListener): Implemented.
19531 (removePopupMenuListener): Implemented.
19532 (getActionListeners): New method.
19533 (getItemListeners): New method.
19534 (getPopupMenuListeners): New method.
19536 2004-01-23 Michael Koch <konqueror@gmx.de>
19538 * gnu/java/net/protocol/http/Connection.java
19539 (connect): Don't initialize bufferedOutputStream if not needed.
19540 (sendRequest): Set property for content length if content is present.
19541 Write content only if present.
19542 (getOutputStream): Check if already connected, dont connect,
19543 initalize bufferedOutputStream if needed.
19545 2004-01-23 Michael Koch <konqueror@gmx.de>
19547 * java/io/FileDescriptor.java
19548 (in, out, err): Added javadoc.
19549 (static): Merged loading code.
19550 (fd, position): Moved around.
19552 2004-01-23 Michael Koch <konqueror@gmx.de>
19554 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
19557 2004-01-23 Michael Koch <konqueror@gmx.de>
19559 * java/lang/Class.java,
19560 java/lang/Object.java,
19561 java/lang/Thread.java: Merged copyright with classpath.
19563 2004-01-23 Michael Koch <konqueror@gmx.de>
19565 * java/io/FileDescriptor.java: Merged copyright with classpath to
19566 start merging this class.
19568 2004-01-22 Tom Tromey <tromey@redhat.com>
19571 * testsuite/libjava.lang/pr13107_2.xfail: New file.
19572 * testsuite/libjava.lang/pr13107_3.xfail: New file.
19573 * testsuite/libjava.lang/pr13107_3.java: New file.
19574 * testsuite/libjava.lang/pr13107_3.out: New file.
19575 * testsuite/libjava.lang/pr13107_2.java: New file.
19576 * testsuite/libjava.lang/pr13107_2.out: New file.
19577 * testsuite/libjava.lang/pr13107.java: New file.
19578 * testsuite/libjava.lang/pr13107.out: New file.
19579 * verify.cc (jsr_ptrs): Removed.
19580 (entry_points): Likewise.
19581 (struct subr_info): Likewise.
19582 (struct subr_entry_info): Likewise.
19583 (type_val::unused_by_subroutine_type): Likewise.
19584 (type::merge): Don't handle unused_by_subroutine_type.
19585 (type::print): Likewise.
19586 (state::flags): Removed.
19587 (state::subroutine): Likewise.
19588 (state::seen_subrs): Likewise.
19589 (state::NO_STACK): Likewise.
19590 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
19591 (state): Updated all methods.
19592 (state::clean_subrs): Removed.
19593 (state::state): Removed `ret_semantics' flag.
19594 (state::copy): Likewise.
19595 (state::add_subr): Removed.
19596 (state::enter_subroutine): Likewise.
19597 (type::set_return_address): New method.
19598 (handle_jsr_insn): Set return address on the type. Always
19599 invalidate PC after call.
19600 (check_nonrecursive_call): Removed.
19601 (~_Jv_BytecodeVerifier): Updated.
19602 (branch_prepass): Removed special handling of jsr.
19603 (note_branch_target): Likewise.
19604 (get_subroutine): Removed.
19605 (state::merge): Don't merge subroutines and don't handle
19606 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
19607 (state::note_variable): Removed.
19608 (state::is_unmerged_ret_state): Likewise.
19609 (state::print): Updated.
19610 (set_variable): Likewise.
19611 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
19612 and jsr_semantics arguments. Updated for new reverification
19614 (pop_jump): Rewrote.
19615 (construct_primitive_array_type): Updated.
19616 (state::next): Removed.
19617 (INVALID_STATE): New define.
19618 (state::INVALID): Removed.
19619 (state::NO_NEXT): New value.
19620 (state::pc, state::next): New fields.
19621 (state::get_pc): New method.
19622 (next_verify_pc): Removed.
19623 (next_verify_state): New field.
19624 (verify_instructions_0): Always check for falling off end.
19625 (linked): New type.
19626 (linked_utf8): Removed.
19627 (states): Changed type.
19628 (type::state_mergeable_p): New method.
19629 (state::state_mergeable_p): Likewise.
19630 (handle_ret_insn): Removed most code.
19631 (state::reverify): New method.
19632 (add_new_state): Likewise.
19633 (state::set_pc): Likewise.
19635 2004-01-22 Jeff Sturm <jsturm@one-point.com>
19638 * testsuite/libjava.compile/PR13733.java: New file.
19639 * testsuite/libjava.compile/PR13733.xfail: New file.
19641 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
19642 Michael Koch <konqueror@gmx.de>
19644 * javax/swing/table/DefaultTableCellRenderer.java
19645 (DefaultTableCellRenderer): Added javadoc for the class and for
19646 the constructor, Border instance, create an EmptyBorder.
19647 (UIResource): Removed the comment at the end of the class
19648 (setForeground): New method.
19649 (setBackground): New method.
19650 (updateUI): New method.
19651 (getTableCellRendererComponent): Rewritten with the help of
19652 dvholten and Stephane Meslin-Weber.
19653 (validate): New method.
19654 (repaint): New method.
19655 (firePropertyChange): New method.
19656 (setValue): New method.
19658 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
19660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19661 (connectJObject): Replace printf calls with g_assert statements.
19662 Move property-notify-event signal connection to ...
19663 (connectSignals): Connect property-notify-event signal. Iterate
19664 through the vbox's children to find layout.
19666 2004-01-22 Graydon Hoare <graydon@redhat.com>
19668 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
19669 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
19670 Predicate static initialization on GtkToolkit.useGraphics2D().
19671 * java/awt/Component.java (processPaintEvent): Consume event.
19672 * javax/swing/AbstractButton.java: Reimplement, document.
19673 * javax/swing/DefaultButtonModel.java: Reimplement, document.
19674 * javax/swing/JComponent.java (paint): Use double buffer.
19675 (listenerList): Enable member.
19676 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
19677 * javax/swing/JToggleButton.java
19678 (JToggleButton): Modify model constructor.
19679 * javax/swing/SwingUtilities.java
19680 (layoutCompoundLabel): Adjust arithmetic.
19681 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
19682 * javax/swing/plaf/basic/BasicGraphicsUtils.java
19683 (getPreferredButtonSize): Include margins in calculation.
19684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19685 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
19686 Receive up events from subordinate layout component.
19688 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
19690 * java/awt/Component.java (show): Set visible to true before
19693 2004-01-21 Kim Ho <kho@redhat.com>
19695 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
19697 (removeMenuBarPeer): Make package private.
19698 (setMenuBarPeer): Make package private.
19699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19700 (menubar_resize_cb): Mark attributes unused.
19701 (getMenuBarHeight): ditto.
19703 2004-01-21 David Jee <djee@redhat.com>
19705 * java/awt/Container.java
19706 (LightweightDispatcher.handleEvent): Add an extra check to avoid
19707 dispatching MOUSE_ENTERED event twice. Translate the point for
19708 the mouse event target before dispatching the event.
19710 2004-01-20 Jakub Jelinek <jakub@redhat.com>
19712 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
19713 lib_org_w3c_dom_la_LDFLAGS): New.
19714 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
19715 * Makefile.in: Rebuilt.
19717 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
19719 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
19720 Calculate proper offsets for heavyweight components packed in
19721 lightweight containers.
19723 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
19724 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
19725 (native create): Add width parameter.
19726 (create): Calculate text entry width based on current font's
19727 metrics and number of columns. Set TextField's font if not
19728 already set. Call native create.
19729 (gtkEntryGetBorderWidth): New native method.
19730 (gtkEntryGetSize): Remove method.
19731 (getMinimumSize): Call minimumSize.
19732 (getPreferredSize): Call preferredSize.
19733 (minimumSize): Calculate minimum size based on backing
19734 GtkEntry's borders, font metrics and number of columns.
19735 (preferredSize): Likewise for preferred size.
19736 (get_border_width): New static function.
19738 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
19739 Override GtkWindowPeer's setResizable method to account for menu
19740 bar height when setting the frame's size.
19742 2004-01-19 Matthias Klose <doko@debian.org>
19744 * libtool-version: Increased `current' to 6.
19746 2004-01-19 Kim Ho <kho@redhat.com>
19748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19749 (connectJObject): Iterate through the vbox's children to find layout.
19751 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19753 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
19754 isDispatchThread method to replace wrong test condition.
19756 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19758 * java/awt/EventQueue.java (pop): Prevent racing condition to add
19759 events to the queue out of order by acquiring locks in the proper
19760 order and not by releasing one before acquiring the other.
19762 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19764 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
19765 visible so that dialog can be reused.
19767 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19769 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
19770 events may be handled by any queue in the stack.
19772 2004-01-19 Kim Ho <kho@redhat.com>
19774 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
19775 MenuBarPeer parameter.
19776 (removeMenuBarPeer): New native method.
19777 (setMenuBar): Call remove if menu bar is null. Adjust insets
19779 (postSizeAllocateEvent): New method. Called when menu bar size is
19780 allocated. Adjust insets and redo layout.
19781 (GtkFramePeer): Set menu bar during frame creation.
19782 (postConfigureEvent): Adjust position and size to accomodate
19784 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
19785 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
19786 (addNotify): Create the peer if it doesn't exist and call addNotify
19787 for the menu's items.
19788 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
19789 * java/awt/MenuItem.java (addNotify): Create the peer if it
19791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19792 (removeMenuBarPeer): New method. Remove menu bar on the current
19794 (setMenuBarPeer): Add the menu bar to the current frame and the
19795 callback for size-allocate events on the menu bar.
19796 (getMenuBarHeight): Add menu bar parameter.
19797 (menubar_resize_cb): New callback method for postSizeAllocate events.
19799 Also: Fix indentation on last ChangeLog entry.
19801 2004-01-16 Kim Ho <kho@redhat.com>
19803 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
19804 (gtkWidgetGetDimensions): Remove.
19805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19806 (gtkWidgetGetDimensions): Remove.
19808 2004-01-16 Tom Tromey <tromey@redhat.com>
19810 * java/awt/Container.java: Typo and indentation fixes.
19812 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
19813 * java/lang/natVMClassLoader.cc: ...here. New file.
19814 * Makefile.in: Rebuilt.
19815 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
19817 2004-01-16 Fernando Nasser <fnasser@redhat.com>
19819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
19820 Discard GDK_ENTER_NOTIFY related to ungrabs.
19822 2004-01-16 Fernando Nasser <fnasser@redhat.com>
19824 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
19825 is called for an intermediate queue.
19827 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
19829 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19830 (window_property_changed_cb): Set id_set.
19832 2004-01-16 Kim Ho <kho@redhat.com>
19834 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
19835 it is a FileDialog and has dimensions of 0 by 0, then the initial
19836 size is set to size request plus insets.
19837 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
19838 (gtkWidgetGetDimensions): Override method.
19839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19840 (gtkWidgetGetDimensions): Override method. Returns size request plus
19843 2004-01-16 Andrew Haley <aph@redhat.com>
19845 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
19846 * sysdep/i386/locks.h: Likewise.
19848 2004-01-16 Fernando Nasser <fnasser@redhat.com>
19850 * java/awt/EventDispatchThread.java (run): Stop running when
19852 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
19853 Reset the queue after transferring its contents.
19854 (push): Start a new dispatch thread if none is running.
19856 2004-01-16 Olga Rodimina <rodimina@redhat.com>
19858 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
19859 (doPolygon): set fill rule of polygon to
19860 WIND_EVEN_ODD by default.
19862 2004-01-15 Olga Rodimina <rodimina@redhat.com>
19864 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
19865 Implemented rendering hints related methods.
19866 (getDefaultHints): New helper method. Returns
19867 default rendering hints.
19868 (walkPath): changed to normalize path if
19869 the KEY_STROKE_CONTROL key is in "normalize" mode.
19870 (draw3DRect): changed coordinates of rectangle by +0.5
19871 if in "normalize" mode.
19873 2004-01-15 Tom Tromey <tromey@redhat.com>
19875 * Makefile.in: Rebuilt.
19876 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
19877 (%.lo: %.java) Filter out StackTrace.lo.
19879 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
19881 * configure.in: Add in AC_PREREQ(2.13)
19882 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
19885 2004-01-14 Nathan Bryant <nbryant@optonline.net>
19886 Tom Tromey <tromey@redhat.com>
19889 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
19890 array to superclass.
19891 (init): Changed interface; add URLs here.
19892 (initialize): New static method.
19893 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
19894 (_Jv_RunMain): ... not here.
19896 2004-01-14 Michael Koch <konqueror@gmx.de>
19898 * java/text/MessageFormat.java:
19899 Added descriptions to exceptions.
19900 This fixes PR libgcj/2429.
19902 2004-01-13 Fernando Nasser <fnasser@redhat.com>
19904 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
19905 (push): Make sure push is performed at the top of the thread stack.
19907 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
19909 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
19910 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
19911 (native create): Add width and height parameters. Set text
19912 view's size request according to new parameters.
19913 (create): Calculate text view size based on current font's
19914 metrics and number of rows and columns. Set TextArea's font if
19915 not already set. Call native create.
19916 (getMinimumSize): Call minimumSize.
19917 (getPreferredSize): Call preferredSize.
19918 (getHScrollbarHeight): New method.
19919 (getVScrollbarWidth): New method.
19920 (minimumSize): Calculate minimum size based on scrollbar
19921 visibility, scrollbar sizes, font metrics and number of rows and
19923 (preferredSize): Likewise for preferred size.
19924 (gtkTextGetSize): Remove method.
19926 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
19928 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
19929 (initializeInsets): Remove method.
19930 (GtkComponentPeer): Initialize insets field. Remove call to
19932 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
19934 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
19936 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
19937 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
19938 (latestInsets): Remove field.
19939 (native create): Add insets parameter. Call
19940 window_get_frame_extents. Set the window's default size and
19941 size request based on its frame extents.
19942 (create): Initialize insets.
19943 (postInsetsChangedEvent): New method.
19944 (postConfigureEvent): Remove parameters top, left, bottom,
19945 right. Remove insets-related logic.
19946 (connectJObject): Handle property-notify-event.
19947 (window_get_frame_extents, request_frame_extents,
19948 property_notify_predicate, window_property_changed_cb): New
19950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
19951 (pre_event_handler): Remove insets-related logic for configure
19953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
19954 Update postConfigureEvent signature.
19956 2004-01-13 Fernando Nasser <fnasser@redhat.com>
19958 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
19959 to handle Window "Closing" events.
19961 2004-01-13 David Jee <djee@redhat.com>
19963 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
19964 (setBackground): New method. Children with no explicitly-set
19965 background will be repainted with the parent container's new
19968 2004-01-13 David Jee <djee@redhat.com>
19970 * Makefile.am: Add BitwiseXORComposite.java.
19971 * Makefile.in: Regenerated.
19972 * gcj/Makefile.in: Regenerated.
19973 * include/Makefile.in: Regenerated.
19974 * testsuite/Makefile.in: Regenerated.
19976 2004-01-12 Fernando Nasser <fnasser@redhat.com>
19978 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
19979 not show modal dialogs twice and so that it allows showing a modal
19980 dialog from another modal dialog.
19982 2004-01-12 Fernando Nasser <fnasser@redhat.com>
19984 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
19985 and run secondary dispatch thread to process event queue while this
19988 2004-01-12 Graydon Hoare <graydon@redhat.com>
19990 * gnu/java/awt/gtk/GdkGraphics2D.java
19991 (static): Check GtkToolkit before initializing static state.
19992 (Graphics2D): Don't construct transform with 0.5 unit offset.
19994 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
19996 * gnu/java/awt/BitwiseXORComposite.java: Add.
19997 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
19998 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
19999 (BitwiseXORComposite): Remove inner class.
20001 2004-01-11 Michael Koch <konqueror@gmx.de>
20003 * gnu/java/lang/reflect/TypeSignature.java
20004 (getEncodingOfClass): Documentation fixed.
20005 (getClassForEncoding): Give class loader to Class.forName().
20006 Documentation fixed.
20008 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
20010 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
20012 2004-01-11 Michael Koch <konqueror@gmx.de>
20014 * javax/swing/undo/StateEditable.java
20015 (RCSID): Removed redundant modifiers.
20017 2004-01-10 Michael Koch <konqueror@gmx.de>
20019 * javax/print/attribute/EnumSyntax.java
20020 (getStringTable): Made protected.
20021 (getEnumValueTable): Likewise.
20022 * javax/print/attribute/standard/JobKOctetsProcessed.java
20023 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
20024 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
20025 (JobMediaSheetsCompleted): Made class final.
20026 * javax/print/attribute/standard/OutputDeviceAssigned.java
20027 (getName): Fixed typo.
20028 * javax/print/attribute/standard/RequestingUserName.java
20029 (serialVersionUID): Fixed value.
20031 2004-01-10 Michael Koch <konqueror@gmx.de>
20033 * javax/swing/plaf/basic/BasicButtonUI.java,
20034 javax/swing/plaf/basic/BasicCheckBoxUI.java,
20035 javax/swing/plaf/basic/BasicListUI.java,
20036 javax/swing/plaf/basic/BasicOptionPaneUI.java,
20037 javax/swing/plaf/basic/BasicPanelUI.java,
20038 javax/swing/plaf/basic/BasicRadioButtonUI.java,
20039 javax/swing/plaf/basic/BasicScrollPaneUI.java,
20040 javax/swing/plaf/basic/BasicToggleButtonUI.java,
20041 javax/swing/plaf/basic/BasicViewportUI.java:
20042 Fixed import statements.
20044 2004-01-10 Michael Koch <konqueror@gmx.de>
20046 * gnu/java/awt/image/ImageDecoder.java
20047 (produce): Made public.
20048 * gnu/java/awt/peer/GLightweightPeer.java,
20049 gnu/java/awt/peer/gtk/GtkToolkit.java:
20052 2004-01-10 Michael Koch <konqueror@gmx.de>
20054 * javax/swing/JRadioButtonMenuItem.java,
20055 javax/swing/JSeparator.java,
20056 javax/swing/JSplitPane.java,
20057 javax/swing/JTextPane.java,
20058 javax/swing/JToolBar.java,
20059 javax/swing/ListCellRenderer.java,
20060 javax/swing/ListModel.java,
20061 javax/swing/MenuElement.java,
20062 javax/swing/OverlayLayout.java,
20063 javax/swing/ProgressMonitor.java,
20064 javax/swing/ProgressMonitorInputStream.java,
20065 javax/swing/Renderer.java,
20066 javax/swing/RootPaneContainer.java,
20067 javax/swing/Scrollable.java,
20068 javax/swing/SingleSelectionModel.java,
20069 javax/swing/ToolTipManager.java,
20070 javax/swing/ViewportLayout.java,
20071 javax/swing/event/DocumentEvent.java,
20072 javax/swing/event/SwingPropertyChangeSupport.java,
20073 javax/swing/event/TreeSelectionEvent.java,
20074 javax/swing/event/UndoableEditEvent.java,
20075 javax/swing/text/AbstractDocument.java,
20076 javax/swing/text/AttributeSet.java,
20077 javax/swing/text/Caret.java,
20078 javax/swing/text/ComponentView.java,
20079 javax/swing/text/DefaultCaret.java,
20080 javax/swing/text/DefaultEditorKit.java,
20081 javax/swing/text/Document.java,
20082 javax/swing/text/EditorKit.java,
20083 javax/swing/text/GapContent.java,
20084 javax/swing/text/Keymap.java,
20085 javax/swing/text/MutableAttributeSet.java,
20086 javax/swing/text/PlainEditorKit.java,
20087 javax/swing/text/Segment.java,
20088 javax/swing/text/Style.java,
20089 javax/swing/text/StyledDocument.java,
20090 javax/swing/text/StyledEditorKit.java,
20091 javax/swing/text/TextAction.java,
20092 javax/swing/text/View.java: Fixed import statements.
20094 2004-01-08 Graydon Hoare <graydon@redhat.com>
20096 * javax/swing/JLayeredPane.java: Rewrite to accomodate
20097 djee@redhat.com's recent inverse ordering of Container elements.
20099 2004-01-09 Michael Koch <konqueror@gmx.de>
20101 * gnu/java/lang/ArrayHelper.java
20102 (equalsArray): Removed.
20104 2004-01-09 Andrew Haley <aph@redhat.com>
20106 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
20107 a Utf8Const field before looking at its class.
20109 2004-01-09 Michael Koch <konqueror@gmx.de>
20111 * javax/print/attribute/standard/DocumentName.java,
20112 javax/print/attribute/standard/JobHoldUntil.java,
20113 javax/print/attribute/standard/JobMessageFromOperator.java,
20114 javax/print/attribute/standard/JobName.java,
20115 javax/print/attribute/standard/JobOriginatingUserName.java,
20116 javax/print/attribute/standard/OutputDeviceAssigned.java,
20117 javax/print/attribute/standard/PrinterInfo.java,
20118 javax/print/attribute/standard/PrinterLocation.java,
20119 javax/print/attribute/standard/PrinterMakeAndModel.java,
20120 javax/print/attribute/standard/PrinterMessageFromOperator.java,
20121 javax/print/attribute/standard/PrinterName.java,
20122 javax/print/attribute/standard/RequestingUserName.java: New files.
20123 * Makefile.am (javax_source_files): Added new files.
20124 * Makefile.in: Regenerated.
20126 2004-01-09 Michael Koch <konqueror@gmx.de>
20128 * javax/swing/AbstractAction.java,
20129 javax/swing/AbstractSet.java,
20130 javax/swing/Action.java,
20131 javax/swing/ActionMap.java,
20132 javax/swing/BoundedRangeModel.java,
20133 javax/swing/ButtonModel.java,
20134 javax/swing/CellEditor.java,
20135 javax/swing/CellRendererPane.java,
20136 javax/swing/ComboBoxEditor.java,
20137 javax/swing/DebugGraphics.java,
20138 javax/swing/DefaultCellEditor.java,
20139 javax/swing/DefaultCellRenderer.java,
20140 javax/swing/DefaultComboBoxModel.java,
20141 javax/swing/DefaultDesktopManager.java,
20142 javax/swing/DefaultFocusManager.java,
20143 javax/swing/DefaultListCellRenderer.java,
20144 javax/swing/Icon.java,
20145 javax/swing/JButton.java,
20146 javax/swing/JCheckBoxMenuItem.java,
20147 javax/swing/JDesktopPane.java,
20148 javax/swing/JEditorPane.java,
20149 javax/swing/JMenu.java,
20150 javax/swing/JPanel.java,
20151 javax/swing/JPasswordField.java,
20152 javax/swing/JPopupMenu.java,
20153 javax/swing/JProgressBar.java: Reworked imports.
20155 2004-01-09 Michael Koch <konqueror@gmx.de>
20157 * java/awt/geom/PathIterator.java
20158 (WIND_EVEN_ODD): Removed redundant modifiers.
20159 (WIND_NON_ZERO): Likewise.
20160 (SEG_MOVETO): Likewise.
20161 (SEG_LINETO): Likewise.
20162 (SEG_QUADTO): Likewise.
20163 (SEG_CUBICTO): Likewise.
20164 (SEG_CLOSE): Likewise.
20165 * java/awt/image/SinglePixelPackedSampleModel.java:
20166 Removed redundant semicolon.
20167 * java/io/ObjectInputStream.java
20168 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
20169 * java/util/logging/Filter.java
20170 (isLoggable): Removed redundant modifier.
20171 * java/util/logging/LogManager.java:
20172 Removed redundant semicolon.
20173 * java/util/logging/XMLFormatter.java
20174 (format): Removed unused variable "key".
20176 2004-01-08 Fernando Nasser <fnasser@redhat.com>
20178 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
20179 New name for the former setFile native method.
20180 (setFile): New method.
20181 (setDirectory): Implemented.
20182 (connectSignals): New native method.
20183 (setFilenameFilter): Improve comment.
20184 (getGraphics): Comment.
20185 (gtkHideFileDialog): New method.
20186 (gtkDisposeFileDialog): New method.
20187 (gtkSetFilename): New method.
20188 * java/awt/Dialog.java (show): Block on modal dialogs, but only
20189 for FileDialog for now.
20190 (hide): New method.
20191 (dispose): New method.
20192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
20193 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
20194 deprecated creation functions. Make dialog modal. Add it to the
20196 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
20198 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
20200 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
20202 (window_closed): New function.
20203 (ok_clicked): New function.
20204 (cancel_clicked): New function.
20206 2004-01-08 Michael Koch <konqueror@gmx.de>
20208 * javax/swing/JLayeredPane.java: Revert changes to standard
20209 boilerplate, reworked imports.
20211 2004-01-07 Tom Tromey <tromey@redhat.com>
20214 * verify.cc (state::merge): Copy changed locals out of subroutine
20216 (state::FLAG_CHANGED): New const.
20217 (state::FLAG_UNUSED): Likewise.
20218 (state::local_changed): Removed. Updated all users.
20219 (state::flags): New field.
20220 (state::merge): Added jsr_semantics argument, more logic.
20221 (push_jump_merge): Added jsr_semantics argument.
20222 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
20223 merging through the jsr instruction.
20225 2004-01-07 Tom Tromey <tromey@redhat.com>
20227 * scripts/MakeDefaultMimeTypes.java: Use \n, not
20230 2004-01-07 Graydon Hoare <graydon@redhat.com>
20232 * java/awt/Container.java (LightweightDispatcher): Implement.
20233 (visitChild): Reuse graphics object.
20234 (dispatchEventImpl): Optionally dispatch to lightweight.
20235 (addNotifyContainerChildren): Build LightweightDispatcher.
20237 2004-01-07 David Jee <djee@redhat.com>
20239 * java/awt/Container.java
20240 (update): Clear only the clipped region, instead of clearing the
20242 (visitChildren): Visit children in descending order.
20244 2004-01-07 Michael Koch <konqueror@gmx.de>
20246 * java/lang/reflect/Array.java: Merged documentation with classpath.
20248 2004-01-07 Michael Koch <konqueror@gmx.de>
20250 * java/text/CollationElementIterator.java
20251 (textIndex): Renamed from index.
20252 * java/text/CollationKey.java
20253 (collator): New member.
20254 (CollationKey): New argument for parent collator.
20255 (equals): Check for same collator, source string and key array.
20256 * java/text/RuleBasedCollator.java:
20258 (RuleBasedCollator): Don't re-initialize frenchAccents with default
20260 (getCollationElementIterator): Rewritten.
20261 (getCollationKey): Added new argument to CollationKey constructor.
20263 2004-01-07 Michael Koch <konqueror@gmx.de>
20265 * gnu/java/nio/DatagramChannelImpl.java
20266 (blocking): Removed.
20267 (DatagramChannelImpl): Call configureBlocking().
20268 (implConfigureBlocking): Dont initialize blocking.
20269 * gnu/java/nio/ServerSocketChannelImpl.java
20270 (blocking): Removed.
20271 (ServerSocketChannelImpl): Call configureBlocking().
20272 (implConfigureBlocking): Dont initialize blocking.
20273 * gnu/java/nio/SocketChannelImpl.java
20274 (blocking): Removed.
20275 (SocketChannelImpl): Call configureBlocking().
20276 (implConfigureBlocking): Dont initialize blocking.
20277 (connect): Use isBlocking().
20278 * java/nio/channels/spi/AbstractSelectableChannel.java
20279 (configureBlocking): Use blockingLock() instead of LOCK.
20280 Set blocking after successfully called implConfigureBlocking().
20281 (register): Use blockingLock() instead of LOCK.
20283 2004-01-07 Michael Koch <konqueror@gmx.de>
20285 * java/net/ServerSocket.java (isBound): Fixed documentation.
20287 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
20289 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
20290 (changeEvent): Create event object on demand.
20291 (DefaultBoundedRangeModel, toString, setValue, setExtent,
20292 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
20293 fireStateChanged): Re-written.
20294 * javax/swing/event/EventListenerList.java: Reformatted, document
20296 (toString): Implemented.
20297 (getListeners): Re-written.
20298 (remove): Re-written.
20300 (NO_LISTENERS): New singleton field.
20301 (listenerList): Declare as transient; document.
20302 (serialVersionUID): Document.
20303 (getListenerCount(Class)): More efficient implementation,
20304 also accepts null argument. Improve Javadoc.
20305 (getListenerCount()): Remove unnecessary cast; docfix.
20306 * javax/swing/undo/UndoableEditSupport.java:
20307 Re-format, document.
20308 (UndoableEditSupport): Set realSource field. Improve documentation.
20309 (_postEdit): Iterate over cloned listener vector.
20310 (toString): Don't emit realSource.
20311 (beginUpdate, endUpdate): Support nested updates.
20312 (postEdit): Use compound edit if present.
20314 2004-01-06 Graydon Hoare <graydon@redhat.com>
20316 * java/awt/Container.java (swapComponents): Add forgotten
20317 function, required for JLayeredPane change.
20319 2004-01-06 Michael Koch <konqueror@gmx.de>
20321 * java/text/CollationElementIterator.java: Reformated.
20322 (CollationElementIterator): Changed order of arguments.
20323 * java/text/RuleBasedCollator.java
20324 (RuleBasedCollator): Merged class documentation.
20325 (CollationElement): Added documentation.
20326 (compare): Reformated, renamed arguments.
20327 (equals): Likewise.
20328 (getCollationElementIterator): Likewise.
20329 (getCollationKey): Likewise.
20331 2004-01-06 Graydon Hoare <graydon@redhat.com>
20333 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
20335 2004-01-06 Michael Koch <konqueror@gmx.de>
20337 * gnu/java/net/protocol/file/Connection.java:
20338 Reformated copyright.
20339 (hdrHash): Removed.
20341 (gotHeaders): Removed.
20342 (getHeaderField): Removed.
20343 (getHeaderField): Removed.
20344 (getHeaderFieldKey): Removed.
20346 (getField): Removed.
20347 (getHeaders): Removed.
20349 2004-01-06 Michael Koch <konqueror@gmx.de>
20351 * javax/print/attribute/standard/DateTimeAtCompleted.java,
20352 javax/print/attribute/standard/DateTimeAtCreation.java,
20353 javax/print/attribute/standard/DateTimeAtProcessing.java,
20354 javax/print/attribute/standard/JobImpressionsCompleted.java,
20355 javax/print/attribute/standard/JobKOctets.java,
20356 javax/print/attribute/standard/JobKOctetsProcessed.java,
20357 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
20358 javax/print/attribute/standard/JobPrioritySupported.java: New files.
20359 * Makefile.am (javax_source_files): Added new files.
20360 * Makefile.in: Regenerated.
20362 2004-01-06 Michael Koch <konqueror@gmx.de>
20364 * java/net/URLConnection.java
20365 (contentHandler): Removed.
20367 (getHeaderFields): Return an empty map instead of null.
20368 (getContent): Connect if needed, renamed "cType" to "type" and
20369 "contentHandler" to "ch" and made it a local variable.
20370 (getPermission): Don't use package in class name.
20371 (setDefaultRequestProperty): Fixed typo in documentation.
20372 (initializeDateFormats): Made locale a local variable.
20374 2004-01-06 Michael Koch <konqueror@gmx.de>
20376 * java/lang/Package.java
20377 (getPackage): Get the current class loader directly.
20378 * java/lang/SecurityManager.java
20379 (currentLoadedClass): Dont iterate over class contexts.
20380 (classLoaderDepth): Don't check class loaders if everything is allowed.
20382 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
20384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20385 (pre_event_handler): Set all insets to 0 when a Configure event
20386 is received for a GtkPlug.
20387 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
20388 Make handle long, not int.
20389 (EmbeddedWindow()): New constructor.
20390 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
20392 (setHandle): New method.
20393 (getHandle): Return long, not int.
20394 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
20396 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
20397 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
20398 (create(long)): Take long parameter, not int. Cast gtk_plug_new
20399 argument to GdkNativeWindow.
20400 (construct): New method.
20401 (embed): New method.
20403 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
20404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
20405 (create(int, int)): New method.
20406 (create): Call new create method.
20407 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
20409 (childResized): Remove native implementation. Implement in
20411 (getHScrollbarHeight, getVScrollbarWidth): Call
20412 gtk_widget_size_request to get scrollbar dimensions.
20413 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
20414 call getVScrollbarWidth and getHScrollbarHeight when vertical
20415 and horizontal scrollbars respectively are needed.
20416 (doLayout): Enlarge child if it is smaller than the viewport.
20418 2004-01-05 Fernando Nasser <fnasser@redhat.com>
20420 * java/awt/Dialog.java (constructor): Accept null title as per spec.
20421 * java/awt/FileDialog.java (constructor): Throw exception on invalid
20422 argument as per spec.
20424 2004-01-05 Fernando Nasser <fnasser@redhat.com>
20426 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
20428 (remove): Ditto. Also, Check for valid argument.
20429 (removeAll): Use peer interface method.
20430 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
20431 native add function.
20432 (nativeRemove): New name for native remove function.
20433 (getHistory): New native function.
20434 (constructor): Generate ItemEvent.
20435 (add): Ditto, if selection is changed.
20436 (remove): Ditto, ditto.
20437 (removeAll): Add implementation.
20438 (handleEvent): Remove. Dead code.
20439 (choicePostItemEvent): Add comment.
20440 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
20441 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
20442 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
20443 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
20444 comments and fix condition to change selection.
20445 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
20446 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
20447 remove all capability.
20448 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
20449 (item_activate): Add cast to remove compiler warning.
20451 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
20453 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
20454 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20455 (getPreferredSize): Call preferredSize.
20456 (preferredSize): Call gtkWidgetGetPreferredDimensions.
20457 (getMinimumSize): Call minimumSize.
20458 (minimumSize): Call gtkWidgetGetPreferredDimensions.
20459 (gtkWidgetGetDimensions): Return the peer widget's current size
20461 (gtkWidgetGetPreferredDimensions): Return the peer widget's
20462 natural size request.
20464 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
20466 Thanks to Brian Gough <bjg@network-theory.com>
20467 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
20468 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
20470 2004-01-04 Matthias Klose <doko@debian.org>
20472 * aclocal.m4: Rebuilt using "aclocal -I .".
20473 * configure: Rebuilt.
20475 2004-01-03 Per Bothner <per@bothner.com>
20477 * java/util/Date.java (parse): Fix a number of problems.
20478 (skipParens): Remove no-longer-needed method.