2004-07-18 Bud Davis <bdavis9659@comcast.net>
[official-gcc.git] / libjava / ChangeLog
blobeb4d7c68a41e12840373c31d83e8d126b8a26e46
1 2004-07-18  Matthias Klose  <doko@debian.org>
3         * configure.in: Substitute target_noncanonical.
4         * configure: Regenerate
6 2004-07-17  Michael Koch  <konqueror@gmx.de>
8         * java/lang/String.java: Fixed javadocs all over.
10 2004-07-17  Mark Wielaard  <mark@klomp.org>
12         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
13         when size is smaller.
14         * java/io/RandomAccessFile.java (setLength): Use truncate for
15         shrinking the file and seek plus write for expanding the file.
17 2004-07-17  Michael Koch  <konqueror@gmx.de>
19         * gnu/java/nio/channels/natFileChannelPosix.cc
20         (implTruncate): Always save current position. Only reposition file
21         pointer to where we started if not beyond new lenght. Reposition file
22         pointer to file length if it points beyond the end of file.
24 2004-07-17  Mark Wielaard  <mark@klomp.org>
26         * javax/swing/Box.java: Put FIXME comment above class declaration.
27         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
28         * javax/swing/JCheckBox.java: Likewise.
29         * javax/swing/JDialog.java: Likewise.
30         * javax/swing/JRadioButton.java: Likewise.
31         * javax/swing/JToggleButton.java: Likewise.
32         * javax/swing/UIManager.java: Likewise.
33         * javax/swing/border/TitledBorder.java: Likewise.
34         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
35         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
36         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
37         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
38         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
39         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
40         * javax/swing/text/JTextComponent.java: Likewise.
42 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
44         * java/net/DatagramPacket.java (setAddress): Removed check for
45         null address.
47 2004-07-17  Michael Koch  <konqueror@gmx.de>
49         * java/net/DatagramSocket.java
50         (getLocalAddress): Check if socket is bound or not.
51         * java/net/Socket.java
52         (getLocalAddrss): Check if socket is bound or not.
53         (getPort): Return -1 when not connected. Dont check getImpl() for
54         null.
55         (setReuseAddress): Check if socket is closed.
56         (isConnected): Check if getImpl() returns null.
58 2004-07-17  Mark Wielaard  <mark@klomp.org>
60         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
61         on notifier object before calling notifyAll().
63 2004-07-17  Michael Koch  <konqueror@gmx.de>
65         * gnu/java/nio/channels/FileChannelImpl.java
66         (finalize): Added javadoc.
68 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
70         * java/text/CollationElementIterator.java
71         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
72         (setText): Use ArrayList instead of Vector.
74 2004-07-17  Michael Koch  <konqueror@gmx.de>
76         * java/nio/ByteOrder.java
77         (static): Removed. Not needed.
78         Thanks to Patrick Reali for noticing.
79         * java/nio/charset/CharsetDecoder.java
80         (decode): Fix for classpath bug #9177: Reset state before flipping.
82 2004-07-17  Michael Koch  <konqueror@gmx.de>
84         * java/security/Security.java: Fixed javadocs all over.
86 2004-07-17  Michael Koch  <konqueror@gmx.de>
88         * gnu/java/awt/EmbeddedWindow.java
89         (static): Removed.
90         (addNotify): Set peer via reflection.
91         (setWindowPeer): Removed.
92         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
93         * Makefile.am (nat_source_files):
94         Removed gnu/java/awt/natEmbeddedWindow.cc.
95         * Makefile.in: Regenerated.
97 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
99         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
100         assignment.
101         * configure: Regenerated.
103 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
105         * configure.in: Use build_noncanonical rather than build_alias.
106         * configure: Rebuild.
108         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
109         by logic refactoring.  Move default definition of NATIVE closer
110         to first alternate definition.
111         * configure: Regenerate.
113         * Makefile.am: Set ZIP and GCJH directly using autoconf.
114         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
115         gcj/Makefile.in: Regenerate.
116         * configure.in: Set ZIP and GCJH.  Remove redundant condition
117         in AM_CONDITIONAL(NATIVE,...)
118         * configure: Regenerate.
120 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
122         * configure.in: Use target_noncanonical rather than
123         target_alias for forward-compatibility with autoconf 2.59.
124         * configure: Regenerate.
125         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
126         testsuite/Makefile.am: Substitute target_noncanonical.
127         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
128         testsuite/Makefile.in: Regenerate.
130         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
131         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
132         * acinclude.m4: Include acx.m4.
133         * aclocal.m4: Regenerate.
134         * configure: Regenerate.
136 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
138         PR libgcj/16574
139         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
140         (decimalFormat): New static variable.
141         (sbuf): Likewise.
142         (getTime): New. Override Date.getTime().
143         (toString): Synchronize. Use decimalFormat to format nanos value
144         correctly. Truncate extra zeros.
145         (before): Compare getNanos() only if getTime() is equal.
146         (after): Likewise.
147         
148 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
150         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
151         * configure.in: ...here.
152         * aclocal.m4: Regenerate.
153         * configure: Regenerate.
155         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
156         * configure: Rebuilt with autoconf 2.13.
157         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
158         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
160 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
162         PR libgcj/16204
163         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
164         large file support.
165         * Makefile.in: Rebuilt.
166         * testsuite/libjava.lang/LargeFile.java: New test case.
167         * testsuite/libjava.lang/LargeFile.out: New file.
169 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
171         * java/beans/EventHandler.java: Remove debugging statements.
173 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
175         * java/beans/EventHandler.java: New file.
176         * Makefile.am (awt_java_source_files): Add EventHandler.java.
177         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
178         testsuite/Makefile.in: Regenerate.
180 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
182         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
183         flag to the gcj_setup.
184         (gcj_jacks_run): Check tclsh version and launch jacks directly with
185         the tclsh.
186         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
187         deprecation flag change. 58 XFAILS removed.
189 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
191         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
192         -fno-use-divide-subroutine.
193         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
194         (HANDLE_FPE): Define.
195         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
196         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
197         (HANDLE_DIVIDE_OVERFLOW): Define.
199 2004-07-14  Michael Koch  <konqueror@gmx.de> 
200             Matthias Klose  <doko@debian.org> 
202         * java/awt/im/InputContext.java: Initialize in, line.
204 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
206         * interpret.cc (run): Correctly access libffi return values of
207         integral smaller-than-int type; these are implicitly promoted.
209 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
211         PR libgcj/7587
212         * interpret.cc (compile_mutex): New.
213         (_Jv_InitInterpreter): New. Initialize compile_mutex.
214         (run): Lock compile_mutex before calling compile() if compilation is
215         required.
216         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
217         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
219 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
221         PR libgcj/15713
222         * include/jvm.h (_Jv_value): New union type.
223         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
224         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
225         union members.
227 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
229         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
230         * gnu/awt/xlib/XOffScreenImage.java
231           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
232           constructor argument. Add constructor using ImageProducer.
233           (getSource): Implement.
234           (imageComplete): New method.
235           (setColorModel): New method.
236           (setDimensions): New method.
237           (setHints): New method.
238           (setPixels): New method.
239           (setProperties): New method.
240         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
241         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
243 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
245         PR libgcj/16478 
246         * prims.cc (_Jv_CreateJavaVM): Fix comment.
247         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
248         (finalizerReady): Now native.
249         (run): Likewise.
250         (runFinalizers): Removed.
251         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
252         a primitive lock, and don't hold it while running the finalizers.
253         (runFinalizers): Implement. Don't aquire any Java lock.
254         (finalizerReady): Use lock primitives to signal finalizer thread.
256 2004-07-11  Mark Wielaard  <mark@klomp.org>
258         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
259         * java/net/URLStreamHandler.java (parseURL): When url file part
260         doesn't contain a '/' just ignore context.
262 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
264         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
265         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
266         (MAKE_THROW_FRAME): Do not modify PSW address.
267         (INIT_SEGV): Install SIGINFO-style signal handler.
268         (INIT_FPE): Likewise.
270 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
272         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
273         status. 21 xfail's removed, 1 added.
275 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
277         * gcj/javaprims.h: Regenerate CNI namespace definitions.
279 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
281         * java/text/MessageFormat.java
282         (formatInternal): Append "{n}" if argument n is unavailable.
283         (format(Object, StringBuffer, FieldPosition)): This
284         should be equivalent to format(Object[],
285         StringBuffer, FieldPosition).
287 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
289         * java.util.Calendar.java (cache): New private static field. Cached
290         mappings of locales->calendar classes.
291         (ctorArgTypes): New private static field. Singleton argument for
292         calendar class constructor lookup.
293         (getInstance): Cache Locale->Calendar class mappings using HashMap.
294         Optimize by bypassing reflection instantiation for the 
295         GregorianCalendar case.
297 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
299         * java/util/Calendar.java: Use getSystemClassLoader as argument for
300         ResourceBundle.getBundle() calls.
301         * java/util/GregorianCalendar.java: Likewise.
302         * java/util/Currency.java: Likewise.
303         * java/text/BreakIterator.java: Likewise.
304         * java/text/Collator.java: Likewise.
305         * java/text/DateFormat.java: Likewise.
306         * java/text/DateFormatSymbols.java: Likewise.
307         * java/text/DecimalFormatSymbols.java: Likewise.
308         * java/text/NumberFormat.java: Likewise.
309         * java/awt/Window.java: Likewise.       
311 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
313         * java/util/ResourceBundle.java (bundleCache): Renamed from
314         resourceBundleCache. Update comments.
315         (getObject): Don't catch MissingResourceException.
316         (getBundle(String)): Remove 'final'. Use system classloader if
317         getCallingClassLoader returned null.
318         (getBundle(String, Locale)): Likewise.
319         (BundleKey): New private class. HashMap key for bundle cache lookup.
320         (lookupKey): New. Singleton instance of BundleKey.
321         (nullEntry): New. Cache entry to represent failed lookups.
322         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
323         caching strategy, no-allocation lookup, and new tryBundle methods.
324         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
325         name using given classloader.
326         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
327         baseName for given Locale and attempt to load bundle.
329 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
331         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
332         illegal protected method calls.
334 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
336         Fix or remove some bogus test cases.
337         * testsuite/libjava.compile/pr10459_2.java: Removed.
338         * testsuite/libjava.compile/pr10459.java: Test using its own method,
339         not Object.clone().
340         * testsuite/libjava.compile/inner_data.java: Test against its own
341         protected field.
343 2004-07-09  Michael Koch  <konqueror@gmx.de>
345         * scripts/unicode-muncher.pl: Updated to version 2.1
346         from GNU classpath. Added some clarifications on where to find the
347         needed files from www.unicode.org.
348         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
349         gnu/gcj/convert/UnicodeData-3.0.0.txt:
350         Removed, these can directly be downloaded from www.unicode.org if
351         needed. 
352         * gnu/java/lang/CharData.java: Regenerated.
353         * include/java-chartables.h: Regenerated.
354         * Makefile.am (ordinary_java_source_files):
355         Removed gnu/java/lang/CharData.java.
356         * Makefile.in: Regenerated.
358 2004-07-09  Michael Koch  <konqueror@gmx.de>
360         * java/security/AccessControlContext.java,
361         java/security/SecureClassLoader.java:
362         Fixed javadocs.
364 2004-07-09  Michael Koch  <konqueror@gmx.de>
366         * java/io/ObjectInputStream.java (readFields): Use long datatype
367         when shifting byte values more then 24 bits left.
369 2004-07-09  Michael Koch  <konqueror@gmx.de>
371         * java/util/zip/DeflaterOutputStream.java,
372         java/util/zip/GZIPInputStream.java,
373         java/util/zip/GZIPOutputStream.java,
374         java/util/zip/InflaterInputStream.java:
375         Reformatted. Added javadocs. Reordered all stuff.
376         Renamed variables to be more clear.
378 2004-07-09  Michael Koch  <konqueror@gmx.de>
380         * javax/imageio/IIOException.java,
381         javax/imageio/event/IIOReadProgressListener.java,
382         javax/imageio/event/IIOReadUpdateListener.java,
383         javax/imageio/event/IIOReadWarningListener.java,
384         javax/imageio/event/IIOWriteProgressListener.java,
385         javax/imageio/event/IIOWriteWarningListener.java:
386         New files.
387         * Makefile.am: Added new files.
388         * Makefile.in: Regenerated.
390 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
392         * java/text/RuleBasedCollator.java
393         (mergeRules): Use ArrayList instead of Vector.
394         (subParseString): likewise.
395         (parseString): likewise.
396         (buildCollationVector): likewise.
397         (getCollationKey): likewise.
399 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
401         * java/text/DateFormat.java (parse):
402         Improved javadoc. Improved exception message.
404 2004-07-09  Mark Wielaard  <mark@klomp.org>
406         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
407         interrupted() method to clear interupt flag of our Thread.
409 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
411         * java/nio/Buffer.java,
412         java/nio/ByteBuffer.java,
413         java/nio/ByteBufferHelper.java,
414         java/nio/ByteBufferImpl.java,
415         java/nio/CharBuffer.java,
416         java/nio/CharBufferImpl.java,
417         java/nio/CharViewBufferImpl.java,
418         java/nio/DirectByteBufferImpl.java,
419         java/nio/DoubleBuffer.java,
420         java/nio/DoubleBufferImpl.java,
421         java/nio/DoubleViewBufferImpl.java,
422         java/nio/FloatBuffer.java,
423         java/nio/FloatBufferImpl.java,
424         java/nio/FloatViewBufferImpl.java,
425         java/nio/IntBuffer.java,
426         java/nio/IntBufferImpl.java,
427         java/nio/IntViewBufferImpl.java,
428         java/nio/LongBuffer.java,
429         java/nio/LongBufferImpl.java,
430         java/nio/LongViewBufferImpl.java,
431         java/nio/MappedByteBufferImpl.java,
432         java/nio/ShortBuffer.java,
433         java/nio/ShortBufferImpl.java,
434         java/nio/ShortViewBufferImpl.java:
435         Fixed javadocs all over. Improved input error
436         checking.
438         * java/nio/Buffer.java
439         (checkForUnderflow, checkForOverflow, checkIndex,
440         checkIfReadOnly, checkArraySize): New helper methods
441         for error checking.
443         * java/nio/ByteBufferHelper.java
444         (checkRemainingForRead, checkRemainingForWrite,
445         checkAvailableForRead, checkAvailableForWrite): Removed
446         no longer needed methods.
448 2004-07-09  Michael Koch  <konqueror@gmx.de>
450         * gnu/regexp/CharIndexedInputStream.java:
451         Reordered imports to match classpath.
453 2004-07-09  Michael Koch  <konqueror@gmx.de>
455         * gnu/java/awt/EmbeddedWindow.java:
456         Load native library for setWindowPeer method.
458 2004-07-08  Randolph Chung  <tausq@debian.org>
460         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
461         * configure: Regenerate.
462         * configure.host: Set can_unwind_signal for hppa*-linux.
463         * include/pa-signal.h: New file.
465 2004-07-07  Per Bothner  <per@bothner.com>
467         * Makefile.am:  Add rules to build libgij from just gij.cc.
469         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
470         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
471         (initializeClass):  If verbose_class_flag, print message.
472         * gij.cc (main):  Handle -verbose:class flag.
474 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
476         * configure.host: Enable hash synchronization on Darwin.
477         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
478         ';', since this is a comment on Darwin.
479         (compare_and_swap_release): Likewise.
481 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
483         * java/net/URLStreamHandler.java (parseURL): Canonicalize
484         file portion of URL in addition to spec for file: protocol.
486 2004-07-05  Anthony Green  <green@redhat.com>
488         * java/io/File.java (toURI): Merge from Classpath.
490 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
492         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
493         before passing to URL constructor. Rethrow any MalformedURLException
494         as a RuntimeException. Catch MalformedURLException specifically, not
495         all exceptions.
497 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
499         * java/util/Locale.java (readObject): Intern strings read from object
500         stream.
502 2004-07-04  Michael Koch  <konqueror@gmx.de>
504         * gnu/gcj/runtime/FirstThread.java,
505         gnu/gcj/runtime/natFirstThread.cc: Removed.
506         * gnu/java/lang/MainThread.java,
507         gnu/java/lang/natMainThread.cc: New files.
508         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
509         * Makefile.am: Added new files and removed deleted ones.
510         * Makefile.in: Regenerated.
512 2004-07-03  Mark Wielaard  <mark@klomp.org>
513             Anthony Green  <green@redhat.com>
515         * java/net/URL.java (getFile): Clarify return value doc.
516         (getPath): Return null if file is empty - not empty String.
517         (set): Convert protocol to lower case before doing anything.
518         Only change the protocol handler if it's different.
520 2004-07-03  Anthony Green  <green@redhat.com>
522         * java/net/URL.java (URL): Convert protocol to lower case before
523         doing anything, so we getURLStreamHandler() with the proper value.
525 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
527         * java/util/Locale.java (hashcode): Made transient.
528         (hashCode): No longer synchronized.
529         (equals): Remove comment.
530         (writeObject): No longer synchronized. Implement using writeObject 
531         calls instead of tweaking hashCode field. Update doc.
532         (readObject): Implement using readObject calls.
534 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
535             Andreas Tobler  <a.tobler@schweiz.ch>
537         * configure.host (powerpc-*-darwin*): New case, define
538         can_unwind_signal.
539         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
540         * configure: Regenerate.
541         * include/darwin-signal.h: New.
543 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
545         * java/beans/Statement.java (doExecute): Fix formatting.
547 2004-06-29  Per Bothner  <per@bothner.com>
549         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
550         etc etc):  Remove needless parenthesis, which causes __stdcall__
551         attribute on MinGW to get ignored.
553 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
555         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
557 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
559         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
561 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
563         * java/beans/Expression.java: New file.
564         * java/beans/Statement.java: New file.
565         * Makefile.am: Added new files.
566         * Makefile.in: Re-generate.
568 2004-06-27 Mark Wielaard  <mark@klomp.org>
570         * java/io/FilePermission.java (usingPerms): Removed.
571         (actionsString): Made final.
572         (cachePerms): Renamed to checkPerms.
573         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
574         on action String.
575         (FilePermission): Check arguments, call checkPerms().
576         (equals): Remove cachePerms() call.
577         (implies): Likewise.
579 2004-06-27  Mark Wielaard  <mark@klomp.org>
581         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
582         final field.
583         (sendRequest): Use new field in user-agent http agent.
585 2004-06-27  Mark Wielaard  <mark@klomp.org>
587         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
588         when argument is null.
590 2004-06-26  Mark Wielaard  <mark@klomp.org>
592         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
593         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
594         GetMethodID call.
595         (cancel_clicked): Likewise.
597 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
599         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
600         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
601         can not calculate the right value.
602         (dpi_changed_cb): Likewise. Mark *pspec as unused.
604 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
606         * testsuite/libjava.jacks/jacks.xfail: Remove
607         15.9.1-qualified-concrete-20.
609 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
611         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
612         encoding name to iconv.
613         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
615 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
617         PR libgcj/16134:
618         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
619         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
620         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
622 2004-06-21  Andrew Haley  <aph@redhat.com>
624         * java/io/ObjectOutputStream.java: Add DEBUG statements
625         everywhere.
626         (dumpElementln): New method.
627         (depth): New field.
628         * java/io/ObjectInputStream.java
629         (currentClassLoader): Make native.
630         (callersClassLoader): New field.
631         (depth): New field.
632         (readObject): ENDBLOCKDATA is generated if the class has a write
633         method, not if it has a read method.
634         (readObject): Save and restore this.currentObject and
635         this.currentObjectStreamClass around calls to callReadMethod().
636         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
637         method.
639 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
641         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
642         darwin.
644 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
646         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
647         if desired, before the default class loader is initialised.
648         Call INIT_SEGV only if HANDLE_SEGV is defined.
650 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
652         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
653         directory only if it actually exists.
655 2004-06-18  Graydon Hoare  <graydon@redhat.com>
657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
658         Fix up non-ansi comments.
660 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
662         * javax/swing/text/AbstractDocument.java: Adding missing import
663         for javax.swing.event.EventListenerList.
664         * javax/swing/text/DefaultCaret.java: Likewise.
666 2004-06-17  Michael Koch  <konqueror@gmx.de>
668         * javax/swing/JToolBar.java
669         (name): Removed.
670         (JToolBar): Use Component.setName(String) instead of doing it all
671         alone.
672         * javax/swing/Timer.java
673         (queueEvent): Added missing modifier.
675 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
677         * Makefile.am: Added new file.
678         * Makefile.in: Re-generate.
679         * javax/swing/JMenu.java:
680         (insertSeparator): Implemented.
681         * javax/swing/JPopupMenu.java:
682         (JPopupMenu.Separator): Implemented.
683         * javax/swing/MenuSelectionManager.java:
684         (processMouseEvent): Use java.awt.Component 
685         for event source instead of javax.swing.JComponent. 
686         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
687         New File. Implemented.
688         
689 2004-06-16  David Jee  <djee@redhat.com>
691         * java/awt/GridBagLayout.java
692         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
693         Make sure pos_x and pos_y are never negative.
695 2004-04-16  Andrew Overholt  <overholt@redhat.com>
697         * Makefile.am: Add new file.
698         * Makefile.in: Re-generate.     
699         * javax/swing/JToolBar.java
700         Partially implemented.
701         * javax/swing/plaf/basic/BasicToolBarUI.java
702         New file. Partially implemented.
704 2004-06-16  Graydon Hoare  <graydon@redhat.com>
706         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
707         (setComposite): Accept AlphaComposite arguments.
708         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
709         (createBufferedImage): Add new overloads.
710         * gnu/java/awt/peer/gtk/GtkToolkit.java
711         (createImage): Use GdkPixbufDecoder.createBufferedImage
712         when useGraphics2D() is true.
713         (getImage): Delegate to createImage.
714         * javax/swing/JList.java
715         (isSelectionEmpty):
716         (getFirstVisibleIndex):
717         (getLastVisibleIndex):
718         (setSelectedValue):
719         (ensureIndexIsVisible): New methods.
720         * javax/swing/Timer.java: Reimplement.
722 2004-06-16  Michael Koch  <konqueror@gmx.de>
724         * javax/swing/text/AbstractDocument.java
725         (AbstracElement): Made public, implements java.io.Serializable.
726         (AttributeContext): Made public.
727         (BranchElement): Likewise.
728         (Content): Likewise.
729         (DefaultDocumentEvent): Made public, extends
730         javax.swing.undo.CompoundEdit.
731         (ElementEdit): Made public, extends
732         javax.swing.undo.AbstractUndoableEdit.
733         (LeafElement): Made public.
734         (LeafElement.LeafElement): Made public.
736 2004-06-16  Michael Koch  <konqueror@gmx.de>
738         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
739         methods (that were obviously never be intended to get included hi this
740         class. Added some methods too.
742 2004-06-16  Michael Koch  <konqueror@gmx.de>
744         * javax/swing/text/PlainDocument.java
745         (serialVersionUID): New constant.
746         (lineLimitAttribute): Likewise.
747         (tabSizeAttribute): Likewise.
748         (tabSize): New field.
749         (PlainDocument): Made public.
750         (PlainDocument): New constructor.
752 2004-06-16  Michael Koch  <konqueror@gmx.de>
754         * javax/swing/text/AbstractDocument.java
755         (insertString): Throws BadLocationException.
756         * javax/swing/text/Document.java
757         (insertString): Likewise.
758         * javax/swing/text/JTextComponent.java:
759         Javadocs and comments cleaned up.
761 2004-06-16  Michael Koch  <konqueror@gmx.de>
763         * javax/swing/event/UndoableEditListener.java: Reformatted.
764         * javax/swing/text/AbstractDocument.java
765         (AbstractDocument): Implements java.io.Serializable.
766         (doc_list): Removed.
767         (undo_list): Removed.
768         (AbstractElement.serialVerionUID): New field.
769         (BranchElement.serialVerionUID): Likewise.
770         (DefaultDocumentEvent.serialVerionUID): Likewise.
771         (ElementEdit.serialVerionUID): Likewise.
772         (LeafElement.serialVerionUID): Likewise.
773         (serialVerionUID): Likewise.
774         (BAD_LOCATION): New constant.
775         (BidiElementName): Likewise.
776         (ContentElementName): Likewise.
777         (ParagraphElementName): Likewise.
778         (SectionElementName): Likewise.
779         (ElementNameAttribute): Likewise.
780         (AbstractDocument): Made protected.
781         (AbstractDocument): New construtor.
782         (listenerList): New field.
783         (fireChangedUpdate): Implemented.
784         (fireInsertUpdate): Likewise.
785         (fireRemoveUpdate): Likewise.
786         (fireUndoableEditUpdate): Likewise.
787         (getListeners): Likewise.
788         (addDocumentListener): Likewise.
789         (removeDocumentListener): Likewise.
790         (addUndoableEditListener): Likewise.
791         (removeUndoableEditListener): Likewise.
792         (getDocumentListeners): New method.
793         (getUndoableEditListeners): Likewise.
794         (getAsynchronousLoadPriority): Made public.
795         (getBidiRootElement): Likewise.
796         (setAsynchronousLoadPriority): Likewise.
797         (setDocumentProperties): Likewise.
798         * javax/swing/text/BadLocationException.java
799         (serialVerionUID): New field.
800         * javax/swing/text/DefaultCaret.java
801         (changeEvent): New field.
802         (listenerList): Likewise.
803         (changes): Removed.
804         (addChangeListener): Reimplemented.
805         (removeChangeListener): Likewise.
806         (getListeners): New method.
807         (getChangeListeners): Likwise.
808         (getComponent): Likewise.
809         * javax/swing/text/GapContent.java
810         (GapContent): Implements java.io.Serializable.
811         (serialVerionUID): New field.
813 2004-06-16  Michael Koch  <konqueror@gmx.de>
815         * javax/swing/JTree.java
816         (treeModel): New field.
817         (JTree): New constructors, one existing one made public.
818         (createTreeModel): New method.
819         (addTreeExpansionListener): Likewise.
820         (removeTreeExpansionListener): Likewise.
821         (getTreeExpansionListeners): Likewise.
822         (fireTreeCollapsed): Likewise.
823         (fireTreeExpanded): Likewise.
824         (addTreeSelectionListener): Likewise.
825         (removeTreeSelectionListener): Likewise.
826         (getTreeSelectionListeners): Likewise.
827         (fireValueChanged): Likewise.
828         (addTreeWillExpandListener): Likewise.
829         (removeTreeWillExpandListener): Likewise.
830         (getTreeWillExpandListeners): Likewise.
831         (fireTreeWillCollapse): Likewise.
832         (fireTreeWillExpand): Likewise.
834 2004-06-16  Michael Koch  <konqueror@gmx.de>
836         * javax/swing/JTree.java: Reformatted.
838 2004-06-16  Michael Koch  <konqueror@gmx.de>
840         * javax/swing/JTextArea.java: New file.
841         * javax/swing/JTextField.java
842         (actions): Removed.
843         (notifyAction): New constant.
844         (columns): New field.
845         (JTextField): New constructors.
846         (createDefaultModel): New method.
847         (addActionListener): Reimplmemented.
848         (removeActionListener): Reimplemented.
849         (getActionListeners): New method.
850         (fireActionPerformed): New method.
851         (getColumns): New method.
852         (setColumne): New method.
853         * javax/swing/text/JTextComponent.java
854         (AccessibleJTextComponent.serialVersionUID): New field.
855         (serialVersionUID): Likewise.
856         (DEFAULT_KEYMAP): Likewise.
857         (FOCUS_ACCELERATOR_KEY): Likewise.
858         (doc): Made private.
859         (icon_gap): Likewise.
860         (icon): Likewise.
861         (align): Likewise.
862         (JTextComponent): Some constructors removed.
863         (getScrollableTracksViewportHeight): New method.
864         (getScrollableTracksViewportWidth): Likewise.
865         * Makefile.am: Added javax/swing/JTextArea.java.
866         * Makefile.in: Regenerated.
868 2004-06-15  Graydon Hoare  <graydon@redhat.com>
870         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
871         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
872         * javax/swing/JViewport.java 
873         (getExtentSize): Return size rather than preferred size.
874         (toViewCoordinates): New methods.
875         (getViewSize): Return size rather than preferred size.
876         (setViewSize): Note view size as set.
877         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
878         * javax/swing/plaf/basic/BasicScrollBarUI.java 
879         (getPreferredSize): Don't redo layout.
880         * javax/swing/plaf/basic/BasicViewportUI.java 
881         (paint): Translate image properly and eat exceptions.
883 2004-06-15  Kim Ho  <kho@redhat.com>
885         * javax/swing/JTabbedPane.java
886         (setComponent): Remove old component and
887         add new component.
888         (setSelectedIndex): Don't operate on the 
889         components if they're null. Don't set index
890         on the model if the index is the same.
891         (insertTab): Don't add or hide the component
892         if it's null. Repaint the container.
893         * javax/swing/plaf/basic/BasicLookAndFeel.java
894         Change colors for TabbedPane.
895         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
896         (mousePressed): Re-layout and paint the component.
897         (layoutContainer): Don't set location on the view.
898         (ScrollingViewport::paint): Remove.
900 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
902         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
903         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
906         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
907         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
908         critical region.
909         (drawLine): Call gdk_flush before leaving GDK critical region.
910         (fillRect): Likewise.
911         (drawRect): Likewise.
912         (copyArea): Likewise.
913         (copyPixmap): Likewise.
914         (clearRect): Likewise.
915         (drawArc): Likewise.
916         (drawPolyline): Likewise.
917         (drawPolygon): Likewise.
918         (fillPolygon): Likewise.
919         (fillArc): Likewise.
920         (drawOval): Likewise.
921         (fillOval): Likewise.
923         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
924         style parameter.
925         (GdkFontMetrics): Add style argument to initState call.
926         (stringWidth(String,int,int,String)): Add style parameter.
927         (stringWidth(String)): Add style argument to stringWidth call.
928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
929         (initState): Set pango font style and weight based on AWT style
930         parameter.  Pass default GTK language to
931         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
932         simply dividing by PANGO_SCALE.
933         (stringWidth): Set pango font style and weight based on AWT style
934         parameter.
936         * java/awt/Button.java (next_button_number): New field.
937         (paramString): Change output.
938         (generateName): New method.
939         (getUniqueLong): New method.
941 2004-06-14  Kim Ho  <kho@redhat.com>
943         * javax/swing/JTabbedPane.java:
944         (setComponentAt): Set the component, not
945         the enabled status.
946         * javax/swing/plaf/basic/BasicDesktopIconUI.java
947         (actionPerformed): Let deiconize catch exception.
949 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
951         * javax/swing/JPopupMenu.java:
952         (setVisible): Corrected location of a 
953         heavyweight popup menu.
955 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
957         * javax/swing/MenuSelectionManager.java: 
958         Ran through jalopy to fix formatting style.
960 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
961         
962         * javax/swing/JLayeredPane.java: 
963         (remove): Revalidate and repaint layered pane after
964         the component was removed.
965         javax/swing/JMenu.java:
966         (setVisible): Display popup menu at the user location,
967         if one was set by the user.
968         (setMenuLocation): Reimplemented. Fixed javadoc.
969         * javax/swing/JMenuBar.java: Added javadoc.
970         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
971         (MODEL_CHANGED_PROPERTY): New Property.
972         (isSelected): Implemented.
973         (setBorderPainted): Fire PropertyChangeEvent
974         if paintBorder property changes.
975         (setSelected): Implemented.
976         (setSelectionModel): Implemented.
977         * javax/swing/JPopupMenu.java: Added Javadoc
978         (pack): Implemented.
979         (setVisible): Reimplemented.
980         (show): Fixed location.
981         (JPopupMenu.LigthWeightPopup): Reimplemented to use
982         Container instead of JPanel.
983         * javax/swing/MenuSelectionManager.java: Added Javadocs.
984         (clearSelectedPath): Reimplemented to clear selectedPath
985         in reverse order.
986         (processMouseEvent): Reimplemented.
987         (setSelectedPath): Fire stateChange event indicating that
988         selected menu path has changed.
989         (getPath): Change to use ArrayList instead of Vector.
990         * javax/swing/plaf/basic/BasicMenuBarUI.java:
991         (installUI): call installKeyboardActions().
992         (uninstallUI): call uninstallKeyboardActions().
994 2004-06-13  Michael Koch  <konqueror@gmx.de>
996         * javax/swing/text/DefaultCaret.java,
997         javax/swing/text/BadLocationException.java:
998         Reformatted.
1000 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1002         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
1003         DEFAULT_COLS): New variables.
1004         (create): Don't allow 0 rows or 0 columns.  Instead, set the
1005         values to DEFAULT_ROWS or DEFAULT_COLS.
1006         (getMinimumSize): Likewise.
1007         (getPreferredSize): Likewise.
1008         (minimumSize): Likewise.
1009         (preferredSize): Likewise.
1010         (create): Set peer's editable state.
1011         * java/awt/TextArea.java (TextArea()): Set rows and columns to
1012         zero.  Update javadocs.
1013         (TextArea(String)): Likewise.
1014         (TextArea(int,int)): Fix javadocs.
1015         (TextArea(String,int,int,int)): Only throw exception if one of
1016         rows or columns is zero.  Fix javadocs.
1018 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1020         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
1021         addition to Components.
1023         * java/awt/MenuItem.java (dispatchEventImpl): If the event
1024         wasn't consumed by normal processing, send it to the parent
1025         menu.
1027         * gnu/java/awt/peer/gtk/GtkImagePainter.java
1028         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
1029         translation.
1031 2004-06-11  David Jee  <djee@redhat.com>
1033         * java/awt/MediaTracker.java
1034         (addImage(Image,int)): Call imageUpdate() to udpate image status.
1035         (addImage(Image,int,int,int)): Likewise.
1037 2004-06-11  Michael Koch  <konqueror@gmx.de>
1039         * javax/swing/text/AbstractDocument.java,
1040         javax/swing/text/Document.java,
1041         javax/swing/text/GapContent.java,
1042         javax/swing/text/JTextComponent.java,
1043         javax/swing/text/PlainDocument.java:
1044         Reformatted.
1046 2004-06-11  Michael Koch  <konqueror@gmx.de>
1048         * javax/swing/JRootPane.java
1049         (AccessibleJRootPane.serialVersionUID): New field.
1050         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
1051         (AccessibleJRootPane.getAccessibleRole): New method.
1052         (RootLayout): Implements Serializable.
1053         (RootLayout.serialVersionUID): New field.
1054         (RootLayout.RootLayout): New constructor.
1055         (setJMenuBar): Made public.
1056         (getJMenuBar): Likewise.
1057         (JRootPane): Likewise.
1058         (createContentPane): Likewise.
1059         (createGlassPane): Likewise.
1060         (createLayeredPane): Likewise.
1062 2004-06-11  Michael Koch  <konqueror@gmx.de>
1064         * javax/swing/SwingUtilities.java
1065         (isLeftMouseButton): Fixed javadoc.
1066         (isMiddleMouseButton): Likewise.
1067         (isRightMouseButton): Likewise.
1069 2004-06-11  Michael Koch  <konqueror@gmx.de>
1071         * javax/swing/JScrollPane.java
1072         (serialVersionUID): New field.
1073         (columnHeader): Made protected.
1074         (rowHeader): Likewise.
1075         (lowerLeft): Likewise.
1076         (lowerRight): Likewise.
1077         (upperLeft): Likewise.
1078         (upperRight): Likewise.
1079         (horizontalScrollBar): Likewise.
1080         (horizontalScrollBarPolicy): Likewise.
1081         (verticalScrollBar): Likewise.
1082         (verticalScrollBarPolicy): Likewise.
1083         (viewport): Likewise.
1085 2004-06-11  Michael Koch  <konqueror@gmx.de>
1087         * javax/swing/LookAndFeel.java: Fixed javadocs.
1089 2004-06-11  Michael Koch  <konqueror@gmx.de>
1091         * javax/swing/JEditorPane.java: Fixed javadocs.
1092         (JEditorPane): Removed redundant call to to this().
1093         (fireHyperlinkUpdate): Implemented.
1095 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
1097         * javax/swing/JMenu.java: Fixed file name 
1098         in the file comment.
1100 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
1102         * javax/swing/JMenu.java: Added javadoc.
1103         (JMenu): Added MenuChangeListener to listen to 
1104         ChangeEvents occuring in menu's model. 
1105         (insert): Throw IllegalArgumentException if 
1106         index is less than 0
1107         (setSelected): Reimplement.
1108         (setPopupMenuVisible): Call menu's model isEnabled()
1109         (setDelay): Throw IllegalArgumentException if 
1110         given amount of delay is less than 0.
1111         (createActionComponent): Implemented.
1112         (createActionChangeListener): Implemented.
1113         (addSeparator): Implemented.
1114         (getItem): Throw IllegalArgumentException if index is 
1115         less than 0.
1116         (getItemCount): Implemented.
1117         (fireMenuSelected): Changed to use menuEvent.
1118         (fireMenuDeselected): Likewise.
1119         (fireMenuCanceled): Likewise.
1120         (setAccelerator): Changed to throw an error if this 
1121         method is used. 
1122         (doClick): Implemented.
1123         (JMenu.ActionChangedListener): New inner class to handle
1124         PropertyChangeEvents occuring in the actions associated with menu.
1125         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
1126         (BasicMenuUI): Added PropertyChangeListener to the menu.
1127         (createChangeListener): Implemented.
1128         (createMenuDragMouseListener): Likewise.
1129         (createMenuKeyListener): Likewise.
1130         (createPropertyChangeListener): Likewise.
1131         (uninstallListeners): Likewise.
1132         (BasicMenuUI.MouseInputHandler): Reimplemented.
1133         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
1134         (BasicMenuUI.ChangeHandler): Likewise.
1135         (BasicMenuUI.MenuDragMouseHandler): Likewise.
1136         (BasicMenuUI.MenuKeyHandler): Likewise.
1138 2004-06-10  David Jee  <djee@redhat.com>
1140         * java/awt/MediaTracker.java
1141         (imageUpdate): Only do notifyAll() if the image is complete.
1143 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
1145         * javax/swing/JApplet.java:
1146         (getJMenuBar): Made public.
1147         (setJMenuBar): Likewise.
1148         * javax/swing/JFrame.java:
1149         (getJMenuBar): Made public.
1150         (setJMenuBar): Likewise.
1151         * javax/swing/JWindow.java:
1152         (getJMenuBar): Removed.
1153         (setJMenuBar): Removed.
1155 2004-06-10  Michael Koch  <konqueror@gmx.de>
1157         * javax/swing/JEditorPane.java
1158         (createEditorKitForContentType): Fixed visibility.
1159         (fireHyperlinkUpdate): Likewise.
1160         (getContentType): Likewise.
1161         (getEditorKit): Likewise.
1162         (getEditorKitForContentType): Likewise.
1163         (getPage): Likewise.
1164         (read): Likewise.
1165         (registerEditorKitForContentTyoe): Likewise.
1166         (replaceSelection): Likewise.
1167         (setContentType): Likewise.
1168         (setEditorKit): Likewise.
1169         (setPage): Likewise.
1171 2004-06-10  Michael Koch  <konqueror@gmx.de>
1173         * javax/swing/Timer.java
1174         (Timer): New constructor.
1175         * javax/swing/plaf/basic/BasicProgressBarUI.java
1176         (animationTimer): Don't initialize at construction.
1177         (startAnimationTimer): Added since tag.
1178         (stopAnimationTimer): Likewise.
1179         (installUI): Use new Timer constructor.
1180         * javax/swing/plaf/basic/BasicScrollBarUI.java
1181         (installUI): Likewise.
1182         * javax/swing/plaf/basic/BasicSliderUI.java
1183         (installUI): Likewise.
1185 2004-06-10  Michael Koch  <konqueror@gmx.de>
1187         * javax/swing/ButtonGroup.java
1188         (serialVersionUID): Made private.
1189         (buttons): Renamed from v, added javadoc.
1190         (sel): Added javadoc.
1191         (ButtonGroup): Likewise.
1192         (add): Likewise.
1193         (remove): Likewise.
1194         (getElements): Likewise.
1195         (getSelection): Likewise.
1196         (setSelected): Likewise.
1197         (isSelected): Likewise.
1198         (getButtonCount): Likewise.
1200 2004-06-10  Michael Koch  <konqueror@gmx.de>
1202         * javax/swing/ButtonGroup.java,
1203         javax/swing/ImageIcon.java,
1204         javax/swing/JEditorPane.java,
1205         javax/swing/JRootPane.java,
1206         javax/swing/JTextField.java,
1207         javax/swing/LookAndFeel.java,
1208         javax/swing/plaf/basic/BasicTextUI.java:
1209         Reindented.
1211 2004-06-10  Michael Koch  <konqueror@gmx.de>
1213         * javax/swing/text/Style.java: Added javadocs.
1215 2004-06-10  Michael Koch  <konqueror@gmx.de>
1217         * javax/swing/JComponent.java
1218         (fireVetoableChange): Removed redundant cast.
1219         * javax/swing/JLabel.java
1220         (getDisabledIcon): Save icon for next call.
1222 2004-06-10  Michael Koch  <konqueror@gmx.de>
1224         * javax/swing/KeyStroke.java
1225         (getKeyStroke(char,boolean)): Marked deprecated.
1227 2004-06-10  Michael Koch  <konqueror@gmx.de>
1229         * javax/swing/DefaultCellEditor.java,
1230         javax/swing/GrayFilter.java,
1231         javax/swing/event/DocumentEvent.java,
1232         javax/swing/text/JTextComponent.java,
1233         javax/swing/text/MutableAttributeSet.java:
1234         Reindented.
1236 2004-06-10  Michael Koch  <konqueror@gmx.de>
1238         * javax/swing/plaf/BorderUIResource.java:
1239         Added serialVersionUID all over.
1241 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
1243         * javax/swing/undo/UndoManager.java: Re-written from scratch.
1245 2004-06-10  Michael Koch  <konqueror@gmx.de>
1247         * javax/swing/table/DefaultTableCellRenderer.java
1248         (noFocusBorder): Initialize directly.
1250 2004-06-10  Michael Koch  <konqueror@gmx.de>
1252         * javax/swing/plaf/basic/BasicArrowButton.java
1253         (setDirection): Use method argument.
1255 2004-06-10  Michael Koch  <konqueror@gmx.de>
1257         * javax/swing/plaf/BorderUIResource.java,
1258         javax/swing/plaf/ComponentUI.java,
1259         javax/swing/undo/CompoundEdit.java,
1260         javax/swing/undo/StateEdit.java:
1261         Fixed javadocs all over.
1263 2004-06-10  Michael Koch  <konqueror@gmx.de>
1265         * javax/swing/DefaultButtonModel.java
1266         (ARMED): Made public final, fixed value.
1267         (ENABLED): Likewise.
1268         (PRESSED): Likewise.
1269         (ROLLOVER): Likewise.
1270         (SELECTED): Likewise.
1271         (stateMask): Initialize directly.
1272         (listenerList): Likewise.
1273         (mnemonic): Likewise.
1274         (fireStateChanged): Removed argument, use changeEvent as event.
1275         All places where this method is called are fixed too.
1276         (getActionCommant): Fixed javadoc.
1277         (setGroup): Fixed javadoc.
1278         (getGroup): New method.
1280 2004-06-09  Olga Rodimina <rodimina@redhat.com>
1282         * javax/swing/AbstractButton.java
1283         (AbstractButton): Use init() to initialize the button.
1284         (init): New Method. Initializes AbstractButton.
1285         * javax/swing/JMenuItem.java: Documented.
1286         (JMenuItem): Reimplemented.
1287         (init): Implemented.
1288         (setEnabled): Changed to call super.setEnabled()
1289         (processMouseEvent): Reimplemented.
1290         (fireMenuKeyPressed): Implemented.
1291         (fireMenuKeyReleased): Implemented.
1292         (fireMenuKeyTyped): Implemented.
1293         (menuSelectionChanged): disarm the model if the menu item was
1294         deselected.
1295         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
1296         (getPath): Change to use ArrayList instead of Vector.
1297         (getPreferredSize): Renamed variable.
1298         (paintMenuItem): Paint margin area of menu item.
1299         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
1300         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
1301         menu item's bounds before clearing the selection.       
1303 2004-06-09  David Jee  <djee@redhat.com>
1305         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1306         (GtkTextComponentPeer): Set caret position to 0.
1307         * java/awt/TextComponent.java
1308         (setText): Set caret position to 0.
1309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1310         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1311         Handle GtkScrolledWindow separately. Fix signal handler blocking.
1312         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1313         Likewise.
1314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1315         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
1316         visible.
1318 2004-06-09  Kim Ho  <kho@redhat.com>
1320         * Makefile.am: New files
1321         * Makefile.in: Regenerated
1322         * java/awt/Container.java
1323         (getComponentAt): Removed.
1324         * javax/swing/AbstractAction.java
1325         (ENABLED_PROPERTY): New property.
1326         (putValue): Fire PropertyChangeEvents.
1327         (setEnabled): ditto.
1328         (firePropertyChange): Javadoc and implement
1329         convenience method.
1330         * javax/swing/AbstractButton.java
1331         (setAction): Don't create PropertyChangeListener
1332         if new Action is null.
1333         (setIcon): Don't set icon till after comparing
1334         it.
1335         (configurePropertiesFromAction): Check mnemonic
1336         key before calling intValue().
1337         (createActionPropertyChangeListener): Check
1338         properties rather than bulk change.
1339         * javax/swing/DefaultDesktopManager.java:
1340         Implement.
1341         * javax/swing/DesktopManager.java:
1342         Jalopy and javadoc.
1343         * javax/swing/JComponent.java
1344         (fireVetoableChange): Implement.
1345         (paintImmediately): Use root component.
1346         * javax/swing/JDesktopPane.java: Implement
1347         * javax/swing/JInternalFrame.java: Implement
1348         * javax/swing/JLabel.java
1349         (getDisabledIcon): Return grayscaled icon if
1350         no disabled icon specified.
1351         * javax/swing/JMenuBar.java
1352         (getComponentAtIndex): Use getComponent
1353         * javax/swing/JOptionPane.java
1354         (getDesktopPaneForComponent): Use SwingUtilities'
1355         getAncestorOfClass
1356         (getFrameForComponent): ditto.
1357         * javax/swing/JSplitPane.java
1358         (remove): Use getComponent.
1359         * javax/swing/SwingUtilities.java
1360         (convertPoint): Implement.
1361         * javax/swing/plaf/basic/BasicButtonUI.java
1362         (paintButtonNormal): Check opaqueness before
1363         filling background.
1364         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
1365         Implement
1366         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
1367         Implement.
1368         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
1369         Implement.
1370         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
1371         Implement.
1372         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1373         Change InternalFrame and Desktop colors.
1375 2004-06-09  David Jee  <djee@redhat.com>
1377         * java/awt/Container.java
1378         (remove): Do not set component to invisible.
1380 2004-06-09  Michael Koch  <konqueror@gmx.de>
1382         * javax/swing/tree/DefaultMutableTreeNode.java
1383         (getLeafCount): Renamed enum to e.
1385 2004-06-09  Michael Koch  <konqueror@gmx.de>
1387         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1388         (positionForMouseEvent): Removed redundant semicolon.
1389         (continueDrag): Use method arguments.
1391 2004-06-09  Michael Koch  <konqueror@gmx.de>
1393         * javax/swing/border/TitledBorder.java,
1394         javax/swing/filechooser/FileSystemView.java,
1395         javax/swing/plaf/basic/BasicButtonListener.java,
1396         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1397         javax/swing/plaf/basic/BasicLabelUI.java,
1398         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
1399         javax/swing/plaf/basic/BasicScrollBarUI.java,
1400         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1401         javax/swing/plaf/basic/BasicSliderUI.java,
1402         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1403         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1404         javax/swing/table/JTableHeader.java,
1405         javax/swing/text/AbstractDocument.java,
1406         javax/swing/text/DefaultCaret.java,
1407         javax/swing/text/StyledEditorKit.java,
1408         javax/swing/tree/DefaultTreeCellEditor.java:
1409         Reworked import statements.
1411 2004-06-08  Graydon Hoare  <graydon@redhat.com>
1413         * javax/swing/Box.java: Temporarily comment out code
1414         broken due to visibility bug.
1416 2004-06-09  Michael Koch  <konqueror@gmx.de>
1418         * javax/swing/ImageIcon.java
1419         (ImageIcon): Added missing constructor.
1421 2004-06-08  Michael Koch  <konqueror@gmx.de>
1423         * javax/swing/JToggleButton.java
1424         (JToggleButton): New constructor.
1425         (getAccessibleContext): Moved documentation into javadoc.
1426         (getUIClassID): Likewise.
1428 2004-06-08  Michael Koch  <konqueror@gmx.de>
1430         * javax/swing/AbstractButton.java
1431         (getDisabledIcon): Create disabled icon if none exists yet.
1433 2004-06-08  Michael Koch  <konqueror@gmx.de>
1435         * javax/swing/plaf/basic/BasicLookAndFeel.java
1436         (initClassDefaults): Added FormattedTextFieldUI.
1437         (loadResourceBundle): Renamed enum to e.
1439 2004-06-08  Michael Koch  <konqueror@gmx.de>
1441         * javax/swing/plaf/basic/BasicButtonUI.java
1442         (paintIcon): Simplified.
1443         (paintText): Paint disabled button correctly.
1445 2004-06-08  Michael Koch  <konqueror@gmx.de>
1447         * javax/swing/JComponent.java
1448         (createToolTip): Use official JToolTip API.
1450 2004-06-08  Michael Koch  <konqueror@gmx.de>
1452         * javax/swing/JToolTip.java
1453         (JToolTip): No arguments in API.
1454         (setTipText): New method.
1456 2004-06-08  Michael Koch  <konqueror@gmx.de>
1458         * javax/swing/SwingUtilities.java
1459         (isLeftMouseButton): New method.
1460         (isMiddleMouseButton): New method.
1461         (isRightMouseButton): New method.
1463 2004-06-08  Michael Koch  <konqueror@gmx.de>
1465         * javax/swing/AbstractButton.java,
1466         javax/swing/CellRendererPane.java,
1467         javax/swing/JCheckBoxMenuItem.java,
1468         javax/swing/JColorChooser.java,
1469         javax/swing/JComboBox.java,
1470         javax/swing/JComponent.java,
1471         javax/swing/JDesktopPane.java,
1472         javax/swing/JFileChooser.java,
1473         javax/swing/JMenu.java,
1474         javax/swing/JMenuItem.java,
1475         javax/swing/JOptionPane.java,
1476         javax/swing/JPasswordField.java,
1477         javax/swing/JPopupMenu.java,
1478         javax/swing/JProgressBar.java,
1479         javax/swing/JRadioButtonMenuItem.java,
1480         javax/swing/JScrollBar.java,
1481         javax/swing/JSeparator.java,
1482         javax/swing/JSlider.java,
1483         javax/swing/JSplitPane.java,
1484         javax/swing/JTabbedPane.java,
1485         javax/swing/JTextField.java,
1486         javax/swing/JToolBar.java,
1487         javax/swing/text/JTextComponent.java:
1488         Fixed all constructors of accessibility classes.
1490 2004-06-08  Michael Koch  <konqueror@gmx.de>
1492         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
1493         over.
1495 2004-06-08  Michael Koch  <konqueror@gmx.de>
1497         * javax/swing/Box.java
1498         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
1499         (AccessibleBoxFiller.serialVersionUID): New member variable.
1500         * javax/swing/DefaultButtonModel.java
1501         (stateMask): Made protected.
1502         (listenerList): Likewise.
1503         (changeEvent): Likewise.
1504         (group): Likewise.
1505         (mnemonic): Likewise.
1506         (actionCommand): Likewise.
1507         (getListeners): New method.
1508         (getActionListeners): New method.
1509         (getItemListeners): New method.
1510         (getChangeListeners): New method.
1511         (fireItemStateChanged): Simplified.
1512         (fireActionPerformed): Simplified.
1513         (fireStateChanged): Simplified.
1514         * javax/swing/JFrame.java
1515         (JFrame): Implements WindowContants.
1516         (HIDE_ON_CLOSE): Removed.
1517         (EXIT_ON_CLOSE): Removed.
1518         (DISPOSE_ON_CLOSE): Removed.
1519         (DO_NOTHING_ON_CLOSE): Removed.
1520         (processWindowEvent): Exit with code 0.
1521         (setDefaultCloseOperation): Do security check before setting value.
1522         * javax/swing/JOptionPane.java
1523         (message): Initialize only in constructor.
1524         * javax/swing/JToolTip.java: Removed unused imports.
1525         * javax/swing/JViewport.java
1526         (serialVersionUID): New member variable.
1527         (SIMPLE_SCROLL_MODE): Made final, fixed value.
1528         (BLIT_SCROLL_MODE): Likewise.
1529         (BACKINGSTORE_SCROLL_MODE): Likewise.
1530         (scrollUnderway): Made protected.
1531         (isViewSizeSet): Likewise.
1532         * javax/swing/ListModel.java: Fixed javadoc.
1533         * javax/swing/Popup.java: Likewise.
1534         * javax/swing/RepaintManager.java
1535         (paintDirtyRegions): Don't use internal classes of
1536         java.util.AbstractMap.
1537         * javax/swing/ScrollPaneConstants.java: Reindented.
1538         * javax/swing/ScrollPaneLayout.java
1539         (viewport): Made protected.
1540         (verticalScrollBar): Made protected, renamed to vsb.
1541         (horizontalScrollBar): Made protected, renamed to hsb.
1542         (rowHeader): Made protected, renamed to rowHead.
1543         (columnHeader): Made protected, renamed to colHead.
1544         (lowerLeft): Made protected.
1545         (lowerRight): Made protected.
1546         (upperLeft): Made protected.
1547         (upperRight): Made protected.
1548         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
1549         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
1551 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
1553         * java/awt/MediaTracker.java (imageUpdate): Only set status to
1554         LOADING if flags has SOMEBITS set.
1556 2004-06-07  Michael Koch  <konqueror@gmx.de>
1558         * javax/swing/AbstractButton.java: Reorganized imports.
1559         * javax/swing/ActionMap.java: Likewise.
1560         * javax/swing/DefaultButtonModel.java: Likewise.
1561         * javax/swing/DefaultListModel.java: Likewise.
1562         * javax/swing/ImageIcon.java: Likewise.
1563         (serialVersionUID): New member variable.
1564         * javax/swing/JComboBox.java: Reorganized imports.
1565         * javax/swing/JComponent.java: Likewise.
1566         (ui): Made protected.
1567         (listenerList): Made protected.
1568         (TOOL_TIP_TEXT_KEY): New constant.
1569         (scrollRectToVisible): Removed redundant null check.
1570         * javax/swing/JFrame.java: Reorganized imports.
1571         * javax/swing/JInternalFrame.java: Reorganized imports.
1572         * javax/swing/JProgressBar.java: Likewise.
1573         * javax/swing/JRootPane.java: Likewise.
1574         * javax/swing/JScrollBar.java: Likewise.
1575         * javax/swing/JSeparator.java: Likewise.
1576         * javax/swing/JSlider.java: Likewise.
1577         * javax/swing/JTabbedPane.java: Likewise.
1578         * javax/swing/JTextField.java: Likewise.
1579         * javax/swing/JToolBar.java: Likewise.
1580         * javax/swing/JTree.java: Likewise.
1581         * javax/swing/JViewport.java: Likewise.
1582         * javax/swing/JWindow.java: Likewise.
1583         * javax/swing/KeyStroke.java: Likewise.
1584         * javax/swing/LookAndFeel.java: Likewise.
1585         * javax/swing/MenuSelectionManager.java: Likewise.
1586         * javax/swing/SwingUtilities.java: Likewise.
1587         * javax/swing/Timer.java: Likewise.
1588         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
1589         * javax/swing/JList.java
1590         (HORIZONTAL_WRAP): Made final, fixed value.
1591         (VERTICAL): Likewise.
1592         (VERTICAL_WRAP): Likewise.
1594 2004-06-07  Michael Koch  <konqueror@gmx.de>
1596         * javax/swing/AbstractButton.java
1597         (serialVersionUID): New member variable.
1598         (AccessibleAbstractButton.serialVersionUID): Likewise.
1599         (AbstractButton): Made public.
1600         * javax/swing/Box.java
1601         (AccessibleBox.serialVersionUID): New member variable.
1602         (Filler.serialVersionUID): Likewise.
1603         * javax/swing/DefaultListSelectionModel.java
1604         (serialVersionUID): Likewise.
1605         * javax/swing/JApplet.java
1606         (serialVersionUID): Likewise.
1607         * javax/swing/JCheckBox.java
1608         (serialVersionUID): Likewise.
1609         * javax/swing/JCheckBoxMenuItem.java
1610         (serialVersionUID): Likewise.
1611         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
1612         * javax/swing/JColorChooser.java
1613         (serialVersionUID): Likewise.
1614         (AccessibleJColorChooser.serialVersionUID): Likewise.
1615         * javax/swing/JComponent.java
1616         (serialVersionUID): Made private.
1617         (AccessibleJComponent.serialVersionUID): New member variable.
1618         * javax/swing/JDesktopPane.java
1619         (serialVersionUID): Likewise.
1620         * javax/swing/JDialog.java
1621         (serialVersionUID): Likewise.
1622         * javax/swing/JFormattedTextField.java
1623         (serialVersionUID): Fixed value.
1624         * javax/swing/JFrame.java
1625         (serialVersionUID): New member variable.
1626         (getDefaultCloseOpertation): Made public.
1627         * javax/swing/JLayeredPane.java
1628         (serialVersionUID): Likewise.
1629         (LAYER_PROPERTY): Made final, fixed value.
1630         (JLayeredPane): Made public.
1631         * javax/swing/JMenu.java
1632         (AccessibleJMenu.serialVersionUID): New member variable.
1633         (WinListener.serialVersionUID): Likewise.
1634         * javax/swing/JMenuBar.java
1635         (serialVersionUID): Likewise.
1636         (getComponentAtIndex): Added @deprecated tag.
1637         * javax/swing/JMenuItem.java
1638         (serialVersionUID): New member variable.
1639         (AccessibleJMenuItem.serialVersionUID): Likewise.
1640         * javax/swing/JOptionPane.java
1641         (serialVersionUID): Likewise.
1642         (AccessibleJOptionPane.serialVersionUID): Likewise.
1643         * javax/swing/JPopupMenu.java
1644         (serialVersionUID): Likewise.
1645         (AccessibleJPopupMenu.serialVersionUID): Likewise.
1646         (getPopupMenuListeners): New method.
1647         (getComponentAtIndex): Added @deprecated tag.
1648         * javax/swing/JProgressBar.java
1649         (serialVersionUID): New member variable.
1650         (AccessibleJProgressBar.serialVersionUID): Likewise.
1651         * javax/swing/JRadioButton.java
1652         (serialVersionUID): Likewise.
1653         * javax/swing/JRadioButtonMenuItem.java
1654         (serialVersionUID): Likewise.
1655         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
1656         * javax/swing/JScrollBar.java
1657         (serialVersionUID): Likewise.
1658         (AccessibleJScrollBar.serialVersionUID): Likewise.
1659         * javax/swing/JSeparator.java
1660         (serialVersionUID): Likewise.
1661         (AccessibleJSeparator.serialVersionUID): Likewise.
1662         * javax/swing/JSlider.java: Fixed javadocs.
1663         (AccessibleJSlider.serialVersionUID): New member variable.
1664         * javax/swing/JSplitPane.java: Added copyright statement.
1665         (serialVersionUID): New member variable.
1666         (AccessibleJSplitPane.serialVersionUID): Likewise.
1667         * javax/swing/JTabbedPane.java
1668         (serialVersionUID): Likewise.
1669         (AccessibleJTabbedPane.serialVersionUID): Likewise.
1670         (ModelListener.serialVersionUID): Likewise.
1671         (ModelListener.ModelListener): New constructor.
1672         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
1673         (WRAP_TAB_LAYOUT): Likewise.
1674         * javax/swing/JTable.java
1675         (serialVersionUID): New member variable.
1676         * javax/swing/JToggleButton.java
1677         (serialVersionUID): Likewise.
1678         (ToggleButtonModel): Made static.
1679         (ToggleButtonModel.serialVersionUID): New member variable.
1680         * javax/swing/JToolTip.java
1681         (serialVersionUID): Likewise.
1682         * javax/swing/JTree.java
1683         (serialVersionUID): Likewise.
1684         * javax/swing/JWindow.java
1685         (serialVersionUID): Likewise.
1686         * javax/swing/Timer.java
1687         (serialVersionUID): Likewise.
1689 2004-06-06  Michael Koch  <konqueror@gmx.de>
1691         * javax/swing/SwingConstants.java
1692         (NEXT): New constant.
1693         (PREVIOUS): Likewise.
1694         * javax/swing/UIManager.java
1695         (LookAndFeel): Made public.
1696         (LookAndFeel.getClassName): Likewise.
1697         (LookAndFeel.getName): Likewise.
1699 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
1701         * javax/swing/JCheckBoxMenuItem.java:
1702         Removed CVS tags.
1703         * javax/swing/JMenu.java: Likewise.
1704         * javax/swing/JMenuBar.java: Likewise.
1705         * javax/swing/JMenuItem.java: Likewise.
1706         * javax/swing/JPopupMenu.java: Likewise.
1707         * javax/swing/JRadioButtonMenuItem.java: Likewise.
1708         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
1709         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
1710         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1711         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
1712         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
1713         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
1715 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
1716         
1717         * javax/swing/plaf/basic/BasicMenuUI.java:
1718         (MouseEntered): Do not call getPath() from MenuSelectionManager.
1719         Call getPath() from super class instead.
1721 2004-05-31  David Jee  <djee@redhat.com>
1723         * java/awt/Container.java
1724         (remove): Set component visibility to false after removing it.
1726 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1728         * java/awt/Component.java (getForeground): Return SystemColor if
1729         parent is null.
1730         (getBackground): Likewise.
1732         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1733         (item_highlighted): New function.
1734         (connectSignals): Set item_highlighted as list's select
1735         function.
1737         * java/applet/Applet.java: Revert changes from 2004-04-29,
1738         2004-03-15 and 2004-03-14.
1740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1741         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
1742         factor.
1744         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
1745         "Dialog" as the default font.
1746         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
1747         Likewise.
1748         * java/awt/Component.java (getFont): Return "Dialog" font by
1749         default.
1750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1751         Multiply size argument to pango_font_description_set_size by the
1752         DPI conversion factor rather than by PANGO_SCALE.
1753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
1754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
1755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
1756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
1757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
1759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
1760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
1761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1763         Divide baseline y coordinate by DPI conversion factor rather
1764         than by PANGO_SCALE.
1765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1766         (area_prepared): Fix typo.
1767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1768         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
1769         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1770         (dpi_conversion_factor): New global variable.
1771         (init_dpi_conversion_factor): New function to calculate and
1772         track DPI conversion factor.
1773         (dpi_changed_cb): New callback.
1774         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
1776 2004-05-27  David Jee  <djee@redhat.com>
1778         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1779         (getGraphics): Return a new GdkGraphics instance.
1780         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
1781         (getGraphics): Call super.getGraphics().
1783 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
1785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1786         (setNativeBounds): Clamp width and height values to >= 0.
1788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1789         (find_fg_color_widget): Handle GtkOptionMenu specially.
1791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1792         (pre_event_handler): Only post configure events to visible
1793         top-level windows.
1795 2004-05-26  David Jee  <djee@redhat.com>
1797         * java/awt/BorderLayout.java
1798         (layoutContainer): Fix size calculations.
1800 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
1802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1803         (window_wm_protocols_filter): Remove function.
1804         (create): Remove filter that removes WM_TAKE_FOCUS client
1805         messages.
1807 2004-06-17  Anthony Green  <green@redhat.com>
1809         * java/util/zip/ZipFile.java (getInputStream): Return null if
1810         entry not found.
1812         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
1813         directory contents to the class path.
1815 2004-06-15  Andrew Haley  <aph@redhat.com>
1817         * java/lang/natSystem.cc (getenv0): Don't assume environment
1818         variable is Latin 1 coded.
1820 2004-06-14  Andreas Jaeger  <aj@suse.de>
1822         * configure.in: Support --enable-version-specific-runtime-libs.
1823         * configure: Regenerated.
1825 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
1827         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
1828         to pass ClassLoader argument.
1829         * java/util/GregorianCalendar.java: Likewise.
1830         * java/util/Currency.java: Likewise.
1831         * java/text/BreakIterator.java: Likewise.
1832         * java/text/Collator.java: Likewise.
1833         * java/text/DateFormat.java: Likewise.
1834         * java/text/DateFormatSymbols.java: Likewise.
1835         * java/text/DecimalFormatSymbols.java: Likewise.
1836         * java/text/NumberFormat.java: Likewise.
1837         * java/awt/Window.java: Likewise.
1839 2004-06-14  Andrew Haley  <aph@redhat.com>
1841         * java/lang/System.java: (getenv0): New method.
1842         (getenv): Add security check.  Do the right thing.
1843         * java/lang/natSystem.cc (getenv0): New method.
1845 2004-06-12  Mark Wielaard  <mark@klomp.org>
1847         * javax/swing/RepaintManager.java
1848         (paintDirtyRegions): Use entrySet(), not values().
1850 2004-06-10  Mark Wielaard  <mark@klomp.org>
1852         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
1853         NoSuchMethodError.
1855 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
1857         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
1858         when we already know the answer.
1859         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
1860         (setStartRule,setEndRule): Don't take abs of day number.
1861         (getOffset): Clarify docs.  Add argument checks.
1862         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
1863         (equals,hasSameRules,toString,readObject): Use startTimeMode and
1864         endTimeMode.
1866 2004-06-10  Tom Tromey  <tromey@redhat.com>
1868         * interpret.cc (run): Handle wide fload.
1870 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
1872         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
1874 2004-06-05  Michael Koch  <konqueror@gmx.de>
1876         * javax/swing/SwingConstants.java
1877         (NEXT): New constant.
1878         (PREVIOUS): Likewise.
1880 2004-06-05  Michael Koch  <konqueror@gmx.de>
1882         * javax/swing/UIManager.java
1883         (LookAndFeel): Made public.
1884         (LookAndFeel.getName): Likewise.
1885         (LookAndFeel.getClassName): Likewise.
1887 2004-06-03  Michael Koch  <konqueror@gmx.de>
1889         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1890         (requestFocus): Revert last changes.
1891         (gtkRequestFocus): Removed.
1892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1893         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
1894         Renamed to ...
1895         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
1896         Reverted last patch.
1897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
1898         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
1899         Reverted comment change.
1901 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
1903         * javax/swing/JCheckBoxMenuItem.java:
1904         Removed CVS tags.
1905         * javax/swing/JMenu.java: Likewise.
1906         * javax/swing/JMenuBar.java: Likewise.
1907         * javax/swing/JMenuItem.java: Likewise.
1908         * javax/swing/JPopupMenu.java: Likewise.
1909         * javax/swing/JRadioButtonMenuItem.java: Likewise.
1910         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
1911         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
1912         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1913         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
1914         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
1915         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
1917 2004-06-01  Tom Tromey  <tromey@redhat.com>
1919         * java/io/ObjectStreamField.java: Cleaned up imports.
1921 2004-06-01  Michael Koch  <konqueror@gmx.de>
1923         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
1924       
1925 2004-06-01  Mark Wielaard  <mark@klomp.org>
1927         * java/io/Writer.java (Writer(Object)): Fixed API doc.
1929 2004-06-01  Michael Koch  <konqueror@gmx.de>
1931         * java/security/Security.java
1932         (insertProviderAt): Use equals() instead of ==.
1933         (removeProvicer): Likewise.
1934         (getProvider): Likewise.
1935         * java/security/Signature.java
1936         (sign): Don't set state to UNINITIALIZED.
1937         (verify): Likewise.
1939 2004-06-01  Mark Wielaard  <mark@klomp.org>
1941         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
1942         Implement by calling gtkRequestFocus.
1943         (gtkRequestFocus): New native method.
1944         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1945         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
1946         Renamed to ...
1947         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
1948         New function name.
1949         (filter_expose_event_handler):
1950         Mark static.
1951         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
1952         (menu_pos): Mark static.
1954 2004-06-01  Michael Koch  <konqueror@gmx.de>
1956         * java/text/CollationElementIterator.java,
1957         java/text/CollationKey.java,
1958         java/text/RuleBasedCollator.java: New versions from GNU classpath.
1959         * testsuite/libjava.mauve/xfails: Removed all
1960         java.text.CollationElementIterator tests.
1962 2004-06-01  Michael Koch  <konqueror@gmx.de>
1964         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
1965         version.
1966         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
1967         Java 1.5 keyword usage.
1969 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
1971         * javax/swing/plaf/basic/BasicMenuUI.java:
1972         (MouseEntered): Do not call getPath() from MenuSelectionManager.
1973         Call getPath() from super class instead.
1975 2004-05-31  Michael Koch  <konqueror@gmx.de>
1977         * java/io/SequenceInputStream.java:
1978         Rename enum to e because enum is a keyword in Java 1.5.
1980 2004-05-31  Michael Koch  <konqueror@gmx.de>
1982         * gnu/java/rmi/rmic/CompilerProcess.java:
1983         Fixed javadoc to by XHTML compliant.
1985 2004-05-30  Mark Wielaard  <mark@klomp.org>
1987         * java/awt/Toolkit.java (loadSystemColors): Implement.
1989 2004-05-30  Michael Koch  <konqueror@gmx.de>
1991         * java/lang/System.java: Reordered imports.
1993 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
1995         * java/text/DecimalFormat.java
1996         (parse): Fixed parsing of decimal strings. Number of maximum
1997         digits to be read should now work.
1998         * java/text/SimpleDateFormat.java
1999         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
2000         formatter. This fixes DateFormatTest.
2002 2004-05-30  Michael Koch  <konqueror@gmx.de>
2004         * java/nio/Buffer.java
2005         (limit): Fixed off by one error.
2006         * java/nio/CharBuffer.java
2007         (wrap): Fixed arguments, added javadocs.
2009 2004-05-30  Michael Koch  <konqueror@gmx.de>
2011         * gnu/java/beans/BeanInfoEmbryo.java,
2012         java/awt/im/InputContext.java,
2013         javax/swing/tree/DefaultMutableTreeNode.java:
2014         Rename enum to e because enum is a keyword in Java 1.5.
2016 2004-05-30  Michael Koch  <konqueror@gmx.de>
2018         * gnu/java/math/MPN.java,
2019         java/awt/geom/Arc2D.java:
2020         Fixed javadocs all over.
2022 2004-05-30  Michael Koch  <konqueror@gmx.de>
2024         * java/awt/DefaultKeyboardFocusManager.java
2025         (dispatchEvent): Call method to get key event dispatchers.
2026         (dispatchKeyEvent): Call method to get key event post processors.
2027         * javax/swing/JComponent.java
2028         (listenerList): Made protected.
2029         * javax/swing/JOptionPane.java
2030         (message): Don't initialize.
2031         (JOptionPane): Set message text.
2032         * javax/swing/JPopupMenu.java
2033         (show): Fixed typo in argument name.
2034         * javax/swing/RepaintManager.java
2035         (paintDirtyRegions): Use public API of java.util.Map.
2036         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2037         (positionForMouseEvent): Removed redundant ';'.
2038         (continueDrag): Use method arguments.
2040 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
2042         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
2043         results.
2045 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
2047         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
2048         _Jv_AllocBytes.
2049         * gnu/gcj/RawDataManaged.java: New file.
2050         * java/lang/Thread.java (data): Declare as RawDataManaged.
2051         * java/lang/natThread.cc (init_native): Cast natThread data to
2052         RawDataManaged, not jobject.
2053         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
2054         * Makefile.in: Rebuilt.
2056 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
2058         * java/util/SimpleTimeZone.java: Reverting my last change until I
2059         can fix it properly.
2061 2004-05-27  Michael Koch  <konqueror@gmx.de>
2063         * javax/swing/JPopupMenu.java
2064         (isVisible): Do not use visible directly.
2065         (setVisible): Likewise.
2066         * javax/swing/JWindow.java
2067         (JWindow): call accessible constructor.
2068         * javax/swing/RepaintManager.java
2069         (paintDirtyRegions): Use public methods to obtain iterator.
2071 2004-05-25  David Jee  <djee@redhat.com>
2073         * java/awt/Container.java
2074         (remove): Set component's parent to null only after we removed the
2075         component from its parent's layout manager.
2077 2004-05-25  David Jee  <djee@redhat.com>
2079         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2080         (GtkComponentPeer): Set bounds regardless of whether awtComponent
2081         is valid.
2082         * gnu/java/awt/peer/gtk/GtkListPeer.java
2083         (getSize): Change native method declaration.
2084         (minimumSize): Pass visible row count into getSize().
2085         (preferredSize): Likewise.
2086         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
2087         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
2088         natural size. Use visible row count to determine the final height
2089         value to return.
2091 2004-05-21  Graydon Hoare  <graydon@redhat.com>
2093         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
2094         (setClip): Minor correction to order of operations.
2096         * javax/swing/JScrollPane.java: Extend sketchy implementation.
2097         * javax/swing/ScrollPaneLayout.java: Likewise.
2098         * javax/swing/JViewPort.java: Likewise.
2099         * javax/swing/ViewportLayout.java: Likewise.
2101         * javax/swing/JComponent.java: Rewrite.
2102         * javax/swing/RepaintManager.java: Likewise.
2104         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
2105         * javax/swing/JList.java 
2106         (setSelectedIndices):
2107         (getSelectedIndices):
2108         (getSelectedValues): New functions.
2109         (getPreferredScrollableViewportSize): Return preferred size.
2110         (getScrollableUnitIncrement):
2111         (getScrollableBlockIncrement): Initial implementations.
2112         * javax/swing/JRootPane.java: Clean up slightly.
2113         (getUI):
2114         (setUI):
2115         (updateUI):
2116         (getUIClassID):
2117         (isValidateRoot): Add overrides from JComponent.
2118         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
2119         * javax/swing/UIManager.java (getDimension): Return the dimension.
2121         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
2122         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2123         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
2124         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2125         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2126         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
2127         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2128         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
2129         Likewise, and set background.
2130         * javax/swing/plaf/basic/BasicListUI.java: 
2131         Likewise, and improve a bit.
2132         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
2133         Likewise, and adjust calculations.
2134         * javax/swing/plaf/basic/BasicViewportUI.java:
2135         Likewise, and improve a bit.
2136         * javax/swing/plaf/basic/BasicLookAndFeel.java 
2137         (Button.margin): Shrink.
2139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2140         Hack to set horizontal always, workaround pango.
2142         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
2143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2144         Synchronize more often, check cairo status after ops,
2145         handle changes to cairo pattern API, check for disposal.
2147 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
2149         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2150         (BasicMenuItemUI): Create propertyChangeListener.
2151         (getPath):Implemented.
2152         (installListeners): Add propertyChangeListener to menuItem.
2153         (uninstallListeners): Remove propertyChangeListener from menuItem.
2154         (update): Implemented.
2155         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
2156         (mouseEntered): Take insets of popup menu into account when
2157         calculating position of popup menu.     
2158         
2159 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
2161         * Makefile.am: Added new file. 
2162         * Makefile.in: Regenerate.
2163         * javax/swing/JMenuBar.java:
2164         Started implementation.
2165         * javax/swing/JPopupMenu.java:
2166         (setVisible): Fixed location of lightweight/mediumweight
2167         popup menu.
2168         (show): Fixed location of PopupMenu.
2169         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2170         New file. UI Delegate for JMenuBar.
2171         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
2172         (mouseEntered): Corrected position of the submenu.
2174 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
2177         to _gtk_accel_group_attach.
2178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
2179         Likewise.
2181         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
2182         package access.  Don't override setFont.
2183         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
2184         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
2185         gtkWidgetRequestFocus package access.
2186         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
2187         setFont.
2188         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
2189         Give gtkWidgetRequestFocus package access.
2190         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
2191         gtkWidgetRequestFocus package access.  Don't override setFont.
2192         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
2193         setFont.
2194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2195         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
2196         region.
2197         (gtkSetFont): Likewise.
2198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2199         Implement.
2200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2201         (gtkSetFont): Whitespace fix.
2203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2204         (gtkWidgetSetUsize): Remove method.
2206 2004-05-18  David Jee  <djee@redhat.com>
2208         * java/awt/image/MemoryImageSource.java
2209         (newPixels(int,int,int,int,boolean)): Set only the specified
2210         rectangle of pixels.
2211         (newPixels(byte[],ColorModel,int,int)): Implement.
2212         (newPixels(int[],ColorModel,int,int)): Implement.
2214 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
2216         * Makefile.am: Added new file.
2217         * Makefile.in: Regenerate.
2218         * javax/swing/JMenu.java: Started 
2219         implementation.
2220         * javax/swing/JPopupMenu.java:
2221         (insert): If specified index is -1, then
2222         add component at the end.
2223         (isPopupTrigger): Reimplemented.
2224         (JPopupMenu.LightWeightPopup): setBounds
2225         of the lightWeightPopup before adding it 
2226         to the layeredPane.
2227         (javax/swing/plaf/basic/BasicIconFactory.java):
2228         (getMenuArrowIcon): Implemented.
2229         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2230         (getPreferredSize): Add size of the arrow icon 
2231         if this menu item is instance of JMenu.
2232         (paintMenuItem): Paint arrow icon if this 
2233         menu item is a submenu.
2234         * javax/swing/plaf/basic/BasicMenuUI.java:
2235         New File. UI Delegate for JMenu.
2237 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
2239         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
2240         Post KEY_TYPED events.
2241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2242         (generates_key_typed_event): Remove function.
2244 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
2246         * javax/swing/JRootPane.java
2247         (JRootPane.RootLayout): Reimplemented to 
2248         set bounds of contentPane and menuBar.
2249         (setJMenuBar): Add menu bar to the layered pane.
2250         (createLayeredPane): Set layout of layeredPane
2251         to null.
2252         * javax/swing/JLayeredPane.java:
2253         (addImpl): Calculate index of the component in the
2254         layeredPane according to the specified position within 
2255         the layer.      
2257 2004-05-17  David Jee  <djee@redhat.com>
2259         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2260         (setPixels): Change color model to the default model after
2261         converting pixels.
2262         * java/awt/image/MemoryImageSource.java
2263         (newPixels): Set only the specified rectangle of pixels.
2265 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2267         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
2268         -l-java-beans -l-javax-accessibility -l-javax-swing.
2270         * java/awt/AWTEvent.java (toString): Print source's name rather
2271         than the source itself.
2273 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2275         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
2276         native.
2277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2278         (gdk_color_to_java_color): New function.
2279         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
2281 2004-05-12  David Jee  <djee@redhat.com>
2283         * java/awt/image/RGBImageFilter.java:
2284         Initialize origmodel as null.
2285         (makeColor): Fix pixel component order.
2286         (filterRGBPixels): Fix pixel iteration.
2287         (setPixels): Add extra checks for index color model. Convert pixels
2288         to default color model if necessary.
2289         (convertColorModelToDefault): New override method for byte pixels.
2290         (convertColorModelToDefault): For int pixels, fix pixel iteration.
2291         (makeColorbyDefaultCM): New override method for byte pixels.
2292         (makeColorbyDefaultCM): For int pixel, add color model as argument.
2293         (makeColor): Fix pixel component order.
2295 2004-05-11  Kim Ho  <kho@redhat.com>
2297         * javax/swing/Box.java:
2298         Comment out more parts of Box.Filler.
2300 2004-05-11  Kim Ho  <kho@redhat.com>
2302         * javax/swing/Box.java:
2303         Remove reference to AccessibleAWTComponent so
2304         it compiles again.
2306 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
2308         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2309         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
2310         implementation of list peer to use GtkTreeView instead of
2311         deprecated GtkCList.
2313 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2315         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2316         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
2317         (handleEvent): Remove keyChar argument to
2318         gtkWidgetDispatchKeyEvent calls.
2319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
2320         compiler warnings.
2321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
2322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
2323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2324         Likewise.
2326 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2328         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2329         (gtkWidgetRequestFocus): Mark protected.
2330         (GtkComponentPeer): Only set the peer's bounds if its component
2331         is valid.
2332         * java/awt/Component.java (static): Set the default keyboard
2333         focus manager.
2334         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
2335         requestFocusInWindow(temporary)): Don't request focus if the
2336         component is not showing.  Get tree lock before traversing
2337         component hierarchy.
2338         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2339         Only set the global focus owner if it is not a Window.
2340         (processKeyEvent): Consume keystrokes associated with the focus
2341         traversal keystroke.
2342         (focusPreviousComponent, focusNextComponent, upFocusCycle,
2343         downFocusCycle): Call requestFocusInWindow instead of
2344         requestFocus.
2345         * java/awt/EventDispatchThread.java (run): Move setting of
2346         default keyboard focus manager to Component.java.
2347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2348         (awt_keycode_to_keysym): New function.
2349         (gtkWidgetDispatchKeyEvent): Finish implementation.
2350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2351         (pre_event_handler): Add FIXME comment.
2353         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2354         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2355         (gtkWidgetRequestFocus): New method.
2356         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
2357         disable Tab and Shift-Tab keystrokes.
2358         (addNotify, appendText, insertText, replaceText): Simplify peer
2359         retrieval code.
2360         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2361         (connectSignals): Remove connections to "commit" signals.
2362         Remove C++-style comments.
2364         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2365         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2366         (handleEvent): Activate GTK button when the space bar key is
2367         pressed.
2368         (gtkActivate): New method.
2370 2004-05-06  David Jee  <djee@redhat.com>
2372         * java/awt/image/CropImageFilter.java
2373         (setPixels): Implement for byte array pixels.
2374         * java/awt/image/ReplicateScaleFilter.java
2375         (setPixels): Implement for byte array pixels.
2376         (replicatePixels): Overload for byte array pixels.
2378 2004-05-06  Kim Ho  <kho@redhat.com>
2380         * javax/swing/Box.java:
2381         (getAccessibleContext): Return an instance of the 
2382         correct class.
2384 2004-05-05  David Jee  <djee@redhat.com>
2386         * gnu/java/awt/peer/gtk/GdkGraphics.java
2387         (drawImage): When component is null, use SystemColor.window as
2388         the default bgcolor.
2389         * gnu/java/awt/peer/gtk/GtkImage.java
2390         (setPixels): We can avoid iterating through the pixel rows only
2391         when height is 1.
2392         * java/awt/Image.java
2393         (getScaledInstance): Partially implement.
2394         * java/awt/image/CropImageFilter.java
2395         (setProperties): Fix "filter" property.
2396         (setPixels): Implement.
2397         * java/awt/image/ReplicateScaleFilter.java
2398         (setDimensions): Use scaled dimensions.
2399         (setPixels): Implement.
2400         (replicatePixels): New method.
2402 2004-05-05  David Jee  <djee@redhat.com>
2404         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2405         (convertPixels): If either pixels or model is null, return null.
2406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2407         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
2408         is null, do nothing and return.
2410 2004-05-03  Kim Ho  <kho@redhat.com>
2412         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
2413         (getGraphics): Like GtkFramePeer, the Graphics
2414         object needs to be translate to account for
2415         window decorations.
2416         (postMouseEvent): New method. Account for
2417         translation.
2418         (postExposeEvent): ditto.
2419         * javax/swing/Box.java: Stubbed.
2420         * javax/swing/JDialog.java: Ran through jalopy
2421         to fix indentation.
2422         (JDialog): Call SwingUtilities' getOwnerFrame
2423         for null owners.
2424         (setLayout): Check isRootPaneCheckingEnabled
2425         * javax/swing/JOptionPane.java: Re-implemented.
2426         * javax/swing/SwingUtilities.java:
2427         (getOwnerFrame): Static method to grab a default
2428         owner frame for Dialogs that don't specify owners.
2429         * javax/swing/event/SwingPropertyChangeSupport.java:
2430         (firePropertyChange): Fix early exit condition.
2431         * javax/swing/plaf/basic/BasicLabelUI.java:
2432         (paint): Avoid painting text if it is null 
2433         or empty.
2434         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2435         Implement.
2437 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
2439         * Makefile.am: Added new file.
2440         * Makefile.in: Regenerate.
2441         * javax/swing/JPopupMenu.java:
2442         Started implementation.
2443         * javax/swing/JWindow.java
2444         (JWindow): call super() if parent for window
2445         is not specified.
2446         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2447         New File. UI Delegate for JPopupMenu.
2449 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
2451         * javax/swing/JApplet.java: Indicated that JApplet
2452         implements RootPaneContainer and made method of this
2453         interface public. 
2454         * javax/swing/JFrame.java: Ditto.
2455         * javax/swing/JWindow.java: Ditto.
2456         
2457 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2460         (nativeSetBounds): Call gdk_window_move in addition to
2461         gtk_window_move.
2463         * java/applet/Applet.java (preferredSize): Call parent's
2464         preferredSize if the applet stub is null.
2465         (minimumSize): Likewise for parent's minimumSize.
2467 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
2469         * javax/swing/JMenuItem.java
2470         (createActionPropertyChangeListener): Implemented.
2471         (processMouseEvent): Ditto.
2472         (fireMenuDragMouseEntered): Ditto.
2473         (fireMenuDragMouseExited): Ditto.
2474         (fireMenuDragMouseDragged): Ditto.
2475         (fireMenuDragMouseReleased): Ditto.
2476         (menuSelectionChanged): Ditto.
2477         (getSubElements): Ditto.
2478         (getComponent): Ditto.
2479         (addMenuDragMouseListener): Ditto.
2480         (removeMenuDragMouseListener):Ditto.
2481         (addMenuKeyListener): Ditto.
2482         (removeMenuKeyListener): Ditto.
2483         * javax/swing/plaf/basic/BasicMenuItemUI.java
2484         (doClick): Imlemented.
2485         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
2486         Don't handle mouse events here. Pass them to 
2487         MenuSelectionManager.
2488         
2489 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
2490         Used correct version of jalopy configuration
2491         file to fix style in the files below.
2493 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
2495         * javax/swing/JCheckBoxMenuItem.java: 
2496         Fixed style and removed unnecessary comments.
2497         * javax/swing/JMenuItem.java: Ditto.
2498         * javax/swing/JRadioButtonMenuItem.java: Ditto.
2499         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
2500         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
2501         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
2503 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2505         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
2506         C-style.
2508         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
2510         * java/awt/ContainerOrderFocusTraversalPolicy.java
2511         (getComponentAfter): Start from current component and work up
2512         the component hierarchy until an acceptable component is found.
2513         Synchronize on tree lock.
2514         (getComponentBefore): Likewise.
2516 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2518         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
2519         focus-related debugging messages.
2520         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
2521         * java/awt/EventDispatchThread.java: Likewise.
2522         * java/awt/KeyboardFocusManager.java: Likewise.
2523         * java/awt/Window.java: Likewise.
2524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
2527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
2528         new C++-style comments to C-style comments.
2529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
2531         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2532         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2533         (handleEvent): Dispatch key press and key release events to
2534         backing widget.
2535         (requestFocus): Post a FOCUS_GAINED event to the event queue.
2536         (gtkWidgetRequestFocus): New method.
2537         (gtkWidgetDispatchKeyEvent): Likewise.
2538         * java/awt/Component.java (requestFocus, requestFocus(boolean),
2539         requestFocusInWindow, requestFocusInWindow(boolean),
2540         getFocusCycleRootAncestor, nextFocus, transferFocus,
2541         transferFocusBackward, transferFocusUpCycle, hasFocus,
2542         isFocusOwner): Implement and document focus-handling methods.
2543         (setFocusTraversalKeys): Inherit focus traversal keys when
2544         keystrokes argument is null.  Fix focus-handling documentation
2545         throughout class.
2546         * java/awt/Container.java (setFocusTraversalKeys,
2547         getFocusTraversalKeys, areFocusTraversalKeysSet,
2548         isFocusCycleRoot, setFocusTraversalPolicy,
2549         getFocusTraversalPolicy, isFocusTraversalPolicySet,
2550         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
2551         Implement and document focus-handling methods.
2552         (transferFocusBackward): Remove method.
2553         (readObject, writeObject): Implement and document serialization
2554         methods.
2555         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
2556         and document.
2557         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
2558         document.
2559         * java/awt/DefaultKeyboardFocusManager.java: Implement and
2560         partially document.
2561         * java/awt/EventDispatchThread.java (run): Set default keyboard
2562         focus manager.  Attempt to dispatch each event to the keyboard
2563         focus manager before normal dispatch.
2564         * java/awt/KeyboardFocusManager.java: Implement and partially
2565         document.
2566         * java/awt/Window.java (Window): Set focusCycleRoot to true.
2567         (show): Focus initial component when window is shown for the
2568         first time.
2569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2570         (pre_event_handler): Replace complex key press and key release
2571         logic with simple callbacks into GtkComponentPeer.
2572         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
2574 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
2576         * javax/swing/MenuSelectionManager.java
2577         (componentForPoint): Added new method. 
2578         (defaultManager): New Method. Implemented.
2579         (getSelectedPath): Ditto.
2580         (isComponentPartOfCurrentMenu): Ditto.
2581         (processKeyEvent): Added new method.
2582         (processMouseEvent): New Method. Implemented.
2583         (setSelectedPath): Ditto.
2584         (getPath): Ditto.
2586 2004-04-19  Kim Ho  <kho@redhat.com>
2588         * java/awt/Container.java: 
2589         (remove): Set the component's parent to null.
2590         (getComponentAt): Implement.
2591         * javax/swing/JComponent.java:
2592         (JComponent): Initialize defaultLocale
2593         (getDefaultLocale): Implement.
2594         (setDefaultLocale): ditto.
2595         * javax/swing/JSlider.java:
2596         (JSlider): Fix calculation of value.
2597         * javax/swing/JSplitPane.java: Implement.
2598         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2599         Change SplitPane's default divider size.
2600         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2601         (paint): Remove unused code.
2602         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2603         Added comments and ran through jalopy.
2604         (setBasicSplitPaneUI): Get reference to hidden divider
2605         and set up one touch buttons if necessary.
2606         (setBorder): Fire propertyChangeEvent only if 
2607         borders are different.
2608         (getPreferredSize): Defer to layout manager.
2609         (propertyChange): Implement.
2610         (oneTouchExpandableChanged): ditto.
2611         (createLeftOneTouchButton): Use BasicArrowButton.
2612         (createRightOneTouchButton): ditto.
2613         (moveDividerTo): New method. Moves the divider
2614         to a set location based on the last divider location.
2615         (BasicSplitPaneDivider::MouseHandler): Implement.
2616         (BasicSplitPaneDivider::OneTouchButton): Removed.
2617         (BasicSplitPaneDivider::DragController): Implement.
2618         (BasicSplitPaneDivider::VerticalDragController):
2619         ditto.
2620         (BasicSplitPaneDivider::DividerLayout): ditto.
2621         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
2622         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2623         (calculateLayoutInfo): Don't show component if it's
2624         null.
2625         (paintTab): Fix title paint logic.
2627 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
2629         PR libgcj/8321
2630         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
2631         (setStartRule,setEndRule): Don't take abs of day number.
2632         (getOffset): Clarify docs.  Add argument checks.
2633         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
2634         (equals,hasSameRules,toString,readObject): Use startTimeMode and
2635         endTimeMode.
2636         * testsuite/libjava.mauve/xfails
2637         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
2639 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
2641         Layout interfaces during preparation, not initialization. 
2642         * java/lang/natClass.cc (initializeClass): Move 
2643         _Jv_LayoutInterfaceMethods call...
2644         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
2646 2004-05-19  Anthony Green  <green@localhost.localdomain>
2648         * Makefile.am (awt_java_source_files): Remove javax.rmi and
2649         gnu.javax.rmi code.
2650         * Makefile.in: Rebuilt.
2651         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
2652         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
2653         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
2654         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
2655         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
2656         gnu/javax/rmi/CORBA/DelegateFactory.java,
2657         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2658         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2659         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2660         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2661         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2662         gnu/javax/rmi/PortableServer.java: Remove files.
2664 2004-05-19  Anthony Green  <green@redhat.com>
2666         * Makefile.am: Define JAVA_EXT_DIRS.
2667         * Makefile.in: Rebuilt.
2668         * java/lang/natRuntime.cc (insertSystemProperties): Set
2669         java.ext.dirs property.
2671 2004-05-16  Mark Wielaard  <mark@klomp.org>
2673         * java/io/Writer.java (Writer(Object)): Check for null lock object.
2675 2004-05-15  Mark Wielaard  <mark@klomp.org>
2677         * doc/cni.sgml: Removed, merged into gcj.texi.
2679 2004-05-15  Mark Wielaard  <mark@klomp.org>
2681         * Makefile.am (ordinary_java_source_files): Add new javax.print
2682         classes.
2683         * Makefile.in: Regenerated.
2685 2004-05-15  Michael Koch  <konqueror@gmx.de>
2687         * javax/print/attribute/standard/DateTimeAtCompleted.java,
2688         javax/print/attribute/standard/DateTimeAtCreation.java,
2689         javax/print/attribute/standard/DateTimeAtProcessing.java,
2690         javax/print/attribute/standard/DocumentName.java,
2691         javax/print/attribute/standard/JobHoldUntil.java,
2692         javax/print/attribute/standard/JobImpressionsCompleted.java,
2693         javax/print/attribute/standard/JobMessageFromOperator.java,
2694         javax/print/attribute/standard/JobName.java,
2695         javax/print/attribute/standard/JobOriginatingUserName.java,
2696         javax/print/attribute/standard/JobPriority.java,
2697         javax/print/attribute/standard/JobPrioritySupported.java,
2698         javax/print/attribute/standard/NumberOfInterveningJobs.java,
2699         javax/print/attribute/standard/OutputDeviceAssigned.java,
2700         javax/print/attribute/standard/PrinterInfo.java,
2701         javax/print/attribute/standard/PrinterLocation.java,
2702         javax/print/attribute/standard/PrinterMakeAndModel.java,
2703         javax/print/attribute/standard/PrinterMessageFromOperator.java,
2704         javax/print/attribute/standard/PrinterName.java,
2705         javax/print/attribute/standard/QueuedJobCount.java,
2706         javax/print/attribute/standard/RequestingUserName.java:
2707         Fixed javadocs all over.
2709 2004-05-15  Michael Koch  <konqueror@gmx.de>
2711         * javax/print/DocFlavor.java,
2712         javax/print/attribute/standard/ColorSupported.java,
2713         javax/print/attribute/standard/Compression.java,
2714         javax/print/attribute/standard/CopiesSupported.java,
2715         javax/print/attribute/standard/Fidelity.java,
2716         javax/print/attribute/standard/Finishings.java,
2717         javax/print/attribute/standard/JobImpressionsSupported.java,
2718         javax/print/attribute/standard/JobKOctetsSupported.java,
2719         javax/print/attribute/standard/JobMediaSheetsSupported.java,
2720         javax/print/attribute/standard/JobSheets.java,
2721         javax/print/attribute/standard/JobState.java,
2722         javax/print/attribute/standard/JobStateReason.java,
2723         javax/print/attribute/standard/JobStateReasons.java,
2724         javax/print/attribute/standard/Media.java,
2725         javax/print/attribute/standard/MediaSizeName.java,
2726         javax/print/attribute/standard/MultipleDocumentHandling.java,
2727         javax/print/attribute/standard/NumberUpSupported.java,
2728         javax/print/attribute/standard/OrientationRequested.java,
2729         javax/print/attribute/standard/PDLOverrideSupported.java,
2730         javax/print/attribute/standard/PageRanges.java,
2731         javax/print/attribute/standard/PresentationDirection.java,
2732         javax/print/attribute/standard/PrintQuality.java,
2733         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
2734         javax/print/attribute/standard/PrinterMoreInfo.java,
2735         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
2736         javax/print/attribute/standard/PrinterResolution.java,
2737         javax/print/attribute/standard/PrinterState.java,
2738         javax/print/attribute/standard/PrinterStateReason.java,
2739         javax/print/attribute/standard/PrinterStateReasons.java,
2740         javax/print/attribute/standard/PrinterURI.java,
2741         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
2742         javax/print/attribute/standard/Severity.java,
2743         javax/print/attribute/standard/SheetCollate.java,
2744         javax/print/attribute/standard/Sides.java:
2745         Added serialVersionUID and removed final keyword where it doenst
2746         belong.
2748 2004-05-15  Michael Koch  <konqueror@gmx.de>
2750         * javax/print/PrintServiceLookup.java: New file.
2752 2004-05-15  Michael Koch  <konqueror@gmx.de>
2754         * javax/print/DocFlavor.java:
2755         Implemented all flavor classes.
2757 2004-05-15  Michael Koch  <konqueror@gmx.de>
2759         * javax/print/attribute/standard/ColorSupported.java,
2760         javax/print/attribute/standard/Compression.java,
2761         javax/print/attribute/standard/CopiesSupported.java,
2762         javax/print/attribute/standard/Fidelity.java,
2763         javax/print/attribute/standard/Finishings.java,
2764         javax/print/attribute/standard/JobImpressionsSupported.java,
2765         javax/print/attribute/standard/JobKOctetsSupported.java,
2766         javax/print/attribute/standard/JobMediaSheetsSupported.java,
2767         javax/print/attribute/standard/JobSheets.java,
2768         javax/print/attribute/standard/JobState.java,
2769         javax/print/attribute/standard/JobStateReason.java,
2770         javax/print/attribute/standard/JobStateReasons.java,
2771         javax/print/attribute/standard/Media.java,
2772         javax/print/attribute/standard/MediaSizeName.java,
2773         javax/print/attribute/standard/MultipleDocumentHandling.java,
2774         javax/print/attribute/standard/NumberUpSupported.java,
2775         javax/print/attribute/standard/OrientationRequested.java,
2776         javax/print/attribute/standard/PDLOverrideSupported.java,
2777         javax/print/attribute/standard/PageRanges.java,
2778         javax/print/attribute/standard/PresentationDirection.java,
2779         javax/print/attribute/standard/PrintQuality.java,
2780         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
2781         javax/print/attribute/standard/PrinterMoreInfo.java,
2782         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
2783         javax/print/attribute/standard/PrinterResolution.java,
2784         javax/print/attribute/standard/PrinterState.java,
2785         javax/print/attribute/standard/PrinterStateReason.java,
2786         javax/print/attribute/standard/PrinterStateReasons.java,
2787         javax/print/attribute/standard/PrinterURI.java,
2788         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
2789         javax/print/attribute/standard/Severity.java,
2790         javax/print/attribute/standard/SheetCollate.java,
2791         javax/print/attribute/standard/Sides.java: New files.
2793 2004-05-15  Michael Koch  <konqueror@gmx.de>
2795         * javax/print/Doc.java
2796         (getPrintData): Throws IOException.
2797         (getReaderForText): Likewise.
2798         (getStreamForBytes): Likewise.
2799         * javax/print/DocFlavor.java:
2800         Fixed filename in copyright.
2801         (serialVersionUID): New field.
2802         * javax/print/ServiceUIFactory.java:
2803         Made all constants final.
2804         * javax/print/AttributeException.java
2805         javax/print/MultiDoc.java
2806         javax/print/MultiDocPrintJob.java
2807         javax/print/MultiDocPrintService.java
2808         javax/print/StreamPrintService.java
2809         javax/print/URIException.java: New files.
2810         * javax/print/Makefile.am
2811         (EXTRA_DIST): Added all new files.
2813 2004-05-15  Michael Koch  <konqueror@gmx.de>
2815         * javax/print/attribute/standard/Copies.java,
2816         javax/print/attribute/standard/DateTimeAtCompleted.java,
2817         javax/print/attribute/standard/DateTimeAtCreation.java,
2818         javax/print/attribute/standard/DateTimeAtProcessing.java,
2819         javax/print/attribute/standard/DocumentName.java,
2820         javax/print/attribute/standard/JobHoldUntil.java,
2821         javax/print/attribute/standard/JobImpressions.java,
2822         javax/print/attribute/standard/JobImpressionsCompleted.java,
2823         javax/print/attribute/standard/JobKOctets.java,
2824         javax/print/attribute/standard/JobKOctetsProcessed.java,
2825         javax/print/attribute/standard/JobMediaSheets.java,
2826         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
2827         javax/print/attribute/standard/JobMessageFromOperator.java,
2828         javax/print/attribute/standard/JobName.java,
2829         javax/print/attribute/standard/JobOriginatingUserName.java,
2830         javax/print/attribute/standard/JobPriority.java,
2831         javax/print/attribute/standard/JobPrioritySupported.java,
2832         javax/print/attribute/standard/NumberOfDocuments.java,
2833         javax/print/attribute/standard/NumberOfInterveningJobs.java,
2834         javax/print/attribute/standard/NumberUp.java,
2835         javax/print/attribute/standard/OutputDeviceAssigned.java,
2836         javax/print/attribute/standard/PagesPerMinute.java,
2837         javax/print/attribute/standard/PagesPerMinuteColor.java:
2838         Fixed @return tag all over.
2840 2004-05-15  Michael Koch  <konqueror@gmx.de>
2842         * javax/print/attribute/AttributeSetUtilities.java
2843         (verifyCategoryForValue): Fixed typo in javadoc.
2844         * javax/print/attribute/HashAttributeSet.java
2845         (containsKey): Fixed @return tag.
2846         (comtainsValue): Likewise.
2847         (equals): Likewise.
2848         * javax/print/attribute/IntegerSyntax.java
2849         (equals): Likewise.
2850         * javax/print/attribute/ResolutionSyntax.java
2851         (equals): Likewise.
2852         (getCrossFeedResolution): Removed unused code.
2853         (getFeedResolution): Likewise.
2854         * javax/print/attribute/SetOfIntegerSyntax.java
2855         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
2856         (equals): Fixed @return tag.
2857         * javax/print/attribute/TextSyntax.java
2858         (TextSyntax): Take locale into account.
2859         (hashCode): Better implementation.
2861 2004-05-15  Michael Koch  <konqueror@gmx.de>
2863         * javax/print/CancelablePrintJob.java,
2864         javax/print/Doc.java,
2865         javax/print/DocFlavor.java,
2866         javax/print/DocPrintJob.java,
2867         javax/print/FlavorException.java,
2868         javax/print/PrintException.java,
2869         javax/print/PrintService.java,
2870         javax/print/ServiceUIFactory.java: New files.
2872 2004-05-15  Mark Wielaard  <mark@klomp.org>
2874         * gnu/regexp/CharIndexedReader.java: Removed.
2875         * gnu/regexp/REFilterReader.java: Likewise.
2876         * gnu/regexp/RETokenLookAhead.java: Likewise.
2877         * Makefile.am (ordinary_java_source_files): Remove above classes.
2878         * Makefile.in: Regenerated.
2880 2004-05-14  Tom Tromey  <tromey@redhat.com>
2882         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
2883         not `XGraphicsConfiguration.XOffScreenImage'.
2885 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
2887         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
2889 2004-05-14  Steven Augart  <augart@watson.ibm.com>
2891         * include/jni.h (_Jv_func): Removed.
2892         (struct JNINativeInterface): Use `void *' for reserved slots.
2893         (struct JNIInvokeInterface): Likewise.
2895 2004-05-11  Michael Koch  <konqueror@gmx.de>
2897         * gnu/java/net/natPlainSocketImplPosix.cc
2898         (read): Fixed typo in expression.
2900 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
2902         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
2903         ld_library_additions. Adjust all calls to libjava_invoke to match
2904         the new argument.
2906         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
2907         path to cxxflagslist.
2908         Pass path of libstdc++ to libjava_invoke.
2910         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
2911         libjava_invoke arguments.
2913 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
2915         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
2916         reality.
2918 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
2920         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
2921         main binary against the JNI shared library.
2923 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
2925         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
2926         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
2927         (SimpleTimeZone): Tweak docs.  Add new variation.
2928         (setStartRule,setEndRule): Add new variations.  Use
2929         startTimeMode and endTimeMode.
2931 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
2933         * java/util/Calendar.java (getActualMinimum,
2934         getActualMaximum):  Remove abstract.  Implement.
2936 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
2938         Run the jni tests using the interpreter.
2939         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
2940         options_cxx to shared lib compile command.
2941         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
2942         they are used to link the shared lib, not the main binary.
2943         Use libjava_invoke to run gij.
2945 2004-05-06  Michael Koch  <konqueror@gmx.de>
2947         * java/util/logging/Level.java
2948         (parse): Use == instead of String.equals().
2950 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
2952         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
2953         verify_field_signature and verify_method_signature, not 
2954         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
2955         (_Jv_ClassReader::handleField): Likewise.
2956         (_Jv_ClassReader::handleMethod): Likewise.
2958 2004-05-06  Michael Koch  <konqueror@gmx.de>
2960         * javax/swing/table/TableColumn.java:
2961         Reformated.
2963 2004-05-06  Michael Koch  <konqueror@gmx.de>
2965         * javax/imageio/spi/ImageReaderWriterSpi.java
2966         (ImageReaderWriterSpi): Made it public.
2967         * javax/imageio/stream/ImageInputStream.java:
2968         Clean up imports.
2970 2004-05-06  Michael Koch  <konqueror@gmx.de>
2972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2973         Removed empty line.
2975 2004-05-06  Michael Koch  <konqueror@gmx.de>
2977         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
2978         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
2979         New files.
2980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
2981         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
2982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
2983         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
2984         their own source file.
2985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2986         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
2987         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
2988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2989         (create): Define variable on top of function.
2990         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2991         (menu_pos): Prototyped.
2992         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2993         (setTitle): Removed.
2994         * jni/gtk-peer/gthread-jni.c
2995         (gdk_threads_wake): Removed.
2996         * Makefile.am (gtk_c_source_files): Added new files
2997         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
2998         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
2999         * Makefile.in: Regenerated.
3001 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
3003         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
3004         call.
3006 2004-05-05  Mark Wielaard  <mark@klomp.org>
3008         * javax/swing/AbstractButton.java: Replace special HTML entities with
3009         ASCII equivalent.
3010         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
3011         * javax/swing/DefaultButtonModel.java: Likewise.
3012         * javax/swing/DefaultListModel.java: Likewise.
3013         * javax/swing/JList.java: Likewise.
3014         * javax/swing/JSlider.java: Likewise.
3015         * javax/swing/ListModel.java: Likewise.
3016         * javax/swing/Popup.java: Likewise.
3017         * javax/swing/SwingUtilities.java: Likewise.
3019 2004-05-05  Michael Koch  <konqueror@gmx.de>
3021         * javax/swing/AbstractButton.java,
3022         javax/swing/ActionMap.java,
3023         javax/swing/DefaultButtonModel.java,
3024         javax/swing/DefaultListModel.java,
3025         javax/swing/ImageIcon.java,
3026         javax/swing/JComboBox.java,
3027         javax/swing/JComponent.java,
3028         javax/swing/JFrame.java,
3029         javax/swing/JInternalFrame.java,
3030         javax/swing/JMenuBar.java,
3031         javax/swing/JMenuItem.java,
3032         javax/swing/JOptionPane.java,
3033         javax/swing/JProgressBar.java,
3034         javax/swing/JRootPane.java,
3035         javax/swing/JScrollBar.java,
3036         javax/swing/JScrollPane.java,
3037         javax/swing/JSeparator.java,
3038         javax/swing/JSlider.java,
3039         javax/swing/JTabbedPane.java,
3040         javax/swing/JTable.java,
3041         javax/swing/JTextField.java,
3042         javax/swing/JToolBar.java,
3043         javax/swing/JToolTip.java,
3044         javax/swing/JTree.java,
3045         javax/swing/JViewport.java,
3046         javax/swing/JWindow.java,
3047         javax/swing/KeyStroke.java,
3048         javax/swing/LookAndFeel.java,
3049         javax/swing/SwingUtilities.java,
3050         javax/swing/Timer.java,
3051         javax/swing/ToolTipManager.java,
3052         javax/swing/UIDefaults.java,
3053         javax/swing/border/TitledBorder.java,
3054         javax/swing/filechooser/FileSystemView.java,
3055         javax/swing/plaf/basic/BasicButtonListener.java,
3056         javax/swing/plaf/basic/BasicButtonUI.java,
3057         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
3058         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3059         javax/swing/plaf/basic/BasicLabelUI.java,
3060         javax/swing/plaf/basic/BasicMenuItemUI.java,
3061         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
3062         javax/swing/plaf/basic/BasicRootPaneUI.java,
3063         javax/swing/plaf/basic/BasicScrollBarUI.java,
3064         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3065         javax/swing/plaf/basic/BasicSliderUI.java,
3066         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3067         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3068         javax/swing/table/JTableHeader.java,
3069         javax/swing/text/AbstractDocument.java,
3070         javax/swing/text/DefaultCaret.java,
3071         javax/swing/text/StyledEditorKit.java,
3072         javax/swing/tree/DefaultTreeCellEditor.java:
3073         Cleaned up imports.
3075 2004-05-05  Michael Koch  <konqueror@gmx.de>
3077         * java/util/prefs/AbstractPreferences.java
3078         (AbstractPreferences): Added parenthesis for clarity.
3079         Closes classpath bug #7940.
3081 2004-05-05  Tom Tromey  <tromey@redhat.com>
3083         * javax/naming/CompoundName.java (endsWith): Look at correct
3084         element of source name.
3086 2004-05-05  Mark Wielaard  <mark@klomp.org>
3088         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
3089         * java/util/HashMap.java (rehash): Add entry at start of bucket.
3091 2004-05-05  Tom Tromey  <tromey@redhat.com>
3093         * java/io/BufferedReader.java (skip): Removed unused
3094         variable.
3096 2004-05-05  Michael Koch  <konqueror@gmx.de>
3098         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
3100 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
3102         * java/text/AttributedString.java,
3103         java/text/AttributedStringIterator.java,
3104         java/text/Collator.java,
3105         java/text/DecimalFormatSymbols.java,
3106         java/text/NumberFormat.java,
3107         java/text/RuleBasedCollator.java:
3108         Cleaned up imports.
3110 2004-05-05  Tom Tromey  <tromey@redhat.com>
3112         * java/text/Format.java: Cleaned up imports.
3113         * java/text/DecimalFormat.java: Cleaned up imports.
3114         * java/security/SecureRandom.java: Cleaned up imports.
3115         (SecureRandom): Removed unused variable.
3116         * java/security/UnresolvedPermission.java: Cleaned up imports.
3117         * java/util/Date.java (parse): Removed unused variable.
3118         * java/util/ResourceBundle.java: Cleaned up imports.
3119         (getBundle): Removed unused variable.
3120         (tryBundle): Likewise.
3121         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
3123 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
3125         * java/text/SimpleDateFormat.java:
3126         (formatWithAttribute): New method. It implements
3127         the formatting process with attributes.
3128         (format): Use formatWithAttribute.
3129         (formatToCharacterIterator): New method. Use
3130         formatWithAttribute.
3132 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
3134         * java/text/MessageFormat.java:
3135         (class Field): New class.
3136         (formatToCharacterIterator): New method.
3137         (format): Use formatInternal now.
3138         (formatInternal): New method. String formatter should
3139         be done here (with attributes). Attributes merging supported.
3140         (parse): More documentation.
3141         (getFormatsByArgumentIndex): New method.
3142         (setFormatByArgumentIndex): New method.
3143         (setFormatsByArgumentIndex): New method.
3145 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
3147         * java/text/DecimalFormat.java
3148         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
3149         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
3150         (parse): Fixed handling of exponentiation notation and grouping.
3152 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
3154         * java/text/DecimalFormat.java
3155         (scanFix): Build attribute array. Fixed error reporting.
3156         (applyPatternWithSymbols): Store attributes for the prefix and
3157         suffix.
3158         (formatInternal): New method. Changed the way the string is
3159         computed. Implemented attributes. Cleant up rounding in
3160         exponential notation.
3161         (format): Use formatInternal.
3162         (formatToCharacterIterator): New method.
3163         (exponentRound, negativePrefixRanges, positivePrefixRanges,
3164         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
3165         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
3166         New fields.
3168 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
3170         * java/security/interfaces/DSAKeyPairGenerator.java,
3171         java/security/interfaces/DSAPrivateKey.java,
3172         java/security/interfaces/DSAPublicKey.java,
3173         java/security/interfaces/RSAPrivateKey.java,
3174         java/security/interfaces/RSAPublicKey.java:
3175         Cleaned up imports.
3177 2004-05-04  Michael Koch  <konqueror@gmx.de>
3179         * java/nio/ByteBuffer.java,
3180         java/nio/CharBuffer.java,
3181         java/nio/DoubleBuffer.java,
3182         java/nio/FloatBuffer.java,
3183         java/nio/IntBuffer.java,
3184         java/nio/LongBuffer.java,
3185         java/nio/ShortBuffer.java:
3186         (compareTo): Fixed bogus implementation in all buffer classes.
3188 2004-05-04  Ingo Proetel  <proetel@aicas.com>
3190         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
3191         32 bit pixels not 8 bit pixels.
3192         (isCompatibleRaster): Added javadoc comment.
3194 2004-05-04  Ingo Proetel  <proetel@aicas.com>
3196         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
3197         scanline stride.
3199 2004-05-04  Ingo Proetel  <proetel@aicas.com>
3201         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
3202         (getColorModel): Return the actual color model.
3203         (getRaster): Implemented.
3204         (ColorRaster): New inner class.
3205         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
3206         a PaintContext.
3207         * java/awt/Color.java (<init>): Make exception more verbose.
3208         (createContext): Use ColorModel when creating a PaintContext.
3210 2004-05-04  Michael Koch  <konqueror@gmx.de>
3212         * gnu/java/text/CharacterBreakIterator.java
3213         (previous): Removed unused variable.
3215 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
3217         * gnu/java/text/FormatBuffer.java,
3218         gnu/java/text/AttributedFormatBuffer.java,
3219         gnu/java/text/StringFormatBuffer.java: New classes to implement
3220         attributed iterators in java.text.
3221         * gnu/java/text/FormatCharacterIterator.java: Moved 
3222         from java/text as it is an internal class.
3223         * java/text/FormatCharacterIterator.java: Removed.
3224         * java/text/Format.java:
3225         Import gnu.java.text.FormatCharacterIterator.
3226         * Makefile.am (java_source_files): Added new files.
3227         * Makefile.in: Regenerated.
3228         
3230 2004-05-04  Mark Wielaard  <mark@klomp.org>
3232         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
3234 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
3236         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
3237         * Makefile.in: Rebuilt.
3239 2004-05-03  Mark Wielaard  <mark@klomp.org>
3241         * gnu/java/security/der/DERReader.java: Call static methods staticly.
3242         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
3243         * java/net/URL.java
3244         (set(String, String, int, String, String, String, String, String)):
3245         Assign this.file to path or path + "?" + query.
3246         * java/util/Arrays.java: Call static methods staticly.
3247         * java/util/zip/ZipEntry.java: Likewise.
3248         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
3249         dir to this.direction.
3250         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
3251         Assign static field only once.
3252         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
3254 2004-05-03  Mark Wielaard  <mark@klomp.org>
3256         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
3257         unused variables hScrollbarHeight and vScrollbarWidth.
3258         (preferredSize): Likewise.
3259         * gnu/java/security/provider/DSAParameters.java (engineToString):
3260         Removed unused call to System.getProperty("line.seperator");
3261         * java/security/Security.java (loadProviders): Return result.
3263 2004-05-03  Tom Tromey  <tromey@redhat.com>
3265         * java/net/URLStreamHandler.java (toExternalForm): Removed
3266         unused variables.
3267         unused constructor.
3268         * java/math/BigDecimal.java (divide): Removed unused variable.
3269         * java/lang/Throwable.java: Cleaned up imports.
3270         * java/lang/ClassLoader.java: Cleaned up imports.
3271         * java/io/FilePermission.java (implies): Removed unused
3272         variable.
3273         * java/awt/TextComponent.java: Removed unused import.
3274         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
3275         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
3276         * gnu/java/text/WordBreakIterator.java: Removed unused import.
3277         * gnu/java/text/SentenceBreakIterator.java: Removed unused
3278         import.
3279         * gnu/java/text/LineBreakIterator.java: Removed unused import.
3280         * gnu/java/text/CharacterBreakIterator.java: Removed
3281         unused import.
3282         * gnu/java/security/provider/DSAKeyPairGenerator.java:
3283         Cleaned up imports.
3284         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
3285         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
3286         unused method.
3287         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
3288         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
3289         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
3290         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
3291         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
3292         (lookupProviders): Removed unused variable.
3293         (loadNextServiceProvider): Likewise.
3294         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
3296 2004-05-03  Michael Koch  <konqueror@gmx.de>
3298         Fixes PR libgcj/14695:
3299         * java/net/NetworkInterface.java
3300         (getByName): Return null when no interface was found.
3302 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
3303             Tom Tromey  <tromey@redhat.com>
3305         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
3306         additional option "-Wmissing-prototypes" for compiling C sources.
3307         Print actual filename for pass/fail rather than $name.c.
3308         * testsuite/libjava.jni/PR15133.java: New testcase file.
3309         * testsuite/libjava.jni/PR15133.c: Likewise.
3310         * testsuite/libjava.jni/PR15133.out: Likewise.
3312 2004-04-30  Roger Sayle  <roger@eyesopen.com>
3314         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
3315         ceil and floor.
3317 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
3318         
3319         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
3320         limit the maximum heap size to avoid unnecessary thrashing.
3322 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
3324         * java/text/CollationElementIterator.java (reset): Reset
3325         lookahead variables.
3327 2004-04-23  Mark Wielaard  <mark@klomp.org>
3329         * jni/classpath/jcl.c: Changed C++ comments into C comments.
3331 2004-04-23 Dalibor Topic <robilad@kaffe.org>
3333         * java/sql/DriverManager.java:
3334         Cleaned up imports.
3336 2004-04-23  Michael Koch  <konqueror@gmx.de>
3338         * java/net/URL.java
3339         (hashcode): Don't initialize with default value explicitely.
3340         (getContent): Removed redundant "final" keyword.
3341         (openStream): Likewise.
3342         (getURLStreamHandler): Fixed coding style.
3343         * java/net/URLConnection.java
3344         (defaultAllowUserInteraction): Don't initialize with default value
3345         explicitely.
3346         (connected): Likewise.
3347         (doOutput): Likewise.
3348         (ifModifiedSince): Likewise.
3349         (dateformats_initialized): Likewise.
3350         (setURLStreamHander): Use StreamTokenizer where it belongs to.
3352 2004-04-23  Michael Koch  <konqueror@gmx.de>
3354         * gnu/java/nio/channels/FileChannelImpl.java
3355         (SET, CUR): Unused, removed.
3356         (read): Implement here directly.
3357         (implRead): Removed.
3358         (write): Implement here directly.
3359         (implWrite): Removed.
3361 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
3363         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3364         javax/rmi/CORBA/Stub.java,
3365         javax/rmi/CORBA/Util.java,
3366         javax/rmi/CORBA/ValueHandler.java,
3367         javax/rmi/CORBA/ValueHandler.java,
3368         javax/rmi/PortableRemoteObject.java:
3369         Cleaned up imports.
3371 2004-04-23 Dalibor Topic <robilad@kaffe.org>
3373         * java/util/jar/JarFile.java,
3374         java/util/jar/JarInputStream.java,
3375         java/util/jar/JarOutputStream.java,
3376         java/util/jar/Manifest.java:
3377         Cleaned up imports.
3379 2004-04-23 Dalibor Topic <robilad@kaffe.org>
3381         * java/util/ArrayList.java,
3382         java/util/Calendar.java,
3383         java/util/Currency.java,
3384         java/util/HashMap.java,
3385         java/util/HashSet.java,
3386         java/util/Hashtable.java,
3387         java/util/LinkedList.java,
3388         java/util/Properties.java,
3389         java/util/PropertyPermission.java,
3390         java/util/TimeZone.java,
3391         java/util/TreeMap.java,
3392         java/util/TreeSet.java,
3393         java/util/Vector.java,
3394         java/util/WeakHashMap.java:
3395         Cleaned up imports.
3397 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
3399         * java/util/logging/FileHandler.java,
3400         java/util/logging/Formatter.java,
3401         java/util/logging/Handler.java,
3402         java/util/logging/Logger.java,
3403         java/util/logging/SimpleFormatter.java,
3404         java/util/logging/XMLFormatter.java:
3405         Cleaned up imports.
3407 2004-04-22  Mark Wielaard  <mark@klomp.org>
3409         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
3410         -Wno-long-long flags variable.
3411         (gtk_c_files): Use PEDANTIC_CFLAGS.
3412         * Makefile.in: Regenerated.
3414 2004-04-22  Mark Wielaard  <mark@klomp.org>
3416         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3417         Changed C++ comments into C comments.
3418         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
3419         Likewise.
3421 2004-04-22  Michael Koch  <konqueror@gmx.de>
3423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3424         Merged copyright year with GNU classpath.
3426 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
3428         * javax/security/auth/x500/X500Principal.java:
3429         Cleaned up imports.
3431 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
3433         * javax/swing/JSlider.java:
3434         Fixed HTML tags in comments.
3436 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
3438         * javax/accessibility/AccessibleText.java:
3439         Cleaned up imports.
3441 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
3443         * java/net/URLStreamHandler.java
3444         (parseURL): Convert the file path to using '/' instead of native
3445         file separator.
3447 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
3449         * java/net/URL.java
3450         (userInfo): New field.
3451         (URL): Set authority to the right value.
3452         (setURL): Fixed authority and file initialization.
3453         * java/net/URLStreamHandler.java
3454         (parseURL): Take care of the query tag. Build authority.
3455         (toExternalForm): Fixed URL building using authority.
3457 2004-04-22  Michael Koch  <konqueror@gmx.de>
3459         * java/net/Socket.java
3460         (impl): Made package-private.
3461         * java/net/ServerSocket.java
3462         (implAccept): Access Socket.impl field directly.
3464 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
3466         * java/util/prefs/Preferences.java,
3467         java/util/prefs/InvalidPreferencesFormatException.java,
3468         java/util/prefs/BackingStoreException.java,
3469         java/util/prefs/AbstractPreferences.java:
3470         Cleaned up imports.
3472 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
3474         * java/util/regex/Matcher.java,
3475         java/util/regex/Pattern.java:
3476         Cleaned up imports.
3478 2004-04-22  Michael Koch  <konqueror@gmx.de>
3480         * java/nio/charset/IllegalCharsetNameException.java
3481         (charsetName): Made private.
3482         (IllegalCharsetNameException): Added @param tag to javadoc.
3483         (getCharsetName): Added @return tag to javadoc.
3484         * java/nio/charset/MalformedInputException.java
3485         (MalformedInputException): Added @param tag to javadoc.
3486         (getInputLength): Revised method description, added @return tag.
3487         (getMessage): Added @return tag.
3489 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
3491         * java/awt/Font.java (deriveFont): Implement missing variants.
3492         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
3493         missing variants.
3495 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
3497         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
3498         Set method->index values for interface methods to their itable index.
3499         (initializeClass): Call _Jv_LayoutInterfaceMethods.
3501 2004-04-21  Michael Koch  <konqueror@gmx.de>
3503         * java/nio/DirectByteBufferImpl.java
3504         (shiftDown): Made static, give address as argument and
3505         provide a convenience method that overwrites shiftDown in
3506         ByteBufferImpl and calls the native shiftDown.
3507         * java/nio/MappedByteBufferImpl.java
3508         (): Use optimized method in DirectByteBufferImpl.
3509         * java/nio/natDirectByteBufferImpl.cc
3510         (shiftDown): Changed method signature. Removed usage of array_offset.
3512 2004-04-21  Michael Koch  <konqueror@gmx.de>
3514         * gnu/java/net/natPlainSocketImplPosix.cc
3515         (SocketInputStream::read): Make sure returned data is a byte value.
3517 2004-04-21  Michael Koch  <konqueror@gmx.de>
3519         * gnu/classpath/ServiceFactory.java,
3520         gnu/classpath/ServiceProviderLoadingAction.java,
3521         javax/imageio/ImageReader.java,
3522         javax/imageio/ImageTranscoder.java,
3523         javax/imageio/ImageWriter.java,
3524         javax/imageio/package.html,
3525         javax/imageio/spi/IIOServiceProvider.java,
3526         javax/imageio/spi/ImageInputStreamSpi.java,
3527         javax/imageio/spi/ImageOutputStreamSpi.java,
3528         javax/imageio/spi/ImageReaderWriterSpi.java,
3529         javax/imageio/spi/ImageTranscoderSpi.java,
3530         javax/imageio/spi/RegisterableService.java,
3531         javax/imageio/spi/ServiceRegistry.java,
3532         javax/imageio/spi/package.html,
3533         javax/imageio/stream/IIOByteBuffer.java,
3534         javax/imageio/stream/ImageInputStream.java,
3535         javax/imageio/stream/ImageOutputStream.java,
3536         javax/imageio/stream/package.html:
3537         New files.
3538         * Makefile.am
3539         (ordinary_java_source_files): Added
3540         gnu/classpath/ServiceFactory.java and
3541         gnu/classpath/ServiceProviderLoadingAction.java.
3542         (javax_source_files): Added
3543         javax/imageio/ImageReader.java,
3544         javax/imageio/ImageTranscoder.java,
3545         javax/imageio/ImageWriter.java,
3546         javax/imageio/spi/IIOServiceProvider.java,
3547         javax/imageio/spi/ImageInputStreamSpi.java,
3548         javax/imageio/spi/ImageOutputStreamSpi.java,
3549         javax/imageio/spi/ImageReaderWriterSpi.java,
3550         javax/imageio/spi/ImageTranscoderSpi.java,
3551         javax/imageio/spi/RegisterableService.java,
3552         javax/imageio/spi/ServiceRegistry.java,
3553         javax/imageio/stream/IIOByteBuffer.java,
3554         javax/imageio/stream/ImageInputStream.java and
3555         javax/imageio/stream/ImageOutputStream.java.
3556         * Makefile.in: Regenerated.
3558 2004-04-21  Michael Koch  <konqueror@gmx.de>
3560         * java/util/Properties.java
3561         (load): Fix wrongly merged fix.
3563 2004-04-21  Mark Wielaard  <mark@klomp.org>
3565         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
3566         malloc and free buf.
3568 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
3570         * javax/naming/AuthenticationException.java,
3571         javax/naming/AuthenticationNotSupportedException.java,
3572         javax/naming/CannotProceedException.java,
3573         javax/naming/CommunicationException.java,
3574         javax/naming/CompoundName.java,
3575         javax/naming/ConfigurationException.java,
3576         javax/naming/ContextNotEmptyException.java,
3577         javax/naming/InitialContext.java,
3578         javax/naming/InsufficientResourcesException.java,
3579         javax/naming/InterruptedNamingException.java,
3580         javax/naming/LimitExceededException.java,
3581         javax/naming/LinkException.java,
3582         javax/naming/LinkLoopException.java,
3583         javax/naming/LinkRef.java,
3584         javax/naming/MalformedLinkException.java,
3585         javax/naming/Name.java,
3586         javax/naming/NameAlreadyBoundException.java,
3587         javax/naming/NameNotFoundException.java,
3588         javax/naming/NamingSecurityException.java,
3589         javax/naming/NoInitialContextException.java,
3590         javax/naming/NoPermissionException.java,
3591         javax/naming/NotContextException.java,
3592         javax/naming/PartialResultException.java,
3593         javax/naming/ReferralException.java,
3594         javax/naming/ServiceUnavailableException.java,
3595         javax/naming/SizeLimitExceededException.java,
3596         javax/naming/TimeLimitExceededException.java,
3597         javax/naming/directory/Attribute.java,
3598         javax/naming/directory/Attributes.java,
3599         javax/naming/directory/SearchResult.java,
3600         javax/naming/event/NamingExceptionEvent.java,
3601         javax/naming/spi/ResolveResult.java:
3602         Cleaned up imports.
3604 2004-04-21  Mark Wielaard  <mark@klomp.org>
3606         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
3607         Changed C++ comments into C comments. Removed commented out code.
3608         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3609         Likewise.
3610         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
3611         Likewise.
3612         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
3613         Likewise.
3614         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
3615         Likewise.
3616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3617         Likewise.
3618         * native/jni/gtk-peer/gthread-jni.c:
3619         Likewise.
3621 2004-04-21  Mark Wielaard  <mark@klomp.org>
3623         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
3624         static fields defined in interface.
3625         * javax/awt/JDialog.java: Likewise.
3626         (JDialog): Make constructors public.
3627         (getDefaultCloseOperation): Make public.
3628         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
3629         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
3630         * javax/swing/JViewport.java (JViewport): Make constructor public.
3632 2004-04-21  Michael Koch  <konqueror@gmx.de>
3634         * java/util/Map.java
3635         (Entry): Removed redundant "static" modifier.
3636         * java/text/AttributedCharacterIterator.java:
3637         Updated copyright year.
3639 2004-04-20  Michael Koch  <konqueror@gmx.de>
3641         * javax/naming/directory/SearchControls.java:
3642         Don't explicitely extend java.lang.Object.
3643         * javax/naming/spi/DirStateFactory.java:
3644         Merged copyright year with GNU classpath.
3646 2004-04-20  Michael Koch  <konqueror@gmx.de>
3648         * java/nio/channels/Channels.java:
3649         Merged coding style with GNU classpath.
3651 2004-04-20  Michael Koch  <konqueror@gmx.de>
3653         * java/net/ServerSocket.java
3654         Merged coding style from GNU classpath.
3656 2004-04-20  Michael Koch  <konqueror@gmx.de>
3658         * java/io/BufferedWriter.java:
3659         Reordered variables to be at top of the class.
3660         (localFlush): Removed redundant final keyword.
3662 2004-04-20  Ingo Proetel  <proetel@aicas.com>
3664         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
3666 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
3668         * java/text/DecimalFormat.java (scanFix): Removed suffix check
3669         for percent and permill check.
3671 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
3673         * java/text/FieldPosition.java
3674         (FieldPosition) Constructor now behaves as it should according
3675         to the java documentation.
3677 2004-04-20  Mark Wielaard  <mark@klomp.org>
3679         * java/util/Properties.java: Use the word umlaut, not &auml; in api
3680         documentation.
3682 2004-04-20  Michael Koch  <konqueror@gmx.de>
3684         * java/nio/Buffer.java,
3685         java/nio/channels/AlreadyConnectedException.java,
3686         java/nio/channels/AsynchronousCloseException.java,
3687         java/nio/channels/ByteChannel.java,
3688         java/nio/channels/CancelledKeyException.java,
3689         java/nio/channels/Channel.java,
3690         java/nio/channels/Channels.java,
3691         java/nio/channels/ClosedByInterruptException.java,
3692         java/nio/channels/ClosedChannelException.java,
3693         java/nio/channels/ClosedSelectorException.java,
3694         java/nio/channels/ConnectionPendingException.java,
3695         java/nio/channels/DatagramChannel.java,
3696         java/nio/channels/FileChannel.java,
3697         java/nio/channels/FileLock.java,
3698         java/nio/channels/FileLockInterruptionException.java,
3699         java/nio/channels/GatheringByteChannel.java,
3700         java/nio/channels/IllegalBlockingModeException.java,
3701         java/nio/channels/IllegalSelectorException.java,
3702         java/nio/channels/InterruptibleChannel.java,
3703         java/nio/channels/NoConnectionPendingException.java,
3704         java/nio/channels/NonReadableChannelException.java,
3705         java/nio/channels/NonWritableChannelException.java,
3706         java/nio/channels/NotYetBoundException.java,
3707         java/nio/channels/NotYetConnectedException.java,
3708         java/nio/channels/OverlappingFileLockException.java,
3709         java/nio/channels/Pipe.java,
3710         java/nio/channels/ReadableByteChannel.java,
3711         java/nio/channels/ScatteringByteChannel.java,
3712         java/nio/channels/SelectableChannel.java,
3713         java/nio/channels/SelectionKey.java,
3714         java/nio/channels/Selector.java,
3715         java/nio/channels/ServerSocketChannel.java,
3716         java/nio/channels/SocketChannel.java,
3717         java/nio/channels/UnresolvedAddressException.java,
3718         java/nio/channels/UnsupportedAddressTypeException.java,
3719         java/nio/channels/WritableByteChannel.java,
3720         java/nio/channels/spi/AbstractInterruptibleChannel.java,
3721         java/nio/channels/spi/AbstractSelectableChannel.java,
3722         java/nio/channels/spi/AbstractSelectionKey.java,
3723         java/nio/channels/spi/AbstractSelector.java,
3724         java/nio/channels/spi/SelectorProvider.java,
3725         java/nio/charset/spi/CharsetProvider.java:
3726         Fixed javadocs and jalopied all over java.nio.
3728 2004-04-20  Michael Koch  <konqueror@gmx.de>
3730         * java/nio/ByteBufferImpl.java,
3731         java/nio/CharBufferImpl.java,
3732         java/nio/DirectByteBufferImpl.java,
3733         java/nio/DoubleBufferImpl.java,
3734         java/nio/DoubleViewBufferImpl.java,
3735         java/nio/FloatBufferImpl.java,
3736         java/nio/FloatViewBufferImpl.java,
3737         java/nio/IntBufferImpl.java,
3738         java/nio/IntViewBufferImpl.java,
3739         java/nio/LongBufferImpl.java,
3740         java/nio/LongViewBufferImpl.java,
3741         java/nio/MappedByteBufferImpl.java,
3742         java/nio/ShortBufferImpl.java,
3743         java/nio/ShortViewBufferImpl.java:
3744         Made sure all classes are final and removed final keyword from all
3745         methods.
3747 2004-04-20  Michael Koch  <konqueror@gmx.de>
3749         * java/rmi/MarshalledObject.java,
3750         java/rmi/Naming.java,
3751         java/rmi/RemoteException.java,
3752         java/rmi/activation/ActivationException.java,
3753         java/rmi/server/ServerCloneException.java,
3754         java/security/AccessController.java,
3755         java/security/AlgorithmParameterGenerator.java,
3756         java/security/AlgorithmParameters.java,
3757         java/security/CodeSource.java,
3758         java/security/Identity.java,
3759         java/security/IdentityScope.java,
3760         java/security/KeyPairGenerator.java,
3761         java/security/KeyStore.java,
3762         java/security/Security.java,
3763         java/security/Signature.java,
3764         java/security/SignatureSpi.java,
3765         java/security/SignedObject.java,
3766         java/security/spec/DSAParameterSpec.java,
3767         java/security/spec/DSAPrivateKeySpec.java,
3768         java/security/spec/DSAPublicKeySpec.java,
3769         java/sql/Array.java,
3770         java/sql/DatabaseMetaData.java,
3771         java/sql/ResultSet.java,
3772         java/text/ChoiceFormat.java,
3773         java/text/CollationElementIterator.java,
3774         java/text/CollationKey.java,
3775         java/text/Collator.java,
3776         java/text/DateFormat.java,
3777         java/text/DateFormatSymbols.java,
3778         java/text/DecimalFormatSymbols.java,
3779         java/text/Format.java,
3780         java/text/ParsePosition.java,
3781         java/text/RuleBasedCollator.java,
3782         java/text/SimpleDateFormat.java,
3783         java/text/StringCharacterIterator.java,
3784         java/util/Collections.java,
3785         java/util/PropertyResourceBundle.java,
3786         java/util/ResourceBundle.java,
3787         java/util/StringTokenizer.java,
3788         java/util/jar/Attributes.java,
3789         java/util/logging/ConsoleHandler.java,
3790         java/util/logging/LogManager.java,
3791         java/util/logging/MemoryHandler.java,
3792         java/util/logging/SocketHandler.java,
3793         javax/naming/NamingException.java:
3794         Fixed javadoc, coding style and argument names all over.
3796 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
3798         * java/io/FileDescriptor.java: (FileDescriptor) Added public
3799         constructor. (valid) Added null check.
3801 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
3803         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
3804         * java/io/FileOutputStream.java
3805         (FileOutputStream) Reorganized constructors. Constructors now
3806         check whether the given path is directory.
3808 2004-04-20  Michael Koch  <konqueror@gmx.de>
3810         * java/net/Authenticator.java,
3811         java/net/BindException.java,
3812         java/net/ConnectException.java,
3813         java/net/ContentHandler.java,
3814         java/net/ContentHandlerFactory.java,
3815         java/net/DatagramPacket.java,
3816         java/net/DatagramSocket.java,
3817         java/net/DatagramSocketImpl.java,
3818         java/net/DatagramSocketImplFactory.java,
3819         java/net/FileNameMap.java,
3820         java/net/HttpURLConnection.java,
3821         java/net/Inet4Address.java,
3822         java/net/Inet6Address.java,
3823         java/net/InetAddress.java,
3824         java/net/InetSocketAddress.java,
3825         java/net/JarURLConnection.java,
3826         java/net/MalformedURLException.java,
3827         java/net/MulticastSocket.java,
3828         java/net/NetPermission.java,
3829         java/net/NetworkInterface.java,
3830         java/net/NoRouteToHostException.java,
3831         java/net/PasswordAuthentication.java,
3832         java/net/PortUnreachableException.java,
3833         java/net/ProtocolException.java,
3834         java/net/ServerSocket.java,
3835         java/net/Socket.java,
3836         java/net/SocketAddress.java,
3837         java/net/SocketException.java,
3838         java/net/SocketImpl.java,
3839         java/net/SocketImplFactory.java,
3840         java/net/SocketOptions.java,
3841         java/net/SocketPermission.java,
3842         java/net/SocketTimeoutException.java,
3843         java/net/URI.java,
3844         java/net/URISyntaxException.java,
3845         java/net/URL.java,
3846         java/net/URLClassLoader.java,
3847         java/net/URLConnection.java,
3848         java/net/URLDecoder.java,
3849         java/net/URLEncoder.java,
3850         java/net/URLStreamHandler.java,
3851         java/net/URLStreamHandlerFactory.java,
3852         java/net/UnknownHostException.java,
3853         java/net/UnknownServiceException.java:
3854         Fixed javadocs, coding style and argument names all over.
3856 2004-04-20  Michael Koch  <konqueror@gmx.de>
3858         * java/lang/Byte.java,
3859         java/lang/CharSequence.java,
3860         java/lang/ClassLoader.java,
3861         java/lang/Compiler.java,
3862         java/lang/Double.java,
3863         java/lang/Float.java,
3864         java/lang/Integer.java,
3865         java/lang/Long.java,
3866         java/lang/Math.java,
3867         java/lang/Number.java,
3868         java/lang/Package.java,
3869         java/lang/Runtime.java,
3870         java/lang/RuntimePermission.java,
3871         java/lang/SecurityManager.java,
3872         java/lang/Short.java,
3873         java/lang/StringBuffer.java,
3874         java/lang/System.java,
3875         java/lang/ThreadGroup.java,
3876         java/lang/Throwable.java,
3877         java/lang/reflect/InvocationHandler.java,
3878         java/lang/reflect/Proxy.java:
3879         Fixed javadocs, coding style and argument names all over.
3881 2004-04-20  Michael Koch  <konqueror@gmx.de>
3883         * java/io/BufferedWriter.java,
3884         java/io/ByteArrayInputStream.java,
3885         java/io/CharArrayWriter.java,
3886         java/io/DataInput.java,
3887         java/io/DataInputStream.java,
3888         java/io/File.java,
3889         java/io/FilterInputStream.java,
3890         java/io/InputStream.java,
3891         java/io/InputStreamReader.java,
3892         java/io/ObjectInputStream.java,
3893         java/io/ObjectStreamClass.java,
3894         java/io/PipedInputStream.java,
3895         java/io/PipedReader.java,
3896         java/io/PushbackInputStream.java,
3897         java/io/PushbackReader.java,
3898         java/io/RandomAccessFile.java,
3899         java/io/SerializablePermission.java,
3900         java/io/StreamTokenizer.java,
3901         java/io/StringWriter.java,
3902         java/io/WriteAbortedException.java,
3903         java/io/Writer.java:
3904         Fixed javadocs all over, rename arguments to match javadocs,
3905         fixed coding style.
3907 2004-04-20  Ingo Proetel  <proetel@aicas.com>
3909         * java/awt/FontMetrics.java:
3910         (charsWidth): fixed accumulation of total_width
3911         (getWidth): simple default implementation
3912         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
3913         in Rectangle constructor.
3914         * java/awt/image/Raster.java (toString): Added method. 
3915         * java/awt/image/SampleModel.java (<init>): Added error cause
3916         information to thrown exception.
3917         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
3918         New method.
3919         (setDataElements): New method.
3920         (setPixels): New method.
3921         (toString): New method.
3923 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
3925         * java/awt/image/ComponentColorModel.java
3926         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
3927         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
3928         Mauve tests on this method. Improved documentation.
3930 2004-04-20  Michael Koch  <konqueror@gmx.de>
3932         * javax/swing/JLayeredPane.java,
3933         javax/swing/plaf/BorderUIResource.java,
3934         javax/swing/plaf/ComponentUI.java,
3935         javax/swing/undo/CompoundEdit.java,
3936         javax/swing/undo/StateEdit.java:
3937         Fixed HTML tags in javadocs all over.
3939 2004-04-20  Michael Koch  <konqueror@gmx.de>
3941         * javax/print/attribute/EnumSyntax.java
3942         (getOffset): Made protected.
3943         * javax/print/attribute/HashAttributeSet.java
3944         (HashAttributeSet): Likewise.
3945         * javax/print/attribute/ResolutionSyntax.java
3946         (getFeedResolution): Fixed typo in exception name.
3947         (getCrossFeedResolution): Likewise.
3948         * javax/print/attribute/SetOfIntegerSyntax.java
3949         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
3950         * javax/print/attribute/TextSyntax.java
3951         (TextSyntax): Handle locale correctly.
3952         (hashCode): Calc better hashcode value.
3953         (equals): Fixed @return tag.
3954         (toString): New method.
3956 2004-04-20  Michael Koch  <konqueror@gmx.de>
3958         * gnu/java/nio/FileLockImpl.java
3959         (static): Removed, not needed anymore.
3960         * gnu/java/nio/channels/FileChannelImpl.java
3961         (FileChannelImpl): Made final.
3962         (mode): Made private.
3963         (READ, WRITE, APPEND): Made public.
3964         (EXCL, SYNC, DSYNC): Likewise.
3965         (static): Load native JNI library, when needed.
3966         (length): Unused, removed.
3967         (available): Made public.
3968         (implPosition): Throws IOException.
3969         (seek): Likewise.
3970         (implTruncate): Likewise.
3971         (unlock): Likewise.
3972         (lock): Likewise.
3974 2004-04-20  Michael Koch  <konqueror@gmx.de>
3976         * java/awt/AWTPermission.java,
3977         java/awt/Component.java,
3978         java/awt/ComponentOrientation.java,,
3979         java/awt/Dialog.java,
3980         java/awt/FontMetrics.java,
3981         java/awt/Graphics.java,
3982         java/awt/datatransfer/DataFlavor.java,
3983         java/beans/Introspector.java,
3984         java/beans/PropertyEditor.java,
3985         java/beans/PropertyEditorManager.java,
3986         java/beans/beancontext/BeanContextServiceProvider.java:
3987         Fixed HTML tags in javadocs all over.
3989 2004-04-20  Mark Wielaard  <mark@klomp.org>
3991         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
3992         MissingResourceException is thrown.
3993         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
3994         null when a MissingResourceException is thrown. Should never happen.
3996 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
3998         * java/awt/image/DataBufferShort.java,
3999         java/awt/image/DataBufferFloat.java,
4000         java/awt/image/DataBufferDouble.java,
4001         java/awt/image/PixelInterleavedSampleModel.java: New files.
4002         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
4003         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
4005 2004-04-20  Michael Koch  <konqueror@gmx.de>
4007         * Makefile.am (java_source_files): Added
4008         java/awt/image/DataBufferDouble.java,
4009         java/awt/image/DataBufferFloat.java,
4010         java/awt/image/DataBufferShort.java and
4011         java/awt/image/PixelInterleavedSampleModel.java.
4012         * Makefile.in: Regenerated.
4014 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
4016         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
4017         undocumented CNI calls.
4018         * include/java-interp.h (_Jv_InterpClass): No longer
4019         extends java.lang.Class.
4020         * java/lang/Class.h (Class): Add new field `aux_info'.
4021         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
4022         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
4023         Use Class->aux_info instead.
4024         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
4025         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
4026         Use Class->aux_info instead.
4027         * java/io/natObjectInputStream.cc (allocateObject): Use
4028         _Jv_AllocObject.
4029         * java/lang/natClass.cc (newInstance): Likewise.
4030         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
4031         * java/lang/natObject.cc (clone): Likewise.
4032         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
4033         * java/lang/natVMClassLoader.cc (defineClass): Don't use
4034         JvAllocObject. Allocate klass->aux_info here for interpreted
4035         class.
4036         
4037 2004-04-17  Mark Wielaard  <mark@klomp.org>
4039         * javax/swing/JToggleButton.java (ToggleButtonModel):
4040         Make public static inner class.
4041         * javax/swing/JTabbedPane.java (setComponentAt):
4042         Call Page.setComponent().
4043         (SCROLL_TAB_LAYOUT): Make public, value is 1.
4044         (WRAP_TAB_LAYOUT): Make public, value is 0.
4045         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
4046         Make private static inner class.
4048 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
4050         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
4051         arguments to match new signature. Remove FIXME comments.
4053 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
4055         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
4056         Remove method.
4057         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
4058         unused code.
4060 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
4062         * Makefile.am: Added new file.
4063         * Makefile.in: Regenerate.
4064         * javax/swing/ImageIcon.java: 
4065         (ImageIcon(file)): set description of the icon 
4066         to the file name
4067         * javax/swing/JCheckBoxMenuItem.java:
4068         Mostly Implemented. Work in progress.
4069         * javax/swing/JRadioButtonMenuItem.java:
4070         Reimplement constructors to use JToggleButtonModel.
4071         * javax/swing/plaf/basic/BasicIconFactory.java:
4072         (getCheckBoxMenuItemIcon): return check box
4073         icon.
4074         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4075         paint menu item selected only when it is armed and 
4076         pressed. 
4078 2004-04-02  David Jee  <djee@redhat.com>
4080         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4081         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
4082         * java/awt/Component.java
4083         (add): Set the parent of the popup as this component.
4084         * java/awt/PopupMenu.java
4085         (addNotify): Create popup menu when peer is null.
4086         (show): Call addNotify() if peer is null.
4087         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4088         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
4089         argument for gtk_menu_popup() as zero. This causes the popup menu to
4090         respond to any mouse button.
4092 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
4094         * Makefile.am: Added new file.
4095         * Makefile.in: Regenerate.
4096         * javax/swing/JRadioButtonMenuItem.java:
4097         Implemented.
4098         * javax/swing/plaf/basic/BasicIconFactory.java:
4099         (getRadioButtonMenuItemIcon): Return
4100         radio button icon.
4101         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4102         (getPreferredSize): Add size of checkIcon if it
4103         exists.
4104         (installDefaults): Don't initialize checkIcon.
4105         It's value will be set in subclasses. 
4106         (uninstallDefaults): remove uninstallation of 
4107         checkIcon.
4108         (paint): Moved code to paintMenuItem().
4109         (paintMenuItem): Implemented.
4110         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
4111         UI delegate for JRadioButtonMenuItem.
4112         
4113 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
4115         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4116         Corrected position of the accelerator.
4118 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
4120         * Makefile.am: Added new file. 
4121         * Makefile.in: Regenerate.
4122         * javax/swing/JMenuItem.java: Partly 
4123         implemented. Work in progress
4124         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4125         Changed default value of acceleratorDelimiter.
4126         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4127         New class. Partly implemented.
4128                 
4129 2004-03-26  Mark Wielaard  <mark@klomp.org>
4131         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4132         (item_activate): Declare label before use.
4133         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4134         (gtkSetFont): Removed unused variable label.
4135         (addExposeFilter): Declare variables before use.
4136         (removeExposeFilter): Likewise.
4137         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4138         (ok_clicked): Declare str_fileName before use.
4140 2004-03-26  David Jee  <djee@redhat.com>
4142         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4143         (addSeparator): Remove.
4144         * java/awt/Menu.java
4145         (separator): Remove static final MenuItem field.
4146         (separatorLabel): New static final String field.
4147         (addSeparator): Do not use peer method; use add(MenuItem) instead.
4148         Use separatorLabel to denote that it is a separator.
4149         (insertSeparator): Create a new MenuItem with separatorLabel, instead
4150         of reusing the static separator instance, because a MenuItem instance
4151         can't be added more than once without being cloned.
4152         * java/awt/peer/MenuPeer.java
4153         (addSeparator): Remove from interface.
4155 2004-03-26  David Jee  <djee@redhat.com>
4157         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4158         (connectSignals): New native method declaration.
4159         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
4160         * java/awt/MenuItem.java
4161         (getActionCommand): Return the label if the action command is not set.
4162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
4163         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
4164         gtk_menu_shell_append().
4165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
4166         (item_activate): Fix argument type.
4167         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
4168         signal here.
4169         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
4170         method.
4171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4172         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
4173         given. Add the menu widget's top-level GtkWindow to the global window
4174         group, so it can grab the pointer.
4175         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
4176         gtk_menu_shell_append().
4178 2004-03-23  Graydon Hoare  <graydon@redhat.com>
4180         * java/text/AttributedString.java 
4181         (addAttribute): Fix off-by-one.
4182         (getIterator): Likewise.        
4183         * java/text/AttributedStringIterator.java 
4184         (getRunLimit): Correct logic.
4185         (getRunStart): Likewise.
4186         (getAttribute): Fix inequality.
4187         (getAttributes): Likewise.
4188         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
4190 2004-03-23  Kim Ho  <kho@redhat.com>
4192         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4193         (calculateSizes): Return real width and height.
4195 2004-03-23  Kim Ho  <kho@redhat.com>
4197         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4198         (calculateTabRects): Set the selectedRun before
4199         trying to rotate tabs.
4201 2004-03-23  Kim Ho  <kho@redhat.com>
4203         * Makefile.am: New file
4204         * Makefile.in: Regenerate
4205         * java/awt/Graphics.java: (drawRect):
4206         Draw to the correct point.
4207         * javax/swing/DefaultSingleSelectionModel.java
4208         (isSelected): Return true if the selected index
4209         is not -1.
4210         * javax/swing/JLabel.java: Do not change mnemonic
4211         index if text is null.
4212         * javax/swing/JProgressBar.java: Use JComponent's
4213         EventListenerList.
4214         * javax/swing/JScrollBar.java: Ditto.
4215         * javax/swing/JSlider.java: Ditto.
4216         * javax/swing/JTabbedPane.java: Reimplement.
4217         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4218         Add defaults for TabbedPane.
4219         * javax/swing/plaf/basic/BasicArrowButton.java:
4220         Implement
4221         * javax/swing/plaf/basic/BasicProgressBarUI.java:
4222         (paintDeterminate): Don't paint String if it's
4223         empty.
4224         (paintIndeterminate): ditto.
4225         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4226         Reimplement.
4228 2004-03-19  Michael Koch  <konqueror@gmx.de>
4230         * java/awt/image/AffineTransformOp.java
4231         (AffineTransformOp): Made public.
4232         * javax/swing/JComponent.java
4233         (listenerList): Made protected.
4234         (accessibleContext): Likewise.
4235         * javax/swing/JList.java
4236         (valueChanged): Dont use internal fields of ListSelectionEvent.
4237         * javax/swing/JViewport.java
4238         (getView): Dont use internal fields of Component.
4239         (addImpl): Likewise.
4240         * javax/swing/Timer.java
4241         (isRunning): Made public.
4242         (start): Likewise.
4243         (stop): Likewise.
4244         * javax/swing/UIDefaults.java
4245         (getInt): Made public.
4246         * javax/swing/plaf/basic/BasicListUI.java
4247         (mousePressed): Dont use internal fields of MouseEvent.
4248         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
4249         * javax/swing/plaf/basic/BasicScrollBarUI.java
4250         (arrowIcon): Made static.
4251         * javax/swing/plaf/basic/BasicViewportUI.java
4252         (stateChanged): Dont use internal field on ChangeEvent.
4253         * javax/swing/text/JTextComponent.java
4254         (getUI): Call UIManager.getUI().
4255         (updateUI): Use getUI().
4257 2004-03-19  Graydon Hoare  <graydon@redhat.com>
4259         * javax/swing/JComponent.java: Turn off double buffer by default.
4260         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
4261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4262         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
4263         Use cairo to copy areas.
4264         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
4265         Initialize and set clip region.
4267 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
4269         * java/applet/Applet.java (preferredSize): Override deprecated
4270         variant of getPreferredSize.
4271         (minimumSize): Override deprecated variant of getMinimumSize.
4273 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
4275         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4276         (drawImage(img,xform,bgcolor,obs)): New Method.
4277         Helper function that every drawImage method will
4278         use.
4279         (drawRaster): Added new parameter, bgcolor. All
4280         transparent pixels are changed to bgcolor before 
4281         image is drawn.
4282         (drawRenderedImage): Fixed to use changed drawRaster().
4283         (drawImage(image,xform,obs): Fixed to use new helper function 
4284         (drawImage(image,op,x,y)): Ditto.
4285         (drawImage (img,x,y,observer)): Ditto.
4286         ((PainterThread) bgcolor): New Field.
4287         ((PainterThread) (setPixels)): Changed all transparent pixels 
4288         to bgcolor.     
4289         (drawImage(img,x,y,width,height,bgcolor,observer)): 
4290         Fixed FIXME - all the transparent pixels are 
4291         changed to the specified bgcolor. 
4292         (drawImage(img, x, y, width, height, observer): Changed to 
4293         use function above.
4294         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
4295         Fixed FIXME- changed all transparent pixels to bgcolor.
4296         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
4297         Changed to use function above. 
4299 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
4301         * java/applet/Applet.java (dimensions): New field.
4302         (getDimensions): New method.
4303         (getPreferredSize): Call getDimensions.
4304         (getMinimumSize): Likewise.
4306 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4308         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
4309         * jni/classpath/jnilink.c: Likewise.
4311         * java/applet/Applet.java (getPreferredSize): New method.
4312         (getMinimumSize): New method.
4314 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
4316         * prims.cc (_Jv_AllocObject): Remove `size' argument.
4317         (_Jv_AllocObjectNoFinalizer): Likewise.
4318         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
4319         (_Jv_AllocPtrFreeObject): Likewise.
4320         (_Jv_AllocString): Moved from natString.cc. Call collector interface
4321         directly even in the JVMPI case.        
4322         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
4323         _Jv_AllocObject calls.
4324         * gcj/javaprims.h: Update prototypes.
4325         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
4326         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
4327         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
4329 2004-04-14  Andrew Haley  <aph@redhat.com>
4330             Bryce McKinlay  <mckinlay@redhat.com>
4332         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
4333         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
4334         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
4336         * testsuite/libjava.lang/InvokeInterface.java: New file.
4337         * testsuite/libjava.lang/InvokeInterface.out: New file.
4339 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
4340         
4341         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
4342         modified lookup().
4343         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
4344         StackTraceElement directly.
4345         (newElement): New native helper method to create StackTraceElement
4346         bypassing Java access control.
4347         (createStackTraceElement): Use newElement() instead of directly
4348         calling StackTraceElement's constructor.
4349         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
4351 2004-04-01  Michael Koch  <konqueror@gmx.de>
4353         * java/lang/SecurityManager.java
4354         (checkAwtEventQueueAccess): Implemented.
4356 2004-04-01  Gary Benson  <gbenson@redhat.com>
4358         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
4359         (_Jv_SearchMethodInClass): Likewise.
4361 2004-03-26  Peter Moon  <peterm@miraculum.com>
4363         * java/text/NumberFormat.java: Fix spelling of setCurrency
4364         method.
4366 2004-03-21  Anthony Green  <green@redhat.com>
4368         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
4369         recursion when searching for the system ClassLoader.
4371 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
4373         * java/net/ServerSocket.java
4374         (accept): Close the socket when error occured.
4376 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
4378         * java/net/URI.java (parseURI): Added unquoting.
4379         (unquote): New method.
4380         (quoteAuthority): Implemented.
4381         (quote(String,String)): New method.
4382         (quotePath): Implemented.
4383         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
4384         (getSchemeSpecificPart): Removed FIXME comment.
4385         (getRawAuthority): Return new rawAuthority field.
4386         (getAuthority): Removed FIXME comment.
4387         (getRawUserInfo): Return new rawUserInfo field.
4388         (getUserInfo): Removed FIXME comment.
4389         (getRawPath): Return new rawPath field.
4390         (getPath): Removed FIXME comment.
4391         (getRawQuery): Return new rawQuery field.
4392         (getQuery): Removed FIXME comment.
4393         (getRawFragment): Return new rawFragment field.
4394         (getFragment): Removed FIXME comment.
4396 2004-03-20  Michael Koch  <konqueror@gmx.de>
4398         * java/net/URLConnection.java: Merged copyright year with classpath.
4400 2004-03-20  Norbert Frese  <postfach@nfrese.net>
4402         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
4403         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
4404         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
4405         rmi-message.
4406         (getObjectInputStream): Return object reference, throw IOException if null.
4407         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
4408         (getObjectOutputStream): Return object reference, throw IOException if null.
4409         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
4410         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
4411         (UnicastConnectionManager): Throw RemoteException if port is not available.
4412         (getInstance): Throw RemoteException.
4413         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
4414         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
4415         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
4416         Collect Exceptions which are returned by a rmi-call and fix void returns.
4417         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
4418         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
4419         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
4420         (dispatch): Answer ping messages which are sent by other java implementions.
4421         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
4422         for every rmi-message and fix void return problems.
4423         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
4424         (UnicastServerRef): Throw RemoteException.
4425         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
4426         In some situations it is necessary to export a subclass of the class which has the _Stub.
4427         For instance when the class with has the _Stub is abstract.
4428         (findStubSkelClass): New method which looks for the class which has the _Stub.
4429         (getClientHost): Implementated.
4430         * gcc/libjava/java/rmi/server/RemoteServer.java
4431         (getClientHost): Implementated.
4432         * gcc/libjava/Makefile.am (rmi_java_source_files):
4433         Added gnu/java/rmi/server/RMIIncomingThread.java.
4434         * Makefile.in: Regenerated.
4436 2004-03-20  Michael Koch  <konqueror@gmx.de>
4438         * java/net/InetAddress.java
4439         (getLocalHostname): Added javadoc.
4441 2004-03-19  Per Bothner  <per@bothner.com>
4443         * configure.in: FILE variable  overrides FLATFORM when linking
4444         natFileChannelXXX.cc.
4446         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
4447         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
4449 2004-03-19  Per Bothner  <per@bothner.com>
4451         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
4452         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
4453         * Makefile.am:  Update accordingly.
4454         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
4455         as aliases for UnicodeLittle and UnicodeBig.
4457 2004-03-20  Mark Wielaard  <mark@klomp.org>
4459         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4460         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
4461         Don't access ws when it is null.
4462         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
4463         Likewise.
4465 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
4467         * java/lang/ThreadGroup.java (list): Changed print to println.
4469 2004-03-19  Mark Wielaard  <mark@klomp.org>
4471         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
4472         happy.
4474 2004-02-10  Randolph Chung  <tausq@debian.org>
4476         * configure.in: Build java for hppa target.
4477         * configure: Regenerate.
4478         * libjava/configure.host (hppa-*): Add target.
4479         * libjava/sysdeps/pa/lock.h: New file.
4481 2004-03-19  Mark Wielaard  <mark@klomp.org>
4483         Reported by Stephen Crawley
4484         * java/io/FilePermission.java (implies): Use String.length() -1 to
4485         access last char of String.
4487 2004-03-19  Michael Koch  <konqueror@gmx.de>
4489         * java/awt/image/AffineTransformOp.java
4490         (AffineTransformOp): Made public.
4491         * javax/swing/JComponent.java
4492         (listenerList): Made protected.
4493         (accessibleContext): Likewise.
4494         * javax/swing/JList.java
4495         (valueChanged): Dont use internal fields of ListSelectionEvent.
4496         * javax/swing/JViewport.java
4497         (getView): Dont use internal fields of Component.
4498         (addImpl): Likewise.
4499         * javax/swing/Timer.java
4500         (isRunning): Made public.
4501         (start): Likewise.
4502         (stop): Likewise.
4503         * javax/swing/UIDefaults.java
4504         (getInt): Made public.
4505         * javax/swing/plaf/basic/BasicListUI.java
4506         (mousePressed): Dont use internal fields of MouseEvent.
4507         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
4508         * javax/swing/plaf/basic/BasicScrollBarUI.java
4509         (arrowIcon): Made static.
4510         * javax/swing/plaf/basic/BasicViewportUI.java
4511         (stateChanged): Dont use internal field on ChangeEvent.
4512         * javax/swing/text/JTextComponent.java
4513         (getUI): Call UIManager.getUI().
4514         (updateUI): Use getUI().
4516 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4518         * verify.cc: Undef PC.
4520 2004-03-18  Michael Koch  <konqueror@gmx.de>
4522         * java/nio/channels/spi/AbstractSelectableChannel.java
4523         (keys): Initialize at declaration.
4524         (locate): keys cant be null.
4525         (add): Removed.
4526         (addSelectionKey): New method.
4527         (removeSelectionKey): New method.
4528         * java/nio/channels/spi/AbstractSelectionKey.java
4529         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
4530         * java/nio/channels/spi/AbstractSelector.java
4531         (provider): Javadoc added.
4532         (cancelledKeys): Javadoc added.
4533         (cancelKey): Javadoc added, add key to cancelledKeys.
4534         (deregister): Implemented.
4536 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4538         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
4539         MAP_FAILED to void *.
4541 2004-03-12  Graydon Hoare  <graydon@redhat.com>
4543         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
4544         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
4545         * javax/swing/JList.java (ListListener): Revalidate on changes.
4546         * javax/swing/JScrollPane.java: Reimplement.
4547         * javax/swing/JViewport.java: Reimplement.
4548         * javax/swing/ScrollPaneLayout.java: Reimplement.
4549         * javax/swing/ViewportLayout.java: Tidy up.
4550         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
4551         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
4552         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
4553         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
4554         backing store only.
4556 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
4558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4559         (window_wm_protocols_filter): New function.
4560         (window_focus_in_cb): Remove function.
4561         (window_focus_out_cb): Likewise.
4562         (window_focus_or_active_state_change_cb): New function.
4563         (create): Add filter that removes WM_TAKE_FOCUS client messages.
4564         (connectSignals): Don't attach handlers to focus-in-event or
4565         focus-out-event signals.  Handle notify signal.
4567 2004-03-11  David Jee  <djee@redhat.com>
4569         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4570         (gtkSetLabel): New native method declaration.
4571         (setLabel): Use gtkSetLabel.
4572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
4573         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
4575 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
4577         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
4578         black when color argument is null.
4580 2004-03-10  Kim Ho  <kho@redhat.com>
4582         * java/awt/Container.java: Remove check
4583         for drag events.
4585 2004-03-10  Kim Ho  <kho@redhat.com>
4587         * java/awt/Container.java: (visitChild):
4588         Remove candidate clip. Use the component
4589         clip to intersect.
4590         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
4591         (handleEvent): Use the PaintEvent's clip.
4593 2004-03-10  Kim Ho  <kho@redhat.com>
4595         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
4596         (handleEvent): Don't set the clip for the
4597         Graphics object.
4599 2004-03-09  Graydon Hoare  <graydon@redhat.com>
4601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
4602         Fix double <-> fixed macros, reset font transform.
4603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
4604         Likewise.
4606 2004-03-09  Kim Ho  <kho@redhat.com>
4608         * java/awt/Container.java: (visitChild): Move
4609         the x and y coordinate of the component rectangle
4610         to correct position.
4611         (handleEvent): Forward drag events to the pressed
4612         component.
4613         * javax/swing/plaf/basic/BasicScrollBarUI.java:
4614         Fix comments.
4615         (ArrowButtonListener::mousePressed): Stop the
4616         existing timer.
4617         (mouseDragged): Implement.
4618         (TrackListener::mousePressed): Only react if
4619         the press doesn't occur on the thumb, otherwise
4620         just set the offset.
4621         (TrackListener::mouseReleased): Unset the isAdjusting
4622         value.
4623         (createIncreaseIcon): Switch icon.
4624         (createDecreaseIcon): Switch icon.
4625         (calculatePreferredSize): Use width.
4626         (getThumbBounds): Use the top as the lower value.
4627         (layoutVScrollBar): Switch the button locations.
4628         (paintIncreaseHighlight): Paint correct side of thumb.
4629         (paintDecreaseHighlight): ditto.
4630         (valueForYPosition): Use top as the lower value.
4631         * javax/swing/plaf/basic/BasicSliderUI.java:
4632         Fix comments.
4633         (mouseDragged): Implement.
4634         (mousePressed): Only react when the thumb isn't
4635         pressed, otherwise just set offset.
4636         (mouseReleased): Handle a release of the thumb.
4637         (scrollDueToClickInTrack): Stop the timer first.
4638         * javax/swing/JProgressBar.java:
4639         (setString): Fix change condition.
4640         * javax/swing/JSeparator.java:
4641         Remove println's.
4643 2004-03-08  David Jee  <djee@redhat.com>
4645         * java/awt/image/AffineTransformOp.java:
4646         (filter): Use Graphics2D interface instead of directly using the
4647         GdkGraphics2D peer.
4649 2004-03-05  David Jee  <djee@redhat.com>
4651         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4652         (handleEvent): Action events are generated upon MOUSE_RELEASED.
4653         * java/awt/Container.java
4654         (acquireComponentForMouseEvent): Fixed.
4655         (handleEvent): Fixed.
4656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4657         (state_to_awt_mods_with_button_states): New method.
4658         (pre_event_handler): Fixed mouse event generation.
4660 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
4662         gnu/java/awt/peer/gtk/GdkGraphics2D.java
4663         (GdkGraphics2D (BufferedImage)): Initialize
4664         pixmap associated with specified BufferedImage.
4665         (setPaint): Changed implementation of Texture
4666         Paint to use AffineTransformOp.
4667         * java/awt/image/AffineTransformOp.java
4668         (createCompatibleDestRaster): Throw RasterFormatException 
4669         if resulting width or height of raster is 0.
4671 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
4673         * java/awt/image/AffineTransformOp.java:
4674         Removed unnecessary field interpolationType.
4675         Formatted some of the lines to be consistent with 
4676         the GNU style.
4677         (AffineTransformOp): Create new RenderingHints 
4678         containing specified interpolation type.
4679         (createCompatibleDestImage): Implemented.
4680         (createCompatibleDestRaster): Implemented.
4681         (filter): Implemented.
4682         (getBounds2D(BufferedImage)): Implemented.
4683         (getBounds2D(Raster)): Implemented.
4684         (getInterpolationType): Get interpolation value from 
4685         rendering hints.
4687 2004-03-04  David Jee  <djee@redhat.com>
4689         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4690         (setFont): Check if child peers are null.
4692 2004-03-04  Graydon Hoare  <graydon@redhat.com>
4694         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
4695         .libs in -L option.
4696         (libjava_arguments): Add new libraries to argument list.
4698 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
4700         * Makefile.am: Added java/awt/image/AffineTransformOp.java
4701         * Makefile.in: Re-generated.
4702         * java/awt/image/AffineTransformOp.java: New Class.
4704 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
4706         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4707         (setPaint): Interpret correctly TexturePaint's
4708         anchor rectangle.
4709         (drawImage): Fixed scale factors of the affine
4710         transform.
4712 2004-02-27  David Jee  <djee@redhat.com>
4714         * gnu/java/awt/peer/gtk/GdkGraphics.java
4715         (GdkGraphics(Component)): Inherit font from component.
4716         (drawString): Use font style.
4717         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4718         (gtkSetFont): New native method declaration.
4719         (setFont): New method.
4720         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
4721         (gtkSetFont): New native method declaration.
4722         (setFont): Call new native method gtkSetFont.
4723         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4724         (setFont): For all child components who do not their fonts set,
4725         set their peers' fonts with this container's font.
4726         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
4727         Move all native method declarations to the top for readability.
4728         (gtkSetFont): New native method declaration.
4729         (setFont): New method.
4730         * java/awt/Component.java
4731         (setFont): Invalidate after setting the font.
4732         * java/awt/Container.java
4733         (invalidateTree): New method.
4734         (setFont): Invalidate the container tree after setting the font.
4735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4736         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
4737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
4738         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
4739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4740         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
4741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
4742         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
4744 2004-02-27  Olga Rodimina <rodimina@redhat.com>
4746         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4747         (updateBufferedImage): New helper function.
4748         Updates BufferedImage in memory if it was changed.
4749         (draw): changed to update BufferedImage in memory after
4750         this drawing operation
4751         (fill): Ditto.
4752         (draw3DRect): Ditto.
4753         (fill3DRect): Ditto.
4754         (clearRect): Ditto.
4755         (drawRaster): Ditto.
4756         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
4757         no affine transformation.
4758         (drawGlyphVector): Ditto.
4760 2004-02-26  Olga Rodimina <rodimina@redhat.com>
4762         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4763         (isBufferedImageGraphics): New Helper function. 
4764         Returns true if this graphics2d can be used to draw 
4765         into buffered image and false otherwise.
4766         (updateImagePixels): New Helper function. 
4767         Updates pixels in the BufferedImage.
4768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4769         (getImagePixels): New function. Returns pixels
4770         of the buffered image associated with 
4771         this Graphics2D.
4773 2004-02-26  David Jee  <djee@redhat.com>
4775         * java/awt/BorderLayout.java
4776         (layoutContainer): Fix width and height calculations to ensure
4777         that they're non-negative.
4778         * java/awt/Component.java
4779         (setBackground): If c is null, inherit from closest ancestor whose
4780         background color is set.
4782 2004-02-26  Kim Ho  <kho@redhat.com>
4784         * Makefile.am: Add new files.
4785         * Makefile.in: Re-generate.
4786         * javax/swing/JProgressBar.java: 
4787         (JProgressBar(int, int int)): Throw
4788         IllegalArgumentException if orientation is
4789         invalid.
4790         (JProgressBar(BoundedRangeModel)): Create
4791         ChangeListener and register it. UpdateUI.
4792         (getChangeListeners): Implement.
4793         (setModel): Reset ChangeListener.
4794         * javax/swing/JScrollBar.java: Implement.
4795         * javax/swing/JSeparator.java: Implement.
4796         * javax/swing/JSlider.java:
4797         (JSlider(int, int, int, int)): Throw 
4798         IllegalArgumentException if orientation
4799         is invalid.
4800         (getChangeListeners): Fix method name.
4801         * javax/swing/SwingUtilities.java:
4802         (layoutCompoundLabel): If there is no text,
4803         set the text rectangle dimensions to 0.
4804         * javax/swing/plaf/basic/BasicButtonUI.java:
4805         (paint): If there is no text, don't paint it.
4806         * javax/swing/plaf/basic/BasicScrollBarUI.java:
4807         Implement.
4808         * javax/swing/plaf/basic/BasicSeparatorUI.java:
4809         Implement.
4810         * javax/swing/plaf/basic/BasicSliderUI.java: 
4811         (propertyChange): If the model changes, change
4812         the listeners accordingly.
4814 2004-02-25  Graydon Hoare  <graydon@redhat.com>
4816         * javax/swing/AbstractButton.java: Add "final" qualifiers.
4817         * javax/swing/JList.java: Reimplement.
4818         * javax/swing/DefaultListSelectionModel.java: Reimplement.
4819         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
4820         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
4821         * javax/swing/ListModel.java: Javadoc.
4822         * javax/swing/ListSelectionModel.java: Add missing methods.
4823         * javax/swing/AbstractListModel.java: Javadoc and corrections.
4824         * javax/swing/DefaultListModel.java: Javadoc and corrections.
4825         * javax/swing/ListModel.java: Javadoc and corrections.
4826         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
4828 2004-02-25  David Jee  <djee@redhat.com>
4830         * gnu/java/awt/peer/gtk/GtkFontPeer.java
4831         (GtkFontPeer): Change default size to 12.
4832         * gnu/java/awt/peer/gtk/GtkToolkit.java
4833         (getFontPeer): Change default size to 12.
4834         (getClasspathFontPeer): Likewise. Set default name to "Default".
4835         * java/awt/Font.java
4836         (Font(Map)): Call Font(String,Map).
4837         (Font(String,Map)): If attrs is null, initialize it as an empty
4838         HashMap, which will ensure that the Font will get default attributes.
4840 2004-02-25  David Jee  <djee@redhat.com>
4842         * gnu/java/awt/peer/gtk/GtkFontPeer.java
4843         (GtkFontPeer(String,int)): Call the new constructor with size 1.
4844         (GtkFontPeer(String,int,int)): New constructor with size attribute.
4845         * gnu/java/awt/peer/gtk/GtkToolkit.java
4846         (getFontPeer(String,int)): Call the new overload method with size 1.
4847         (getFontPeer(String,int,int)): New method. Overloaded with size
4848         attribute.
4849         (getClasspathFontPeer): Set the size of the font.
4851 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
4853         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4854         (bimage): New field.
4855         (GdkGraphics2D): New Constructor. Constructs Graphics
4856         object that can be used to draw into the Buffered Image.
4857         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
4858         (GdkGraphicsEnvironment): Fixed to include public 
4859         keyword.
4860         (createGraphics): Implemented.
4861         * gnu/java/awt/peer/gtk/GtkToolkit.java
4862         (getLocalGraphicsEnvironment): Implemented.
4863         * java/awt/GraphicsEnvironment.java:
4864         (getLocalGraphicsEnvironment): Implemented.
4865         * java/awt/image/BufferedImage.java:
4866         (createGraphics): Implemented.
4867                 
4868 2004-02-24  David Jee  <djee@redhat.com>
4870         * java/awt/Component.java
4871         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
4872         * java/awt/Container.java
4873         (addNotifyContainerChildren): Fix event enabling.
4875 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
4877         * Makefile.am: Added 
4878         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
4879         * Makefile.in: Re-generated.
4880         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
4881         New Class. 
4882         
4883 2004-02-19  Kim Ho  <kho@redhat.com>
4885         * Makefile.am: Add BasicProgressBarUI
4886         * Makefile.in: Regenerate.
4887         * javax/swing/JProgressBar.java: 
4888         Re-implement.
4889         * javax/swing/plaf/basic/BasicLookAndFeel.java
4890         Add constants for JProgressBar.
4891         * javax/swing/plaf/basic/BasicProgressBarUI.java
4892         Implement.
4893         * javax/swing/plaf/basic/BasicSliderUI.java
4894         Change comments.
4895         (calculateGeometry): New method
4896         (paint): Remove unnecessary size calculations.
4898 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
4900         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4901         (drawRaster): Fixed small error that caused
4902         imageToUser transformation to be set incorrectly.
4903         (toString): Implemented.
4905 2004-02-18  David Jee  <djee@redhat.com>
4907         * java/awt/CardLayout.java
4908         (addLayoutComponent): Show the first component added as the default.
4909         (removeLayoutComponent): After removing, show the next component.
4910         (gotoComponent): If there is only one component, show it and return.
4912 2004-02-18  Kim Ho  <kho@redhat.com>
4914         * javax/swing/JSlider.java: Re-order
4915         modifiers.
4916         * javax/swing/JLabel.java: Re-order
4917         modifiers.
4918         * javax/swing/JComponent.java: 
4919         (addPropertyChangeListener):
4920         Implement.
4921         (removePropertyChangeListener):
4922         ditto.
4923         (firePropertyChangeEvent):
4924         ditto.
4926 2004-02-17  David Jee  <djee@redhat.com>
4928         * java/awt/Component.java
4929         (show): Dispatch ComponentEvent via system event queue.
4930         (hide): Likewise.
4931         (move): Likewise.
4932         (resize): Likewise.
4933         (reshape): Likewise.
4934         * java/awt/Window.java
4935         (setBoundsCallback): Likewise.
4937 2004-02-17  David Jee  <djee@redhat.com>
4939         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4940         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
4941         Use gtk_widget_set_size_request() instead of the deprecated
4942         gtk_widget_set_usize().
4944 2004-02-17  Kim Ho  <kho@redhat.com>
4946         * javax/swing/JSlider.java: Fix comments and
4947         make property strings constants.
4948         (createStandardLabels): Use the labels
4949         preferred size as bounds.
4950         * javax/swing/plaf/basic/BasicSliderUI.java
4951         Fix comments.
4952         (ScrollHandler::actionPerformed): Don't
4953         calculate the timer stop value. Let the
4954         MouseListeners find the stop location.
4955         (getPreferredHorizontalSize): Re-implement.
4956         (getPreferredVerticalSize): ditto.
4957         (getMinimumHorizontalSize): ditto.
4958         (getMinimumVerticalSize): ditto.
4959         (getPreferredSize): ditto.
4960         (getMinimumSize): ditto.
4961         (getMaximumSize): ditto.
4962         (paintTicks): Use doubles to find the
4963         tick location.
4964         (paintHorizontalLabel):  Use preferredSize
4965         as initial width and height.
4966         (paintVerticalLabel): ditto.
4968 2004-02-17  Kim Ho  <kho@redhat.com>
4970         * javax/swing/JLabel.java: Changed 
4971         property strings to constants.
4972         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
4973         New property.
4974         (setText): Change mnemonic index if
4975         text is too short.
4976         (setDisplayedMnemonicIndex): Fire property
4977         change event.
4978         (getDisplayedMnemonicIndex): Remove check
4979         against short text.
4981 2004-02-17 Olga Rodimina <rodimina@redhat.com>
4983         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4984         (drawImage(img,xform,obs)): Invert xform before
4985         passing the xform to cairo.
4986         (drawImage(img,x,y,bgcolor,obs)): Implemented.
4987         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
4988         implemented.
4989         (drawImage (img,x,y,w,h,obs)): Implemented.
4990         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
4991         bgcolor,obs)): Partly implemented.
4992         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
4993         Implemented.
4994         * java/awt/image/BufferedImage.java:
4995         (copyData): if dest is null, create raster with same
4996         dimensions as the current image.
4998 2004-02-16  Graydon Hoare  <graydon@redhat.com>
5000         * javax/swing/plaf/basic/BasicLabelUI.java 
5001         (getPreferredSize): Use layoutCL.
5002         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
5003         (getPreferredButtonSize): Start with empty view rect, layout using
5004         component's preferred alignment.
5005         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
5006         List defaults.
5008 2004-02-16  David Jee  <djee@redhat.com>
5010         * java/awt/Component.java
5011         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
5012         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
5013         (move): Erase old bounds and repaint new bounds. Dispatch
5014         COMPONENT_MOVED ComponentEvent.
5015         (resize): Erase old bounds and repaint new bounds. Dispatch
5016         COMPONENT_RESIZED ComponentEvent.
5017         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
5018         ComponentEvents.
5019         * java/awt/Window.java
5020         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
5021         ComponentEvents.
5023 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
5025         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5026         (setRenderingHint): Added implementation of 
5027         Interpolation rendering hints.
5028         (setRenderingHints): Ditto.
5029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5030         (drawPixels): fixed to allow user to choose type 
5031         of filtering that should be used when displaying images.
5032         (cairoSurfaceSetFilter): New method. Sets filter type for 
5033         interpolation of pixel values.
5035 2004-02-16  David Jee  <djee@redhat.com>
5037         * java/awt/GridBagLayout.java
5038         (calcCellSizes): Rows or columns with zero sizes should still be
5039         considered for extra space distribution.
5041 2004-02-16  Kim Ho  <kho@redhat.com>
5043         * javax/swing/JLabel.java: Re-implement.
5044         * javax/swing/plaf/basic/BasicLabelUI.java
5045         Re-implement.
5046         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5047         Added constant.
5049 2004-02-16  Kim Ho  <kho@redhat.com>
5051         * javax/swing/JSlider.java: Fix indentation and comments.
5052         (setModel): Remove null check to conform with Sun's.
5053         (setOrientation): Throw exception if not
5054         HORIZONTAL or VERTICAL.
5055         (getInverted): Use private variable instead of 
5056         ComponentOrientation.
5057         (setInverted): ditto.
5058         * javax/swing/plaf/basic/BasicSliderUI.java:
5059         Fix indentation and comments.
5060         (propertyChange): Remove check for inverted slider, handle
5061         in main paint.
5062         (getMinimumSize): Return preferred size.
5063         (getMaximumSize): ditto.
5064         (calculateFocusRect): Don't relocate rectangle.
5065         (drawInverted): Return XOR of the slider's inversion and 
5066         the component's orientation.
5067         (paint): Update leftToRightCache
5069 2004-02-13  David Jee  <djee@redhat.com>
5071         * java/awt/GridBagLayout.java
5072         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
5073         code to helper methods.
5074         (sortBySpan): New helper method.
5075         (distributeSizeAndWeight): Likewise.
5076         (calcCellWeights): Likewise.
5077         (calcCellSizes): Add comments.
5079 2004-02-13  David Jee  <djee@redhat.com>
5081         * java/awt/Component.java
5082         (show): Only do something if component is invisible at the moment.
5083         (hide): Only do something if component is visible at the moment.
5084         (reshape): If lightweight, erase old bounds and repaint new bounds.
5086 2004-02-13  Kim Ho  <kho@redhat.com>
5088         * Makefile.am: Updated for new file.
5089         * Makefile.in: Regenerated.
5090         * javax/swing/JSlider.java: Reimplement.
5091         * javax/swing/SwingUtilities.java
5092         (layoutCompoundLabel): Use icon height
5093         instead of width.
5094         (paintComponent): Implement.
5095         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5096         Add JSlider defaults.
5097         * javax/swing/plaf/basic/BasicSliderUI.java:
5098         Implement. New file.
5100 2004-03-17  Michael Koch  <konqueror@gmx.de>
5102         * gnu/java/net/PlainDatagramSocketImpl.java
5103         (RECEIVE_LOCK): New member field.
5104         (SEND_LOCK): New member field.
5105         (send0): New method.
5106         (send): Synchronize on SEND_LOCK.
5107         (receive0): New method.
5108         (receive): Synchronize on RECEIVE_LOCK.
5109         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
5110         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
5111         gnu/java/net/natPlainDatagramSocketImplWin32.cc
5112         (send0): Renamed from send.
5113         (receive0): Renamed from receive.
5114 2004-03-17  Michael Koch  <konqueror@gmx.de>
5116         * gnu/java/net/natPlainSocketImplPosix.cc
5117         (write): Just call write(jbyteArray, offset, len).
5118         (read): Just call read(jbyteArray, offset, len).
5120 2004-03-16  Michael Koch  <konqueror@gmx.de>
5122         * javax/swing/JTabbedPane.java
5123         (serialVersionUID): New field.
5125 2004-03-16  Norbert Frese  <postfach@nfrese.net>
5127         * java/net/InetAddress.java
5128         (getByName): Handle hostname == "" case.
5130 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
5132         Reported by: Adam Heath <doogie@debian.org>
5133         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
5134         class loader.
5136 2004-03-15  Michael Koch  <konqueror@gmx.de>
5138         * java/util/Locale.java: Reverting my last patch
5139         and add a comment why the original version was okay.
5141 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
5143         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
5144         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
5145         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
5146         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
5148 2004-03-12  Michael Koch  <konqueror@gmx.de>
5150         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
5152 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
5154         * java/net/URI.java (toURL): Implemented.
5156 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
5158         * java/net/URI.java
5159         (URI_REGEXP) updated to contain scheme specific part.
5160         (SCHEME_SPEC_PART_GROUP) new constant.
5161         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
5162         updated to make room for SCHEME_SPEC_PART_GROUP.
5163         (parseURI) parse scheme specific part.
5164         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
5165         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
5166         getQuery, getFragment) implemented.
5168 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
5170         * libraries/javalib/java/net/URI.java
5171         partially implemented using java.util.regex.
5172         (URI_REGEXP) new constant. Used to parse URIs.
5173         (SCHEME_GROUP) new constant representing index of scheme group
5174         in parsed URI.
5175         (AUTHORITY_GROUP) new constant representing index of authority
5176         group in parsed URI.
5177         (PATH_GROUP) new constant representing index of path group in
5178         parsed URI.
5179         (QUERY_GROUP) new constant representing index of query group in
5180         parsed URI.
5181         (FRAGMENT_GROUP) new constant representing index of fragment
5182         group in parsed URI.
5183         (getURIGroup) new static utility method.
5184         (parseURI) implemented.
5185         (quote) stub for new static utility method.
5186         (quoteAuthority) stub for new static utility method.
5187         (quoteHost) stub for new static utility method.
5188         (quotePath) stub for new static utility method.
5189         (quoteUserInfo) stub for new static utility method.
5190         (URI) implemented.
5191         (create) don't throw URISyntaxException. Implemented.
5192         (toString) implemented.
5194 2004-03-12  Michael Koch  <konqueror@gmx.de>
5196         * java/net/HttpURLConnection.java
5197         (getResponseCode): Fix another typo in javadoc.
5199 2004-03-11  Michael Koch  <konqueror@gmx.de>
5201         * java/util/logging/Level.java
5202         (parse): Use String.equals() instead of ==.
5204 2004-03-11  Michael Koch  <konqueror@gmx.de>
5206         * gnu/java/net/protocol/jar/Connection.java
5207         (getContentLength): New method.
5209 2004-03-11  Michael Koch  <konqueror@gmx.de>
5211         * gnu/java/net/PlainSocketImpl.java:
5212         Reformated to merge better with classpath's version.
5214 2004-03-11  Michael Koch  <konqueror@gmx.de>
5216         * java/util/Locale.java
5217         (getISO3Language): Use String.equals() instead of ==.
5218         (getISO3Country): Likewise.
5220 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
5222         * java/text/AttributedString.java
5223         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
5224         Use HashMap instead of Hashtable since value can be null, and
5225         you can not store a null value in a Hashtable.
5227 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
5229         * java/text/AttributedStringIterator.java
5230         (getAllAttributesKey): Return only keys concerned
5231         by the current iterator.
5232         (getAttributes): Use strict inequality for
5233         end_index. 
5235 2004-03-11  Michael Koch  <konqueror@gmx.de>
5237         * java/net/HttpURLConnection.java:
5238         Fixed typo in javadoc.
5240 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
5242         * java/io/BufferedInputStream.java (marktarget): New field for max
5243         mark limit.
5244         (CHUNKSIZE): New constant for incremental mark buffer allocation.
5245         (mark): Use new fields.
5246         (read): Likewise.
5247         (read(byte[],int,int)): Likewise.
5248         (skip): Likewise.
5249         (refill): Likewise.
5251 2004-03-11  Mark Wielaard  <mark@klomp.org>
5253         * java/beans/BeanDescriptor.java (BeanDescriptor):
5254         Set the FeatureDescriptor programmatic name.
5256 2004-03-11  Michael Koch  <konqueror@gmx.de>
5258         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
5259         This file was was just copied form java/io/natFileDescriptorEcos.cc
5260         and never changed to compile correctly.
5262 2004-03-11  Michael Koch  <konqueror@gmx.de>
5264         * gnu/java/nio/PipeImpl.java
5265         (SourceChannelImpl): Made final.
5266         (read): Implemented.
5267         (SinkChannelImpl): Made final.
5268         (write): Implemented.
5270 2004-03-11  Michael Koch  <konqueror@gmx.de>
5272         * gnu/java/net/PlainDatagramSocketImpl.java:
5273         Reformated to match classpath's version more.
5275 2004-03-11  Michael Koch  <konqueror@gmx.de>
5277         * gnu/java/awt/peer/ClasspathFontPeer.java:
5278         Fixed javadoc to be correct xhtml.
5279         * gnu/java/awt/peer/gtk/GtkArgList.java
5280         (add): Use Boolean.valueOf() instead of new Boolean().
5282 2004-03-09  Michael Koch  <konqueror@gmx.de>
5284         * java/lang/Thread.java
5285         (runnable): Moved around.
5286         (daemon): Renamed from daemon_flag.
5287         (contextClassLoader): Renamed from context_class_loader.
5288         (Thread): Reordered constructors.
5289         (activeCount): Use group directly.
5290         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
5291         (holdsLock): Reworked javadoc.
5292         (setDaemon): Reworked.
5293         * java/lang/natThread.cc
5294         (destroy): Removed.
5296 2004-03-08  Anthony Green  <green@redhat.com>
5298         * Makefile.am: Build property resource files into libgcj.
5299         * Makefile.in: Rebuilt.
5300         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
5301         java/util/regex/PatternSyntaxException.java,
5302         gnu/regexp/CharIndexed.java,
5303         gnu/regexp/CharIndexedCharArray.java,
5304         gnu/regexp/CharIndexedInputStream.java,
5305         gnu/regexp/CharIndexedReader.java,
5306         gnu/regexp/CharIndexedString.java,
5307         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
5308         gnu/regexp/REException.java,
5309         gnu/regexp/REFilterInputStream.java,
5310         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
5311         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
5312         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
5313         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
5314         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
5315         gnu/regexp/RETokenLookAhead.java,
5316         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
5317         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
5318         gnu/regexp/RETokenStart.java,
5319         gnu/regexp/RETokenWordBoundary.java,
5320         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
5322 2004-03-03  Per Bothner  <per@bothner.com>
5324         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
5325         Optimize when argument is a FileChannelImpl.
5326         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
5327         New native methods.
5328         * java/nio/channels/natChannels.cc:  New file for new native methods.
5329         * Makefile.am:  Update accordingly.
5331 2004-03-02  Jan Hubicka  <jh@suse.cz>
5333         * configure.host: Pass -fno-omit-frame-pointer for i386.
5334         * configure.in: Likewise.
5335         * configure: Regenerate.
5337 2004-03-01  Per Bothner  <per@bothner.com>
5339         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
5341 2004-02-29  Per Bothner  <per@bothner.com>
5343         * java/nio/channels/FileChannelImpl.java:  Moved to package
5344         gnu/java/nio/channels, since we need to refer to it from java.io.
5345         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
5346         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
5347         from java/nio/channels.  Don't depend on FileDescriptor.
5348         (in, out, err):  New static fields.
5349         (mode):  New field.
5350         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
5351         from FileDescriptor.
5352         (by):  Removed MappedByteBuffer field.
5353         (map):  New working implementation.
5354         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
5355         some code "ported" from natFileDescriptoPosix.cc.
5356         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
5357         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
5358         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
5359         Remove native methods.
5360         * Makefile.am, configure.in:  Updated accordingly.
5362         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
5363         (ch):  New FileChannelImpl field.  Update constructor to match.
5364         (releaseImpl):  Remove native method.  Instead ...
5365         (release):  Call unlock on channel.
5366         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
5368         * java/io/natFileDescriptorEcos.cc:  Remove file.
5369         * java/io/natFileDescriptorPosix.cc:  Remove file.
5370         * java/io/natFileDescriptorWin32.cc:  Remove file.
5371         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
5372         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
5373         (<init>(FileChannelImpl)):  New package-private constructor.
5374         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
5375         (available, close, read, skip):  Implement using FileChannelImpl.
5376         (getFD):  Allocate FileDescriptor if needed.
5377         (getChannel):  Is now trivial.
5378         * java/io/FileOutputStream.java:  Corresponding changes.
5379         * java/io/RandomAccessFile.java:  Corresponding changes.
5381         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
5382         unmapImpl):  New dummy methods, to be overridden by subclass.
5383         (finalize, isLoaded, load, force):  New methods.
5384         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
5385         Now works, at least for read mapping.
5387         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
5388         streams using FileChannelImpl, not FileDescriptor.
5389         * java/lang/natWin32Process.cc (startProcess):  Likewise.
5391 2004-02-28  Michael Koch  <konqueror@gmx.de>
5393         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
5394         wrong code.
5396 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
5398         * java/io/ObjectInputStream.java
5399         (readClassDescriptor): Keep elements of the mapping non null.
5400         (checkTypeConsistency): New method.
5401         (readFields): Fixed main loop and base logic. Small reindentation.
5402         * java/io/ObjectStreamField.java
5403         (lookupField): New method to update the field reference.
5404         (checkFieldType): New method.
5405         * java/io/ObjectStreamClass.java
5406         (setClass, setFields): Call lookupField when building the field
5407         database. Check the real field type.
5409 2004-02-28  Michael Koch  <konqueror@gmx.de>
5411         * java/nio/ByteOrder.java
5412         (nativeOrder): Use equals() to compare strings.
5414 2004-02-26  Michael Koch  <konqueror@gmx.de>
5416         * gnu/java/nio/FileLockImpl.java
5417         (finalize): Made protected.
5418         * java/nio/channels/FileChannel.java
5419         (MapMode.READ_ONLY): Made final.
5420         (MapMode.READ_WRITE): Made final.
5421         (MapMode.PRIVATE): Made final.
5422         * java/nio/channels/SocketChannel.java
5423         (open): Simplified code.
5424         * java/nio/channels/spi/AbstractSelectableChannel.java
5425         (registered): Unused, removed.
5426         (keyFor): Check channel is open, only locate key
5427         and not add a new one.
5428         (register): Don't delete attachments.
5430 2004-02-26  Michael Koch  <konqueror@gmx.de>
5432         * gnu/java/awt/ComponentDataBlitOp.java
5433         (INSTANCE): Made final.
5434         * gnu/java/awt/image/ImageDecoder.java:
5435         Reworked imports.
5436         (cm): Unused, removed.
5438 2004-02-26  Michael Koch  <konqueror@gmx.de>
5440         * gnu/java/nio/DatagramChannelImpl.java
5441         (send): Check if target address is resolved.
5443 2004-02-26  Michael Koch  <konqueror@gmx.de>
5445         * Makefile.am: Generate and install headers for inner classes in
5446         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
5447         * Makefile.in: Regenerated.
5449 2004-02-24  Anthony Green  <green@redhat.com>
5451         * java/lang/StringBuffer.java: No need to NULL out remainder of
5452         buffer since ensureCapacity_unsynchronized will have done this for
5453         us.
5455 2004-02-20  Michael Koch  <konqueror@gmx.de>
5457         * gnu/java/net/protocol/jar/Handler.java
5458         (): Removed unneeded check for file != null. java.net.URL.getFile()
5459         returns an empty string but never null.
5461 2004-02-20  Michael Koch  <konqueror@gmx.de>
5463         * gnu/gcj/convert/Convert.java
5464         (main): Use equals() to compare strings.
5466 2004-02-20  Michael Koch  <konqueror@gmx.de>
5468         * javax/swing/AbstractButton.java: Made several constants final.
5469         (getRolloverSelectedIcon): Made public.
5470         (getSelectedIcon): Made public.
5472 2004-02-16  Per Bothner  <per@bothner.com>
5474         * java/nio/CharBufferImpl.java:  Inline super constructor.
5475         * java/nio/DoubleBufferImpl.java:  Likewise.
5476         * java/nio/FloatBufferImpl.java:  Likewise.
5477         * java/nio/IntBufferImpl.java:  Likewise.
5478         * java/nio/LongBufferImpl.java:  Likewise.
5479         * java/nio/ShortBufferImpl.java:  Likewise.
5480         * java/nio/CharBuffer.java:  Remove unused constructor.
5481         * java/nio/DoubleBuffer.java:  Likewise.
5482         * java/nio/FloatBuffer.java:  Likewise.
5483         * java/nio/IntBuffer.java:  Likewise.
5484         * java/nio/LongBuffer.java:  Likewise.
5485         * java/nio/ShortBuffer.java:  Likewise.
5486         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
5487         Fix buggy call to super constructor.
5488         * java/nio/DoubleViewBufferImpl.java:  Likewise.
5489         * java/nio/FloatViewBufferImpl.java:  Likewise.
5490         * java/nio/IntViewBufferImpl.java:  Likewise.
5491         * java/nio/LongViewBufferImpl.java:  Likewise.
5492         * java/nio/ShortViewBufferImpl.java:  Likewise.
5493         
5494         * java/nio/ByteBuffer.java (endian):  Make non-private so other
5495         java.nio classes can inherit it.
5496         (<init>):  Don't bother clearing array_offset.
5497         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
5498         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
5499         Remove redundant test.
5501         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
5502         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
5503         Use new XxxViewBufferImpl constructors.
5504         * java/nio/MappedByteBufferImpl.java:  Likewise.
5505         * java/nio/DirectByteBufferImpl.java:  Likewise.
5507         * java/nio/ByteBufferImpl.java:  Remove one constructor.
5508         Inline super in remaining constructor.
5509         * java/nio/ByteBuffer.java:  Remove unused constructor.
5511         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
5513         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
5514         * java/nio/DirectByteBufferImpl.java (owner):  New field.
5515         (offset):  Remove unused field.
5516         (<init>):  Modify one and add another constructor.  Change callers.
5517         (allocateDirect):  Removed - not used.
5518         (getImpl, putImpl):  Make static and pass address explicitly,
5519         to make them useful for MappedByteBufferImpl.
5520         (get, put):  Check for underflow.  Modify for new getImpl.
5521         (getImpl):  New native method where target is array.
5522         (get(byte[],int,int)):  Use the above.
5523         (adjustAddress):  New static native method.
5524         (slice, duplicate, asReadOnly):  New implementations.
5525         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
5526         adjustAddress):  New or updated native methods.
5528 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5530         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
5531         overflow of fieldmapping.
5533 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
5535         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5537 2004-02-14  Per Bothner  <per@bothner.com>
5539         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
5540         Set closed before calling implCloseChannel, as in the spec.
5542 2004-02-09  Graydon Hoare  <graydon@redhat.com>
5544         * javax/swing/ToggleButtonModel.java: Remove dead class.
5545         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
5546         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
5547         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
5548         * Makefile.am: Update for new and removed files.
5549         * Makefile.in: Regenerate.
5551         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
5552         * javax/swing/AbstractButton.java 
5553         (AbstractButton): Initialize fields correctly in ctor.
5554         * javax/swing/JCheckbox.java 
5555         (JCheckBox): Override painting flags.
5556         * javax/swing/DefaultButtonModel.java: Conform to sun.
5557         * javax/swing/JComponent.java (paint): Fill with background color
5558         if available.
5559         (processComponentKeyEvent)
5560         (processFocusEvent)
5561         (processKeyEvent)
5562         (processMouseMotionEvent): Remove event-consuming empty methods.
5563         (getUIClassID): Return "ComponentUI" not "JComponent"
5564         * javax/swing/JFrame.java: Remove some debugging chatter.
5565         (JFrame): Subscribe to window events.
5566         * javax/swing/JRadioButton.java 
5567         (JRadioButton): Override painting flags.
5568         * javax/swing/JRootPane.java 
5569         (JRootPane): Set background from UIDefaults.
5570         * javax/swing/JToggleButton.java 
5571         (ToggleButtonModel): New inner class.
5572         (JToggleButton): Override layout alighment.
5573         * javax/swing/SwingUtilities.java:
5574         (getLocalBounds): Return width and height, not x and y.
5575         (calculateInnerArea): Use local bounds, not bounds.
5576         (layoutCompoundLabel): Provide overridden form.
5577         (layoutCompoundLabel): Correct bugs.
5578         * javax/swing/UIDefaults.java: Correct comment.
5579         * javax/swing/plaf/basic/BasicButtonUI.java: 
5580         Move most logic into defaults, external listener.
5581         (paintIcon): Implement icon painting.
5582         (paint): Fix state painting to conform to changes in model.
5583         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
5584         Remove most dead/wrong methods.
5585         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
5586         * javax/swing/plaf/basic/BasicIconFactory.java:
5587         (DummyIcon): New class.
5588         (getMenuItemCheckIcon)
5589         (getMenuItemArrowIcon) 
5590         (getMenuArrowIcon)
5591         (getCheckBoxMenuItemIcon)
5592         (getRadioButtonMenuItemIcon)
5593         (createEmptyFrameIcon): Return DummyIcons, not null.
5594         (getCheckBoxIcon): Implement an icon that looks like sun's.
5595         (getRadioButtonIcon): Implement an icon that looks like sun's.
5596         * javax/swing/plaf/basic/BasicLookAndFeel.java 
5597         (initComponentDefaults): Fix impossible values, add some missing.
5598         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
5599         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
5600         Remove most dead/wrong methods.
5601         (icon): New field.
5602         (getDefaultIcon): New method.
5603         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
5604         Remove most dead/wrong methods.
5605         * javax/swing/plaf/metal/MetalLookAndFeel.java
5606         (getDefaults): Return super.getDefaults(), not BasicDefaults.
5607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5608         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
5609         Implement "clearing" as drawing, when on pixmap drawables.
5611         * javax/swing/JButton.java (getUIClassID): 
5612         * javax/swing/JCheckBox.java (getUIClassID):
5613         * javax/swing/JEditorPane.java (getUIClassID):
5614         * javax/swing/JLabel.java (getUIClassID): 
5615         * javax/swing/JList.java (getUIClassID): 
5616         * javax/swing/JOptionPane.java (getUIClassID): 
5617         * javax/swing/JPanel.java (getUIClassID): 
5618         * javax/swing/JPasswordField.java (uiClassID): 
5619         * javax/swing/JRadioButton.java (getUIClassID): 
5620         * javax/swing/JRootPane.java (getUIClassID): 
5621         * javax/swing/JScrollPane.java (getUIClassID): 
5622         * javax/swing/JTabbedPane.java (getUIClassID): 
5623         * javax/swing/JToggleButton.java (getUIClassID): 
5624         * javax/swing/JTree.java (getUIClassID): 
5625         * javax/swing/JViewport.java (getUIClassID): 
5626         * javax/swing/text/JTextComponent.java (getUIClassID):
5627         Return "fooUI" not "Jfoo"
5629 2004-02-11  Michael Koch  <konqueror@gmx.de>
5631         * java/net/DatagramSocket.java
5632         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
5633         Boolean object.
5634         (setBroadcast): Likewise.
5635         * java/net/MulticastSocket.java
5636         (setLoopbackMode): Likewise.
5637         * java/net/ServerSocket.java
5638         (setReuseAddress): Likewise.
5639         * java/net/Socket.java
5640         (setTcpNoDelay): Likewise.
5641         (setSoLinger): Likewise.
5642         (setOOBInline): Likewise.
5643         (setKeepAlive): Likewise.
5644         (setReuseAddress): Likewise.
5645         * java/net/URLConnection.java
5646         (setContentHandler): Replace == with equals().
5647         * java/net/URLStreamHandler.java
5648         (hostSEquals): Fix checking host addresses.
5649         (toExternalForm): Dont check protocol for null. We know already its
5650         not null.
5652 2004-02-10  David Jee  <djee@redhat.com>
5654         * java/awt/BorderLayout.java
5655         (calcCompSize): Invisible components get zero dimensions.
5656         * java/awt/Button.java
5657         (setLabel): Set actionCommand.
5658         * java/awt/Component.java
5659         (show): Invalidate component and parent container.
5660         (hide): Likewise.
5662 2004-02-10  David Jee  <djee@redhat.com>
5664         * java/awt/GridBagLayout.java
5665         (GridBagLayout): New private field, internalcomptable.
5666         (lookupInternalConstraints): New method.
5667         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
5668         (GetLayoutInfo): Reimplement.
5669         (calcCellSizes): Ignore rows/columns with size 0.
5671 2004-02-10  Michael Koch  <konqueror@gmx.de>
5673         * gnu/java/awt/EmbeddedWindow.java
5674         (setHandle): Use java.awt.Component.getPeer() instead of
5675         java.awt.Component.peer directly.
5677 2004-02-10  David Jee  <djee@redhat.com>
5679         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5680         (gtkSetLabel): New native method definition.
5681         (setLabel): Use gtkSetLabel.
5682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5683         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
5685 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
5687         * include/powerpc-signal.h: Revert 2004-01-21 change.
5688         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
5689         from syscall for ppc32 versions.
5691 2004-02-08  Per Bothner  <per@bothner.com>
5693         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
5694         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
5695         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
5696         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
5697         Pass ByteOrder parameter to most methods, since the underlying
5698         ByteBuffer's order isn't always what we should use.
5699         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
5700         * java/nio/DirectByteBufferImpl.java:  Likewise.
5701         Use ByteBufferHelper methods.
5702         * java/nio/MappedByteBufferImpl.java:  Likewise.
5703         (compact):  Use shiftDown.
5704         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
5705         (get, put):  Use ByteBufferHelper.
5706         (compact):  Use new shiftDown method.
5707         (duplicate(boolean)):  New helper method.
5708         (duplicate, asReadOnlyBuffer):  Use it.
5709         (order):  Return endian field.
5710         * java/nio/DoubleViewBufferImpl.java:  Likewise.
5711         * java/nio/FloatViewBufferImpl.java:  Likewise.
5712         * java/nio/IntViewBufferImpl.java:  Likewise.
5713         * java/nio/LongViewBufferImpl.java:  Likewise.
5714         * java/nio/ShortViewBufferImpl.java:  Likewise.
5715         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
5716         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
5717         (compact):  Re-implement using shiftDown.
5719 2004-02-08  Andreas Jaeger  <aj@suse.de>
5721         * include/x86_64-signal.h: Fix typo.
5723 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
5725         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
5726         qualifier to _regs.
5727         (HANDLE_DIVIDE_OVERFLOW): Likewise.
5729 2004-02-06  Michael Koch  <konqueror@gmx.de>
5731         * java/io/ObjectInputStream.java
5732         (currentClassLoader): Reverted to old version of this method.
5734 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
5736         * java/io/ObjectInputStream.java: Made all calls
5737         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
5738         use cached info from ObjectStreamClass. (readClassDescriptor):
5739         Cache more information in ObjectStreamClass. (processResolution,
5740         readFields): Use cached info from ObjectStreamClass.
5741         (newObject): Throw exception instead of returning null for failure.
5742         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
5743         setCharField, setDoubleField, setFloatField, setIntField,
5744         setLongField, setShortField, setObjectField, readObjectParams):
5745         Removed. (dumpElement, dumpElementln): Removed dump flag condition
5746         check.
5747         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
5748         (setClass): Added call to cacheMethods() (findMethod): New method.
5749         (cacheMethods): New method. (ObjectStreamClass): Added call to
5750         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
5751         AccessController.doPrivileged to invoke setAccessible.
5752         (readObjectMethod, readResolveMethod, realClassIsSerializable,
5753         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
5754         New fields.
5755         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
5756         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
5757         isPrimitive): Made safe for cases where type == null.
5758         (setBooleanField, setByteField, setCharField, setShortField,
5759         setIntField, setLongField, setFloatField, setDoubleField,
5760         setObjectField): New methods.
5762 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5764         * java/awt/Component.java (getFont): Return a default font
5765         instead of null.
5767         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
5768         (Scrollbar (int, int, int, int, int)): Make default page
5769         increment 10.
5770         (setValues): Only call peer.setValues if one of the values has
5771         changed.
5772         (generateName): New method.
5773         (getUniqueLong): New method.
5774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5775         (range_scrollbar): Remove structure.
5776         (post_adjustment_event): Remove function.
5777         (post_change_event): Accept jobject argument.
5778         (create): Cast jints to gdoubles.  Round scrollbar values to the
5779         nearest integer.  Clamp min, max and value settings.
5780         (connectJObject): Connect hook to widget->window.
5781         (connectSignals): Remove range_scrollbar structure variables.
5782         Remove "move-slider" connection.  Pass global peer reference to
5783         "value-changed" callback.
5784         (setLineIncrement): Cast jint value to gdouble.
5785         (setPageIncrement): Likewise.
5786         (setValues): Likewise.  Clamp min, max and value settings.
5788 2004-02-05  Michael Koch  <konqueror@gmx.de>
5790         * javax/swing/AbstractCellEditor.java
5791         (getCellEditorValue): Removed.
5792         * javax/swing/Box.java: Reformated.
5793         (serialVersionUID): New field.
5794         * javax/swing/ButtonGroup.java:
5795         Removed some weird whitespace.
5796         * javax/swing/CellEditor.java: Reformated.
5797         * javax/swing/CellRendererPane.java
5798         (serialVersionUID): New field.
5799         (AccessibleCellRendererPaneserialVersionUID): New field.
5800         * javax/swing/DefaultListModel.java
5801         (serialVersionUID): New field.
5802         * javax/swing/JEditorPane.java
5803         (serialVersionUID): New field.
5804         (setPage): Throws IOException.
5805         (addHyperlinkListener): Implemented.
5806         (removeHyperlinkListener): Implemented.
5807         (getHyperlinkListener): New method.
5808         * javax/swing/JFileChooser.java
5809         (serialVersionUID): New field.
5810         (AccessibleJFileChooser.serialVersionUID): New field.
5811         (addActionListener): Implemented.
5812         (removeActionListener): Implemented.
5813         (getActionListeners): New method.
5814         * javax/swing/JFormattedTextField.java
5815         (serialVersionUID): New field.
5816         (AbstractFormatter.serialVersionUID): New field.
5817         (clone): Throws CloneNotSupportedException
5818         (setEditValid): Add missing argument.
5819         (stringToValue): Throws ParseExcpetion.
5820         (valueToString): Throws ParseException.
5821         (commitEdit): Throws ParseException.
5822         * javax/swing/JLabel.java
5823         (serialVersionUID): New field.
5824         * javax/swing/JList.java
5825         (serialVersionUID): New field.
5826         (addListSelectionListener): Reformated.
5827         (removeListSelectionListener): Reformated.
5828         (getListSelectionListeners): New method.
5829         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5830         Reformated.
5831         (serialVersionUID): New field.
5832         * javax/swing/table/AbstractTableModel.java
5833         (getValueAt): Removed.
5834         (getColumnCount): Removed.
5835         (getRowCount): Removed.
5837 2004-02-05  Michael Koch  <konqueror@gmx.de>
5839         * java/awt/datatransfer/DataFlavor.java
5840         (imageFlavor): Javadoc added.
5841         (javaJVMLocalObjectType): Fixed.
5843 2004-02-05  Michael Koch  <konqueror@gmx.de>
5845         * java/lang/Thread.java
5846         (Thread): Reordered.
5847         (setContextClassLoader): Fixed javadoc comment.
5848         (setPriority): Reordered.
5849         (yield): Reordered.
5850         (initialize_native): Reordered.
5851         (gen_name): Reordered.
5853 2004-02-05  Michael Koch  <konqueror@gmx.de>
5855         * java/lang/Thread.java: Reordered fields, reformated much code,
5856         no functional changes, some variables renamed, javadoc comments
5857         merged.
5859 2004-02-05  Michael Koch  <konqueror@gmx.de>
5861         * java/util/zip/Deflater.java,
5862         java/util/zip/DeflaterOutputStream.java,
5863         java/util/zip/GZIPInputStream.java:
5864         Reformated and javadoc comments merged from classpath.
5866 2004-02-05  Michael Koch  <konqueror@gmx.de>
5868         * gnu/java/nio/NIOServerSocket.java
5869         (impl): Unused, removed.
5870         * gnu/java/nio/SocketChannelImpl.java
5871         (finnishConnect): Don't throw NoConnectionPendingException if not
5872         connected or no connection pending.
5874 2004-02-02  Graydon Hoare  <graydon@redhat.com>
5876         * javax/swing/SwingUtilities.java: Many new functions.
5877         * java/awt/Container.java (LightweightDispatcher): Reimplement.
5878         * javax/swing/basic/BasicGraphicsUtils.java 
5879         (getPreferredButtonSize): Start layout from top-left corner.
5881 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
5883         * java/awt/geom/AffineTransform.java: 
5884         Corrected comments on the field definitions for
5885         m11 and m10.
5886         (shear): Fixed few errors that caused shear
5887         transformation to be performed incorrectly.
5888         (createInverse): Fixed to return correct
5889         inverse of the given matrix.
5891 2004-02-03  Tom Tromey  <tromey@redhat.com>
5893         * java/lang/natPosixProcess.cc (startProcess): Handle case where
5894         PATH or LD_LIBRARY_PATH is not set in parent environment.
5896 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
5898         * gnu/java/awt/peer/gtk/GtkListPeer.java,
5899         java/awt/BorderLayout.java, java/awt/CardLayout.java,
5900         java/awt/CheckboxGroup.java, java/awt/Choice.java,
5901         java/awt/Component.java, java/awt/Container.java,
5902         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
5903         java/awt/LayoutManager2.java, java/awt/List.java,
5904         java/awt/Menu.java, java/awt/MenuBar.java,
5905         java/awt/MenuItem.java, java/awt/Polygon.java,
5906         java/awt/Rectangle.java, java/awt/ScrollPane.java,
5907         java/awt/Scrollbar.java, java/awt/TextArea.java,
5908         java/awt/TextField.java,
5909         java/awt/image/renderable/RenderContext.java,
5910         javax/swing/JApplet.java: Fix handling of alias methods, where a
5911         method has been deprecated in favour of a new one with the same
5912         funtion but a different name.  Put the method implementation in
5913         the deprecated method and have the new method call the
5914         deprecated one.  Make all other code call the new method.
5916 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
5918         * gnu/java/nio/DatagramChannelImpl.java
5919         (inChannelOperation): New field.
5920         (isInChannelOperation): New accessor.
5921         (setInChannelOperation): New modifier.
5922         (receive): Use capacity() - position() of destination
5923         buffer instead of remaining(). Set and reset our "in
5924         channel operation indicator" before and after delegating
5925         the receive to our datagram socket. Removed testing code.
5926         Update destination buffer's current position if it is
5927         backed by a byte array (hasArray() is true).
5928         (send): Set and reset our "in channel operation indicator"
5929         before and after delegating the send to our datagram socket.
5930         Removed testing code. Update source buffer's current position
5931         if it is backed by a byte array (hasArray() is true).
5932         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
5933         Use capacity() - position() of destination buffer instead
5934         of remaining().
5935         * java/net/DatagramSocket.java (receive): Don't throw an
5936         IllegalBlockingModeException if we have a non-blocking
5937         channel which initiated this operation.
5938         (send): Likewise.
5940 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
5942         * configure.in: Add pkgconfig check for glib and gthread.
5943         * configure: Regenerate.
5945 2004-02-01  Michael Koch  <konqueror@gmx.de>
5947         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
5948         arguments.
5949         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
5950         * verify.cc (debug_print): Mark 'fmt' unused.
5952 2004-01-30  Michael Koch  <konqueror@gmx.de>
5954         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
5955         * configure: Regenerated.
5956         * glib-2.0.m4: Removed.
5957         * gtk-2.0.m4: Removed.
5958         * libart.m4: Removed.
5959         * pkg.m4: New file.
5961 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
5963         * gnu/java/net/PlainSocketImpl.java 
5964         (inChannelOperation): New field.
5965         (isInChannelOperation): New accessor.
5966         (setInChannelOperation): New modifier.
5967         * gnu/java/nio/ServerSocketChannelImpl.java
5968         (accept): Set and reset our server socket's PlainSocketImpl's
5969         "in channel operation" indicator before and after delegating
5970         the accept to our server socket.
5971         * gnu/java/nio/SocketChannelImpl.java
5972         (connect): Set and reset our socket's PlainSocketImpl's "in channel
5973         operation" indicator before and after delegating the operation to
5974         our socket.
5975         (read): Likewise.
5976         (write): Likewise.
5977         * java/net/ServerSocket.java (implAccept): Don't throw an
5978         IllegalBlockingModeException if we have a non-blocking
5979         channel which initiated this accept operation.
5980         * java/net/Socket.java (connect): Don't throw an
5981         IllegalBlockingModeException if we have a non-blocking
5982         channel which initiated this connect operation.
5983         * java/nio/channels/spi/AbstractSelectableChannel.java
5984         (configureBlocking): Only call implConfigureBlocking() if
5985         the desired blocking mode is different from our current one.
5987 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
5989         * java/io/BufferedReader.java (sbuf): New field.
5990         (readLine): Use String.valueOf instead of new String() as per
5991         Per Bothner's suggestion. Use instance sbuf field instead of a
5992         local StringBuffer instance.
5993         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
5994         caller's buffer to refill().
5995         (read(void)): Pass our internal work buffer to refill if our
5996         input queue is empty.
5997         (refill): Changed return type to int. Use the specified buffer
5998         instead of our work buffer as per Bryce McKinlay's suggestion.
5999         Return the number of characters read or -1 for EOF.
6001 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
6003         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
6005 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
6007         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
6008         * Makefile.in: Re-generated.
6009         * gnu/awt/xlib/XFontPeer.java: New file.
6010         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
6011         (setClip): Commented out debug printout.
6012         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
6013         (getFontPeer): Return XFontPeer.
6014         (getLocalGraphicsEnvironment): New method.
6015         (getClasspathFontPeer): New method.
6016         (createFont): New method.
6018 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
6020         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
6021         return null. 
6023 2004-01-29  Kim Ho  <kho@redhat.com>
6025         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6026         (gtkLayoutSetVisible): New method
6027         (setMenuBar): Hide layout before setting MenuBar
6028         and reshow it after.
6029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6030         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
6032 2004-01-28  Michael Koch  <konqueror@gmx.de>
6034         * gnu/java/lang/ClassHelper.java
6035         (getPackagePortion): Removed.
6037 2004-01-28  Michael Koch  <konqueror@gmx.de>
6039         * javax/swing/JComponent.java
6040         (listenerList): Initalize globally.
6041         (ancestor_list): Removed.
6042         (veto_list): Removed.
6043         (change_list): Removed.
6044         (get_veto_list): Removed.
6045         (get_change_list): Removed.
6046         (get_ancestor_list): Removed.
6047         (removeAncestorListener): Reimplemented.
6048         (removePropertyChangeListener): Likewise.
6049         (removeVetoableChangeListener): Likewise.
6050         (addAncestorListener): Likewise.
6051         (addPropertyChangeListener): Likewise.
6052         (addVetoableChangeListener): Likewise.
6053         (getListeners): New method.
6054         (getAncestorListeners): Likewise.
6055         (getVetoableChangeListeners): Likewise.
6056         (fireVetoableChange): Throws PropertyVetoException.
6057         * javax/swing/JEditorPane.java
6058         (JEditorPane): Throws IOException.
6060 2004-01-28  David Jee  <djee@redhat.com>
6062         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6063         (create): Set the default foreground color to
6064         java.awt.SystemColor.windowText.
6066 2004-01-27  Michael Koch  <konqueror@gmx.de>
6068         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
6069         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
6070         Reindented to merge with classpath.
6072 2004-01-27  David Jee  <djee@redhat.com>
6074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6075         (addExposeFilter): Handle GtkFramePeer separately.
6076         (removeExposeFilter): Likewise.
6078 2004-01-27  Michael Koch  <konqueror@gmx.de>
6080         * gnu/java/net/protocol/http/Connection.java
6081         (getOutputStream): Fixed typo.
6083 2004-01-27  Michael Koch  <konqueror@gmx.de>
6085         * java/lang/Class.java
6086         (getConstructor): Removed SecurityException from throws clause.
6087         (_getConstructors): Likewise.
6088         (getConstructors): Likewise.
6089         (getDeclaredConstructor): Likewise.
6090         (getDeclaredClasses): Likewise.
6091         (getDeclaredConstructors): Likewise.
6092         (getDeclaredField): Likewise.
6093         (getDeclaredMethod): Likewise.
6094         (getDeclaredMethods): Likewise.
6095         (getField): Likewise.
6096         (getMethod): Likewise.
6097         (getMethods): Likewise.
6099 2004-01-27  Kim Ho  <kho@redhat.com>
6101         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6102         (removeMenuBarPeer): Remove MenuBarPeer argument.
6103         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
6104         (dispose): Call native method.
6105         * java/awt/Frame.java (setMenuBar): Create and remove
6106         MenuBar peers only if the Frame has a peer.
6107         (addNotify): Create the MenuBar peer if one exists.
6108         (removeNotify): Remove MenuBar peer if one exists.
6109         * java/awt/Menu.java: Fix imports.
6110         (addNotify): Don't use full class name.
6111         (removeNotify): Call removeNotify on all children.
6112         * java/awt/MenuBar.java (removeNotify): Call
6113         removeNotify on all children.
6114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6115         (removeMenuBarPeer): Remove MenuBarPeer argument.
6116         Iterate through children to find the Frame's MenuBar.
6117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
6118         New file.
6119         (dispose): Remove references to the MenuComponent.
6121 2004-01-27  Michael Koch  <konqueror@gmx.de>
6123         * javax/swing/AbstractCellEditor.java: Reformated.
6124         * javax/swing/DefaultListSelectionModel.java
6125         (listenerList): Made protected.
6126         (addListSelectionListener): Javadoc added.
6127         (removeListSelectionListener): Likewise.
6128         (getListeners): Likewise.
6129         (getListSelectionListeners): Likewise.
6130         * javax/swing/JComboBox.java: Merged copyright year.
6131         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
6133 2004-01-26  Andrew Haley  <aph@redhat.com>
6135         * javax/swing/table/JTableHeader.java: Extend JComponent
6137 2004-01-26  Kim Ho  <kho@redhat.com>
6139         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
6140         Fix spacing.
6142 2004-01-26  Kim Ho  <kho@redhat.com>
6144         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
6145         method.
6146         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
6147         height and let the Layout Managers readjust anything that
6148         needs to move.
6149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6150         (moveLayout): New method. Shift everything in the Gtk
6151         layout in the Y direction by an offset.
6153 2004-01-26  David Jee  <djee@redhat.com>
6155         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6156         (handleEvent): Implemented. Handles PaintEvents.
6157         (paint): Implemented. Use GTK native methods to queue updates
6158         for this heavyweight peer.
6159         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6160         (handleEvent): Removed.
6161         * java/awt/Component.java
6162         (paint): Implemented. Explictly paint the heavyweight peer.
6163         (update): Clear the background for heavyweight components.
6164         (paintAll): No need to call peer.paint() anymore.
6165         (processEvent): Don't process PaintEvents here. It's now done in
6166         the peer's handleEvent().
6167         (processPaintEvent): Removed.
6168         * java/awt/Container.java
6169         (paint): No need to call super.paint(). Visit heavyweight
6170         children as well.
6171         (update): Don't clear the background here.  It's done in
6172         Component.update().
6173         (visitChildren): Added check to not recurse into Containers.
6174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6175         (filter_expose_event_handler): New method.  Filter unwanted
6176         expose events while painting heavyweight peers.
6177         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6178         New method. Connect filter and block pre_event_handler.
6179         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6180         New method. Disconnect filter and unblock pre_event_handler.
6181         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
6182         New method. Invalidate and update given area.
6183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6184         (pre_event_handler): Add checks for unwanted expose events.
6186 2004-01-26  David Jee  <djee@redhat.com>
6188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6189         (find_bg_color_widget): For GtkButton, return its child.
6191 2004-01-26  Kim Ho  <kho@redhat.com>
6193         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
6194         private.
6195         (setMenuBar): Grab MenuBar height and change insets.
6196         (setBounds): Account for MenuBar height.
6197         (postInsetsChangedEvent): Ditto.
6198         (postSizeAllocateEvent): Remove.
6199         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6200         (menubar_resize_cb): Remove
6201         (setMenuBarPeer): Remove callback.
6202         (getMenuBarHeight): Use size requisition instead of
6203         allocation.
6205 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
6207         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
6208         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
6209         when peer is null.
6210         (setColumns): Remove FIXME -- peer will retrieve number of
6211         columns by calling getColumns.
6212         (setRows): Likewise for number of rows.
6213         (next_text_number): New field.
6214         (paramString): Fix param string.
6215         (generateName): New method.
6216         (getUniqueLong): New method.
6218 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
6220         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
6221         image observer of image loading status.
6222         (getImage (String)): Start image production.
6223         (getImage (URL)): Likewise.
6225 2004-01-25  Michael Koch  <konqueror@gmx.de>
6227         * java/lang/Class.java: Imports reworked, reformated.
6228         (Class): Javadoc added.
6229         (forName): Likewise.
6230         (getClasses): Likewise.
6231         (getClassLoader): Likewise.
6232         (getComponentType): Likewise.
6233         (getConstructor): Likewise.
6234         (getConstructors): Likewise.
6235         (getDeclaredConstructor): Likewise.
6236         (getDeclaredClasses): Likewise.
6237         (getDeclaredConstructors): Likewise.
6238         (getDeclaredField): Likewise.
6239         (getDeclaredMethod): Likewise.
6240         (getDeclaredMethods): Likewise.
6241         (getDeclaringClass): Likewise.
6242         (getField): Likewise.
6243         (getInterfaces): Likewise.
6244         (getMethod): Likewise.
6245         (getMethods): Likewise.
6246         (getModifiers): Likewise.
6247         (getName): Likewise.
6248         (getResource): Likewise.
6249         (getResourceAsStream): Likewise.
6250         (getSigners): Likewise.
6251         (setSigners): Likewise.
6252         (getSuperclass): Likewise.
6253         (isArray): Likewise.
6254         (isAssignableFrom): Likewise.
6255         (isInstance): Likewise.
6256         (isInterface): Likewise.
6257         (isPrimitive): Likewise.
6258         (newInstance): Likewise.
6259         (getProtectionDomain): Likewise.
6260         (toString): Likewise.
6261         (Class): Moved.
6262         (initializeClass): Likewise.
6263         (finalize): Likewise.
6265 2004-01-24  Michael Koch  <konqueror@gmx.de>
6267         * gnu/java/net/protocol/jar/Connection.java
6268         (hdrHash): Removed.
6269         (hdrVec): Removed.
6270         (gotHeaders): Removed.
6271         (getHeaderField): Removed.
6272         (getHeaderFields): Removed.
6273         (getHeaderFieldKey): Removed.
6274         (getKey): Removed.
6275         (getField): Removed.
6276         (getHeaders): Removed.
6278 2004-01-24  Michael Koch  <konqueror@gmx.de>
6280         * Makefile.am: Added library version to gtk peer lib.
6281         * Makefile.in: Regenerated.
6283 2004-01-24  Michael Koch  <konqueror@gmx.de>
6285         * java/util/zip/InflaterInputStream.java: Merged class documentation
6286         with classpath.
6288 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
6290         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
6291         header.  For __powerpc64__ provide the default-signal.h definitions
6292         for now.
6293         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
6294         instead of the dummy definitions.
6295         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
6296         (powerpc64*-*): Remove with_libffi_default.
6297         Only add -mminimal-toc for 64-bit compilations.
6298         * configure.in: Use powerpc-signal.h on powerpc64 as well.
6299         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
6300         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
6301         * configure: Rebuilt.
6303 2004-01-23  Michael Koch  <konqueror@gmx.de>
6305         * gnu/java/nio/FileLockImpl.java: Compile fixes.
6307 2004-01-23  Michael Koch  <konqueror@gmx.de>
6309         * java/lang/VMClassLoader.java: Reworked imports.
6310         
6311 2004-01-23  Michael Koch  <konqueror@gmx.de>
6313         * javax/swing/AbstractAction.java: Reformated.
6315 2004-01-23  Michael Koch  <konqueror@gmx.de>
6317         * java/text/CollationElementIterator.java:
6318         (setText): New method.
6320 2004-01-23  Michael Koch  <konqueror@gmx.de>
6322         * gnu/java/nio/FileLockImpl.java:
6323         Fixed filename in copyright.
6324         (released): Removed.
6325         (finalize): New method.
6326         * gnu/java/nio/natFileLockImpl.cc
6327         (releaseImpl): Implemented.
6328         * java/nio/channels/FileChannelImpl.java:
6329         Reworked imports.
6330         (lock): Implemented.
6331         (lockImpl): New method.
6332         (tryLock): Implemented.
6333         (tryLockImpl): New method.
6334         * java/nio/channels/natFileChannelImpl.cc
6335         (lockImpl): New method.
6336         (tryLockImpl): New method.
6338 2004-01-23  Michael Koch  <konqueror@gmx.de>
6340         * java/io/FileDescriptor.java
6341         (lock): New method.
6342         (tryLock): New method.
6343         (unlock): New method.
6344         * java/io/natFileDescriptorEcos.cc
6345         (lock): New method.
6346         (tryLock): New method.
6347         (unlock): New method.
6348         * java/io/natFileDescriptorPosix.cc
6349         (lock): New method.
6350         (tryLock): New method.
6351         (unlock): New method.
6352         * java/io/natFileDescriptorWin32.cc
6353         (lock): New method.
6354         (tryLock): New method.
6355         (unlock): New method.
6357 2004-01-23  Michael Koch  <konqueror@gmx.de>
6359         * java/io/FileDescriptor.java
6360         (sync): Moved around, added javadoc.
6361         (valid): Likewise.
6362         (open): Likewise.
6363         (write): Likewise.
6364         (close): Likewise.
6365         (setLength): Likewise.
6366         (seek): Likewise.
6367         (getLength): Likewise.
6368         (getFilePointer): Likewise.
6369         (read): Likewise.
6370         (available): Likewise.
6371         (finalize): Likewise.
6373 2004-01-23  Michael Koch  <konqueror@gmx.de>
6375         * javax/swing/AbstractAction.java: Reformated.
6376         (getPropertyChangeListeners): New method.
6377         * javax/swing/AbstractCellEditor.java: Reformated.
6378         (getCellEditorListeners): New method.
6379         * javax/swing/DefaultListSelectionModel.java
6380         (listenerList): New field.
6381         (listeners): Removed.
6382         (get_listeners): Removed.
6383         (addListSelectionListener): Rewritten.
6384         (removeListSelectionListener): Rewritten.
6385         (getListSelectionListeners): New method.
6386         (getListeners): New method.
6387         * javax/swing/JComboBox.java: Imports reworked.
6388         (addActionListener): Implemented.
6389         (removeActionListener): Implemented.
6390         (addItemListener): Implemented.
6391         (removeItemListener): Implemented.
6392         (addPopupMenuListener): Implemented.
6393         (removePopupMenuListener): Implemented.
6394         (getActionListeners): New method.
6395         (getItemListeners): New method.
6396         (getPopupMenuListeners): New method.
6398 2004-01-23  Michael Koch  <konqueror@gmx.de>
6400         * gnu/java/net/protocol/http/Connection.java
6401         (connect): Don't initialize bufferedOutputStream if not needed.
6402         (sendRequest): Set property for content length if content is present.
6403         Write content only if present.
6404         (getOutputStream): Check if already connected, dont connect,
6405         initalize bufferedOutputStream if needed.
6407 2004-01-23  Michael Koch  <konqueror@gmx.de>
6409         * java/io/FileDescriptor.java
6410         (in, out, err): Added javadoc.
6411         (static): Merged loading code.
6412         (fd, position): Moved around.
6414 2004-01-23  Michael Koch  <konqueror@gmx.de>
6416         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
6417         New file.
6419 2004-01-23  Michael Koch  <konqueror@gmx.de>
6421         * java/lang/Class.java,
6422         java/lang/Object.java,
6423         java/lang/Thread.java: Merged copyright with classpath.
6425 2004-01-23  Michael Koch  <konqueror@gmx.de>
6427         * java/io/FileDescriptor.java: Merged copyright with classpath to
6428         start merging this class.
6430 2004-01-22  Tom Tromey  <tromey@redhat.com>
6432         PR libgcj/13107:
6433         * testsuite/libjava.lang/pr13107_2.xfail: New file.
6434         * testsuite/libjava.lang/pr13107_3.xfail: New file.
6435         * testsuite/libjava.lang/pr13107_3.java: New file.
6436         * testsuite/libjava.lang/pr13107_3.out: New file.
6437         * testsuite/libjava.lang/pr13107_2.java: New file.
6438         * testsuite/libjava.lang/pr13107_2.out: New file.
6439         * testsuite/libjava.lang/pr13107.java: New file.
6440         * testsuite/libjava.lang/pr13107.out: New file.
6441         * verify.cc (jsr_ptrs): Removed.
6442         (entry_points): Likewise.
6443         (struct subr_info): Likewise.
6444         (struct subr_entry_info): Likewise.
6445         (type_val::unused_by_subroutine_type): Likewise.
6446         (type::merge): Don't handle unused_by_subroutine_type.
6447         (type::print): Likewise.
6448         (state::flags): Removed.
6449         (state::subroutine): Likewise.
6450         (state::seen_subrs): Likewise.
6451         (state::NO_STACK): Likewise.
6452         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
6453         (state): Updated all methods.
6454         (state::clean_subrs): Removed.
6455         (state::state): Removed `ret_semantics' flag.
6456         (state::copy): Likewise.
6457         (state::add_subr): Removed.
6458         (state::enter_subroutine): Likewise.
6459         (type::set_return_address): New method.
6460         (handle_jsr_insn): Set return address on the type.  Always
6461         invalidate PC after call.
6462         (check_nonrecursive_call): Removed.
6463         (~_Jv_BytecodeVerifier): Updated.
6464         (branch_prepass): Removed special handling of jsr.
6465         (note_branch_target): Likewise.
6466         (get_subroutine): Removed.
6467         (state::merge): Don't merge subroutines and don't handle
6468         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
6469         (state::note_variable): Removed.
6470         (state::is_unmerged_ret_state): Likewise.
6471         (state::print): Updated.
6472         (set_variable): Likewise.
6473         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
6474         and jsr_semantics arguments.  Updated for new reverification
6475         list.
6476         (pop_jump): Rewrote.
6477         (construct_primitive_array_type): Updated.
6478         (state::next): Removed.
6479         (INVALID_STATE): New define.
6480         (state::INVALID): Removed.
6481         (state::NO_NEXT): New value.
6482         (state::pc, state::next): New fields.
6483         (state::get_pc): New method.
6484         (next_verify_pc): Removed.
6485         (next_verify_state): New field.
6486         (verify_instructions_0): Always check for falling off end.
6487         (linked): New type.
6488         (linked_utf8): Removed.
6489         (states): Changed type.
6490         (type::state_mergeable_p): New method.
6491         (state::state_mergeable_p): Likewise.
6492         (handle_ret_insn): Removed most code.
6493         (state::reverify): New method.
6494         (add_new_state): Likewise.
6495         (state::set_pc): Likewise.
6497 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
6499         PR java/13733
6500         * testsuite/libjava.compile/PR13733.java: New file.
6501         * testsuite/libjava.compile/PR13733.xfail: New file.
6503 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
6504             Michael Koch  <konqueror@gmx.de>
6506         * javax/swing/table/DefaultTableCellRenderer.java
6507         (DefaultTableCellRenderer): Added javadoc for the class and for
6508         the constructor, Border instance, create an EmptyBorder.
6509         (UIResource): Removed the comment at the end of the class
6510         (setForeground): New method.
6511         (setBackground): New method.
6512         (updateUI): New method.
6513         (getTableCellRendererComponent): Rewritten with the help of
6514         dvholten and Stephane Meslin-Weber.
6515         (validate): New method.
6516         (repaint): New method.
6517         (firePropertyChange): New method.
6518         (setValue): New method.
6520 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6523         (connectJObject): Replace printf calls with g_assert statements.
6524         Move property-notify-event signal connection to ...
6525         (connectSignals): Connect property-notify-event signal.  Iterate
6526         through the vbox's children to find layout.
6528 2004-01-22  Graydon Hoare  <graydon@redhat.com>
6529         
6530         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
6531         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
6532         Predicate static initialization on GtkToolkit.useGraphics2D().
6533         * java/awt/Component.java (processPaintEvent): Consume event.
6534         * javax/swing/AbstractButton.java: Reimplement, document.
6535         * javax/swing/DefaultButtonModel.java: Reimplement, document.
6536         * javax/swing/JComponent.java (paint): Use double buffer.
6537         (listenerList): Enable member.
6538         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
6539         * javax/swing/JToggleButton.java 
6540         (JToggleButton): Modify model constructor.
6541         * javax/swing/SwingUtilities.java 
6542         (layoutCompoundLabel): Adjust arithmetic.
6543         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
6544         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
6545         (getPreferredButtonSize): Include margins in calculation.
6546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6547         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
6548         Receive up events from subordinate layout component.
6550 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
6552         * java/awt/Component.java (show): Set visible to true before
6553         showing the peer.
6555 2004-01-21  Kim Ho  <kho@redhat.com>
6557         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
6558         Fix comments.
6559         (removeMenuBarPeer): Make package private.
6560         (setMenuBarPeer): Make package private.
6561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6562         (menubar_resize_cb): Mark attributes unused.
6563         (getMenuBarHeight): ditto.
6565 2004-01-21  David Jee  <djee@redhat.com>
6567         * java/awt/Container.java
6568         (LightweightDispatcher.handleEvent): Add an extra check to avoid
6569         dispatching MOUSE_ENTERED event twice. Translate the point for
6570         the mouse event target before dispatching the event.
6572 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
6574         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
6575         lib_org_w3c_dom_la_LDFLAGS): New.
6576         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
6577         * Makefile.in: Rebuilt.
6579 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
6581         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
6582         Calculate proper offsets for heavyweight components packed in
6583         lightweight containers.
6585         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6586         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6587         (native create): Add width parameter.
6588         (create): Calculate text entry width based on current font's
6589         metrics and number of columns.  Set TextField's font if not
6590         already set.  Call native create.
6591         (gtkEntryGetBorderWidth): New native method.
6592         (gtkEntryGetSize): Remove method.
6593         (getMinimumSize): Call minimumSize.
6594         (getPreferredSize): Call preferredSize.
6595         (minimumSize): Calculate minimum size based on backing
6596         GtkEntry's borders, font metrics and number of columns.
6597         (preferredSize): Likewise for preferred size.
6598         (get_border_width): New static function.
6600         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6601         Override GtkWindowPeer's setResizable method to account for menu
6602         bar height when setting the frame's size.
6604 2004-01-19  Matthias Klose  <doko@debian.org>
6606         * libtool-version: Increased `current' to 6.
6608 2004-01-19  Kim Ho  <kho@redhat.com>
6610         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6611         (connectJObject): Iterate through the vbox's children to find layout.
6613 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
6615         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
6616         isDispatchThread method to replace wrong test condition.
6618 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
6620         * java/awt/EventQueue.java (pop): Prevent racing condition to add
6621         events to the queue out of order by acquiring locks in the proper
6622         order and not by releasing one before acquiring the other.
6624 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
6626         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
6627         visible so that dialog can be reused.
6629 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
6631         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
6632         events may be handled by any queue in the stack.
6634 2004-01-19  Kim Ho  <kho@redhat.com>
6636         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
6637         MenuBarPeer parameter.
6638         (removeMenuBarPeer): New native method.
6639         (setMenuBar): Call remove if menu bar is null. Adjust insets
6640         appropriately.
6641         (postSizeAllocateEvent): New method. Called when menu bar size is
6642         allocated. Adjust insets and redo layout.
6643         (GtkFramePeer): Set menu bar during frame creation.
6644         (postConfigureEvent): Adjust position and size to accomodate
6645         menu bar.
6646         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
6647         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
6648         (addNotify): Create the peer if it doesn't exist and call addNotify
6649         for the menu's items.
6650         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
6651         * java/awt/MenuItem.java (addNotify): Create the peer if it
6652         doesn't exist.
6653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6654         (removeMenuBarPeer): New method. Remove menu bar on the current
6655         frame.
6656         (setMenuBarPeer): Add the menu bar to the current frame and the
6657         callback for size-allocate events on the menu bar.
6658         (getMenuBarHeight): Add menu bar parameter.
6659         (menubar_resize_cb): New callback method for postSizeAllocate events.
6661         Also: Fix indentation on last ChangeLog entry.
6663 2004-01-16  Kim Ho  <kho@redhat.com>
6665         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6666         (gtkWidgetGetDimensions): Remove.
6667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6668         (gtkWidgetGetDimensions): Remove.
6670 2004-01-16  Tom Tromey  <tromey@redhat.com>
6672         * java/awt/Container.java: Typo and indentation fixes.
6674         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
6675         * java/lang/natVMClassLoader.cc: ...here.  New file.
6676         * Makefile.in: Rebuilt.
6677         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6679 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
6681         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
6682         Discard GDK_ENTER_NOTIFY related to ungrabs.
6684 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
6686         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
6687         is called for an intermediate queue.
6689 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
6691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6692         (window_property_changed_cb): Set id_set.
6694 2004-01-16  Kim Ho  <kho@redhat.com>
6696         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
6697         it is a FileDialog and has dimensions of 0 by 0, then the initial
6698         size is set to size request plus insets.
6699         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6700         (gtkWidgetGetDimensions): Override method.
6701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6702         (gtkWidgetGetDimensions): Override method. Returns size request plus
6703         insets.
6705 2004-01-16  Andrew Haley  <aph@redhat.com>
6707         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
6708         * sysdep/i386/locks.h: Likewise.
6710 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
6712         * java/awt/EventDispatchThread.java (run): Stop running when
6713         interrupted.
6714         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
6715         Reset the queue after transferring its contents.
6716         (push): Start a new dispatch thread if none is running.
6718 2004-01-16  Olga Rodimina <rodimina@redhat.com>
6720         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6721         (doPolygon): set fill rule of polygon to 
6722         WIND_EVEN_ODD by default.
6724 2004-01-15  Olga Rodimina <rodimina@redhat.com>
6726         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6727         Implemented rendering hints related methods.
6728         (getDefaultHints): New helper method. Returns
6729         default rendering hints.
6730         (walkPath): changed to normalize path if
6731         the KEY_STROKE_CONTROL key is in "normalize" mode.
6732         (draw3DRect): changed coordinates of rectangle by +0.5
6733         if in "normalize" mode.
6735 2004-01-15  Tom Tromey  <tromey@redhat.com>
6737         * Makefile.in: Rebuilt.
6738         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
6739         (%.lo: %.java) Filter out StackTrace.lo.
6741 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
6743         * configure.in: Add in AC_PREREQ(2.13)
6744         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
6745         FIXME comment.
6747 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
6748             Tom Tromey  <tromey@redhat.com>
6750         PR libgcj/12001:
6751         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
6752         array to superclass.
6753         (init): Changed interface; add URLs here.
6754         (initialize): New static method.
6755         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
6756         (_Jv_RunMain): ... not here.
6758 2004-01-14  Michael Koch  <konqueror@gmx.de>
6760         * java/text/MessageFormat.java:
6761         Added descriptions to exceptions.
6762         This fixes PR libgcj/2429.
6764 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
6766         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
6767         (push): Make sure push is performed at the top of the thread stack.
6769 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6771         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6772         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6773         (native create): Add width and height parameters.  Set text
6774         view's size request according to new parameters.
6775         (create): Calculate text view size based on current font's
6776         metrics and number of rows and columns.  Set TextArea's font if
6777         not already set.  Call native create.
6778         (getMinimumSize): Call minimumSize.
6779         (getPreferredSize): Call preferredSize.
6780         (getHScrollbarHeight): New method.
6781         (getVScrollbarWidth): New method.
6782         (minimumSize): Calculate minimum size based on scrollbar
6783         visibility, scrollbar sizes, font metrics and number of rows and
6784         columns.
6785         (preferredSize): Likewise for preferred size.
6786         (gtkTextGetSize): Remove method.
6788 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6790         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6791         (initializeInsets): Remove method.
6792         (GtkComponentPeer): Initialize insets field.  Remove call to
6793         initializeInsets.
6794         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
6795         Remove method.
6796         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
6797         Remove method.
6798         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6799         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6800         (latestInsets): Remove field.
6801         (native create): Add insets parameter.  Call
6802         window_get_frame_extents.  Set the window's default size and
6803         size request based on its frame extents.
6804         (create): Initialize insets.
6805         (postInsetsChangedEvent): New method.
6806         (postConfigureEvent): Remove parameters top, left, bottom,
6807         right.  Remove insets-related logic.
6808         (connectJObject): Handle property-notify-event.
6809         (window_get_frame_extents, request_frame_extents,
6810         property_notify_predicate, window_property_changed_cb): New
6811         static functions.
6812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6813         (pre_event_handler): Remove insets-related logic for configure
6814         events.
6815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
6816         Update postConfigureEvent signature.
6818 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
6820         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
6821         to handle Window "Closing" events.
6823 2004-01-13  David Jee  <djee@redhat.com>
6825         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6826         (setBackground): New method. Children with no explicitly-set
6827         background will be repainted with the parent container's new
6828         background color.
6830 2004-01-13  David Jee  <djee@redhat.com>
6832         * Makefile.am: Add BitwiseXORComposite.java.
6833         * Makefile.in: Regenerated.
6834         * gcj/Makefile.in: Regenerated.
6835         * include/Makefile.in: Regenerated.
6836         * testsuite/Makefile.in: Regenerated.
6838 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
6840         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
6841         not show modal dialogs twice and so that it allows showing a modal
6842         dialog from another modal dialog.
6844 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
6846         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
6847         and run secondary dispatch thread to process event queue while this
6848         thread is blocked.
6850 2004-01-12  Graydon Hoare  <graydon@redhat.com>
6852         * gnu/java/awt/gtk/GdkGraphics2D.java
6853         (static): Check GtkToolkit before initializing static state.
6854         (Graphics2D): Don't construct transform with 0.5 unit offset.
6856 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
6858         * gnu/java/awt/BitwiseXORComposite.java: Add.
6859         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6860         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
6861         (BitwiseXORComposite): Remove inner class.
6863 2004-01-11  Michael Koch  <konqueror@gmx.de>
6865         * gnu/java/lang/reflect/TypeSignature.java
6866         (getEncodingOfClass): Documentation fixed.
6867         (getClassForEncoding): Give class loader to Class.forName().
6868         Documentation fixed.
6870 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
6872         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
6874 2004-01-11  Michael Koch  <konqueror@gmx.de>
6876         * javax/swing/undo/StateEditable.java
6877         (RCSID): Removed redundant modifiers.
6879 2004-01-10  Michael Koch  <konqueror@gmx.de>
6881         * javax/print/attribute/EnumSyntax.java
6882         (getStringTable): Made protected.
6883         (getEnumValueTable): Likewise.
6884         * javax/print/attribute/standard/JobKOctetsProcessed.java
6885         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
6886         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
6887         (JobMediaSheetsCompleted): Made class final.
6888         * javax/print/attribute/standard/OutputDeviceAssigned.java
6889         (getName): Fixed typo.
6890         * javax/print/attribute/standard/RequestingUserName.java
6891         (serialVersionUID): Fixed value.
6893 2004-01-10  Michael Koch  <konqueror@gmx.de>
6895         * javax/swing/plaf/basic/BasicButtonUI.java,
6896         javax/swing/plaf/basic/BasicCheckBoxUI.java,
6897         javax/swing/plaf/basic/BasicListUI.java,
6898         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6899         javax/swing/plaf/basic/BasicPanelUI.java,
6900         javax/swing/plaf/basic/BasicRadioButtonUI.java,
6901         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6902         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6903         javax/swing/plaf/basic/BasicViewportUI.java:
6904         Fixed import statements.
6906 2004-01-10  Michael Koch  <konqueror@gmx.de>
6908         * gnu/java/awt/image/ImageDecoder.java
6909         (produce): Made public.
6910         * gnu/java/awt/peer/GLightweightPeer.java,
6911         gnu/java/awt/peer/gtk/GtkToolkit.java:
6912         Reformated.
6914 2004-01-10  Michael Koch  <konqueror@gmx.de>
6916         * javax/swing/JRadioButtonMenuItem.java,
6917         javax/swing/JSeparator.java,
6918         javax/swing/JSplitPane.java,
6919         javax/swing/JTextPane.java,
6920         javax/swing/JToolBar.java,
6921         javax/swing/ListCellRenderer.java,
6922         javax/swing/ListModel.java,
6923         javax/swing/MenuElement.java,
6924         javax/swing/OverlayLayout.java,
6925         javax/swing/ProgressMonitor.java,
6926         javax/swing/ProgressMonitorInputStream.java,
6927         javax/swing/Renderer.java,
6928         javax/swing/RootPaneContainer.java,
6929         javax/swing/Scrollable.java,
6930         javax/swing/SingleSelectionModel.java,
6931         javax/swing/ToolTipManager.java,
6932         javax/swing/ViewportLayout.java,
6933         javax/swing/event/DocumentEvent.java,
6934         javax/swing/event/SwingPropertyChangeSupport.java,
6935         javax/swing/event/TreeSelectionEvent.java,
6936         javax/swing/event/UndoableEditEvent.java,
6937         javax/swing/text/AbstractDocument.java,
6938         javax/swing/text/AttributeSet.java,
6939         javax/swing/text/Caret.java,
6940         javax/swing/text/ComponentView.java,
6941         javax/swing/text/DefaultCaret.java,
6942         javax/swing/text/DefaultEditorKit.java,
6943         javax/swing/text/Document.java,
6944         javax/swing/text/EditorKit.java,
6945         javax/swing/text/GapContent.java,
6946         javax/swing/text/Keymap.java,
6947         javax/swing/text/MutableAttributeSet.java,
6948         javax/swing/text/PlainEditorKit.java,
6949         javax/swing/text/Segment.java,
6950         javax/swing/text/Style.java,
6951         javax/swing/text/StyledDocument.java,
6952         javax/swing/text/StyledEditorKit.java,
6953         javax/swing/text/TextAction.java,
6954         javax/swing/text/View.java: Fixed import statements.
6956 2004-01-08  Graydon Hoare  <graydon@redhat.com>
6958         * javax/swing/JLayeredPane.java: Rewrite to accomodate
6959         djee@redhat.com's recent inverse ordering of Container elements.
6961 2004-01-09  Michael Koch  <konqueror@gmx.de>
6963         * gnu/java/lang/ArrayHelper.java
6964         (equalsArray): Removed.
6966 2004-01-09  Andrew Haley  <aph@redhat.com>
6968         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
6969         a Utf8Const field before looking at its class.
6971 2004-01-09  Michael Koch  <konqueror@gmx.de>
6973         * javax/print/attribute/standard/DocumentName.java,
6974         javax/print/attribute/standard/JobHoldUntil.java,
6975         javax/print/attribute/standard/JobMessageFromOperator.java,
6976         javax/print/attribute/standard/JobName.java,
6977         javax/print/attribute/standard/JobOriginatingUserName.java,
6978         javax/print/attribute/standard/OutputDeviceAssigned.java,
6979         javax/print/attribute/standard/PrinterInfo.java,
6980         javax/print/attribute/standard/PrinterLocation.java,
6981         javax/print/attribute/standard/PrinterMakeAndModel.java,
6982         javax/print/attribute/standard/PrinterMessageFromOperator.java,
6983         javax/print/attribute/standard/PrinterName.java,
6984         javax/print/attribute/standard/RequestingUserName.java: New files.
6985         * Makefile.am (javax_source_files): Added new files.
6986         * Makefile.in: Regenerated.
6988 2004-01-09  Michael Koch  <konqueror@gmx.de>
6990         * javax/swing/AbstractAction.java,
6991         javax/swing/AbstractSet.java,
6992         javax/swing/Action.java,
6993         javax/swing/ActionMap.java,
6994         javax/swing/BoundedRangeModel.java,
6995         javax/swing/ButtonModel.java,
6996         javax/swing/CellEditor.java,
6997         javax/swing/CellRendererPane.java,
6998         javax/swing/ComboBoxEditor.java,
6999         javax/swing/DebugGraphics.java,
7000         javax/swing/DefaultCellEditor.java,
7001         javax/swing/DefaultCellRenderer.java,
7002         javax/swing/DefaultComboBoxModel.java,
7003         javax/swing/DefaultDesktopManager.java,
7004         javax/swing/DefaultFocusManager.java,
7005         javax/swing/DefaultListCellRenderer.java,
7006         javax/swing/Icon.java,
7007         javax/swing/JButton.java,
7008         javax/swing/JCheckBoxMenuItem.java,
7009         javax/swing/JDesktopPane.java,
7010         javax/swing/JEditorPane.java,
7011         javax/swing/JMenu.java,
7012         javax/swing/JPanel.java,
7013         javax/swing/JPasswordField.java,
7014         javax/swing/JPopupMenu.java,
7015         javax/swing/JProgressBar.java: Reworked imports.
7017 2004-01-09  Michael Koch  <konqueror@gmx.de>
7019         * java/awt/geom/PathIterator.java
7020         (WIND_EVEN_ODD): Removed redundant modifiers.
7021         (WIND_NON_ZERO): Likewise.
7022         (SEG_MOVETO): Likewise.
7023         (SEG_LINETO): Likewise.
7024         (SEG_QUADTO): Likewise.
7025         (SEG_CUBICTO): Likewise.
7026         (SEG_CLOSE): Likewise.
7027         * java/awt/image/SinglePixelPackedSampleModel.java:
7028         Removed redundant semicolon.
7029         * java/io/ObjectInputStream.java
7030         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
7031         * java/util/logging/Filter.java
7032         (isLoggable): Removed redundant modifier.
7033         * java/util/logging/LogManager.java:
7034         Removed redundant semicolon.
7035         * java/util/logging/XMLFormatter.java
7036         (format): Removed unused variable "key".
7038 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
7040         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
7041         New name for the former setFile native method.
7042         (setFile): New method.
7043         (setDirectory): Implemented.
7044         (connectSignals): New native method.
7045         (setFilenameFilter): Improve comment.
7046         (getGraphics): Comment.
7047         (gtkHideFileDialog): New method.
7048         (gtkDisposeFileDialog): New method.
7049         (gtkSetFilename): New method.
7050         * java/awt/Dialog.java (show): Block on modal dialogs, but only
7051         for FileDialog for now.
7052         (hide): New method.
7053         (dispose): New method.
7054         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7055         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
7056         deprecated creation functions.  Make dialog modal.  Add it to the
7057         window group.
7058         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
7059         function.
7060         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
7061         Rename to...
7062         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
7063         name.
7064         (window_closed): New function.
7065         (ok_clicked): New function.
7066         (cancel_clicked): New function.
7068 2004-01-08  Michael Koch  <konqueror@gmx.de>
7070         * javax/swing/JLayeredPane.java: Revert changes to standard
7071         boilerplate, reworked imports.
7073 2004-01-07  Tom Tromey  <tromey@redhat.com>
7075         PR libgcj/13439:
7076         * verify.cc (state::merge): Copy changed locals out of subroutine
7077         in NO_STACK case.
7078         (state::FLAG_CHANGED): New const.
7079         (state::FLAG_UNUSED): Likewise.
7080         (state::local_changed): Removed.  Updated all users.
7081         (state::flags): New field.
7082         (state::merge): Added jsr_semantics argument, more logic.
7083         (push_jump_merge): Added jsr_semantics argument.
7084         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
7085         merging through the jsr instruction.
7087 2004-01-07  Tom Tromey  <tromey@redhat.com>
7089         * scripts/MakeDefaultMimeTypes.java: Use \n, not
7090         backslash-newline.
7092 2004-01-07  Graydon Hoare  <graydon@redhat.com>
7094         * java/awt/Container.java (LightweightDispatcher): Implement.
7095         (visitChild): Reuse graphics object.
7096         (dispatchEventImpl): Optionally dispatch to lightweight.
7097         (addNotifyContainerChildren): Build LightweightDispatcher.
7099 2004-01-07  David Jee  <djee@redhat.com>
7101         * java/awt/Container.java
7102         (update): Clear only the clipped region, instead of clearing the
7103         entire Container.
7104         (visitChildren): Visit children in descending order.
7106 2004-01-07  Michael Koch  <konqueror@gmx.de>
7108         * java/lang/reflect/Array.java: Merged documentation with classpath.
7110 2004-01-07  Michael Koch  <konqueror@gmx.de>
7112         * java/text/CollationElementIterator.java
7113         (textIndex): Renamed from index.
7114         * java/text/CollationKey.java
7115         (collator): New member.
7116         (CollationKey): New argument for parent collator.
7117         (equals): Check for same collator, source string and key array.
7118         * java/text/RuleBasedCollator.java:
7119         Reformated.
7120         (RuleBasedCollator): Don't re-initialize frenchAccents with default
7121         value.
7122         (getCollationElementIterator): Rewritten.
7123         (getCollationKey): Added new argument to CollationKey constructor.
7125 2004-01-07  Michael Koch  <konqueror@gmx.de>
7127         * gnu/java/nio/DatagramChannelImpl.java
7128         (blocking): Removed.
7129         (DatagramChannelImpl): Call configureBlocking().
7130         (implConfigureBlocking): Dont initialize blocking.
7131         * gnu/java/nio/ServerSocketChannelImpl.java
7132         (blocking): Removed.
7133         (ServerSocketChannelImpl): Call configureBlocking().
7134         (implConfigureBlocking): Dont initialize blocking.
7135         * gnu/java/nio/SocketChannelImpl.java
7136         (blocking): Removed.
7137         (SocketChannelImpl): Call configureBlocking().
7138         (implConfigureBlocking): Dont initialize blocking.
7139         (connect): Use isBlocking().
7140         * java/nio/channels/spi/AbstractSelectableChannel.java
7141         (configureBlocking): Use blockingLock() instead of LOCK.
7142         Set blocking after successfully called implConfigureBlocking().
7143         (register): Use blockingLock() instead of LOCK.
7145 2004-01-07  Michael Koch  <konqueror@gmx.de>
7147         * java/net/ServerSocket.java (isBound): Fixed documentation.
7149 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
7151         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
7152         (changeEvent): Create event object on demand.
7153         (DefaultBoundedRangeModel, toString, setValue, setExtent,
7154         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
7155         fireStateChanged): Re-written.
7156         * javax/swing/event/EventListenerList.java: Reformatted, document
7157         typical usage.
7158         (toString): Implemented.
7159         (getListeners): Re-written.
7160         (remove): Re-written.
7161         (add): Re-written.
7162         (NO_LISTENERS): New singleton field.
7163         (listenerList): Declare as transient; document.
7164         (serialVersionUID): Document.
7165         (getListenerCount(Class)): More efficient implementation,
7166         also accepts null argument.  Improve Javadoc.
7167         (getListenerCount()): Remove unnecessary cast; docfix.
7168         * javax/swing/undo/UndoableEditSupport.java:
7169         Re-format, document.
7170         (UndoableEditSupport): Set realSource field. Improve documentation.
7171         (_postEdit): Iterate over cloned listener vector.
7172         (toString): Don't emit realSource.
7173         (beginUpdate, endUpdate): Support nested updates.
7174         (postEdit): Use compound edit if present.
7176 2004-01-06  Graydon Hoare  <graydon@redhat.com>
7178         * java/awt/Container.java (swapComponents): Add forgotten
7179         function, required for JLayeredPane change.
7181 2004-01-06  Michael Koch  <konqueror@gmx.de>
7183         * java/text/CollationElementIterator.java: Reformated.
7184         (CollationElementIterator): Changed order of arguments.
7185         * java/text/RuleBasedCollator.java
7186         (RuleBasedCollator): Merged class documentation.
7187         (CollationElement): Added documentation.
7188         (compare): Reformated, renamed arguments.
7189         (equals): Likewise.
7190         (getCollationElementIterator): Likewise.
7191         (getCollationKey): Likewise.
7193 2004-01-06  Graydon Hoare  <graydon@redhat.com>
7195         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
7197 2004-01-06  Michael Koch  <konqueror@gmx.de>
7199         * gnu/java/net/protocol/file/Connection.java:
7200         Reformated copyright.
7201         (hdrHash): Removed.
7202         (hdrVec): Removed.
7203         (gotHeaders): Removed.
7204         (getHeaderField): Removed.
7205         (getHeaderField): Removed.
7206         (getHeaderFieldKey): Removed.
7207         (getKey): Removed.
7208         (getField): Removed.
7209         (getHeaders): Removed.
7211 2004-01-06  Michael Koch  <konqueror@gmx.de>
7213         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7214         javax/print/attribute/standard/DateTimeAtCreation.java,
7215         javax/print/attribute/standard/DateTimeAtProcessing.java,
7216         javax/print/attribute/standard/JobImpressionsCompleted.java,
7217         javax/print/attribute/standard/JobKOctets.java,
7218         javax/print/attribute/standard/JobKOctetsProcessed.java,
7219         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7220         javax/print/attribute/standard/JobPrioritySupported.java: New files.
7221         * Makefile.am (javax_source_files): Added new files.
7222         * Makefile.in: Regenerated.
7224 2004-01-06  Michael Koch  <konqueror@gmx.de>
7226         * java/net/URLConnection.java
7227         (contentHandler): Removed.
7228         (locale): Removed.
7229         (getHeaderFields): Return an empty map instead of null.
7230         (getContent): Connect if needed, renamed "cType" to "type" and
7231         "contentHandler" to "ch" and made it a local variable.
7232         (getPermission): Don't use package in class name.
7233         (setDefaultRequestProperty): Fixed typo in documentation.
7234         (initializeDateFormats): Made locale a local variable.
7236 2004-01-06  Michael Koch  <konqueror@gmx.de>
7238         * java/lang/Package.java
7239         (getPackage): Get the current class loader directly.
7240         * java/lang/SecurityManager.java
7241         (currentLoadedClass): Dont iterate over class contexts.
7242         (classLoaderDepth): Don't check class loaders if everything is allowed.
7244 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
7246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7247         (pre_event_handler): Set all insets to 0 when a Configure event
7248         is received for a GtkPlug.
7249         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
7250         Make handle long, not int.
7251         (EmbeddedWindow()): New constructor.
7252         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
7253         long, not int.
7254         (setHandle): New method.
7255         (getHandle): Return long, not int.
7256         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
7257         declaration.
7258         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
7259         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
7260         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
7261         argument to GdkNativeWindow.
7262         (construct): New method.
7263         (embed): New method.
7265         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7266         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
7267         (create(int, int)): New method.
7268         (create): Call new create method.
7269         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
7270         methods.
7271         (childResized): Remove native implementation.  Implement in
7272         Java.
7273         (getHScrollbarHeight, getVScrollbarWidth): Call
7274         gtk_widget_size_request to get scrollbar dimensions.
7275         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
7276         call getVScrollbarWidth and getHScrollbarHeight when vertical
7277         and horizontal scrollbars respectively are needed.
7278         (doLayout): Enlarge child if it is smaller than the viewport.
7280 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
7282         * java/awt/Dialog.java (constructor): Accept null title as per spec.
7283         * java/awt/FileDialog.java (constructor): Throw exception on invalid
7284         argument as per spec.
7286 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
7288         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
7289         (insert): Ditto.
7290         (remove): Ditto.  Also, Check for valid argument.
7291         (removeAll): Use peer interface method.
7292         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
7293         native add function.
7294         (nativeRemove): New name for native remove function.
7295         (getHistory): New native function.
7296         (constructor): Generate ItemEvent.
7297         (add): Ditto, if selection is changed.
7298         (remove): Ditto, ditto.
7299         (removeAll): Add implementation.
7300         (handleEvent): Remove.  Dead code.
7301         (choicePostItemEvent): Add comment.
7302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7303         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
7304         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
7305         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
7306         comments and fix condition to change selection.
7307         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
7308         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
7309         remove all capability.
7310         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
7311         (item_activate): Add cast to remove compiler warning.
7313 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
7315         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7317         (getPreferredSize): Call preferredSize.
7318         (preferredSize): Call gtkWidgetGetPreferredDimensions.
7319         (getMinimumSize): Call minimumSize.
7320         (minimumSize): Call gtkWidgetGetPreferredDimensions.
7321         (gtkWidgetGetDimensions): Return the peer widget's current size
7322         request.
7323         (gtkWidgetGetPreferredDimensions): Return the peer widget's
7324         natural size request.
7326 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
7328         Thanks to Brian Gough <bjg@network-theory.com>
7329         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
7330         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
7332 2004-01-04  Matthias Klose  <doko@debian.org>
7334         * aclocal.m4: Rebuilt using "aclocal -I .".
7335         * configure: Rebuilt.
7337 2004-01-03  Per Bothner  <per@bothner.com>
7339         * java/util/Date.java (parse):  Fix a number of problems.
7340         (skipParens):  Remove no-longer-needed method.