* c-typeck.c (struct c_switch): Rename switch_stmt field to
[official-gcc.git] / libjava / ChangeLog
blob3a14734052b3d1132be53c4f60b41d3ba14f1b03
1 2005-04-04  Steve Pribyl <steve@netfuel.com>
3         PR libgcj/20761
4         * configure.ac: Fix fastjar definition for cross builds.
5         * configure: Rebuilt.
7 2005-04-04  Tom Tromey  <tromey@redhat.com>
9         * java/lang/ClassLoader.java (loadClass): Resolve class even if
10         it was already found.
12 2005-04-04  Tom Tromey  <tromey@redhat.com>
14         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
15         org.metastatic.jessie.
17 2005-04-02  Anthony Green  <green@redhat.com>
19         PR libgcj/20727
20         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
22 2005-04-02  Mark Wielaard  <mark@klomp.org>
24         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
25         Attributes and attribute order doesn't matter.
26         (BasicAttributesEnumeration.where): Initialize to zero.
27         (BasicAttributesEnumeration.nextElement): Update and compare where
28         appropriately (zero based).
30 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
32         PR libgcj/20090, PR libgcj/20526
33         * gij.cc (nonstandard_opts_help): New function.
34         (add_option): New function.
35         (main): Support java options.  Set java.class.path.  Don't set
36         _Jv_Jar_Class_Path.
37         * prims.cc (parse_x_arg): New function.
38         (parse_init_args): Call parse_x_arg for -X and _ options, when
39         ignoreUnrecognized is true.
40         (new _Jv_RunMain): New vm_args variant.
41         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
42         (_Jv_Jar_Class_Path): Remove variable.
43         * include/java-props.h: Likewise.
44         * include/cni.h (JvRealloc): New function.
45         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
46         * java/lang/natRuntime.cc (insertSystemProperties): Remove
47         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
48         macros.
49         * configure.ac (JV_VERSION): Define.
50         (JV_API_VERSION): Likewise.
51         * configure: Regenerate.
52         * include/config.h.in: Regenerate.
54 2005-04-01 Mark Anderson <mark@panonet.net>
56         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
57         -Infinity as parameters.
59 2005-04-01  Michael Koch  <konqueror@gmx.de>
61         * java/io/PipedInputStream.java
62         (read): Make sure a positive byte value is returned. Revised javadoc.
63         Thanks to Olafur Bragason for reporting these bugs.
65 2005-04-01  Tom Tromey  <tromey@redhat.com>
67         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
68         Updated for name change.
69         (nativeFindClass): New method.
70         (loadClass): Use nativeFindClass.
71         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
72         form of loadClass.
73         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
74         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
75         VMClassLoader.
76         (initialize): New method.
77         (nativeFindClass): Declare.
78         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
79         * gnu/gcj/runtime/VMClassLoader.java: Removed.
80         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
81         VMClassLoader.java.
82         (definePackageForNative): Removed.
83         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
84         Moved to VMClassLoader.java.
85         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
86         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
87         (ordinary_java_source_files): Added ExtensionClassLoader.java,
88         removed VMClassLoader.java.
89         (nat_source_files): Removed natVMClassLoader.cc.
91 2005-04-01  Tom Tromey  <tromey@redhat.com>
93         * Makefile.in: Rebuilt.
94         * Makefile.am (db_pathtail): Use $(gcc_version), not
95         @gcc_version@.
97 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
99         * java/util/Timer.java
100         (run): Stop the queue if a task throws an exception.
102 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
104         * javax/swing/text/JTextComponent.java (viewToModel): New method.
106 2005-03-29  Ian Lance Taylor  <ian@airs.com>
108         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
109         * external/sax/Makefile.in: Rebuild.
110         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
111         "-fclasspath=".
112         * external/w3c_dom/Makefile.in: Rebuild.
114 2005-03-29  Tom Tromey  <tromey@redhat.com>
116         * java/lang/natRuntime.cc (insertSystemProperties): Set
117         gnu.gcj.runtime.endorsed.dirs.
118         * Makefile.in: Rebuilt.
119         * Makefile.am (ordinary_java_source_files): Added
120         HelperClassLoader.java.
121         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
122         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
123         HelperClassLoader.
124         (init): Use addDirectoriesFromProperty.
125         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
126         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
127         gnu.gcj.runtime.endorsed.dirs.
128         * gnu/gcj/runtime/HelperClassLoader.java: New file.
130 2005-03-26  Chris Burdess  <dog@gnu.org>
132         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
133         required.
135 2005-03-13  Michael Koch  <konqueror@gmx.de>
137         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
139 2005-03-11  Chris Burdess  <dog@gnu.org>
141         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
142         warnings.
144 2005-02-27  Chris Burdess  <dog@gnu.org>
146         * gnu/xml/aelfred2/JAXPFactory.java,
147         gnu/xml/aelfred2/SAXDriver.java,
148         gnu/xml/aelfred2/XmlParser.java,
149         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
150         formatting conventions. Replaced arrays of Object with struct-like
151         classes for easier maintainability. Made SAXDriver.stringInterning
152         package private to allow access from XmlParser inside the loop without
153         a method call overhead.
155 2005-03-11  Chris Burdess  <dog@gnu.org>
157         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
158         warnings.
160 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
162         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
163         settings to sub Makefiles.
164         (GCJH, ZIP): Prefix with top_builddir.
165         * configure: Rebuild.
166         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
167         * external/w3c_dom/Makefile.in: Rebuild.
168         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
169         * external/sax/Makefile.in: Rebuild.
171 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
173         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
174         libsocket to the libraries to link for Solaris.
176 2005-03-28  Per Bothner  <per@bothner.com>
178         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
179         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
181 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
183         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
184         to fix a ONESTEP fallout.
185         * Makefile.in: Regenerate.
187 2005-03-25  Mike Stump  <mrs@apple.com>
189         * configure.ac: Fix ZIP and GCJH at configure time to absolute
190         paths like we do for the compiler, as we use it in external/sax
191         and it doesn't get MULTIBUILDTOP right when multilibing.
193 2005-03-24  Anthony Green  <green@redhat.com>
195         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
196         -p option.
197         (usage): Add [LIBDIR] to help output.
198         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
199         * Makefile.am (AM_CXXFLAGS): Define
200         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
201         (db_pathtail): New macro.
203 2005-03-24  Tom Tromey  <tromey@redhat.com>
205         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
206         add sax and w3c libraries.
207         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
208         libw3c-gcj.la.
209         * external/w3c_dom/Makefile.in: Rebuilt.
210         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
211         AM_GCJFLAGS.
212         (libw3c_gcj_la_LDFLAGS): New variable.
213         (noinst_LTLIBRARIES): Renamed.
214         * external/sax/Makefile.in: Rebuilt.
215         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
216         AM_GCJFLAGS.
217         (libsax_gcj_la_LDFLAGS): New variable.
218         (noinst_LTLIBRARIES): Renamed.
220 2005-03-23  Tom Tromey  <tromey@redhat.com>
222         * Makefile.in: Rebuilt.
223         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
224         (libgcj0_convenience_la_SOURCES): Don't include
225         gnu_xml_source_files.
226         (libgcj0_convenience_la_LIBADD): New variable.
227         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
228         (all_java_source_files): javax_imageio_source_files,
229         javax_xml_source_files, and gnu_java_beans_source_files.
230         ($(gnu_xml_source_files:.java=.lo)): Removed target.
231         (gnu-xml.lo): New target.
232         (javax-imageio.lo): Likewise.
233         (javax-xml.lo): Likewise.
234         (gnu-java-beans.lo): Likewise.
235         (gnu_java_beans_source_files): New variable.
236         (javax_imageio_source_files): Likewise.
237         (javax_xml_source_files): Likewise.
238         (javax_source_files): Moved files to other variable.
239         (awt_java_source_files): Likewise.
240         (ordinary_java_source_files): Added BootClassLoader.java.
241         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
242         not system class loader.
243         (initBootLoader): New method.
244         (loadClass): Search bootLoader.
245         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
246         boot loader, not system class loader.
247         (_Jv_UnregisterInitiatingLoader): Likewise.
248         (_Jv_FindClass): Likewise.  Ensure entries in
249         bootstrap_class_list are unique.
250         * java/lang/natClass.cc (getClassLoader): Don't special case
251         system class loader.
252         * java/lang/VMClassLoader.java (bootLoader): New field.
253         (getResource): Use bootLoader.
254         (getResources): Likewise.
255         (initBootLoader): Declare.
256         * gnu/gcj/runtime/BootClassLoader.java: New file.
257         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
258         (EMPTY_ENUMERATION): Now package-private.
259         * external/w3c_com/Makefile.in: Rebuilt.
260         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
261         (w3c.jar): New target.
262         (classes.stamp): Updated.
263         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
264         Changed name of library.
265         (libw3c_gcj_la_SOURCES): New variable.
266         (libw3c_gcj_la_GCJFLAGS): Likewise.
267         (source_files): Renamed from lib3c_convenience_la_SOURCES.
268         * external/sax/Makefile.in: Rebuilt.
269         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
270         (sax.jar): New target.
271         (classes.stamp): Updated.
272         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
273         Changed name of library.
274         (libsax_gcj_la_SOURCES): New variable.
275         (libsax_gcj_la_GCJFLAGS): Likewise.
276         (source_files): Renamed from libsax_convenience_la_SOURCES.
277         * stacktrace.cc (non_system_trace_fn): Don't look at system class
278         loader.
279         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
280         loader.
281         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
283 2005-03-23  Sven de Marothy  <sven@physto.se>
285         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
286         PR libgcj/11085:
287         * java/util/Calendar.java
288         (set): Use starting day of week when one is needed if none is given.
289         * java/text/SimpleDateFormat.java
290         (parse): Handle 1-12 and 1-24 timestamps correctly.
291         * java/util/GregorianCalendar.java
292         (computeTime, computeFields): HOUR should be in 0-11 format.
293         (nonLeniencyCheck): Adjust leniency checking to that fact.
294         (getLinearDay): Should be private.
296 2005-03-23  Tom Tromey  <tromey@redhat.com>
298         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
299         (_Jv_CheckABIVersion): Use it.
301 2005-03-22  Mike Stump  <mrs@apple.com>
303         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
305         * include/posix.h: .dylib is used on all Apple MACH platforms.
306         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
308 2005-03-22  Tom Tromey  <tromey@redhat.com>
310         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
312 2005-03-21  Tom Tromey  <tromey@redhat.com>
314         * java/lang/VMCompiler.java (static block): Also catch
315         BufferUnderflowException.
317 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
319         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
320         set tool_include_dir.  In all substitutions, leave $(gcc_version)
321         to be expanded by the Makefile.
322         * aclocal.m4, configure: Regenerate.
323         * Makefile.am: Set gcc_version.  Replace all uses of
324         @gcc_version@ with $(gcc_version).
325         * external/Makefile.am, external/sax/Makefile.am
326         * external/w3c_dom/Makefile.am, gcj/Makefile.am
327         * testsuite/Makefile.am: Set gcc_version.
328         * include/Makefile.am: Set gcc_version and tool_include_dir.
329         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
330         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
331         * testsuite/Makefile.in: Regenerate.
333 2005-03-17  Andrew Haley  <aph@redhat.com>
335         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
336         arg: klass.
337         Pass klass to _Jv_StackTrace::GetClassContext().
338         * java/lang/ClassLoader.java (getParent): Pass class to
339         VMSecurityManager.getClassContext()
340         (getSystemClassLoader): Likewise.
341         * java/lang/Package.java (getPackage): Likewise.
342         (getPackages): Likewise.
343         * java/lang/SecurityManager.java (getClassContext): Likewise.
344         (currentClassLoader): Likewise.
345         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
346         (currentClassLoader) Add new arg: caller.
347         Pass caller to VMSecurityManager.getClassContext.
349         * stacktrace.cc (GetClassContext): Correct calculation of
350         jframe_count.
352         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
353         im->source_file_name.
355 2005-03-16  Andrew Haley  <aph@redhat.com>
357         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
359 2005-03-16  Tom Tromey  <tromey@redhat.com>
361         * link.cc (ensure_class_linked): Removed #ifdef.
362         (print_class_loaded): Likewise.
363         (wait_for_state): Likewise.
364         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
365         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
366         * include/java-interp.h: ... here.
368 2005-03-16  Tom Tromey  <tromey@redhat.com>
370         * gnu/java/lang/MainThread.java (run): Load main class using
371         system class loader.
373 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
375         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
376         lgcc_s to the libraries to link for Darwin.
378 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
380         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
381         interpreter-specific code with #ifdef INTERPRETER.
382         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
383         (_Jv_StackTrace::FillInFrameInfo): Likewise.
384         (_Jv_StackTrace::non_system_trace_fn): Likewise.
385         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
386         #ifdef INTERPRETER. Also protect declarations that use it.
387         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
388         #ifdef INTERPRETER block.
390 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
392         PR libgcj/20251
393         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
394         * Makefile.in: Rebuilt.
396 2005-03-15  David Daney  <ddaney@avtrex.com>
398         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
399         count == 0 case.
401 2005-03-15  David Daney  <ddaney@avtrex.com>
403         * java/io/BufferedInputStream.java (available): Use 'in' instead
404         of 'super' for underlying stream access.
405         (close): Ditto.
406         (read(byte[], int, int)): Ditto.
407         (refill): Ditto.
408         (skip): Call skip on underlying stream when possible.
410 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
412         * stacktrace.cc (GetCallerInfo): Return nothing in case of
413         SJLJ_EXCEPTIONS is defined.
415 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
417         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
418         tests.
420 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
422         * testsuite/lib/libjava.exp (libjava_init): Use the same target
423         check for Darwin.
424         (libjava_arguments): Likewise.
426         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
427         (gcj_jni_test_one): Likewise.
428         (gcj_jni_invocation_compile_c_to_binary): Likewise.
429         Add flags to keep the Darwin linker quiet.
430         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
431         Add -liconv for Darwin.
433 2005-03-11  Tom Tromey  <tromey@redhat.com>
435         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
436         (_Jv_CheckABIVersion): Use it.
438 2005-03-11  Tom Tromey  <tromey@redhat.com>
440         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
441         (usage): Document '-p'.
442         * Makefile.in: Rebuilt.
443         * Makefile.am (dbexecdir): New variable.
444         (db_name): Likewise.
445         (dbexec_DATA): Likewise.
446         ($(db_name)): New target.
447         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
448         * java/lang/natRuntime.cc (insertSystemProperties): Set default
449         system database.
451 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
453         * exception.cc: Remove stray MethodRef.h include.
454         * java/lang/natClass.cc: Likewise.
455         * gnu/gcj/runtime/MethodRef.java: Removed.
456         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
457         gnu/gcj/runtime/natStackTrace.cc: Really removed.
458         * java/lang/natRuntime.cc (_load): Remove unsed variable.
459         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
460         * Makefile.in: Rebuilt.
462 2005-03-10  Tom Tromey  <tromey@redhat.com>
464         * Makefile.in: Rebuilt.
465         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
467 2005-03-10  Chris Burdess  <dog@bluezoo.org>
469         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
470         not currently parsing the DTD.
472 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
474         New Stack Trace infrastructure.
475         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
476         (gnu/gcj/runtime/StackTrace.java): Removed.
477         (ordinary_java_source_files): Remove obsolete files.
478         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
479         * configure.host (fallback_backtrace_h): Set backtrace header
480         for mingw and cygwin targets.
481         * configure.ac: Make symlink for fallback backtrace headers.
482         * Makefile.in, configure: Rebuilt.
483         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
484         Read 'LineNumberTable' attribute.
485         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
486         attribute.
487         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
488         table fields.
489         * exception.cc: Remove unused include.
490         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
491         (SAVE_PC): New macro. Save current PC in the interpreter frame.
492         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
493         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
494         table to direct threaded instruction values.
495         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
496         (_Jv_InterpMethod::run): No longer member function. All
497         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
498         is made or where an instruction could throw.
499         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
500         in line_table.
501         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
502         (catch_fpe): Likewise.
503         * stacktrace.cc: New file. Stack trace code now here.
504         * gnu/gcj/runtime/MethodRef.java:
505         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
506         calls addr2line to look up PC addresses in a given binary or shared
507         library.
508         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
509         gnu/gcj/runtime/natStackTrace.cc: Removed.
510         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
511         this function name is specially recognised by the stack trace code
512         and shouldn't be changed.
513         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
514         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
515         (_Jv_InterpMethod::run): Update declaration.
516         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
517         friends.
518         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
519         * include/java-stack.h: New file. Declarations for stack tracing.
520         * include/jvm.h (_Jv_Frame_info): Removed.
521         * java/lang/Class.h: Update friend declarations.
522         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
523         exception message.
524         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
525         (getStackTrace): Now native.
526         (data): New RawDataManaged field.
527         * java/lang/natClass.cc: Update includes.
528         (forName): Use _Jv_StackTrace::GetCallingClass for
529         calling-classloader check.
530         (getClassLoader): Likewise.
531         * java/lang/natRuntime.cc: Update includes.
532         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
533         * java/lang/natVMSecurityManager.cc: Update includes.
534         (getClassContext): Use _Jv_StackTrace::GetClassContext.
535         * java/lang/natVMThrowable.cc: New file. Native methods for
536         VMThrowable.
537         * java/lang/reflect/natArray.cc: Update includes.
538         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
539         accessibility check.
540         * java/lang/reflect/natConstructor.cc: Update includes.
541         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
542         accessibility check.
543         * java/lang/reflect/natField.cc: Update includes.
544         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
545         accessibility check.
546         * java/lang/reflect/natMethod.cc: Update includes.
547         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
548         accessibility check.
549         * java/util/natResourceBundle.cc: Update includes.
550         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
551         * java/util/logging/natLogger.cc: Update includes. Use
552         _Jv_StackTrace::GetCallerInfo to get call-site info.
553         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
554         implementation.
555         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
556         implementation.
558 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
560         * testsuite/libjava.compile/PR20312.java: New file.
561         * testsuite/libjava.compile/PR20312.xfail: Likewise.
562         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
564 2005-03-09  Andrew Haley  <aph@redhat.com>
566         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
567         New.
568         (smallTransferTo): New.
569         (transferFrom): Loop around smallTransferFrom, copying pageSize
570         bytes each time.
571         (transferTo): Likewise.
573 2005-03-09  David Daney  <ddaney@avtrex.com>
575         PR libgcj/20389
576         Merge BufferedInputStream from GNU Classpath.
577         * java/io/BufferedInputStream.java (marktarget): Field removed.
578         (CHUNKSIZE): Field removed.
579         (bufferSize): New field.
580         (BufferedInputStream): Initialize fields.
581         (close): Invalidate mark and buffer indexes.
582         (mark):  Rewritten.
583         (read()): Move mark handling code to refill.
584         (read(byte[], int, int)): Ditto.
585         (skip): Ditto and simplify EOF testing.
586         (refill): Rewritten.
587         * java/io/InputStreamReader.java (refill): Removed mark and reset
588         of internal BufferedInputStream.
590 2005-03-09  Tom Tromey  <tromey@redhat.com>
592         * java/lang/natVMClassLoader.cc (defineClass): Reference
593         'systemClassLoader' field directly.
594         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
595         field directly.
596         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
597         Reference 'systemClassLoader' field directly.
598         (_Jv_UnregisterInitiatingLoader): Likewise.
599         (_Jv_FindClass): Likewise.
601 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
603         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
605         * java/lang/mprec.h: Remove commented headers. Fix comment to match
606         the file in GNU Classpath style.
608 2005-03-09  Tom Tromey  <tromey@redhat.com>
610         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
611         (toString): Synchronize.
613 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
615         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
616         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
618 2005-03-07  Tom Tromey  <tromey@redhat.com>
620         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
621         (usage): Document '-f'.
623 2005-03-07  Tom Tromey  <tromey@redhat.com>
625         * java/lang/VMCompiler.java (md5Digest): New field.
626         (compileClass): Clone md5Digest instead of looking up a new one.
628 2005-03-07  Tom Tromey  <tromey@redhat.com>
630         PR java/20215:
631         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
632         * link.cc (find_field_helper): Added 'type' argument.
633         (find_field): Updated.
635 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
636         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
637         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
638         throw UnsupportedOperationException, fixed comments.
639         (setFont, setForeground): Fixed comments.
640         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
641         return type to boolean.
642         (getNextEvent): Fixed javadocs.
643         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
644         (nativeQueueEmpty): Removed unused code.
645         (iterateNativeQueue): Removed outer loop.
647 2005-03-06  Roger Sayle  <roger@eyesopen.com>
649         PR libgcj/20155
650         * Makefile.am (libgcj0_convenience.la): Revert last change.
651         * Makefile.in: Regenerate.
653 2005-03-05  Anthony Green  <green@redhat.com>
655         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
656         classpath_jawt_lock, classpath_jawt_unlock): New functions.
657         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
658         (_Jv_GetDrawingSurface): Set visualID.
659         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
660         (JAWT_GetAWT): Set Lock and Unlock.
661         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
662         visualID.
663         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
664         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
665         JAWT_LOCK_SURFACE_CHANGED): New macros.
666         (struct _JAWT): Add Lock and Unlock.
668 2005-03-05  Roger Sayle  <roger@eyesopen.com>
669             Alexandre Oliva  <aoliva@redhat.com>
670             Kelley Cook  <kcook@gcc.gnu.org>
672         PR libgcj/20155
673         * Makefile.am (libgcj0_convenience.la): New rule to create a file
674         of the object files to link to avoid exceeding the command line
675         length limits on some platforms.
676         (clean-local): Clean up objectlist files.
677         * Makefile.in: Regenerate.
679 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
681         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
682         spec_case. Initialize pointer mlo.
684         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
685         delta.
687         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
689         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
690         and k.
692         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
693         uninitialized variable z.
695         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
696         possible unused variables.
698         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
700         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
702 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
704         PR libgcj/20292
705         * testsuite/libjava.jni/jni.exp
706         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
707         flags.
708         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
710 2005-02-23  David Daney  <ddaney@avtrex.com>
712         * configure.host: Don't use -mxgot for MIPS builds.
714 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
716         PR bootstrap/17383
717         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
718         (COMPPATH): Removed.
719         (ZIP, GCJH): Replace it with ../$(host_subdir).
720         (built_gcc_dir): Add $(host_subdir).
721         * configure: Regenerate.
722         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
723         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
724         external/w3c_dom/Makefile.in: Regenerate.
726 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
728         * java/awt/font/TextAttribute.java: changed names to lower case;
729         (readResolve): implemented.
730         Added doc comments all over.
732 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
734         PR libgcj/16923
735         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
736         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
737         value.  Move argument parsing code to prims.cc.
738         * prims.cc (no_properties): Remove.
739         (_Jv_Compiler_Properties): Initialize to NULL.
740         (_Jv_Properties_Count): Initialize to 0.
741         (parse_verbose_args): New function.
742         (parse_init_args): New function.
743         (_Jv_CreateJavaVM): Call parse_init_args.
744         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
745         * gcj/cni.h (JvVMOption): New struct.
746         (JvVMInitArgs): Likewise.
747         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
748         void*.
749         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
750         (_Jv_VMInitArgs): Likewise.
751         * include/java-props.h (_Jv_Properties_Count): Declare.
752         * java/lang/natRuntime.cc (insertSystemProperties): Use
753         _Jv_Properties_Count in for loop exit condition.
754         * testsuite/libjava.jni/jni.exp
755         (gcj_invocation_compile_c_to_binary): New procedure.
756         (gcj_invocation_test_one): Likewise.
757         (gcj_jni_run): Run JNI invocation API tests.
758         * testsuite/libjava.jni/invocation/PR16923.c,
759         testsuite/libjava.jni/invocation/PR16923.java,
760         testsuite/libjava.jni/invocation/PR16923.out: New test.
762 2005-02-23  Michael Koch  <konqueror@gmx.de>
764         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
765         * Makefile.in: Regenerated.
767 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
769         * gnu/java/nio/ChannelReader: Fixed comments.
771 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
773         * java/nio/channels/Channels: Added FIXMEs about
774         stub method implementation.
775         (newReader): Implemented.
776         * gnu/java/nio/ChannelReader: New class.
778 2005-02-23  Michael Koch  <konqueror@gmx.de>
780         * java/text/SimpleDateFormat.java:
781         Removed unused import.
783 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
785         PR libgcj/20029:
786         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
787         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
788         * Makefile.in: Regenerate.
789         * configure.ac: Check for libXtst.
790         * configure: Regenerate.
792 2005-02-22  Mark Wielaard  <address@bogus.example.com>
794         * java/security/AlgorithmParameterGenerator.java (getInstance):
795         Mention provider when throwing NoSuchProviderException.
796         * java/security/AlgorithmParameters.java (getInstance): Likewise.
797         * java/security/KeyFactory.java (getInstance): Likewise.
798         * java/security/KeyStore.java (getInstance): Likewise.
799         * java/security/SecureRandom.java (getInstance): Likewise.
800         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
802 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
804         * java/lang/reflect/Proxy.java,
805         java/net/URL.java,
806         java/security/SecureRandom.java,
807         java/util/Timer.java,
808         java/util/prefs/AbstractPreferences.java:
809         Don't catch java.lang.ThreadDeath.
811 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
813         * java/awt/font/TransformAttribute.java,
814         (TransformAttribute(AffineTransform)): throw
815         IllegalArgumentException for null transform.
816         (getTransform): return a copy of transform.
817         Added doc comments to all.
819 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
821         * java/io/Externalizable.java,
822         java/io/Serializable.java
823         (serialVersionUID): Removed.
824         * java/rmi/server/RemoteObject.java,
825         java/rmi/server/UID.java
826         (serialVersionUID): Made private.
827         * java/rmi/server/RemoteRef.java,
828         java/rmi/server/ServerRef.java
829         (serialVersionUID): Set proper value.
830         * java/security/interfaces/DSAPrivateKey.java,
831         java/security/interfaces/DSAPublicKey.java,
832         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
833         java/security/interfaces/RSAPrivateCrtKey.java,
834         java/security/interfaces/RSAPrivateKey.java,
835         java/security/interfaces/RSAPublicKey.java,
836         javax/crypto/SecretKey.java
837         (serialVersionUID): Added.
839 2005-02-22  Tom Tromey  <tromey@redhat.com>
841         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
843 2005-02-22  Tom Tromey  <tromey@redhat.com>
845         PR java/20056:
846         * verify.cc (type::EITHER): New constant.
847         (check_field_constant): Use it.
848         (type::compatible): Handle it.
850 2005-02-22  Michael Koch  <konqueror@gmx.de>
852         * gnu/java/security/PolicyFile.java,
853         gnu/java/security/pkcs/PKCS7SignedData.java,
854         gnu/java/security/pkcs/SignerInfo.java:
855         Fixed copyright header.
857 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
859         * java/beans/PropertyDescriptor.java
860         (PropertyDescriptor,setReadMethod): Set propertyType.
862 2005-02-22  Michael Koch  <konqueror@gmx.de>
864         * java/nio/DirectByteBufferImpl.java
865         (owner): Fixed formatting of javadoc.
866         * java/text/DateFormat.java
867         (getAvailableLocales): Fixed formatting.
868         * java/text/SimpleDateFormat.java:
869         Fixed formatting and import statement order.
870         * java/util/Calendar.java
871         (Calendar): Fixed javadoc to be HTML compliant.
872         * java/util/SimpleTimeZone.java:
873         Fixed javadocs.
875 2005-02-22  Roman Kennke <roman@ontographics.com>
877         * javax/swing/plaf/basic/BasicLookAndFeel.java
878         (initComponentDefaults): Fixed Button left and right margin.
880 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
882         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
883         empty Runnable.
885         PR libgcj/17952:
886         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
887         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
888         (getWidth): New method.
889         (getHeight): Likewise.
890         (create): Remove width, height and insets parameters.  Move size
891         setup ...
892         (realize_cb): ... here.  New function.
893         (connectSignals): Connect realize_cb.
894         (request_frame_extents): Remove FIXME.  Move
895         postInsetsChangedEvent lookup ...
896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
897         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
898         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
899         jmethodID.
900         (windowGetWidthID): Likewise.
901         (windowGetHeightID): Likewise.
903 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
905         PR libgcj/19842
906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
907         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
909 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
911         Merge serialization from GNU Classpath.
912         * gcj/method.h: Add missing #includes.
913         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
914         primitive class IDs on the stream here...
915         (resolveClass): ...not here.
916         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
917         fields.
918         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
919         setLongNative, setIntNative, setShortNative, setCharNative,
920         setByteNative, setBooleanNative, setObjectNative): New native methods.
921         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
922         setLongNative, setIntNative, setShortNative, setCharNative,
923         setByteNative, setBooleanNative, setObjectNative): Implement them.
924         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
925         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
926         the constructor here.
927         (callConstructor): Removed.
928         (getCallersClassLoader): Removed.
929         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
930         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
931         to control whether setting final field values is permitted. Call
932         getAddr() with checkFinal parameter instead of setAddr().
933         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
934         only if not done already.
935         (getAddr): Add checkFinal parameter. Do the final field check only if
936         checkFinal is set.
937         (setAddr): Removed.
939 2005-02-21  Mark Wielaard  <mark@klomp.org>
941         # Fixes bug #11957
942         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
943         twice.
945 2005-02-21  Mark Wielaard  <mark@klomp.org>
947         Fixes bug #11618.
948         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
949         without a super class and us ObjectStreamClass.lookupForClassObject().
950         (resolveClass): Check for primitive types.
951         (lookupClass): Return null when argument is null.
953 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
955         * java/io/ObjectInputStream.java
956         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
958 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
960         * java/io/ObjectOutputStream.java
961         (writeObject, callWriteMethod): Replaced reflection with accessing
962         cached info in ObjectStreamClass.
963         (getMethod): Removed.
964         * java/io/ObjectStreamClass.java
965         (findMethod): Added check to make sure the method found has the
966         right modifiers.
967         (cacheMethods): Added writeReplace and writeObject methods.
968         (setFlags): Look at new writeObjectMethod field instead of doing
969         reflection again.
970         (writeReplaceMethod): New field.
971         (writeObjectMethod): New field.
973 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
974         Jeroen Frijters  <jeroen@frijters.net>
976         * java/io/ObjectInputStream.java
977         (newObject): Changed prototype. Get a constructor reflect object
978         directly.
979         (callConstructor): Removed.
980         (allocateObject): Changed prototype.
981         (readClassDescriptor): Build the constructor reflection directly.
982         (readObject): Invoke newObject using the new prototype.
984         * java/io/ObjectStreamClass.java
985         (firstNonSerializableParent): Removed.
986         (firstNonSerializableParentConstructor): Added.
988 2005-02-21  Mark Wielaard  <mark@klomp.org>
990         * gnu/java/locale/LocaleInformation_en.java: Extend
991         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
993 2005-02-21  Mark Wielaard  <mark@klomp.org>
995         * java/text/SimpleDateFormat.java
996         (SimpleDateFormat(String, DateFormatSymbols)): Throw
997         NullPointerException when formatData is null.
999 2005-02-21  Mark Wielaard  <mark@klomp.org>
1001         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
1002         taking dstSavings into account.
1004 2005-02-21  Sven de Marothy <sven@physto.se>
1006         * java/text/SimpleDateFormat.java,
1007         (parse): Set correct DST_OFFSET to the correct value.
1009 2005-02-21  Mark Wielaard  <mark@klomp.org>
1011         * java/util/SimpleTimeZone.java (checkRule): Throw
1012         IllegalArgumentException when month out of range.
1014 2005-02-21  Sven de Marothy  <sven@physto.se>
1016         * java/util/GregorianCalendar.java,
1017         (add): Don't set fields directly anymore. Use set()
1019 2005-02-21  Mark Wielaard  <mark@klomp.org>
1021         * java/text/SimpleDateFormat.java (CompiledField.toString):
1022         Use StringBuffer, not StringBuilder.
1023         (toString): Likewise.
1025 2005-02-21  Sven de Marothy  <sven@physto.se>
1027         * java/util/Calendar.java
1028         (clear): Dates should clear to local time.
1029         * java/util/GregorianCalendar.java
1030         (computeTime): Fix priority problem with DAY_OF_WEEK,
1031         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
1033 2005-02-21  Sven de Marothy  <sven@physto.se>
1035         * java/util/Calendar.java
1036         (Calendar): Constructor should clear fields.
1038 2005-02-21  Sven de Marothy  <sven@physto.se>
1040         * java/text/SimpleDateFormat.java
1041         (parse): Tweak handling of 2-year dates
1042         * java/util/Calendar.java
1043         (clear): Clear fields to correct value.
1044         * java/util/GregorianCalendar.java
1045         (computeTime): Correct handling of time zones.
1046         Correct field minimum values.
1048 2005-02-21  Sven de Marothy  <sven@physto.se>
1050         * java/util/Calendar.java
1051         (set) Invalidate all fields on first call to set().
1053 2005-02-21  Sven de Marothy  <sven@physto.se>
1055         * java/util/GregorianCalendar.java
1056         (computeTime): Fixed handling of time zones.
1058 2005-02-21  Sven de Marothy  <sven@physto.se>
1060         * java/util/Calendar.java
1061         (clear): Set values to Epoch instead of zero.
1062         (set): Set isSet to the relevant field pattern instead of just
1063         the field.
1064         * java/util/GregorianCalendar.java
1065         (getBundle): Removed.
1066         (getDayOfYear): Removed.
1067         (getFirstDayOfMonth): New private method.
1068         (nonLeniencyCheck): New private method.
1069         (computeTime): Correct handling of insufficient data.
1071 2005-02-21  Sven de Marothy <sven@physto.se>
1073         * java/util/Calendar.java: Invalidate ERA field on setting
1074         the YEAR.
1075         * java/util/SimpleTimeZone.java:
1076         (getDaysInMonth): Reimplemented.
1077         * java/util/GregorianCalendar.java:
1078         (getLinearTime): Removed.
1079         (isLeapYear(int,boolean)): Removed.
1080         (before(), after()): Removed.
1081         (computeTime): Reimplemented.
1083 2005-02-21  Sven de Marothy <sven@physto.se>
1085         * java/util/Calendar.java: Reformatted.
1086         * java/util/GregorianCalendar.java: Reformatted.
1087         * java/util/SimpleTimeZone.java: Reformatted.
1089 2005-02-21  Sven de Marothy <sven@physto.se>
1091         * java/util/GregorianCalendar.java
1092         (GregorianCalendar): Update fields in the constructor
1094 2005-02-21  Noa Resare  <noa@resare.com>
1096         * java/util/Calendar.java (explicitDSTOffset): New instance field.
1097         (set(int,int)): Set and use new field.
1098         (set(int,int,int)): Check new field.
1100 2005-02-21  Noa Resare  <address@hidden>
1102         * java/util/Calendar.java(set):
1103         Fix for DST related regression.
1105 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
1107         * java/util/Calendar.java
1108         (setTimeInMillis): Added call to clear, removed computeFields call.
1109         * java/util/Date.java
1110         (Date(int,int,int,int,int,int)): Removed workaround for
1111         GregorianCalendar bug.
1112         * java/util/GregorianCalendar.java
1113         (GregorianCalendar): Chained all constructors to a (new)
1114         common constructor.
1115         (computeTime): Fixed support for lenient month treatment.
1116         (getLinearDay): Return long instead of int.
1117         (calculateDay): Added fields argument and changed day argument
1118         to long.
1120 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1122         * java/text/SimpleDateFormat.java
1123         Lots of documentation updates.
1124         (readObject(java.io.ObjectInputStream)): Wraps
1125         IllegalArgumentException as specified.
1126         (compileFormat(String)): Uses standardChars
1127         rather than the local pattern characters.
1128         Throws IllegalArgumentException rather than
1129         storing a -1 field.
1130         (toString()): Extended to include all variables
1131         in a better format.
1132         (translateLocalizedPattern(String, String, String)):
1133         Renamed to better define the use of this method.
1135 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1137         * java/text/DateFormat.java:
1138         Documented pattern character offset constants and
1139         added new ones.
1140         (Field): Added new static fields for new pattern chars.
1141         * java/text/SimpleDateFormat.java:
1142         (CompiledField): Changed name of FieldSizePair class
1143         to CompiledField after adding the character as an
1144         attribute.  Changed fields to private and added
1145         accessors to give encapsulation.
1146         (CompiledField.CompiledField(int,int,char)): Extended
1147         with character field.
1148         (CompiledField.getField()): New accessor method.
1149         (CompiledField.getSize()): New acceessor method.
1150         (CompiledField.getCharacter()): New accessor method.
1151         (CompiledField.toString()): Added primarily for debugging.
1152         (standardChars): Now uses extended 24 character sequence.
1153         (compileFormat(String)): Changed to use CompiledField.
1154         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
1155         java.text.FieldPosition)): Changed to use CompiledField.
1156         New handler for RFC 822 timezones added.
1158 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1160         * java/text/SimpleDateFormat.java:
1161         (parse(String, java.text.ParsePosition)):
1162         Changed 'E' and 'M' cases to use both
1163         short and long names.  Extended 'z'
1164         case to also handle 'Z', and deal
1165         with simple GMT offsets such as +0100.
1166         (computeOffset(String)): New private method,
1167         which converts a GMT offset specification,
1168         such as GMT-0500 to a numeric offset in
1169         milliseconds.
1170         * java/util/TimeZone.java:
1171         (timezones()): Added "CEST", the daylight
1172         savings time version of "CET", or Central
1173         European Time.
1175 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1177         * java/text/SimpleDateFormat.java:
1178         (parse): Set the DST offset to 0 when parsing
1179         GMT offset timezones.
1181 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1183         * java/text/SimpleDateFormat.java:
1184         (parse): Use offset to set ZONE_OFFSET
1185         rather than the DST_OFFSET, so that
1186         GMT offset timezones change the right
1187         one.
1189 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1191         * java/text/SimpleDateFormat.java:
1192         (getDateFormatSymbols()): return a copy
1193         (setDateFormatSymbols(java.text.DateFormatSymbols)):
1194         throw exception on null input
1195         (clone()): implemented to clone
1196         internal fields
1198 2005-02-21  Sven de Marothy <sven@physto.se>
1200         * java/text/SimpleDateFormat.java
1201         (parse): comparison should be case-insensitive, ignore null
1202         strings.
1204 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
1206         * gnu/java/beans/IntrospectionIncubator.java
1207         (addMethod) Reverts the patch that ntroduced a regression (see bug
1208         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
1210 2005-02-21  Michael Koch  <konqueror@gmx.de>
1212         * java/awt/Checkbox.java
1213         (next_checkbox_number): New static variable.
1214         (generateName): New method.
1215         (getUniqueLong): Likewise.
1216         * java/awt/Window.java
1217         (next_window_number): New static variable.
1218         (generateName): New method.
1219         (getUniqueLong): Likewise.
1221 2005-02-21  Mark Wielaard  <mark@klomp.org>
1223         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
1224         exists.
1226 2005-02-21  Andrew Haley  <aph@redhat.com>
1228         * Makefile.in: Rebuilt.
1229         * Makefile.am (nat_source_files): Added natLogger.cc.
1230         * java/util/logging/natLogger.cc: New file.
1231         * java/util/logging/Logger.java (getCallerStackFrame): Now
1232         native.
1234 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
1236         * Makefile.am (all_property_files): Remove left over.
1237         (classes.stamp): Add stamp for the ONESTEP build, also known as
1238         --enable-libgcj-multifile.
1239         * Makefile.in: Regenerated.
1241 2005-02-21  Michael Koch  <konqueror@gmx.de>
1243         * java/awt/Button.java,
1244         java/awt/Container.java,
1245         java/awt/Font.java,
1246         java/awt/Frame.java,
1247         java/text/CollationElementIterator.java,
1248         java/text/RuleBasedCollator.java,
1249         java/util/PropertyPermission.java:
1250         Fixed formatting issues all over.
1252 2005-02-21  Mark Wielaard  <mark@klomp.org>
1254         * java/io/FileDescriptor.java (sync): Add real exception to
1255         SyncFailedException.
1257 2005-02-21  Michael Koch  <konqueror@gmx.de>
1259         * java/io/InputStreamReader.java:
1260         Fixed @author tag.
1262 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
1264         PR libgcj/19728:
1265         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
1267 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
1269         * libraries/javalib/gnu/regexp/RE.java,
1270         libraries/javalib/java/io/ObjectInputStream.java,
1271         libraries/javalib/java/security/AllPermission.java,
1272         libraries/javalib/java/security/BasicPermission.java,
1273         libraries/javalib/java/security/Permissions.java,
1274         libraries/javalib/java/text/MessageFormat.java:
1275         Made 'inner' classes real public static inner classes,
1276         and made them final where possible, or removed them
1277         where unused.
1279 2005-02-20  Michael Koch  <konqueror@gmx.de>
1281         * gnu/java/text/FormatCharacterIterator.java:
1282         Removed redundant modifiers.
1284 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1286         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
1287         snprintf.
1289 2005-02-19  Michael Koch  <konqueror@gmx.de>
1291         * Makefile.am: Added new files in gnu/java/beans and
1292         java/beans/XMLDecoder.java.
1293         * Makefile.in: Regenerated.
1295 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
1297         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
1298         assignment behavior by using java.lang.reflect.Array.set()
1299         directly.
1301 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
1303         * gnu/java/beans/EmptyBeanInfo.java,
1304         gnu/java/beans/info/ComponentBeanInfo.java:
1305         Removed unused files.
1307 2005-02-19  Robert Schuster <thebohemian@gmx.net>
1309         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
1310         of AppletStub for java.beans.Beans.instantiate.
1311         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
1312         of AppletContext.
1313         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
1314         to be conformant with Javadoc guidelines.
1315         (instantiate): Added two more overloaded variants, reworked user
1316         documentation, fixed exception behavior, fixed behavior when
1317         deserializing null.
1319 2005-02-19  Mark Wielaard  <mark@klomp.org>
1321         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
1322         failing methods.
1323         * gnu/java/beans/decoder/DummyContext.java: Likewise.
1325 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
1327         * gnu/java/beans/decoder/AbstractContext.java,
1328         gnu/java/beans/decoder/AbstractCreatableContext.java,
1329         gnu/java/beans/decoder/AbstractElementHandler.java,
1330         gnu/java/beans/decoder/AbstractObjectContext.java,
1331         gnu/java/beans/decoder/ArrayContext.java,
1332         gnu/java/beans/decoder/ArrayHandler.java,
1333         gnu/java/beans/decoder/AssemblyException.java,
1334         gnu/java/beans/decoder/BooleanHandler.java,
1335         gnu/java/beans/decoder/ByteHandler.java,
1336         gnu/java/beans/decoder/CharHandler.java,
1337         gnu/java/beans/decoder/ClassHandler.java,
1338         gnu/java/beans/decoder/ConstructorContext.java,
1339         gnu/java/beans/decoder/Context.java,
1340         gnu/java/beans/decoder/DecoderContext.java,
1341         gnu/java/beans/decoder/DefaultExceptionListener.java,
1342         gnu/java/beans/decoder/DoubleHandler.java,
1343         gnu/java/beans/decoder/DummyContext.java,
1344         gnu/java/beans/decoder/DummyHandler.java,
1345         gnu/java/beans/decoder/ElementHandler.java,
1346         gnu/java/beans/decoder/FloatHandler.java,
1347         gnu/java/beans/decoder/GrowableArrayContext.java,
1348         gnu/java/beans/decoder/IndexContext.java,
1349         gnu/java/beans/decoder/IntHandler.java,
1350         gnu/java/beans/decoder/JavaHandler.java,
1351         gnu/java/beans/decoder/LongHandler.java,
1352         gnu/java/beans/decoder/MethodContext.java,
1353         gnu/java/beans/decoder/MethodFinder.java,
1354         gnu/java/beans/decoder/NullHandler.java,
1355         gnu/java/beans/decoder/ObjectContext.java,
1356         gnu/java/beans/decoder/ObjectHandler.java,
1357         gnu/java/beans/decoder/PersistenceParser.java,
1358         gnu/java/beans/decoder/PropertyContext.java,
1359         gnu/java/beans/decoder/ShortHandler.java,
1360         gnu/java/beans/decoder/SimpleHandler.java,
1361         gnu/java/beans/decoder/StaticMethodContext.java,
1362         gnu/java/beans/decoder/StringHandler.java,
1363         gnu/java/beans/decoder/VoidHandler.java: New class
1364         implementing java.beans.XMLDecoder decoding functionality.
1365         * java/beans/XMLDecoder.java: New class.
1367 2005-02-19  Michael Koch  <konqueror@gmx.de>
1369         * javax/swing/JTextField.java
1370         (notfiyAction): Added javadoc.
1372 2005-02-19  Sven de Marothy  <sven@physto.se>
1374         * javax/swing/SpinnerDateModel.java: Implemented.
1376 2005-02-19  Michael Koch  <konqueror@gmx.de>
1378         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
1379         * Makefile.in: Regenerated.
1381 2005-02-19  Michael Koch  <konqueror@gmx.de>
1383         * gnu/java/nio/SelectorImpl.java:
1384         Reworked import statements.
1385         (register): Removed unused code.
1386         * java/nio/channels/Channels.java: Reformatted.
1387         * java/nio/charset/Charset.java: Likewise.
1388         * java/rmi/server/RemoteObject.java
1389         (serialVersionUID): Made private.
1390         * java/rmi/server/UID.java
1391         (serialVersionUID): Likewise.
1393 2005-02-19  Michael Koch  <konqueror@gmx.de>
1395         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1396         gnu/java/net/protocol/ftp/BlockInputStream.java,
1397         gnu/java/net/protocol/ftp/BlockOutputStream.java,
1398         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1399         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
1400         gnu/java/net/protocol/ftp/DTPInputStream.java,
1401         gnu/java/net/protocol/ftp/DTP.java,
1402         gnu/java/net/protocol/ftp/DTPOutputStream.java,
1403         gnu/java/net/protocol/ftp/FTPConnection.java,
1404         gnu/java/net/protocol/ftp/FTPException.java,
1405         gnu/java/net/protocol/ftp/FTPResponse.java,
1406         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1407         gnu/java/net/protocol/ftp/Handler.java,
1408         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1409         gnu/java/net/protocol/ftp/StreamInputStream.java,
1410         gnu/java/net/protocol/ftp/StreamOutputStream.java,
1411         gnu/java/net/CRLFInputStream.java,
1412         gnu/java/net/CRLFOutputStream.java,
1413         gnu/java/net/GetLocalHostAction.java,
1414         gnu/java/net/protocol/ftp/package.html: New files.
1415         * Makefile.am: Added new files.
1416         * Makefile.in: Regenerated.
1418 2005-02-18  Tom Tromey  <tromey@redhat.com>
1420         * link.cc (make_vtable): Remove abstract method check.
1421         (append_partial_itable): Likewise.
1423         PR java/20056:
1424         * verify.cc (type::equals): Fixed test.
1425         * testsuite/libjava.lang/PR20056.out: New file.
1426         * testsuite/libjava.lang/PR20056.java: New file.
1428 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
1430         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
1431         not the HashEntry. Reported by Jean-Marie White.
1433 2005-02-18  Tom Tromey  <tromey@redhat.com>
1435         PR java/20056:
1436         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
1437         * link.cc (has_field_p): New function.
1438         * verify.cc (check_field_constant): Added 'putfield' argument.
1439         (verify_instructions_0): Updated.
1440         (type::equals): New method.
1442 2005-02-18  Anthony Green  <green@redhat.com>
1444         * NEWS: Draft of libgcj NEWS for 4.0.
1446 2005-02-18  Anthony Green  <green@redhat.com>
1448         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
1449         architecture names to "i386" for compatibility reasons.  Win32
1450         still uses "x86".
1452 2005-02-18  Anthony Green  <green@redhat.com>
1454         * gij.cc (version): Change year for '--version' to 2005.
1455         * gnu/gcj/convert/Convert.java: Ditto.
1456         * gnu/java/rmi/rmic/RMIC.java: Ditto.
1457         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
1459         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
1460         recent copyright year in `--version' output.
1462 2005-02-18  Robert Schuster <thebohemian@gmx.net>
1464         * java/nio/charset/Charset.java (forName): Throws
1465         IllegalArgumentException when argument is null
1466         and added documentation.
1468 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1470         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
1471         Move the position of the source buffer forward.
1473 2005-02-17  Tom Tromey  <tromey@redhat.com>
1475         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
1476         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
1477         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
1478         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
1479         Changed type of second argument.  Rewrote.
1480         (make_vtable): Use it.
1481         (append_partial_itable): Updated.
1482         (layout_vtable_methods): Updated.
1484 2005-02-17  Michael Koch  <konqueror@gmx.de>
1486         * gnu/java/net/PlainSocketImpl.java
1487         (shutdownInput): Added javadoc.
1488         (shutdownOutput): Likewise.
1490 2005-02-17  Michael Koch  <konqueror@gmx.de>
1492         * javax/print/attribute/standard/Chromaticity.java,
1493         javax/print/attribute/standard/Destination.java,
1494         javax/print/attribute/standard/MediaPrintableArea.java,
1495         javax/print/attribute/standard/MediaSize.java: New files.
1496         * Makefile.am: Added new files.
1497         * Makefile.in: Regenerated.
1499 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1500             Michael Koch  <konqueror@gmx.de>
1502         * gnu/java/net/protocol/http/Cookie.java,
1503         gnu/java/net/protocol/http/HTTPConnection.java,
1504         gnu/java/net/protocol/http/HTTPDateFormat.java,
1505         gnu/java/net/protocol/http/Request.java,
1506         gnu/java/nio/PipeImpl.java,
1507         gnu/java/rmi/dgc/DGCImpl.java,
1508         gnu/java/rmi/server/ConnectionRunnerPool.java,
1509         gnu/java/rmi/server/UnicastConnectionManager.java,
1510         gnu/java/security/der/DERWriter.java,
1511         gnu/java/security/pkcs/SignerInfo.java,
1512         gnu/java/security/provider/EncodedKeyFactory.java,
1513         gnu/java/security/provider/GnuDHPublicKey.java,
1514         gnu/java/security/provider/GnuDSAPrivateKey.java,
1515         gnu/java/security/provider/GnuDSAPublicKey.java,
1516         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1517         gnu/java/security/x509/X500DistinguishedName.java,
1518         gnu/java/security/x509/X509CRL.java,
1519         gnu/java/security/x509/X509CRLEntry.java,
1520         gnu/java/security/x509/X509Certificate.java,
1521         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1522         gnu/java/security/x509/ext/CertificatePolicies.java,
1523         gnu/java/security/x509/ext/PolicyConstraint.java,
1524         gnu/xml/dom/Consumer.java,
1525         gnu/xml/dom/DomCharacterData.java,
1526         gnu/xml/dom/DomDocument.java,
1527         gnu/xml/dom/DomDocumentBuilder.java,
1528         gnu/xml/dom/DomIterator.java,
1529         gnu/xml/dom/DomNode.java,
1530         gnu/xml/dom/DomXPathExpression.java,
1531         gnu/xml/dom/DomXPathResult.java,
1532         gnu/xml/dom/JAXPFactory.java,
1533         gnu/xml/pipeline/CallFilter.java,
1534         gnu/xml/pipeline/DomConsumer.java,
1535         gnu/xml/pipeline/LinkFilter.java,
1536         gnu/xml/pipeline/NSFilter.java,
1537         gnu/xml/pipeline/TeeConsumer.java,
1538         gnu/xml/pipeline/ValidationConsumer.java,
1539         gnu/xml/pipeline/WellFormednessFilter.java,
1540         gnu/xml/pipeline/XIncludeFilter.java,
1541         gnu/xml/pipeline/XsltFilter.java,
1542         gnu/xml/transform/ApplyImportsNode.java,
1543         gnu/xml/transform/Bindings.java,
1544         gnu/xml/transform/DocumentFunction.java,
1545         gnu/xml/transform/FormatNumberFunction.java,
1546         gnu/xml/transform/NodeNumberNode.java,
1547         gnu/xml/transform/NumberNode.java,
1548         gnu/xml/transform/Stylesheet.java,
1549         gnu/xml/transform/SystemPropertyFunction.java,
1550         gnu/xml/transform/Template.java,
1551         gnu/xml/transform/TemplatesImpl.java,
1552         gnu/xml/transform/TransformerImpl.java,
1553         gnu/xml/transform/ValueOfNode.java,
1554         gnu/xml/transform/XSLURIResolver.java,
1555         gnu/xml/util/DoParse.java,
1556         gnu/xml/util/Resolver.java,
1557         gnu/xml/xpath/Expr.java,
1558         gnu/xml/xpath/FunctionCall.java,
1559         gnu/xml/xpath/RelationalExpr.java,
1560         gnu/xml/xpath/Selector.java,
1561         gnu/xml/xpath/XPathParser.java:
1562         Reworked import statements, fixed modifier order and some little
1563         formatting issues.
1565 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1567         * java/nio/ByteBufferImpl.java (compact):
1568         Set position and limit even if no bytes were moved.
1570 2005-02-17  Michael Koch  <konqueror@gmx.de>
1572         * java/nio/CharViewBufferImpl.java (compact): Likewise.
1573         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
1574         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
1575         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
1576         * java/nio/IntViewBufferImpl.java (compact): Likewise.
1577         * java/nio/LongViewBufferImpl.java (compact): Likewise.
1578         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
1579         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
1580         * java/nio/FloatBufferImpl.java (compact): Set position.
1581         * java/nio/CharBufferImpl.java (compact): Likewise.
1582         * java/nio/DoubleBufferImpl.java (compact): Likewise.
1583         * java/nio/IntBufferImpl.java (compact): Likewise.
1584         * java/nio/LongBufferImpl.java (compact): Likewise.
1585         * java/nio/ShortBufferImpl.java (compact): Likewise.
1587 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
1589         * java/nio/ByteBufferImpl.java,
1590         java/nio/CharBufferImpl.java,
1591         java/nio/DirectByteBufferImpl.java,
1592         java/nio/DoubleBufferImpl.java,
1593         java/nio/FloatBufferImpl.java,
1594         java/nio/IntBufferImpl.java,
1595         java/nio/LongBufferImpl.java,
1596         java/nio/MappedByteBufferImpl.java,
1597         java/nio/ShortBufferImpl.java
1598         (compact): Added explicit read-only check and invalidate mark.
1600 2005-02-17  Michael Koch  <konqueror@gmx.de>
1602         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1603         gnu/java/awt/peer/gtk/GdkFontPeer.java,
1604         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1605         gnu/java/awt/peer/gtk/GdkGraphics.java,
1606         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1607         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1608         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1609         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1610         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1611         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1612         gnu/java/awt/peer/gtk/GdkTextLayout.java,
1613         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1614         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1615         gnu/java/awt/peer/gtk/GtkClipboard.java,
1616         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1617         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1618         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1619         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1620         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1621         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1622         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1623         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1624         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1625         gnu/java/awt/peer/gtk/GtkToolkit.java,
1626         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1627         java/applet/Applet.java,
1628         java/awt/AWTError.java,
1629         java/awt/AWTEvent.java,
1630         java/awt/AWTEventMulticaster.java,
1631         java/awt/AWTException.java,
1632         java/awt/AWTKeyStroke.java,
1633         java/awt/AWTPermission.java,
1634         java/awt/ActiveEvent.java,
1635         java/awt/Adjustable.java,
1636         java/awt/AlphaComposite.java,
1637         java/awt/AttributeValue.java,
1638         java/awt/BorderLayout.java,
1639         java/awt/BufferCapabilities.java,
1640         java/awt/Button.java,
1641         java/awt/Canvas.java,
1642         java/awt/CheckboxGroup.java,
1643         java/awt/CheckboxMenuItem.java,
1644         java/awt/Color.java,
1645         java/awt/ColorPaintContext.java,
1646         java/awt/Component.java,
1647         java/awt/ComponentOrientation.java,
1648         java/awt/Composite.java,
1649         java/awt/CompositeContext.java,
1650         java/awt/Container.java,
1651         java/awt/ContainerOrderFocusTraversalPolicy.java,
1652         java/awt/DefaultFocusTraversalPolicy.java,
1653         java/awt/Dialog.java,
1654         java/awt/Dimension.java,
1655         java/awt/DisplayMode.java,
1656         java/awt/EventQueue.java,
1657         java/awt/FileDialog.java,
1658         java/awt/FontFormatException.java,
1659         java/awt/Graphics.java,
1660         java/awt/Graphics2D.java,
1661         java/awt/GraphicsConfigTemplate.java,
1662         java/awt/GraphicsConfiguration.java,
1663         java/awt/GraphicsDevice.java,
1664         java/awt/GridBagLayout.java,
1665         java/awt/GridBagLayoutInfo.java,
1666         java/awt/GridLayout.java,
1667         java/awt/HeadlessException.java,
1668         java/awt/IllegalComponentStateException.java,
1669         java/awt/Image.java,
1670         java/awt/Insets.java,
1671         java/awt/ItemSelectable.java,
1672         java/awt/JobAttributes.java,
1673         java/awt/KeyEventDispatcher.java,
1674         java/awt/KeyEventPostProcessor.java,
1675         java/awt/KeyboardFocusManager.java,
1676         java/awt/Label.java,
1677         java/awt/LayoutManager.java,
1678         java/awt/MenuBar.java,
1679         java/awt/MenuComponent.java,
1680         java/awt/MenuContainer.java,
1681         java/awt/PageAttributes.java,
1682         java/awt/Paint.java,
1683         java/awt/PaintContext.java,
1684         java/awt/Panel.java,
1685         java/awt/Point.java,
1686         java/awt/Polygon.java,
1687         java/awt/PrintGraphics.java,
1688         java/awt/PrintJob.java,
1689         java/awt/Rectangle.java,
1690         java/awt/RenderingHints.java,
1691         java/awt/Shape.java,
1692         java/awt/Stroke.java,
1693         java/awt/SystemColor.java,
1694         java/awt/Toolkit.java,
1695         java/awt/Transparency.java,
1696         java/awt/Window.java,
1697         java/awt/color/CMMException.java,
1698         java/awt/color/ColorSpace.java,
1699         java/awt/color/ICC_ColorSpace.java,
1700         java/awt/color/ICC_Profile.java,
1701         java/awt/color/ProfileDataException.java,
1702         java/awt/datatransfer/FlavorTable.java,
1703         java/awt/datatransfer/MimeTypeParseException.java,
1704         java/awt/datatransfer/Transferable.java,
1705         java/awt/datatransfer/UnsupportedFlavorException.java,
1706         java/awt/dnd/Autoscroll.java,
1707         java/awt/dnd/DnDConstants.java,
1708         java/awt/dnd/DragGestureListener.java,
1709         java/awt/dnd/DragSourceAdapter.java,
1710         java/awt/dnd/DragSourceDropEvent.java,
1711         java/awt/dnd/DragSourceListener.java,
1712         java/awt/dnd/DragSourceMotionListener.java,
1713         java/awt/dnd/DropTargetAdapter.java,
1714         java/awt/dnd/DropTargetContext.java,
1715         java/awt/dnd/DropTargetListener.java,
1716         java/awt/dnd/InvalidDnDOperationException.java,
1717         java/awt/dnd/MouseDragGestureRecognizer.java,
1718         java/awt/dnd/peer/DropTargetContextPeer.java,
1719         java/awt/event/AWTEventListener.java,
1720         java/awt/event/AWTEventListenerProxy.java,
1721         java/awt/event/ActionEvent.java,
1722         java/awt/event/AdjustmentEvent.java,
1723         java/awt/event/AdjustmentListener.java,
1724         java/awt/event/ComponentAdapter.java,
1725         java/awt/event/ComponentEvent.java,
1726         java/awt/event/ComponentListener.java,
1727         java/awt/event/ContainerAdapter.java,
1728         java/awt/event/ContainerEvent.java,
1729         java/awt/event/ContainerListener.java,
1730         java/awt/event/FocusAdapter.java,
1731         java/awt/event/FocusEvent.java,
1732         java/awt/event/FocusListener.java,
1733         java/awt/event/InputEvent.java,
1734         java/awt/event/InputMethodEvent.java,
1735         java/awt/event/InputMethodListener.java,
1736         java/awt/event/InvocationEvent.java,
1737         java/awt/event/ItemEvent.java,
1738         java/awt/event/ItemListener.java,
1739         java/awt/event/KeyAdapter.java,
1740         java/awt/event/KeyEvent.java,
1741         java/awt/event/KeyListener.java,
1742         java/awt/event/MouseAdapter.java,
1743         java/awt/event/MouseEvent.java,
1744         java/awt/event/MouseListener.java,
1745         java/awt/event/MouseMotionAdapter.java,
1746         java/awt/event/MouseMotionListener.java,
1747         java/awt/event/MouseWheelEvent.java,
1748         java/awt/event/MouseWheelListener.java,
1749         java/awt/event/PaintEvent.java,
1750         java/awt/event/TextEvent.java,
1751         java/awt/event/TextListener.java,
1752         java/awt/event/WindowAdapter.java,
1753         java/awt/event/WindowEvent.java,
1754         java/awt/event/WindowFocusListener.java,
1755         java/awt/event/WindowListener.java,
1756         java/awt/event/WindowStateListener.java,
1757         java/awt/font/TextHitInfo.java,
1758         java/awt/geom/CubicCurve2D.java,
1759         java/awt/geom/Dimension2D.java,
1760         java/awt/geom/Ellipse2D.java,
1761         java/awt/geom/IllegalPathStateException.java,
1762         java/awt/geom/Line2D.java,
1763         java/awt/geom/NoninvertibleTransformException.java,
1764         java/awt/geom/PathIterator.java,
1765         java/awt/geom/Point2D.java,
1766         java/awt/geom/QuadCurve2D.java,
1767         java/awt/geom/RectangularShape.java,
1768         java/awt/geom/RoundRectangle2D.java,
1769         java/awt/im/InputContext.java,
1770         java/awt/im/InputMethodHighlight.java,
1771         java/awt/im/InputMethodRequests.java,
1772         java/awt/im/InputSubset.java,
1773         java/awt/im/spi/InputMethod.java,
1774         java/awt/im/spi/InputMethodDescriptor.java,
1775         java/awt/image/BandCombineOp.java,
1776         java/awt/image/BandedSampleModel.java,
1777         java/awt/image/ByteLookupTable.java,
1778         java/awt/image/ComponentSampleModel.java,
1779         java/awt/image/DataBuffer.java,
1780         java/awt/image/DataBufferByte.java,
1781         java/awt/image/DataBufferDouble.java,
1782         java/awt/image/DataBufferFloat.java,
1783         java/awt/image/DataBufferInt.java,
1784         java/awt/image/DataBufferShort.java,
1785         java/awt/image/DataBufferUShort.java,
1786         java/awt/image/ImagingOpException.java,
1787         java/awt/image/Kernel.java,
1788         java/awt/image/LookupTable.java,
1789         java/awt/image/MultiPixelPackedSampleModel.java,
1790         java/awt/image/PackedColorModel.java,
1791         java/awt/image/PixelInterleavedSampleModel.java,
1792         java/awt/image/RGBImageFilter.java,
1793         java/awt/image/Raster.java,
1794         java/awt/image/RasterFormatException.java,
1795         java/awt/image/SampleModel.java,
1796         java/awt/image/ShortLookupTable.java,
1797         java/awt/image/SinglePixelPackedSampleModel.java,
1798         java/awt/image/WritableRaster.java,
1799         java/awt/print/PrinterAbortException.java,
1800         java/awt/print/PrinterException.java,
1801         java/awt/print/PrinterIOException.java,
1802         java/beans/AppletInitializer.java,
1803         java/beans/ExceptionListener.java,
1804         java/beans/PropertyChangeEvent.java,
1805         java/beans/PropertyChangeListenerProxy.java,
1806         java/beans/PropertyChangeSupport.java,
1807         java/beans/PropertyDescriptor.java,
1808         java/beans/VetoableChangeListenerProxy.java,
1809         java/beans/VetoableChangeSupport.java,
1810         java/io/BufferedReader.java,
1811         java/io/ByteArrayInputStream.java,
1812         java/io/ByteArrayOutputStream.java,
1813         java/io/CharArrayReader.java,
1814         java/io/CharArrayWriter.java,
1815         java/io/CharConversionException.java,
1816         java/io/DataInput.java,
1817         java/io/DataInputStream.java,
1818         java/io/DataOutput.java,
1819         java/io/DataOutputStream.java,
1820         java/io/EOFException.java,
1821         java/io/FileInputStream.java,
1822         java/io/FileNotFoundException.java,
1823         java/io/FileOutputStream.java,
1824         java/io/FilenameFilter.java,
1825         java/io/FilterInputStream.java,
1826         java/io/FilterOutputStream.java,
1827         java/io/FilterReader.java,
1828         java/io/FilterWriter.java,
1829         java/io/IOException.java,
1830         java/io/InputStream.java,
1831         java/io/InterruptedIOException.java,
1832         java/io/LineNumberInputStream.java,
1833         java/io/LineNumberReader.java,
1834         java/io/ObjectInputStream.java,
1835         java/io/ObjectStreamException.java,
1836         java/io/OptionalDataException.java,
1837         java/io/OutputStream.java,
1838         java/io/OutputStreamWriter.java,
1839         java/io/PrintStream.java,
1840         java/io/PrintWriter.java,
1841         java/io/PushbackInputStream.java,
1842         java/io/PushbackReader.java,
1843         java/io/RandomAccessFile.java,
1844         java/io/Reader.java,
1845         java/io/SequenceInputStream.java,
1846         java/io/Serializable.java,
1847         java/io/StreamCorruptedException.java,
1848         java/io/StreamTokenizer.java,
1849         java/io/StringBufferInputStream.java,
1850         java/io/StringWriter.java,
1851         java/io/SyncFailedException.java,
1852         java/io/UTFDataFormatException.java,
1853         java/io/UnsupportedEncodingException.java,
1854         java/io/WriteAbortedException.java,
1855         java/io/Writer.java,
1856         java/lang/AbstractMethodError.java,
1857         java/lang/ArithmeticException.java,
1858         java/lang/ArrayIndexOutOfBoundsException.java,
1859         java/lang/ArrayStoreException.java,
1860         java/lang/AssertionError.java,
1861         java/lang/Boolean.java,
1862         java/lang/Byte.java,
1863         java/lang/Class.java,
1864         java/lang/ClassCastException.java,
1865         java/lang/ClassCircularityError.java,
1866         java/lang/ClassLoader.java,
1867         java/lang/ClassNotFoundException.java,
1868         java/lang/CloneNotSupportedException.java,
1869         java/lang/Cloneable.java,
1870         java/lang/Comparable.java,
1871         java/lang/Compiler.java,
1872         java/lang/Double.java,
1873         java/lang/Error.java,
1874         java/lang/Exception.java,
1875         java/lang/ExceptionInInitializerError.java,
1876         java/lang/Float.java,
1877         java/lang/IllegalAccessError.java,
1878         java/lang/IllegalAccessException.java,
1879         java/lang/IllegalArgumentException.java,
1880         java/lang/IllegalMonitorStateException.java,
1881         java/lang/IllegalStateException.java,
1882         java/lang/IllegalThreadStateException.java,
1883         java/lang/IncompatibleClassChangeError.java,
1884         java/lang/IndexOutOfBoundsException.java,
1885         java/lang/InheritableThreadLocal.java,
1886         java/lang/InstantiationError.java,
1887         java/lang/InstantiationException.java,
1888         java/lang/Integer.java,
1889         java/lang/InternalError.java,
1890         java/lang/InterruptedException.java,
1891         java/lang/LinkageError.java,
1892         java/lang/Long.java,
1893         java/lang/NegativeArraySizeException.java,
1894         java/lang/NoClassDefFoundError.java,
1895         java/lang/NoSuchFieldError.java,
1896         java/lang/NoSuchFieldException.java,
1897         java/lang/NoSuchMethodError.java,
1898         java/lang/NoSuchMethodException.java,
1899         java/lang/NullPointerException.java,
1900         java/lang/Number.java,
1901         java/lang/NumberFormatException.java,
1902         java/lang/OutOfMemoryError.java,
1903         java/lang/Process.java,
1904         java/lang/Runnable.java,
1905         java/lang/Runtime.java,
1906         java/lang/RuntimeException.java,
1907         java/lang/RuntimePermission.java,
1908         java/lang/SecurityException.java,
1909         java/lang/SecurityManager.java,
1910         java/lang/Short.java,
1911         java/lang/StackOverflowError.java,
1912         java/lang/StackTraceElement.java,
1913         java/lang/StringBuffer.java,
1914         java/lang/StringIndexOutOfBoundsException.java,
1915         java/lang/ThreadDeath.java,
1916         java/lang/ThreadGroup.java,
1917         java/lang/Throwable.java,
1918         java/lang/UnsatisfiedLinkError.java,
1919         java/lang/UnsupportedOperationException.java,
1920         java/lang/VerifyError.java,
1921         java/lang/VirtualMachineError.java,
1922         java/lang/reflect/AccessibleObject.java,
1923         java/lang/reflect/Array.java,
1924         java/lang/reflect/InvocationTargetException.java,
1925         java/lang/reflect/Member.java,
1926         java/lang/reflect/Modifier.java,
1927         java/lang/reflect/Proxy.java,
1928         java/lang/reflect/ReflectPermission.java,
1929         java/lang/reflect/UndeclaredThrowableException.java,
1930         java/math/BigInteger.java,
1931         java/net/NetworkInterface.java,
1932         java/nio/ByteBufferHelper.java,
1933         java/nio/ByteBufferImpl.java,
1934         java/nio/DirectByteBufferImpl.java,
1935         java/nio/DoubleBufferImpl.java,
1936         java/nio/FloatBufferImpl.java,
1937         java/nio/IntBufferImpl.java,
1938         java/nio/LongBufferImpl.java,
1939         java/nio/ShortBufferImpl.java,
1940         java/nio/channels/Channel.java,
1941         java/nio/channels/IllegalBlockingModeException.java,
1942         java/nio/charset/spi/CharsetProvider.java,
1943         java/security/AccessControlException.java,
1944         java/security/BasicPermission.java,
1945         java/security/DigestException.java,
1946         java/security/DigestInputStream.java,
1947         java/security/DigestOutputStream.java,
1948         java/security/GeneralSecurityException.java,
1949         java/security/Guard.java,
1950         java/security/GuardedObject.java,
1951         java/security/InvalidAlgorithmParameterException.java,
1952         java/security/InvalidKeyException.java,
1953         java/security/InvalidParameterException.java,
1954         java/security/Key.java,
1955         java/security/KeyException.java,
1956         java/security/KeyManagementException.java,
1957         java/security/KeyStoreException.java,
1958         java/security/MessageDigestSpi.java,
1959         java/security/NoSuchAlgorithmException.java,
1960         java/security/NoSuchProviderException.java,
1961         java/security/Permission.java,
1962         java/security/PermissionCollection.java,
1963         java/security/Permissions.java,
1964         java/security/Principal.java,
1965         java/security/PrivateKey.java,
1966         java/security/PrivilegedActionException.java,
1967         java/security/ProviderException.java,
1968         java/security/PublicKey.java,
1969         java/security/SecureRandom.java,
1970         java/security/SecureRandomSpi.java,
1971         java/security/SignatureException.java,
1972         java/security/SignatureSpi.java,
1973         java/security/SignedObject.java,
1974         java/security/Signer.java,
1975         java/security/UnrecoverableKeyException.java,
1976         java/security/UnresolvedPermission.java,
1977         java/security/acl/AclNotFoundException.java,
1978         java/security/acl/LastOwnerException.java,
1979         java/security/acl/NotOwnerException.java,
1980         java/security/cert/CertPath.java,
1981         java/security/cert/CertPathBuilderException.java,
1982         java/security/cert/CertPathValidatorException.java,
1983         java/security/cert/CertStoreException.java,
1984         java/text/BreakIterator.java,
1985         java/text/ChoiceFormat.java,
1986         java/text/CollationElementIterator.java,
1987         java/text/CollationKey.java,
1988         java/text/Collator.java,
1989         java/text/DateFormat.java,
1990         java/text/DateFormatSymbols.java,
1991         java/text/DecimalFormat.java,
1992         java/text/DecimalFormatSymbols.java,
1993         java/text/FieldPosition.java,
1994         java/text/Format.java,
1995         java/text/NumberFormat.java,
1996         java/text/ParseException.java,
1997         java/text/ParsePosition.java,
1998         java/text/StringCharacterIterator.java,
1999         java/util/AbstractCollection.java,
2000         java/util/AbstractList.java,
2001         java/util/AbstractMap.java,
2002         java/util/AbstractSequentialList.java,
2003         java/util/AbstractSet.java,
2004         java/util/ArrayList.java,
2005         java/util/Arrays.java,
2006         java/util/BitSet.java,
2007         java/util/Collection.java,
2008         java/util/Collections.java,
2009         java/util/Comparator.java,
2010         java/util/ConcurrentModificationException.java,
2011         java/util/Currency.java,
2012         java/util/Date.java,
2013         java/util/EmptyStackException.java,
2014         java/util/Enumeration.java,
2015         java/util/EventListener.java,
2016         java/util/EventListenerProxy.java,
2017         java/util/EventObject.java,
2018         java/util/HashMap.java,
2019         java/util/HashSet.java,
2020         java/util/Hashtable.java,
2021         java/util/IdentityHashMap.java,
2022         java/util/Iterator.java,
2023         java/util/LinkedHashSet.java,
2024         java/util/LinkedList.java,
2025         java/util/List.java,
2026         java/util/ListIterator.java,
2027         java/util/ListResourceBundle.java,
2028         java/util/Map.java,
2029         java/util/MissingResourceException.java,
2030         java/util/NoSuchElementException.java,
2031         java/util/Observable.java,
2032         java/util/Observer.java,
2033         java/util/Properties.java,
2034         java/util/PropertyPermissionCollection.java,
2035         java/util/RandomAccess.java,
2036         java/util/Set.java,
2037         java/util/SortedMap.java,
2038         java/util/SortedSet.java,
2039         java/util/Stack.java,
2040         java/util/StringTokenizer.java,
2041         java/util/TooManyListenersException.java,
2042         java/util/TreeMap.java,
2043         java/util/TreeSet.java,
2044         java/util/Vector.java,
2045         java/util/logging/FileHandler.java,
2046         java/util/logging/Level.java,
2047         java/util/prefs/BackingStoreException.java,
2048         java/util/prefs/InvalidPreferencesFormatException.java,
2049         java/util/prefs/Preferences.java,
2050         javax/accessibility/Accessible.java,
2051         javax/accessibility/AccessibleAction.java,
2052         javax/accessibility/AccessibleBundle.java,
2053         javax/accessibility/AccessibleComponent.java,
2054         javax/accessibility/AccessibleContext.java,
2055         javax/accessibility/AccessibleEditableText.java,
2056         javax/accessibility/AccessibleExtendedComponent.java,
2057         javax/accessibility/AccessibleExtendedTable.java,
2058         javax/accessibility/AccessibleHyperlink.java,
2059         javax/accessibility/AccessibleHypertext.java,
2060         javax/accessibility/AccessibleIcon.java,
2061         javax/accessibility/AccessibleKeyBinding.java,
2062         javax/accessibility/AccessibleRelation.java,
2063         javax/accessibility/AccessibleRelationSet.java,
2064         javax/accessibility/AccessibleResourceBundle.java,
2065         javax/accessibility/AccessibleRole.java,
2066         javax/accessibility/AccessibleSelection.java,
2067         javax/accessibility/AccessibleState.java,
2068         javax/accessibility/AccessibleStateSet.java,
2069         javax/accessibility/AccessibleTable.java,
2070         javax/accessibility/AccessibleTableModelChange.java,
2071         javax/accessibility/AccessibleText.java,
2072         javax/accessibility/AccessibleValue.java,
2073         javax/imageio/IIOException.java,
2074         javax/imageio/ImageIO.java,
2075         javax/imageio/spi/IIOServiceProvider.java,
2076         javax/imageio/spi/ImageInputStreamSpi.java,
2077         javax/imageio/spi/ImageOutputStreamSpi.java,
2078         javax/imageio/spi/ImageReaderWriterSpi.java,
2079         javax/imageio/spi/ImageTranscoderSpi.java,
2080         javax/imageio/spi/RegisterableService.java,
2081         javax/imageio/spi/ServiceRegistry.java,
2082         javax/imageio/stream/IIOByteBuffer.java,
2083         javax/imageio/stream/ImageInputStream.java,
2084         javax/imageio/stream/ImageOutputStream.java,
2085         javax/naming/Binding.java,
2086         javax/naming/CannotProceedException.java,
2087         javax/naming/CompositeName.java,
2088         javax/naming/CompoundName.java,
2089         javax/naming/LinkException.java,
2090         javax/naming/LinkRef.java,
2091         javax/naming/NameClassPair.java,
2092         javax/naming/Reference.java,
2093         javax/naming/ReferralException.java,
2094         javax/naming/directory/Attribute.java,
2095         javax/naming/directory/AttributeModificationException.java,
2096         javax/naming/directory/Attributes.java,
2097         javax/naming/directory/DirContext.java,
2098         javax/naming/directory/ModificationItem.java,
2099         javax/naming/directory/SearchControls.java,
2100         javax/naming/directory/SearchResult.java,
2101         javax/naming/event/EventContext.java,
2102         javax/naming/event/EventDirContext.java,
2103         javax/naming/event/NamespaceChangeListener.java,
2104         javax/naming/event/NamingExceptionEvent.java,
2105         javax/naming/event/NamingListener.java,
2106         javax/naming/event/ObjectChangeListener.java,
2107         javax/naming/ldap/Control.java,
2108         javax/naming/ldap/ExtendedResponse.java,
2109         javax/naming/ldap/HasControls.java,
2110         javax/naming/ldap/LdapContext.java,
2111         javax/naming/ldap/UnsolicitedNotification.java,
2112         javax/naming/ldap/UnsolicitedNotificationEvent.java,
2113         javax/naming/ldap/UnsolicitedNotificationListener.java,
2114         javax/naming/spi/DirectoryManager.java,
2115         javax/naming/spi/ResolveResult.java,
2116         javax/naming/spi/Resolver.java,
2117         javax/security/auth/callback/Callback.java,
2118         javax/security/auth/callback/CallbackHandler.java,
2119         javax/security/auth/callback/ChoiceCallback.java,
2120         javax/security/auth/callback/ConfirmationCallback.java,
2121         javax/security/auth/callback/LanguageCallback.java,
2122         javax/security/auth/callback/NameCallback.java,
2123         javax/security/auth/callback/PasswordCallback.java,
2124         javax/security/auth/callback/TextInputCallback.java,
2125         javax/security/auth/callback/TextOutputCallback.java,
2126         javax/security/auth/callback/UnsupportedCallbackException.java,
2127         javax/security/sasl/Sasl.java,
2128         javax/security/sasl/SaslServerFactory.java,
2129         javax/swing/DefaultBoundedRangeModel.java,
2130         javax/swing/JComponent.java,
2131         javax/swing/JList.java,
2132         javax/swing/JProgressBar.java,
2133         javax/swing/JRadioButton.java,
2134         javax/swing/JTextArea.java,
2135         javax/swing/JTextField.java,
2136         javax/swing/JToggleButton.java,
2137         javax/swing/JTree.java,
2138         javax/swing/SpinnerListModel.java,
2139         javax/swing/event/EventListenerList.java,
2140         javax/swing/text/JTextComponent.java,
2141         javax/swing/text/StringContent.java,
2142         javax/swing/text/Utilities.java,
2143         javax/swing/undo/UndoManager.java,
2144         javax/swing/undo/UndoableEditSupport.java,
2145         javax/transaction/HeuristicCommitException.java,
2146         javax/transaction/HeuristicMixedException.java,
2147         javax/transaction/HeuristicRollbackException.java,
2148         javax/transaction/InvalidTransactionException.java,
2149         javax/transaction/NotSupportedException.java,
2150         javax/transaction/RollbackException.java,
2151         javax/transaction/Status.java,
2152         javax/transaction/Synchronization.java,
2153         javax/transaction/SystemException.java,
2154         javax/transaction/Transaction.java,
2155         javax/transaction/TransactionManager.java,
2156         javax/transaction/TransactionRequiredException.java,
2157         javax/transaction/TransactionRolledbackException.java,
2158         javax/transaction/UserTransaction.java,
2159         javax/transaction/xa/XAException.java,
2160         javax/transaction/xa/XAResource.java,
2161         javax/transaction/xa/Xid.java,
2162         javax/xml/XMLConstants.java,
2163         javax/xml/datatype/DatatypeConfigurationException.java,
2164         javax/xml/datatype/DatatypeConstants.java,
2165         javax/xml/datatype/DatatypeFactory.java,
2166         javax/xml/datatype/Duration.java,
2167         javax/xml/datatype/XMLGregorianCalendar.java,
2168         javax/xml/namespace/NamespaceContext.java,
2169         javax/xml/namespace/QName.java,
2170         javax/xml/parsers/DocumentBuilder.java,
2171         javax/xml/parsers/DocumentBuilderFactory.java,
2172         javax/xml/parsers/FactoryConfigurationError.java,
2173         javax/xml/parsers/ParserConfigurationException.java,
2174         javax/xml/parsers/SAXParser.java,
2175         javax/xml/parsers/SAXParserFactory.java,
2176         javax/xml/transform/ErrorListener.java,
2177         javax/xml/transform/OutputKeys.java,
2178         javax/xml/transform/Result.java,
2179         javax/xml/transform/Source.java,
2180         javax/xml/transform/SourceLocator.java,
2181         javax/xml/transform/Templates.java,
2182         javax/xml/transform/Transformer.java,
2183         javax/xml/transform/TransformerConfigurationException.java,
2184         javax/xml/transform/TransformerException.java,
2185         javax/xml/transform/TransformerFactory.java,
2186         javax/xml/transform/TransformerFactoryConfigurationError.java,
2187         javax/xml/transform/URIResolver.java,
2188         javax/xml/transform/dom/DOMLocator.java,
2189         javax/xml/transform/dom/DOMResult.java,
2190         javax/xml/transform/dom/DOMSource.java,
2191         javax/xml/transform/sax/SAXResult.java,
2192         javax/xml/transform/sax/SAXSource.java,
2193         javax/xml/transform/sax/SAXTransformerFactory.java,
2194         javax/xml/transform/sax/TemplatesHandler.java,
2195         javax/xml/transform/sax/TransformerHandler.java,
2196         javax/xml/transform/stream/StreamResult.java,
2197         javax/xml/transform/stream/StreamSource.java,
2198         javax/xml/validation/Schema.java,
2199         javax/xml/validation/SchemaFactory.java,
2200         javax/xml/validation/TypeInfoProvider.java,
2201         javax/xml/validation/Validator.java,
2202         javax/xml/validation/ValidatorHandler.java,
2203         javax/xml/xpath/XPathConstants.java,
2204         javax/xml/xpath/XPathException.java,
2205         javax/xml/xpath/XPathExpression.java,
2206         javax/xml/xpath/XPathExpressionException.java,
2207         javax/xml/xpath/XPathFactory.java,
2208         javax/xml/xpath/XPathFactoryConfigurationException.java,
2209         javax/xml/xpath/XPathFunction.java,
2210         javax/xml/xpath/XPathFunctionException.java,
2211         javax/xml/xpath/XPathFunctionResolver.java:
2212         Fixed usage of @author tag, reworked import statements,
2213         removed CVS tags, changed the modifier order and fixed
2214         HTML usage in javadocs.
2216 2005-02-16  Julian Scheid  <julian@sektor37.de>
2218         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
2219         in.position().
2220         (encodeLoop): Likewise.
2222 2005-02-16  Mark Wielaard  <mark@klomp.org>
2224         * Makefile.am (ordinary_java_source_files): Add new files
2225         gnu/java/security/ber/BER.java,
2226         gnu/java/security/ber/BEREncodingException.java,
2227         gnu/java/security/ber/BERReader.java,
2228         gnu/java/security/ber/BERValue.java,
2229         gnu/java/security/pkcs/PKCS7SignedData.java and
2230         gnu/java/security/pkcs/SignerInfo.java.
2231         * Makefile.in: Regenerated.
2233 2005-02-16  Casey Marshall  <csm@gnu.org>
2235         * gnu/java/security/provider/GnuDSAPrivateKey.java
2236         (encodedKey): new field.
2237         (getFormat): return "PKCS#8".
2238         (getEncoded): implemented.
2239         (toString): check for 'null' values.
2240         * gnu/java/security/provider/GnuDSAPublicKey.java
2241         (encodedKey): new field.
2242         (getFormat): return "X.509".
2243         (getEncoded): implemented.
2244         (toString): check for 'null' values.
2246 2005-02-16  Michael Koch  <konqueror@gmx.de>
2248         * java/util/jar/JarFile.java: Imports reworked.
2250 2005-02-16  Mark Wielaard  <mark@klomp.org>
2252         * java/util/jar/JarFile.java (verify): Make package private.
2253         (signaturesRead): Likewise.
2254         (verified): Likewise.
2255         (entryCerts): Likewise.
2256         (DEBUG): Likewise.
2257         (debug): Likewise.
2258         (entries): Construct new JarEnumeration with reference to this.
2259         (JarEnumeration): Make static.
2260         (JarEnumeration.jarfile): New field.
2261         (JarEnumeration.nextElement): Use and synchronize on jarfile.
2262         Compare verified value to Boolean.TRUE or Boolean.False only
2263         when verify is true.
2264         (getEntry): Make synchronized. Compare value of verified to
2265         Boolean.TRUE.
2266         (getInputStream): Construct EntryInputStream with reference to this.
2267         (getManifest): Make synchronized.
2268         (EntryInputStream): Make static.
2269         (EntryInputStream.jarfile): New field.
2270         (EntryInputStream.EntryInputStream): Check if manifest exists,
2271         before getting attributes.
2272         (eof): Synchronize on jarfile.
2274 2005-02-16  Casey Marshall  <csm@gnu.org>
2276         * java/util/jar/JarFile.java (verify): return if the jar is signed
2277         with an unsupported algorithm.
2279 2005-02-16  Mark Wielaard  <mark@klomp.org>
2281         * java/util/jar/JarFile.java (EntryInputStream): Add actual
2282         InputStream as argument.
2283         (getInputStream): Construct a new EntryInputStream with the result of
2284         super.getInputStream(entry).
2286 2005-02-16  Casey Marshall  <csm@gnu.org>
2288         Signed JAR file support.
2289         * java/net/URLClassLoader.java
2290         (JarURLResource.getCertificates): re-read jar entry to ensure
2291         certificates are picked up.
2292         (findClass): fill in class `signers' field, too.
2293         * java/util/jar/JarFile.java (META_INF): new constant.
2294         (PKCS7_DSA_SUFFIX): new constant.
2295         (PKCS7_RSA_SUFFIX): new constant.
2296         (DIGEST_KEY_SUFFIX): new constant.
2297         (SF_SUFFIX): new constant.
2298         (MD2_OID): new constant.
2299         (MD4_OID): new constant.
2300         (MD5_OID): new constant.
2301         (SHA1_OID): new constant.
2302         (DSA_ENCRYPTION_OID): new constant.
2303         (RSA_ENCRYPTION_OID): new constant.
2304         (signaturesRead): new field.
2305         (verified): new field.
2306         (entryCerts): new field.
2307         (DEBUG): new constant.
2308         (debug): new method.
2309         (JarEnumeration.nextElement): fill in entry certificates, read
2310         signatures if they haven't been read.
2311         (getEntry): likewise.
2312         (getInputStream): verify stream if it hasn't been verified yet.
2313         (readSignatures): new method.
2314         (verify): new method.
2315         (verifyHashes): new method.
2316         (readManifestEntry): new method.
2317         (EntryInputStream): new class.
2318         * gnu/java/io/Base64InputStream.java (decode): new class
2319         method.
2320         * gnu/java/security/der/DERReader.java don't make class
2321         final.
2322         (in): made protected.
2323         (encBuf): likewise.
2324         (readLength): likewise.
2325         * gnu/java/security/ber/BER.java,
2326         * gnu/java/security/ber/BEREncodingException.java,
2327         * gnu/java/security/ber/BERReader.java,
2328         * gnu/java/security/ber/BERValue.java,
2329         * gnu/java/security/pkcs/PKCS7SignedData.java,
2330         * gnu/java/security/pkcs/SignerInfo.java:
2331         new files.
2333 2005-02-16  Tom Tromey  <tromey@redhat.com>
2335         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
2336         copied file on exit.
2338 2005-02-15  Mark Wielaard  <mark@klomp.org>
2340         * java/awt/BasicStroke.java (hashCode): Check for null dash.
2342 2005-02-15  Michael Koch  <konqueror@gmx.de>
2344         * gnu/java/awt/peer/gtk/GtkArg.java,
2345         gnu/java/awt/peer/gtk/GtkArgList.java:
2346         Removed.
2348 2005-02-15  Craig Black  <craig.black@aonix.com>
2350         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
2351         (postMenuActionEvent): Implement to notify ItemListeners.
2352         * java/awt/CheckboxMenuItem.java
2353         (dispatchEventImpl): Update state on ItemEvent.
2354         * java/awt/MenuItem.java
2355         (processActionEvent): Retarget event source.
2357 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2359         * gnu/java/awt/color/ClutProfileConverter.java,
2360         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
2361         gnu/java/awt/peer/gtk/GdkFontPeer.java,
2362         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2363         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2364         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2365         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2366         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
2367         gnu/java/awt/peer/gtk/GdkTextLayout.java,
2368         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2369         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2370         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
2371         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2372         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2373         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2374         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2375         gnu/java/awt/peer/gtk/GtkFontPeer.java,
2376         gnu/java/awt/peer/gtk/GtkFramePeer.java,
2377         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2378         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
2379         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2380         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
2381         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
2382         gnu/java/awt/peer/gtk/GtkToolkit.java,
2383         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2384         javax/swing/JPopupMenu.java,
2385         javax/swing/JSpinner.java,
2386         javax/swing/SortingFocusTraversalPolicy.java,
2387         javax/swing/SwingUtilities.java,
2388         javax/swing/plaf/basic/BasicComboBoxEditor.java,
2389         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2390         javax/swing/tree/DefaultMutableTreeNode.java:
2391         Removed unused imports and expanded starred
2392         imports.
2394 2005-02-15  Mark Wielaard  <mark@klomp.org>
2396         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
2397         IllegalArgumentException when the given String is null.
2399         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
2400         when given keystoke sequence cannot be parsed.
2402         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
2403         if one is installed. Only install the given menubar is not null.
2405         * javax/swing/JViewport.java (getViewSize): Return an empty
2406         Dimension when the view isn't set or preferred component size when
2407         no viewSize is set.
2409         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
2410         empty Dimension when there is no view set.
2411         (minimumLayoutSize): Likewise.
2412         (layoutContainer): Don't try to layout when there is no view.
2414 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2416         * jawt.c: New file.
2417         * include/jawt.h: Likewise.
2418         * include/jawt_md.h: Likewise.
2419         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
2420         jawt_md.h files.
2421         * jni/classpath/classpath_jawt.h: Likewise.
2422         * jni/gtk-peer/gtk_jawt.c: Likewise.
2423         * Makefile.am: Build libjawt.so.
2425 2005-02-15  Michael Koch  <konqueror@gmx.de>
2427         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
2428         Merged file header with classpath CVS head.
2429         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2430         Merged code formatting with classpath CVS head.
2431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
2432         Removed debug code.
2433         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2434         Handle special JNI strings with 2 '\0' at the end.
2435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2436         Merged file header with classpath CVS head.
2437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2438         Merged code formatting with classpath CVS head.
2440 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2442         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
2443         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
2444         (handle_response): Use GTK_RESPONSE_ACCEPT.
2446 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2448         * Makefile.am: Fix library build breakage.
2449         * Makefile.in: Regenerate.
2451 2005-02-15  Michael Koch  <konqueror@gmx.de>
2453         * javax/swing/JTabbedPane.java
2454         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
2456 2005-02-15  Michael Koch  <konqueror@gmx.de>
2458         * javax/swing/tree/DefaultMutableTreeNode.java:
2459         Reworked Javadocs all over.
2460         (getPathToRoot): Fixed direction of result array initialization.
2462 2005-02-15  Michael Koch  <konqueror@gmx.de>
2464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2465          Fix includes for cairo 0.3.0 snappshot.
2466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2467         Merged file header from classpath CVS HEAD.
2469 2005-02-15  Craig Black  <craig.black@aonix.com>
2471         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2472         (copyState): Pass a JNI global reference to signal handler.
2473         (realize_cb): Use and free JNI global reference.
2474         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2475         (create): Pass a JNI global reference to signal handler.
2476         (selection_changed): Match declaration.
2477         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2478         (dispose): Do not remove entries from state tables until after widget is
2479         destroyed.
2481 2005-02-15  Michael Koch  <konqueror@gmx.de>
2483         * java/awt/Container.javai (paramString):
2484         If layoutMgr is null just return result of super.paramString().
2485         * java/awt/Scrollbar.java: Reformatted.
2486         * java/awt/im/InputContext.java (static):
2487         Removed redundant initializations.
2489 2005-02-15  Michael Koch  <konqueror@gmx.de>
2491         * javax/swing/ImageIcon.java,
2492         javax/swing/UIManager.java,
2493         javax/swing/text/EditorKit.java,
2494         javax/swing/text/Segment.java:
2495         More whitespace cleanups.
2497 2005-02-15  Michael Koch  <konqueror@gmx.de>
2499         * gnu/java/awt/EmbeddedWindow.java,
2500         gnu/java/awt/image/ImageDecoder.java,
2501         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2502         java/awt/DefaultKeyboardFocusManager.java,
2503         java/awt/Frame.java,
2504         java/awt/image/RGBImageFilter.java,
2505         javax/swing/AbstractButton.java,
2506         javax/swing/ActionMap.java,
2507         javax/swing/ComponentInputMap.java,
2508         javax/swing/DefaultDesktopManager.java,
2509         javax/swing/ImageIcon.java,
2510         javax/swing/InputMap.java,
2511         javax/swing/JButton.java,
2512         javax/swing/JCheckBox.java,
2513         javax/swing/JCheckBoxMenuItem.java,
2514         javax/swing/JEditorPane.java,
2515         javax/swing/JMenu.java,
2516         javax/swing/JMenuItem.java,
2517         javax/swing/JOptionPane.java,
2518         javax/swing/JRootPane.java,
2519         javax/swing/JTable.java,
2520         javax/swing/MenuSelectionManager.java,
2521         javax/swing/RepaintManager.java,
2522         javax/swing/ScrollPaneLayout.java,
2523         javax/swing/SortingFocusTraversalPolicy.java,
2524         javax/swing/UIManager.java,
2525         javax/swing/ViewportLayout.java,
2526         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
2527         javax/swing/plaf/basic/BasicInternalFrameUI.java,
2528         javax/swing/plaf/basic/BasicLabelUI.java,
2529         javax/swing/plaf/basic/BasicListUI.java,
2530         javax/swing/plaf/basic/BasicMenuItemUI.java,
2531         javax/swing/plaf/basic/BasicMenuUI.java,
2532         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2533         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2534         javax/swing/plaf/basic/BasicRootPaneUI.java,
2535         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2536         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2537         javax/swing/plaf/basic/BasicTextUI.java,
2538         javax/swing/table/TableColumnModel.java,
2539         javax/swing/text/AbstractDocument.java,
2540         javax/swing/text/EditorKit.java,
2541         javax/swing/text/Position.java,
2542         javax/swing/text/Segment.java,
2543         javax/swing/text/StyledEditorKit.java,
2544         javax/swing/text/ViewFactory.java:
2545         Cleanup whitespace differences to classpath CVS HEAD.
2547 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2549         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2550         (finalize): Call finish from here.
2551         (produce): Not from here.
2552         * Makefile.am (gtk_c_source_files):
2553         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
2554         * Makefile.in: Regenerate.
2555         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2556         (cairoSetFont):
2557         (cairoDrawGdkTextLayout):
2558         (cairoDrawString):
2559         (getPeerTextMetrics):
2560         (getPeerFontMetrics): Remove.
2561         (setFont): Don't call cairoSetFont.
2562         (cairoDrawGlyphVector): Accept font peer argument.
2563         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
2564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2565         (ensure_metrics_cairo):
2566         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
2567         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
2568         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
2569         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
2570         (metrics_cairo):
2571         (metrics_surface): Remove.
2572         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
2573         Pass and install font peer.
2575 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2577         * Makefile.am: Create "split library" structure.
2578         * Makefile.in: Regenerate.
2580 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2585         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2586         Release GDK lock during upcalls.
2588 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
2591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2592         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2593         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
2594         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
2595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
2596         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2597         (getGlyphVector):
2598         (getFontMetrics):
2599         (getTextMetrics): New native methods.
2600         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
2601         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
2602         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
2603         * Makefile.in: Regenerate.
2605 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2607         * javax/swing/SwingUtilities.java:
2608         (getAccessibleAt(java.awt.Component, java.awt.Point)):
2609         Implemented and documented.
2610         (getAccessibleChild(java.awt.Component, int)): Likewise.
2611         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
2612         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
2613         (getAccessibleStateSet(java.awt.Component)): Likewise.
2615 2005-02-15  Michael Koch  <konqueror@gmx.de>
2617         * javax/swing/SwingUtilities.java
2618         (getFontMetrics): Removed.
2620 2005-02-15  Michael Koch  <konqueror@gmx.de>
2622         * java/awt/Container.java
2623         (paramString): Implemented.
2624         * javax/swing/AbstractButton.java
2625         (paramString): Implemented.
2626         * javax/swing/JComponent.java
2627         (paramString): Implemented.
2628         * javax/swing/JMenu.java
2629         (paramString): Implemented.
2630         * javax/swing/JMenuBar.java
2631         (paramString): Implemented.
2632         * javax/swing/JMenuItem.java
2633         (paramString): Implemented.
2634         * javax/swing/JPopupMenu.java
2635         (paramString): Implemented.
2637 2005-02-15  Michael Koch  <konqueror@gmx.de>
2639         * javax/swing/JMenu.java
2640         (uiClassID): Removed.
2641         (JMenu): Set invoker on popup menu.
2642         (getUIClassID): Return id directly.
2643         (getItemCount): Simply return getMenuComponentCount().
2644         Fixed javadoc.
2645         (isTopLevelMenu): Simplified.
2646         * javax/swing/JMenuItem.java
2647         (uiClassID): Removed.
2648         (getUIClassID): Return id directly.
2649         * javax/swing/JPopupMenu.java
2650         (uiClassID): Removed.
2651         (JPopupMenu): Always initialize correctly.
2652         (getSubElements): Only return components implementing MenuElement
2653         interface.
2654         (HeavyWeightPopup.hide): Removed.
2656 2005-02-15  Michael Koch  <konqueror@gmx.de>
2658         * java/awt/image/ReplicateScaleFilter.java
2659         (replicatePixels): Made private.
2660         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2661         (DefaultRGBChooserPanel): Made package private.
2662         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2663         (RecentSwatchPanel): Likewise.
2664         * javax/swing/event/MouseInputAdapter.java: Reformatted.
2665         (MouseInputAdapter): Made abstract.
2666         * javax/swing/tree/DefaultMutableTreeNode.java
2667         (random): Removed.
2668         (growTree): Likewise.
2670 2005-02-15  Michael Koch  <konqueror@gmx.de>
2672         * java/awt/dnd/DropTarget.java (addDropTargetListener):
2673         Clarified comments.
2675 2005-02-15  Michael Koch  <konqueror@gmx.de>
2677         * javax/swing/JComponent.java (getComponentGraphics):
2678         Removed accidently commited code.
2680 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2682         * java/awt/dnd/DropTarget.java
2683         (addDropTargetListener): Despite documentation, do not throw.
2684         * javax/swing/JComponent.java: Set a default DropTarget.
2686 2005-02-15  Michael Koch  <konqueror@gmx.de>
2688         * javax/swing/AbstractAction.java
2689         (ENABLED_PROPERTY): Removed.
2690         (setEnabled): Replaced constant with real string.
2691         * javax/swing/AbstractButton.java
2692         (createActionPropertyChangeListener.propertyChange): Likewise.
2693         * javax/swing/JComboBox.java
2694         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
2695         (EDITABLE_CHANGED_PROPERTY): Removed.
2696         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
2697         (ENABLED_CHANGED_PROPERTY):Likewise.
2698         (RENDERER_CHANGED_PROPERTY):Likewise.
2699         (EDITOR_CHANGED_PROPERTY):Likewise.
2700         (MODEL_CHANGED_PROPERTY):Likewise.
2701         (uiClassID):Likewise.
2702         (getUIClassID): Replaced constant with real string.
2703         (setModel):Likewise.
2704         (setEditable):Likewise.
2705         (setMaximumRowCount):Likewise.
2706         (setRenderer):Likewise.
2707         (setEditor):Likewise.
2708         (setEnabled):Likewise.
2709         * javax/swing/JLabel.java
2710         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
2711         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
2712         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
2713         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2714         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2715         (ICON_CHANGED_PROPERTY): Likewise.
2716         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
2717         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
2718         (TEXT_CHANGED_PROPERTY): Likewise.
2719         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2720         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2721         (setText): Replaced constant with real string.
2722         (setIcon): Likewise.
2723         (setDisabledIcon): Likewise.
2724         (setDisplayedMnemonic): Likewise.
2725         (setIconTextGap): Likewise.
2726         (setVerticalAlignment): Likewise.
2727         (setHorizontalAlignment): Likewise.
2728         (setVerticalTextPosition): Likewise.
2729         (setHorizontalTextPosition): Likewise.
2730         (setLabelFor): Replaced constant with real string.
2731         Fire property change event after property got changed.
2732         * javax/swing/JList.java
2733         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
2734         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
2735         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
2736         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
2737         (MODEL_PROPERTY_CHANGED): Likewise.
2738         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
2739         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
2740         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
2741         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
2742         (setFixedCellWidth): Reimplemented.
2743         (setFixedCellHeight): Exit if new value is identical.
2744         Replaced constant with real string.
2745         (setSelectionBackground): Likewise.
2746         (setSelectionForeground): Likewise.
2747         (setPrototypeCellValue): Likewise.
2748         (setCellRenderer): Replaced constant with real string.
2749         (setModel): Likewise.
2750         (setSelectionModel): Likewise.
2751         * javax/swing/JMenuBar.java
2752         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2753         (MODEL_CHANGED_PROPERTY): Likewise.
2754         (MARGIN_CHANGED_PROPERTY): Likewise.
2755         (setBorderPainted): Reimplemented.
2756         (setMargin): Likewise.
2757         (setSelectionModel): Replaced constant with real string.
2758         * javax/swing/JPopupMenu.java
2759         (LABEL_CHANGED_PROPERTY): Removed.
2760         (VISIBLE_CHANGED_PROPERTY): Likewise.
2761         (borderPainted): Likewise.
2762         (setLabel): Replaced constant with real string.
2763         (setVisible): Exit if new value is identical.
2764         Replaced constant with real string.
2765         * javax/swing/JProgressBar.java
2766         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2767         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2768         (STRING_CHANGED_PROPERTY): Likewise.
2769         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
2770         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
2771         (setOrientation): Replaced constant with real string.
2772         (setStringPainted): Likewise.
2773         (setString): Likewise.
2774         (setBorderPainted): Likewise.
2775         (setIndeterminate): Likewise.
2776         * javax/swing/JScrollBar.java
2777         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
2778         (MODEL_CHANGED_PROPERTY): Likewise.
2779         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2780         (setOrientation): Replaced constant with real string.
2781         (setModel): Likewise.
2782         (setUnitIncrement): Likewise.
2783         (setBlockIncrement): Likewise.
2784         * javax/swing/JScrollPane.java
2785         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
2786         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
2787         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2788         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2789         (LAYOUT_CHANGED_PROPERTY): Likewise.
2790         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
2791         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2792         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2793         (VIEWPORT_CHANGED_PROPERTY): Likewise.
2794         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
2795         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
2796         (setComponentOrientation): Replaced constant with real string.
2797         (setColumnHeader): Likewise.
2798         (setHorizontalScrollBar): Likewise.
2799         (setHorizontalScrollBarPolicy): Likewise.
2800         (setRowHeader): Likewise.
2801         (setVerticalScrollBar): Likewise.
2802         (setVerticalScrollBarPolicy): Likewise.
2803         (setWheelScrollingEnabled): Likewise.
2804         (setViewport): Likewise.
2805         (setViewportBorder): Likewise.
2806         * javax/swing/JSlider.java
2807         (INVERTED_CHANGED_PROPERTY): Removed.
2808         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
2809         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2810         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2811         (MODEL_CHANGED_PROPERTY): Likewise.
2812         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2813         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
2814         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
2815         (setModel): Replaced constant with real string.
2816         (setOrientation): Likewise.
2817         (setLabelTable): Likewise.
2818         (setInverted): Likewise.
2819         (setMajorTickSpacing): Likewise.
2820         (setMinorTickSpacing): Likewise.
2821         (setPaintTicks): Likewise.
2822         (setPaintLabels): Likewise.
2823         * javax/swing/JTabbedPane.java
2824         (MODEL_CHANGED_PROPERTY): Removed.
2825         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2826         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2827         (setModel): Replaced constant with real string.
2828         (setTabPlacement): Likewise.
2829         (setTabLayoutPolicy): Likewise.
2830         * javax/swing/JToolBar.java
2831         (ORIENTATION_CHANGED_PROPERTY): Removed.
2832         (FLOATABLE_CHANGED_PROPERTY): Likewise.
2833         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2834         (MARGIN_CHANGED_PROPERTY): Likewise.
2835         (ROLLOVER_CHANGED_PROPERTY): Likewise.
2836         (setRollover): Replaced constant with real string.
2837         (setMargin): Likewise.
2838         (setBorderPainted): Likewise.
2839         (setFloatable): Likewise.
2840         (setOrientation): Likewise.
2841         * javax/swing/plaf/basic/BasicComboBoxUI.java
2842         (PropertyChangeHandler.propertyChange): Likewise.
2843         * javax/swing/plaf/basic/BasicComboPopup.java
2844         (PropertyChangeHandler.propertyChange): Likewise.
2845         * javax/swing/plaf/basic/BasicMenuBarUI.java
2846         (PropertyChangeHandler.propertyChange): Likewise.
2847         * javax/swing/plaf/basic/BasicProgressBarUI.java
2848         (PropertyChangeHandler.propertyChange): Likewise.
2849         * javax/swing/plaf/basic/BasicScrollBarUI.java
2850         (PropertyChangeHandler.propertyChange): Likewise.
2851         * javax/swing/plaf/basic/BasicSliderUI.java
2852         (PropertyChangeHandler.propertyChange): Likewise.
2853         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2854         (PropertyChangeHandler.propertyChange): Likewise.
2855         * javax/swing/plaf/basic/BasicToolBarUI.java
2856         (PropertyChangeHandler.propertyChange): Likewise.
2858 2005-02-15  Michael Koch  <konqueror@gmx.de>
2860         * javax/swing/DefaultButtonModel.java
2861         (changeState): Made private.
2862         * javax/swing/DefaultDesktopManager.java
2863         (setWasIcon): Fixed second argument to be java.lang.Boolean.
2864         * javax/swing/JLayeredPane.java
2865         (layerToRange): Made private.
2866         (incrLayer): Likewise.
2867         (decrLayer): Likewise.
2868         * javax/swing/JTable.java
2869         (dragEnabled): Likewise.
2870         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2871         * javax/swing/KeyStroke.java
2872         (Keystroke): Made private.
2873         * javax/swing/TransferHandler.java
2874         (COMMAND_COPY): Likewise.
2875         (COMMAND_CUT): Likewise.
2876         (COMMAND_PASTE): Likewise.
2878 2005-02-15  Michael Koch  <konqueror@gmx.de>
2880         * javax/swing/JTextField.java
2881         (postActionEvent): Use text in field when actionCommand is null.
2882         (getActionCommand): Removed.
2884 2005-02-15  Michael Koch  <konqueror@gmx.de>
2886         * javax/swing/AbstractSet.java: Removed.
2887         * Makefile.am: Removed javax/swing/AbstractSet.java.
2888         * Makefile.in: Regenerated.
2890 2005-02-15  Michael Koch  <konqueror@gmx.de>
2892         * java/awt/Window.java
2893         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2894         * java/awt/dnd/DnDConstants.java
2895         (DnDConstants): New private constructor.
2897 2005-02-15  Michael Koch  <konqueror@gmx.de>
2899         * javax/swing/DefaultCellRenderer.java: Removed.
2900         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2901         * Makefile.in: Regenerated.
2903 2005-02-15  Michael Koch  <konqueror@gmx.de>
2905         * javax/swing/AbstractButton.java
2906         (fireItemStateChanged): Made protected.
2907         (fireActionPerformed): Likewise.
2908         (fireStateChanged): Likewise.
2909         * javax/swing/DefaultButtonModel.java
2910         (fireItemStateChanged): Likewise.
2911         (fireActionPerformed): Likewise.
2912         (fireStateChanged): Likewise.
2913         * javax/swing/JApplet.java
2914         (JApplet): Removed.
2915         (frameInit): Likewise.
2916         (setRootPane): Made protected.
2917         (createRootPane): Likewise.
2918         * javax/swing/JComponent.java
2919         (getClientProperty): Likewise.
2920         (putClientProperty): Likewise.
2921         * javax/swing/JEditorPane.java
2922         (getContentType): Likewise.
2923         (setContentType): Likewise.
2924         * javax/swing/JFrame.java
2925         (setRootPane): Likewise.
2926         (createRootPane): Likewise.
2927         * javax/swing/JInternalFrame.java
2928         (getFocusCycleRootAncestor): Made final. Added @since tag.
2929         (isFocusCycleRoot): Likewise.
2930         (getWarningString): Made final.
2931         * javax/swing/JScrollBar.java
2932         (changeListener): Removed.
2933         (changeEvent): Likewise.
2934         (createChangeListener): Likewise.
2935         (fireStateChanged): Likewise.
2936         (addChangeListener): Likewise.
2937         (removeChangeListener): Likewise.
2938         (getChangeListeners): Likewise.
2939         * javax/swing/JScrollPane.java
2940         (createViewport): Made protected.
2941         * javax/swing/JViewport.java
2942         (addImpl): Likewise.
2943         (setBorder): New method.
2944         * javax/swing/JWindow.java
2945         (setRootPane): Made protected.
2946         (createRootPane): Likewise.
2947         * javax/swing/plaf/basic/BasicButtonUI.java
2948         (installListeners): Likewise.
2949         (uninstallListeners): Likewise.
2950         * javax/swing/plaf/basic/BasicProgressBarUI.java
2951         (incrementAnimationIndex): Likewise.
2952         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2953         (createLayoutManager): Likewise.
2954         * javax/swing/table/DefaultTableCellRenderer.java
2955         (firePropertyChange): Likewise.
2956         * javax/swing/table/JTableHeader.java
2957         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
2958         New constructor.
2959         * javax/swing/text/PlainDocument.java
2960         (reindex): Made private.
2961         * javax/swing/text/PlainView.java
2962         (drawLine): Made protected.
2963         (getTabSize): Likewise.
2964         * javax/swing/text/View.java
2965         (setSize): Removed.
2966         (preferenceChanged): New method.
2967         (getBreakWeight): Likewise.
2968         (breakView): Likewise.
2969         (getViewIndex): Likewise.
2971 2005-02-15  Michael Koch  <konqueror@gmx.de>
2973         * javax/swing/JScrollPane.java
2974         (ScrollBar): Made class protected.
2975         * javax/swing/JSpinner.java
2976         (JSpinner): Added @since tag.
2977         (listenerList): Removed.
2978         * javax/swing/JTable.java
2979         (setValueAt): New method.
2980         (getColumn): Likewise.
2981         * javax/swing/JWindow.java
2982         (rootPaneCheckingEnabled): Renamed from checking.
2984 2005-02-15  Michael Koch  <konqueror@gmx.de>
2986         * javax/swing/plaf/basic/BasicTextUI.java
2987         (RootView.modelToView): Made it public and return a java.awt.Shape.
2988         Handle null subview.
2989         (uninstall): Set textComponent to null when its not possible used
2990         anymore.
2991         * javax/swing/text/View.java
2992         (setParent): Use better argument name.
2993         (getContainer): Get parent via getParent().
2994         (getViewFactory): Likewise.
2995         (getAttributes): Get element via getElement().
2996         (getStartOffset): Likewise.
2997         (getEndOffset): Likewise.
2998         (getResizeWeight): New method.
2999         (getMaximumSpan): Likewise.
3000         (getMinimumSpan): Likewise.
3001         (setSize): Likewise.
3002         (getGraphics): Likewise.
3004 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3006         * java/awt/Checkbox.java:
3007         (AccessibleAWTCheckbox()): Added public constructor
3008         to call superclass.
3009         * java/awt/Choice.java:
3010         (AccessibleAWTChoice): Added class documentation.
3011         (AccessibleAWTChoice()): Added public constructor
3012         to call superclass.
3013         (AccessibleAWTChoice.getAccessibleAction()): Documented.
3014         (AccessibleAWTChoice.getAccessibleRole()): Documented,
3015         and changed role to COMBO_BOX.
3016         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
3017         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
3018         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
3020 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3021             Michael Koch  <konqueror@gmx.de>
3023         * javax/swing/LayoutFocusTraversalPolicy.java,
3024         javax/swing/SortingFocusTraversalPolicy.java:
3025         New classes.
3026         * Makefile.am: Added new classes.
3027         * Makefike.in: Regenerated.
3030 2005-02-15  Michael Koch  <konqueror@gmx.de>
3032         * javax/swing/DebugGraphics.java: Mostly implemented.
3034 2005-02-15  Michael Koch  <konqueror@gmx.de>
3036         * javax/swing/SwingUtilities.java
3037         (findFocusOwner): New method.
3039 2005-02-15  Michael Koch  <konqueror@gmx.de>
3041         * javax/swing/text/DefaultEditorKit.java
3042         (read): Added '\n' after each line.
3043         * javax/swing/text/PlainView.java
3044         (modelToView): Update metrics.
3045         (drawLine): Use offsets from element.
3046         (paint): Update metrics. Draw all lines.
3048 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3050         * java/awt/Checkbox.java:
3051         (AccessibleAWTCheckbox): Added class documentation
3052         * java/awt/Scrollbar.java:
3053         (AccessibleAWTScrollBar): typo corrected and docs added
3054         (AccessibleAWTScrollBar.getAccessibleRole()): documented
3055         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
3056         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
3057         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
3058         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
3059         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
3060         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
3061         (getAccessibleContext()): name of accessible class corrected
3063 2005-02-15  Mark Wielaard  <mark@klomp.org>
3065         * java/awt/BasicStroke.java (hashCode): Implement.
3066         (equals): Document.
3068 2005-02-15  Michael Koch  <konqueror@gmx.de>
3070         * java/awt/print/PrinterJob.java
3071         (pageDialog): Throws java.awt.HeadlessException.
3072         (printDialog): Likewise.
3074 2005-02-15  Mark Wielaard  <mark@klomp.org>
3076         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
3078 2005-02-15  Michael Koch  <konqueror@gmx.de>
3080         * javax/swing/JTable.java
3081         (getValueAt): New method.
3082         * javax/swing/table/JTableHeader.java
3083         (columnAtPoint): New method.
3085 2005-02-15  Michael Koch  <konqueror@gmx.de>
3087         * javax/swing/JTextField.java
3088         (actions): New field.
3089         (static): Initalize actions field.
3090         (getActions): New method.
3092 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3094         * java/awt/Checkbox.java:
3095         (AccessibleAWTCheckbox): name capitalization corrected
3096         and serialization UID added.
3097         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
3098         documented.
3099         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
3100         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
3101         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
3102         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
3103         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
3104         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
3105         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
3106         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
3107         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
3108         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
3109         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
3110         documented
3111         (getAccessibleContext()): name of accessible class corrected
3113 2005-02-15  Sven de Marothy  <sven@physto.se>
3115         * java/awt/geom/doc-files/Area-1.png,
3116         java/awt/geom/doc-files/Ellipse-1.png,
3117         java/awt/geom/doc-files/GeneralPath-1.png:
3118         New files.
3120 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
3123         Use union to avoid type-punning warning.
3125 2005-02-15  Michael Koch  <konqueror@gmx.de>
3127         * javax/swing/DefaultListSelectionModel.java
3128         (clone): New method.
3130 2005-02-15  Mark Wielaard  <mark@klomp.org>
3132         Reported by Martin Platter <motse@complang.tuwien.ac.at>
3133         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3134         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
3135         Correct method signature of gtkSetFilename.
3137 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
3139         * javax/swing/text/StringContent.java: New file.
3141 2005-02-15  Michael Koch  <konqueror@gmx.de>
3143         * Makefile.am: Added javax/swing/text/StringContent.java.
3144         * Makefile.in: Regenerated.
3146 2005-02-15  Michael Koch  <konqueror@gmx.de>
3148         * gnu/java/awt/ClasspathToolkit.java:
3149         Import statements reworked.
3150         (imageCache): Made it of type java.util.HashMap.
3152 2005-02-15  Michael Koch  <konqueror@gmx.de>
3154         * javax/imageio/stream/MemoryCacheImageInputStream.java:
3155         Reworked import statements.
3157 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
3160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
3162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
3164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
3165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
3166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
3169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
3170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
3171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
3172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
3173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3175         Rewrite uses of extern variable to be function calls.
3176         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
3177         function, from extern variable.
3178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3179         (gdk_env): Remove variable, add new function.
3180         (java_vm): Add new variable.
3181         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
3182         java_vm rather than old gdk_env variable.
3184 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
3186         * javax/swing/DefaultListModel.java
3187         (add): fire correct event,
3188         (addElement): corrected interval indices in event,
3189         (clear): corrected upper bound for interval, only fire event if
3190         list is not empty,
3191         (setSize): fire appropriate event.
3193 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3195         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
3196         * gnu/awt/xlib/XToolkit.java: Likewise.
3197         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3198         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3199         * gnu/java/awt/ClasspathToolkit.java: Likewise.
3200         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
3201         * java/awt/EventQueue.java (getNextEvent):
3202         Adjust event loop to switch to native mode after 100ms.
3203         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
3204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
3205         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
3206         Wake up event thread.
3207         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3208         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
3209         Adjust event loop to switch to java mode after 100ms.
3211 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3213         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
3214         accidentally removed in last change.
3216 2005-02-15  Michael Koch  <konqueror@gmx.de>
3218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3219         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
3221 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3223         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
3224         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
3225         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
3226         * jni.cc: Reuse bottom frame between calls, avoid clearing
3227         frame when no local references are made.
3229 2005-02-15  Michael Koch  <konqueror@gmx.de>
3231         * javax/swing/UIDefaults.java (UIDefaults):
3232         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
3233         Fixed HTML entity and removed a redundant comma.
3235 2005-02-15  Michael Koch  <konqueror@gmx.de>
3237         * javax/swing/text/DefaultEditorKit.java
3238         (deinstall): Removed.
3239         (install): Likewise.
3241 2005-02-15  Michael Koch  <konqueror@gmx.de>
3243         * javax/swing/UIDefaults.java (put): Handle value of null.
3245 2005-02-15  Michael Koch  <konqueror@gmx.de>
3247         * java/awt/Robot.java,
3248         java/awt/Scrollbar.java,
3249         java/awt/print/PrinterJob.java,
3250         javax/swing/JTable.java,
3251         javax/swing/text/AbstractDocument.java:
3252         Reworked import statements.
3254 2005-02-15  Michael Koch  <konqueror@gmx.de>
3256         * javax/swing/JEditorPane.java
3257         (read): Implemented.
3258         (write): Likewise.
3259         * javax/swing/text/DefaultEditorKit.java
3260         (page): Renamed from page_url. Made private.
3261         (editorKit): Renamed from kit. Made private.
3262         (ctype): Removed.
3263         (JEditorPane): All constructors reimplemented.
3264         (getContentType): Use content type from editor kit.
3265         (getEditorKit): Return editorKit.
3266         (getEditorKitForContentType):Likewise.
3267         (getPage): Return page.
3268         (setContentType): Reimplemented.
3269         (setEditorKit): Likewise.
3270         (setEditorKitForContentType): Removed wrong implementation.
3271         (setPage): Implemented.
3273 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3276         (nativeSetIconImageFromData): Re-add native implementation.
3278 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
3280         * javax/swing/table/DefaultTableModel.java
3281         (DefaultTableModel()): Added Javadocs.
3282         (DefaultTableModel(int, int)): Fixed implementation.
3283         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
3284         for negative rowCount.
3285         (DefaultTableModel(Object[], int)): Added Javadocs.
3286         (DefaultTableModel(Vector, Vector)): Likewise.
3287         (DefaultTableModel(Object[][], Object[])): Likewise.
3288         (getDataVector): Likewise.
3289         (setDataVector(Vector, Vector)): Likewise.
3290         (setDataVector(Object[][], Object[])): Likewise.
3291         (newDataAvailable): Likewise.
3292         (newRowsAdded): Likewise.
3293         (rowsRemoved): Likewise.
3294         (setColumnIdentifiers(Vector)): Allow for null argument.
3295         (setColumnIdentifiers(Object[])): Added Javadocs.
3296         (setNumRows): Likewise.
3297         (setRowCount): Adds new rows if necessary, and sends more specific
3298         TableModelEvent.
3299         (setColumnCount): Allow for null columnIdentifiers.
3300         (addColumn(Object)): Added Javadocs.
3301         (addColumn(Object, Vector)): Handle null columnData.
3302         (addColumn(Object, Object[])): Handle columnData with more or less
3303         entries than rows in the table.
3304         (addRow(Vector)): Fire appropriate event.
3305         (addRow(Object[])): Added Javadocs.
3306         (insertRow(int, Vector)): Fire appropriate event.
3307         (insertRow(int, Object[])): Added Javadocs.
3308         (moveRow): Reimplemented.
3309         (removeRow(int)): Fire appropriate event.
3310         (getColumnCount): Allow for null columnIdentifiers.
3311         (getColumnName): Now returns empty string when column index is too
3312         large.
3313         (isCellEditable): Added Javadocs.
3314         (getValueAt): Likewise.
3315         (setValueAt): Fire more specific event.
3316         (convertToVector): Added Javadocs.
3317         * javax/swing/table/TableModel.java
3318         Added Javadocs.
3320 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3322         * libgcj.spec.in (lib): Add -l-javax-imageio.
3324 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3326         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
3327         references to event queue q with method call q().
3328         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
3329         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3330         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
3331         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
3332         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
3333         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
3334         (q): New method.
3336 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3338         * gnu/java/awt/ClasspathToolkit.java
3339         (registerImageIOSpis): New method.
3340         * gnu/java/awt/image/ImageDecoder.java
3341         (imageDecoder): New constructor using InputStream
3342         (startProduction): Handle existing InputStream.
3343         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3344         (findSimpleIntegerArray): Make public and static.
3345         (updateBufferedImage): Set each pixel, in a loop.
3346         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3347         Implement ImageIO SPI classes.
3348         (createBufferedImage): Rewrite in terms of SPI classes.
3349         * gnu/java/awt/peer/gtk/GtkToolkit.java
3350         (registerImageIOSpis): New method.
3351         * java/lang/reflect/natMethod.cc
3352         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
3353         which lets JNI call interface methods properly.
3354         * javax/imageio/ImageIO.java
3355         (WriterFormatFilter.filter): Fix copy-and-paste typos.
3356         (WriterMIMETypeFilter.filter): Likewise.
3357         (ImageReaderIterator): Pass extension argument through to SPI.
3358         (getReadersByFilter): Likewise.
3359         (getWritersByFilter): Likewise.
3360         (getImageReadersByFormatName): Likewise.
3361         (getImageReadersByMIMEType): Likewise.
3362         (getImageReadersBySuffix): Likewise.
3363         (getImageWritersByFormatName): Likewise.
3364         (getImageWritersByMIMEType): Likewise.
3365         (getImageWritersBySuffix): Likewise.
3366         (read): Implement.
3367         (write): Implement.
3368         * javax/imageio/ImageReader.java
3369         (progressListeners): Initialize.
3370         (setInput): Implement.
3371         * javax/imageio/ImageWriter.java
3372         (progressListeners): Initialize.
3373         (warningListeners): Likewise.
3374         (warningLocales): Likewise.
3375         (setOutput): Test "isInstance" rather than class equality.
3376         * javax/imageio/spi/IIORegistry.java
3377         (static): Add reader and writer SPIs.
3378         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
3379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3380         (query_formats): New function.
3381         (save_to_stream): Likewise.
3382         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
3384 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
3387         Call XFlush.
3388         (keyPress): Likewise.
3389         (keyRelease): Likewise.
3391 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3393         * javax/swing/JTable.java
3394         (columnAtPoint): New Method. Implemented.
3395         (rowAtPoint): Likewise.
3396         (countSelections): Fixed few small count errors.
3397         (getSelections): Likewise.
3398         (setSelectionMode): Set selection mode for column
3399         selection model in addition to row selection model.
3400         * javax/swing/plaf/basic/BasicTableUI.java:
3401         (getRowForPoint): Removed. Replaced by
3402         JTable.rowAtPoint().
3403         (getColForPoint): Removed. Replaced by
3404         JTable.columnAtPoint().
3405         (updateSelection): Updated to call JTable.columnAtPoint
3406         and JTable.rowAtPoint.
3407         * javax/swing/table/DefaultTableColumnModel.java:
3408         (getSelectedColumns): Implemented.
3409         (getSelectedColumnCount): Implemented.
3411 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3413         * Makefile.am
3414         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
3415         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
3416         * Makefile.in: Regenerate.
3417         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
3418         * gnu/awt/xlib/XFramePeer.java: Likewise.
3419         * gnu/awt/xlib/XToolkit.java: Likewise.
3420         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3421         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3422         * gnu/java/awt/ClasspathToolkit.java
3423         (nativeQueueEmpty)
3424         (wakeNativeQueue)
3425         (iterateNativeQueue): New methods.
3426         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
3427         * gnu/java/awt/peer/gtk/GtkToolkit.java
3428         (gtkInit): Absorb from defunct GtkMainThread class.
3429         (static): Run gtkInit in static startup block.
3430         (GtkToolkit): Remove construction of GtkMainThread and queue.
3431         (getSystemEventQueueImpl): Construct queue when requested.
3432         (nativeQueueEmpty)
3433         (wakeNativeQueue)
3434         (iterateNativeQueue): New methods.
3435         * java/awt/Component.java (removeNotify): Remove race.
3436         * java/awt/EventDispatchThread.java
3437         (EventDispatchThread): Don't start on construction.
3438         (run): Remove isInterrupted check.
3439         * java/awt/EventQueue.java (shutdown): New flag.
3440         (isShutdown): New method checking J2SE shutdown condition.
3441         (setShutdown): New method.
3442         (getNextEvent): Restructure to use ClasspathToolkit.
3443         (postEvent): Activate new thread on posting, wake thread on
3444         post of possible shutdown condition event.
3445         * java/awt/Frame.java
3446         (Frame): Call noteFrame in all constructors.
3447         (fireDummyEvent): New helper method.
3448         (addNotify): Fire a dummy event to wake up queue.
3449         (removeNotify): Fire a dummy event to wake up queue.
3450         (noteFrame): New method.
3451         (weakFrames): New static field.
3452         (getFrames): Implement.
3453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
3454         Remove.
3455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
3456         Move everything from GtkMainThread into this file
3457         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
3458         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
3459         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
3460         New functions to implement single-threaded queue semantics.
3462 2005-02-15  Michael Koch  <konqueror@gmx.de>
3464         * javax/swing/plaf/metal/MetalLookAndFeel.java
3465         (getControlTextFont): New method.
3466         (getMenuTextFont): Likewise.
3467         (getSubTextFont): Likewise.
3468         (getSystemTextFont): Likewise.
3469         (getUserTextFont): Likewise.
3470         (getWindowTitleFont): Likewise.
3472 2005-02-15  Michael Koch  <konqueror@gmx.de>
3474         * javax/swing/text/AbstractDocument.java
3475         (documentFilter): New field.
3476         (getDocumentFilter): New method.
3477         (setDocumentFilter): Likewise.
3478         (dump): Likewise.
3480 2005-02-15  Michael Koch  <konqueror@gmx.de>
3482         * javax/swing/JTree.java
3483         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
3485 2005-02-15  Michael Koch  <konqueror@gmx.de>
3487         * javax/swing/text/AbstractDocument.java
3488         (AbstractElement.getLength): Fixed off-by-one error.
3489         (AbstractElement.children): Made abstract.
3490         (AbstractElement.getAllowsChildren): Likewise.
3491         (AbstractElement.getElement): Likewise.
3492         (AbstractElement.dumpElement): New private method.
3493         (AbstractElement.dump): New method.
3494         (BranchElememt.getName): Fixed implementation.
3495         (BranchElememt.toString): Likewise.
3496         (BranchElememt.getElement): Fixed arguments.
3497         (LeafElement.getName): Fixed implementation.
3498         (LeafElement.toString): Likewise.
3499         * javax/swing/text/GapContent.java
3500         (GapContent): Put default content into buffer.
3501         * javax/swing/text/PlainDocument.java
3502         (reindex): Use empty attribute sets instead of null.
3503         (createDefaultRoot): Reimplemented.
3504         (insertUpdate): Call super method.
3505         (removeUpdate): Likewise.
3506         (getParagraphElement): Implemented.
3508 2005-02-15  Michael Koch  <konqueror@gmx.de>
3510         * gnu/java/awt/ClasspathToolkit.java
3511         (createRobot): Throws java.awt.AWTException.
3512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
3513         Added '__attribute__((unused))' to all unused method arguments.
3515 2005-02-15  Michael Koch  <konqueror@gmx.de>
3517         * javax/swing/DefaultBoundedRangeModel.java
3518         (fireValueChanged): Fixed off-by-one error.
3520 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3522         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
3523         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
3524         GdkRobotPeer.java.
3525         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
3526         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
3527         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
3528         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
3529         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
3530         (getDefaultScreenDevice): Implement.
3531         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
3532         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
3533         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
3534         * java/awt/Robot.java: Implement.
3535         * java/awt/peer/RobotPeer.java: Rename parameters.
3536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
3537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3538         (awt_keycode_to_keysym): Make non-static.
3539         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
3540         AWT_BUTTON3_MASK): Declare constants.
3541         (awt_keycode_to_keysym): Declare.
3543         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
3544         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
3545         and is non-empty pass its value to "make check".
3546         (test_mauve_sim): Likewise.
3548 2005-02-15  Michael Koch  <konqueror@gmx.de>
3550         * javax/imageio/IIOParam.java
3551         (setSourceBands): New method.
3552         (setSourceSubsampling): Likewise.
3553         * javax/imageio/ImageReadParam.java
3554         (setDestination): Likewise.
3555         (setDestinationBands): Likewise.
3556         (setSourceProgressivePasses): Likewise.
3557         * javax/imageio/metadata/IIOInvalidTreeException.java
3558         (serialVersionUID): New static field.
3559         * javax/imageio/metadata/IIOMetadataNode.java
3560         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
3561         (parent): Dont initailize with default value explicitely.
3562         (Object): Likewise.
3563         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
3564         (removeAttributeNode): Likewise.
3565         (removeAttributeNS): Likewise.
3566         (setAttribute): Likewise.
3567         (setAttributeNode): Likewise.
3568         (setAttributeNodeNS): Likewise.
3569         (setAttributeNS): Likewise.
3570         (appendChild): Likewise.
3571         (getNodeValue): Likewise.
3572         (insertBefore): Likewise.
3573         (removeChild): Likewise.
3574         (replaceChild): Likewise.
3575         (setPrefix): Likewise.
3577 2005-02-15  Michael Koch  <konqueror@gmx.de>
3579         * javax/swing/LookAndFeel.java
3580         (getDesktopPropertyValue): New method.
3582 2005-02-15  Michael Koch  <konqueror@gmx.de>
3584         * javax/swing/JTree.java
3585         (hasChildren): New instance field.
3587 2005-02-15  Michael Koch  <konqueror@gmx.de>
3589         * javax/swing/JComponent.java
3590         (getToolTipText): New method.
3591         (getTitledBorderText): Likewise.
3592         (getAccessibleKeyBinding): Likewise.
3593         (getVerifyInputWhenFocusTarget): Likewise.
3594         (setVerifyInputWhenFocusTarget): Likewise.
3595         (verifyInputWhenFocusTarget): New instance field.
3597 2005-02-15  Michael Koch  <konqueror@gmx.de>
3599         * javax/swing/DefaultListSelectionModel.java
3600         (fireValueChanged): New method.
3602 2005-02-15  Michael Koch  <konqueror@gmx.de>
3604         * javax/swing/DefaultBoundedRangeModel.java:
3605         Fixed javadocs all over.
3606         (fireStateChanged): Simplified.
3607         * javax/swing/BoundedRangeModel.java:
3608         Reformatted.
3610 2005-02-15  Michael Koch  <konqueror@gmx.de>
3612         * javax/swing/JRootPane.java
3613         (setMenuBar): Added @deprecated tag.
3614         (getMenuBar): Likewise.
3615         * javax/swing/JTable.java
3616         (sizeColumnsToFit): Likewise.
3618 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
3620         * javax/swing/ImageIcon.java (setImage): Implemented.
3622 2005-02-15  Michael Koch  <konqueror@gmx.de>
3624         * javax/swing/JTable.java:
3625         Removed unused imports.
3627 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3629         (prepareRenderer): Get column's index in dataModel instead
3630         of column's view index.
3631         (getColumnCount): return count of the columns in ColumnModel,
3632         not in dataModel.
3633         (removeColumn): Implemented.
3634         (moveColumm): Likewise.
3635         (setRowHeight): throw IllegalArgumentException if height is
3636         less then 1.
3637         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
3638         (DefaultTableColumnModel):Add call to createSelectionModel().
3639         (addColumn): Fire columnAdded event to registered listeners.
3640         (removeColumn): Fire columnRemoved event to registered listeners.
3641         (moveColumn): Fire columnMoved event to registered listeners.
3642         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
3643         (getColumnIndex): Changed parameter name.
3644         (setColumnSelectionAllowed): Likewise.
3645         (fireColumnAdded): Implemented.
3646         (fireColumnRemoved): Likewise.
3647         (fireColumnMoved): Likewise.
3648         (fireColumnMarginChanged): Likewise.
3649         (getListeners): Changed parameter name.
3650         (propertyChange): Implemented.
3651         (valueChanged): Changed parameter name.
3652         (createSelectionModel): Implemented.
3654 2005-02-15  Michael Koch  <konqueror@gmx.de>
3656         * gnu/java/awt/peer/gtk/GtkToolkit.java:
3657         Explicitely import used classes.
3658         (getLocalGraphicsEnvironment): Simplify.
3659         * java/awt/Window.java (Window):
3660         Enable code to get the default GraphicsConfiguration.
3662 2005-02-15  Michael Koch  <konqueror@gmx.de>
3664         * javax/swing/plaf/metal/DefaultMetalTheme.java
3665         (CONTROL_TEXT_FONT): New static field.
3666         (MENU_TEXT_FONT): Likewise.
3667         (SUB_TEXT_FONT): Likewise.
3668         (SYSTEM_TEXT_FONT): Likewise.
3669         (USER_TEXT_FONT): Likewise.
3670         (WINDOW_TITLE_FONT): Likewise.
3671         (getControlTextFont): New method.
3672         (getMenuTextFont): Likewise.
3673         (getSubTextFont): Likewise.
3674         (getSystemTextFont): Likewise.
3675         (getUserTextFont): Likewise.
3676         (getWindowTitleFont): Likewise.
3677         * javax/swing/plaf/metal/MetalTheme.java
3678         (BLACK): Initialize with Color.BLACK.
3679         (WHITE): Initialize with Color.WHITE.
3680         (getInactiveControlTextColor): Return getControlDisabled().
3681         (getMenuDisabledForeground): Return getSecondary3().
3682         (getControlTextFont): New abstract method.
3683         (getMenuTextFont): Likewise.
3684         (getSubTextFont): Likewise.
3685         (getSystemTextFont): Likewise.
3686         (getUserTextFont): Likewise.
3687         (getWindowTitleFont): Likewise.
3689 2005-02-15  Michael Koch  <konqueror@gmx.de>
3691         * javax/swing/JFormattedTextField.java
3692         (getFocusLostBehavior): Fixed typo in method name.
3693         (setFocusLostBehavior): Likewise.
3695 2005-02-15  Michael Koch  <konqueror@gmx.de>
3697         * javax/swing/TransferHandler.java:
3698         Reworked import statements.
3700 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3702         * java/awt/Button.java,
3703         java/awt/Canvas.java,
3704         java/awt/Checkbox.java,
3705         java/awt/CheckboxMenuItem.java,
3706         java/awt/Choice.java,
3707         java/awt/Dialog.java,
3708         java/awt/Frame.java,
3709         java/awt/Label.java,
3710         java/awt/List.java,
3711         java/awt/Menu.java,
3712         java/awt/MenuBar.java,
3713         java/awt/MenuItem.java,
3714         java/awt/PopupMenu.java,
3715         java/awt/ScrollPane.java,
3716         java/awt/Scrollbar.java,
3717         java/awt/TextArea.java,
3718         java/awt/Window.java (getAccessibleContext): Clean up comments.
3719         Reformat.
3720         * java/awt/Button.java,
3721         java/awt/Checkbox.java,
3722         java/awt/Choice.java,
3723         java/awt/Menu.java,
3724         java/awt/PopupMenu.java,
3725         java/awt/TextArea.java (getAccessibleContext): Only create new
3726         accessible once.
3727         * java/awt/TextComponent.java (getAccessibleContext): Implement.
3729 2005-02-15  Michael Koch  <konqueror@gmx.de>
3731         * java/awt/Button.java,
3732         javax/swing/JApplet.java,
3733         javax/swing/JFormattedTextField.java,
3734         javax/swing/JWindow.java,
3735         javax/swing/JTree.java,
3736         javax/swing/plaf/basic/BasicEditorPaneUI.java,
3737         javax/swing/plaf/basic/BasicTextPaneUI.java,
3738         javax/swing/plaf/basic/BasicTreeUI.java:
3739         Reworked import statements.
3741 2005-02-15  Michael Koch  <konqueror@gmx.de>
3743         * Makefile.am: Put javax.imageio into its own library and link it
3744         against lib-org-w3c-dom.la to fix bootstrapping.
3745         * Makefile.in: Regenerated.
3747 2005-02-15  Michael Koch  <konqueror@gmx.de>
3749         * javax/swing/text/TextAction.java
3750         (getTextComponent): Simplified. Added Javadoc.
3751         (augmentList): Implemented. Added Javadoc.
3752         (getFocusedComponent): Added javadoc.
3754 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3756         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
3757         getAccessibleContext): Implement.
3758         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
3759         getAccessibleContext): Implement.
3761 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3763         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
3764         Implement.
3765         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
3766         Implement.
3767         * java/awt/Window.java (getAccessibleContext): Fix comment.
3768         Remove extra import.
3770 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3772         * java/awt/Window.java (AccessibleAWTWindow): Implement.
3773         (isActive, isFocused, getAccessibleContext): Implement.
3775 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3777         * java/awt/MenuItem.java (getAccessibleContext): Implement.
3778         * java/awt/MenuComponent.java (accessibleContext): Make package
3779         visible.
3780         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
3781         AccessibleAWTCheckboxMenuItem): Implement.
3783 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3785         * java/awt/List.java: Implement AccessibleAWTList,
3786         AccessibleAWTListChild.
3788 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3790         * java/awt/Choice.java: Add implements declaration for
3791         Accessible.
3793 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3795         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
3796         instead of Object.
3798 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3800         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
3801         implemented interface list.
3803 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3805         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
3806         * javax/imageio/metadata/IIOAttr.java: New class.
3807         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
3808         * javax/imageio/metadata/IIONodeList.java: New class.
3809         * Makefile.am: Added new files.
3810         * Makefile.in: Regenerated.
3812 2005-02-15  Michael Koch  <konqueror@gmx.de>
3814         * javax/swing/AbstractAction.java,
3815         javax/swing/AbstractCellEditor.java,
3816         javax/swing/AbstractListModel.java,
3817         javax/swing/DefaultBoundedRangeModel.java,
3818         javax/swing/DefaultButtonModel.java,
3819         javax/swing/DefaultCellEditor.java,
3820         javax/swing/DefaultComboBoxModel.java,
3821         javax/swing/DefaultDesktopManager.java,
3822         javax/swing/JMenu.java,
3823         javax/swing/JSlider.java,
3824         javax/swing/KeyStroke.java,
3825         javax/swing/OverlayLayout.java,
3826         javax/swing/ScrollPaneLayout.java,
3827         javax/swing/SizeRequirements.java,
3828         javax/swing/ViewportLayout.java:
3829         Made serialVersionUID private.
3831 2005-02-15  Michael Koch  <konqueror@gmx.de>
3833         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
3834         Reformatted.
3836 2005-02-15  Michael Koch  <konqueror@gmx.de>
3838         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
3840 2005-02-15  Michael Koch  <konqueror@gmx.de>
3842         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
3844 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
3846         * java/awt/EventDispatchThread.java,
3847         java/awt/Toolkit.java:
3848         Don't catch java.lang.ThreadDeath.
3850 2005-02-15  Michael Koch  <konqueror@gmx.de>
3852         * javax/swing/text/PasswordView.java
3853         (drawEchoCharacter): Added javadoc.
3854         (drawSelectedText): Likewise.
3855         (drawUnselectedText): Likewise.
3857 2005-02-15  Michael Koch  <konqueror@gmx.de>
3859         * javax/swing/JRootPane.java
3860         (windowDecorationStyle): New field.
3861         (setMenuBar): New method.
3862         (getMenuBar): Likewise.
3863         (getWindowDecorationStyle): Likewise.
3864         (setWindowDecorationStyle): Likewise.
3866 2005-02-15  Michael Koch  <konqueror@gmx.de>
3868         * javax/swing/DefaultListSelectionModel.java
3869         (leadAnchorNotificationEnabled): Made protected.
3871 2005-02-15  Michael Koch  <konqueror@gmx.de>
3873         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
3874         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
3875         * Makefile.in: Regenerated.
3878 2005-02-15  Michael Koch  <konqueror@gmx.de>
3880         * javax/swing/JFormattedTextField.java: Implemented.
3881         * javax/swing/JWindow.java
3882         (JWindow): New constructors.
3883         (initWindow): Renamed from initFrame.
3884         * javax/swing/UIDefaults.java
3885         (ActiveValue): Made interface static.
3886         (LazyValue): Likewise.
3887         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
3888         (TitlePaneLayout.TitlePaneLayout): New constructor.
3889         * javax/swing/plaf/basic/BasicSliderUI.java
3890         (ChangeHandler): Made public.
3891         (FocusHandler): Likewise.
3892         (PropertyChangeHandler): Likewise.
3893         (ScrollListener): Likewise.
3894         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3895         (FocusHandler): Likewise.
3896         (MouseHandler): Likewise.
3897         * javax/swing/plaf/basic/BasicTextPaneUI.java
3898         (BasicTextPaneUI): Extend BasicEditorPaneUI.
3899         * javax/swing/plaf/basic/BasicToolBarUI.java
3900         (BasicToolBarUI): Simplified. Reworked javadoc.
3901         (canDock): Simplified. Make public.
3902         (DockingListener): Made public.
3903         * javax/swing/text/JTextComponent.java
3904         (navigationFilter): New field.
3905         (getNavigationFilter): New method.
3906         (setNavigationFilter): Likewise.
3908 2005-02-15  Michael Koch  <konqueror@gmx.de>
3910         * javax/swing/plaf/metal/MetalTheme.java
3911         (getControlTextColor): Return getControlInfo().
3912         (getHighlightedTextColor): Return getControlTextColor().
3914 2005-02-15  Michael Koch  <konqueror@gmx.de>
3916         * javax/swing/plaf/basic/BasicButtonListener.java
3917         (BasicButtonListener): New constructor.
3918         * javax/swing/plaf/basic/BasicButtonUI.java
3919         (createButtonListener): Usw new BasicButtonListener constructor.
3921 2005-02-15  Michael Koch  <konqueror@gmx.de>
3923         * javax/imageio/event/package.html,
3924         javax/imageio/metadata/package.html: New files.
3926 2005-02-15  Michael Koch  <konqueror@gmx.de>
3928         * java/awt/image/MemoryImageSource.java: Reformatted.
3930 2005-02-15  Michael Koch  <konqueror@gmx.de>
3932         * javax/swing/tree/TreeCellEditor.java: Refomatted.
3934 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
3936         * java/awt/color/ICC_Profile.java
3937         (finalize): Removed pointless field assignments.
3939 2005-02-15  Michael Koch  <konqueror@gmx.de>
3941         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
3942         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
3943         * Makefile.in: Regenerated.
3945 2005-02-15  Michael Koch  <konqueror@gmx.de>
3947         * javax/swing/text/DefaultStyledDocument.java: New file.
3948         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
3949         * Makefile.in: Regenerated.
3951 2005-02-15  Michael Koch  <konqueror@gmx.de>
3953         * javax/swing/JFileChooser.java
3954         (showDialog): Return CANCEL_OPTION for now.
3955         (showOpenDialog): Likewise.
3956         (showSaveDialog): Likewise.
3958 2005-02-15  Michael Koch  <konqueror@gmx.de>
3960         * javax/swing/JApplet.java
3961         (HIDE_ON_CLOSE): Removed.
3962         (EXIT_ON_CLOSE): Likewise.
3963         (DISPOSE_ON_CLOSE): Likewise.
3964         (DO_NOTHING_ON_CLOSE): Likewise.
3965         (close_action): Likewise.
3966         (getDefaultCloseOperation): Likewise.
3967         (setDefaultCloseOperation): Likewise.
3968         (processWindowEvent): Likewise.
3969         (getPreferredSize): Simplified.
3970         * javax/swing/JInternalFrame.java
3971         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
3972         value.
3973         * javax/swing/JWindow.java
3974         (HIDE_ON_CLOSE): Removed.
3975         (EXIT_ON_CLOSE): Likewise.
3976         (DISPOSE_ON_CLOSE): Likewise.
3977         (DO_NOTHING_ON_CLOSE): Likewise.
3978         (close_action): Likewise.
3979         (processKeyEvent): Likewise.
3980         (setDefaultCloseOperation): Likewise.
3981         (getPreferredSize): Simplified.
3983 2005-02-15  Michael Koch  <konqueror@gmx.de>
3985         * javax/swing/JTextField.java
3986         (getPreferredSize): Re-implemented.
3988 2005-02-15  Michael Koch  <konqueror@gmx.de>
3990         * javax/swing/JLabel.java
3991         (setDisplayedMnemonic): Use only upper case characters.
3992         (setDisplayedMnemonicIndex): Handle index == -1 and fire
3993         PropertyChangeEvent after property got set to the new index.
3995 2005-02-15  Robert Schuster <thebohemian@gmx.net>
3997         * javax/swing/JComboBox.java:
3998         (JComboBox): Removed selection of the
3999         first item in the model.
4001 2005-02-15  Robert Schuster <thebohemian@gmx.net>
4003         * javax/swing/JComboBox.java
4004         added support for no item being selected
4005         (JComboBox): select first or nothing depending on element count
4006         (setModel): cleaned up unneeded "this." usage, added more
4007         docs, made exception behavior match that of the JDK
4008         (setLighWeightPopupEnabled): removed unneeded "this." usage
4009         (setEditable): dito
4010         (setMaximumRowCount): dito
4011         (setRenderer): dito
4012         (setPrototypeDisplayValue): dito
4013         (getSelectedItem): simplified, added more user doc
4014         (setSelectedIndex): corrected exception behavior, added more user doc
4015         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
4016         added performance warning to user doc
4017         (addItem): fixed exception behavior, added user doc
4018         (insertItemAt): dito
4019         (removeItem): dito
4020         (removeItemAt): dito
4021         (removeAll): fixed exception behavior, added user doc, added support
4022         for model not being instance of DefaultComboBoxModel
4023         (getSelectedItemObjects): simplified
4024         (getItemCount): fixed dependency on DefaultComboBoxModel
4025         (getItemAt): fixed dependency on MutableComboBoxModel
4026         * javax/swing/DefaultComboBoxModel.java:
4027         (setSelectedItem): updates selected item only if new
4028         value is null or known (match JDK behavior)
4029         * javax/swing/plaf/basic/BasicComboBoxUI.java:
4030         (paintCurrentValue): renders "" if no item is selected
4032 2005-02-15  Michael Koch  <konqueror@gmx.de>
4034         * javax/swing/plaf/metal/MetalTheme.java,
4035         javax/swing/plaf/metal/DefaultMetalTheme.java:
4036         New files.
4037         * javax/swing/plaf/metal/MetalLookAndFeel.java
4038         * Makefile.am: Added the new files.
4039         * Makefile.in: Regenerated.
4041 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
4043         * javax/swing/JTable.java
4044         (editorComp): New field.
4045         (JTable): Initialize local variables and call updateUI
4046         (selectionBackground): Make protected.
4047         (selectionForeground): Likewise.
4048         (initializeLocalVars): Create default editors and renderers,
4049         initialize editingColumn, editingRow variables.
4050         (createDefaultEditors): New Method.
4051         (createDefaultRenderers): Likewise.
4052         (createDefaultListSelectionModel): Removed
4053         (createDefaultSelectionModel): New Method.
4054         (createDefaultTableHeader): Likewise
4055         (removeColumn): Likewise.
4056         (getEditingColumn): Likewise.
4057         (setEditingColumn): Likewise.
4058         (getEditingRow): Likewise.
4059         (setEditingRow): Likewise.
4060         (getEditorComponent): Likewise.
4061         (isEditing): Likewise.
4062         (setDefaultEditor): Likewise.
4063         (addColumnSelectionInterval): Likewise.
4064         (addRowSelectionInterval): Likewise.
4065         (setColumnSelectionInterval): Likewise.
4066         (setRowSelectionInterval): Likewise.
4067         (removeColumnSelectionInterval): Likewise.
4068         (removeRowSelectionInterval): Likewise.
4069         (isColumnSelected): Likewise.
4070         (isRowSelected): Likewise.
4071         (isCellSelected): Likewise.
4072         (selectAll): Likewise.
4074 2005-02-15  Michael Koch  <konqueror@gmx.de>
4076         * javax/swing/JTable.java
4077         (addColumn): New method.
4078         (getColumnClass): Likewise.
4079         (getColumnName): Likewise.
4081 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
4083         * javax/swing/TransferHandler.java
4084         (createTransferable): Made protected.
4086 2005-02-15  Michael Koch  <konqueror@gmx.de>
4088         * javax/swing/JTable.java,
4089         javax/swing/plaf/basic/BasicTableHeaderUI.java,
4090         javax/swing/plaf/basic/BasicTableUI.java:
4091         Use fixed get/setIntercellSpacing() methods.
4093 2005-02-15  Michael Koch  <konqueror@gmx.de>
4095         * javax/swing/JTable.java
4096         (getIntercellSpacing): Fixed typo in method name.
4097         (setIntercellSpacing): Likewise.
4099 2005-02-15  Michael Koch  <konqueror@gmx.de>
4101         * javax/swing/text/JTextComponent.java
4102         (focusAccelerator): New variable.
4103         (getFocusAccelerator): New method.
4104         (setFocusAccelerator): Likewise.
4106 2005-02-15  Michael Koch  <konqueror@gmx.de>
4108         * javax/swing/JComponent.java
4109         (setTransferHandler): Made public. Fire property change event.
4110         * javax/swing/TransferHandler.java: Implemented.
4111         * javax/swing/text/JTextComponent.java
4112         (DefaultTransferHandler): New inner class.
4113         (defaultTransferHandler): New variable.
4114         (copy): New method.
4115         (cut): Likewise.
4116         (paste): Likewise.
4117         (doTransferAction): Likewise.
4119 2005-02-15  Michael Koch  <konqueror@gmx.de>
4121         * javax/swing/JTree.java
4122         (collapsePath): New method.
4123         (collapseRow): Likewise.
4124         (expandPath): Likewise.
4125         (expandRow): Likewise.
4126         (checkExpandParents): Likewise.
4127         (doExpandParents): Likewise.
4128         (setExpandedState): Likewise.
4129         (makeVisible): Likewise.
4131 2005-02-15  Michael Koch  <konqueror@gmx.de>
4133         * javax/swing/JPasswordField.java: Updated javadocs.
4135 2005-02-15  Michael Koch  <konqueror@gmx.de>
4137         * javax/swing/JLayeredPane.java
4138         (getLayer): Fixed return type, made public.
4139         (getPosition): Use new getLayer().
4140         (SetPosition): Likewise.
4141         (getIndexOf): Likewise.
4142         (remove): Likewise.
4143         * javax/swing/JInternalFrame.java
4144         (getLayer): Use new JLayeredPane.getLayer().
4147 2005-02-15  Michael Koch  <konqueror@gmx.de>
4149         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
4150         (setHeaderValue): Simplified. Do nothing when old value == new value.
4152 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
4154         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
4155         against null clip region.
4156         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
4157         gtkWindowSetResizable.
4158         (postConfigureEvent): Only revalidate if frame size has changed.
4159         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
4160         Only revalidate if frame size has changed.
4161         * java/awt/Component.java (reshape): Only repaint and post
4162         component events if component is showing.
4163         * java/awt/Container.java (addImpl): Only post container event if
4164         container is showing.
4165         (remove): Likewise.
4166         * java/awt/Window.java (setLocationRelativeTo): Implement.
4167         (setBoundsCallback): Only post component events if component is
4168         showing.
4169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
4170         Protect against null graphics structure.  Flush gdk event queue.
4172 2005-02-15  Michael Koch  <konqueror@gmx.de>
4174         * javax/imageio/ImageReader.java,
4175         javax/imageio/ImageTranscoder.java,
4176         javax/imageio/ImageWriter.java,
4177         javax/imageio/spi/ImageInputStreamSpi.java,
4178         javax/imageio/spi/ImageOutputStreamSpi.java,
4179         javax/imageio/spi/ServiceRegistry.java,
4180         javax/imageio/stream/ImageInputStream.java,
4181         javax/imageio/stream/ImageOutputStream.java: Updated.
4182         * javax/imageio/IIOException.java,
4183         javax/imageio/IIOImage.java,
4184         javax/imageio/IIOParam.java,
4185         javax/imageio/IIOParamController.java,
4186         javax/imageio/ImageIO.java,
4187         javax/imageio/ImageReadParam.java,
4188         javax/imageio/ImageTypeSpecifier.java,
4189         javax/imageio/ImageWriteParam.java,
4190         javax/imageio/spi/IIORegistry.java,
4191         javax/imageio/spi/ImageReaderSpi.java,
4192         javax/imageio/spi/ImageWriterSpi.java,
4193         javax/imageio/stream/FileCacheImageInputStream.java,
4194         javax/imageio/stream/FileCacheImageOutputStream.java,
4195         javax/imageio/stream/FileImageInputStream.java,
4196         javax/imageio/stream/FileImageOutputStream.java,
4197         javax/imageio/stream/ImageInputStreamImpl.java,
4198         javax/imageio/stream/ImageOutputStreamImpl.java,
4199         javax/imageio/stream/MemoryCacheImageInputStream.java,
4200         javax/imageio/stream/MemoryCacheImageOutputStream.java,
4201         javax/imageio/event/IIOReadProgressListener.java,
4202         javax/imageio/event/IIOReadUpdateListener.java,
4203         javax/imageio/event/IIOReadWarningListener.java,
4204         javax/imageio/event/IIOWriteProgressListener.java,
4205         javax/imageio/event/IIOWriteWarningListener.java,
4206         javax/imageio/metadata/IIOMetadata.java,
4207         javax/imageio/metadata/IIOMetadataController.java,
4208         javax/imageio/metadata/IIOMetadataFormat.java,
4209         javax/imageio/metadata/IIOInvalidTreeException.java,
4210         javax/imageio/metadata/IIOMetadataFormatImpl.java,
4211         javax/imageio/metadata/IIOMetadataNode.java: New files.
4212         * Makefile.am (javax_source_files): Added new files
4213         * Makefile.in: Regenerated.
4215 2005-02-15  Graydon Hoare  <graydon@redhat.com>
4217         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4218         Rework painting into BufferedImages
4219         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4220         Construct BufferedImage with alpha only when alpha is
4221         present in colormodel.
4222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4223         Rework painting into client-side jint arrays.
4224         * jni/gtk-peer/gtkcairopeer.h:
4225         Likewise.
4227 2005-02-15  Michael Koch  <konqueror@gmx.de>
4229         * javax/swing/DefaultListCellRenderer.java
4230         (serialVersionUID): Made private.
4231         (getListCellRendererComponent): Set horizontal alignment.
4232         * javax/swing/JLabel.java
4233         (setVerticalAlignment): Re-implemented.
4234         (setHorizontalAlignment): Do nothing if old value = new value.
4235         * javax/swing/JList.java
4236         (setCellRenderer): Likewise.
4237         (setModel): Re-implemented.
4238         (setSelectionModel): Likewise.
4240 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
4242         * java/awt/Component.java,
4243         java/awt/geom/Rectangle2D.java:
4244         Javadoc fixes.
4246 2005-02-15  Michael Koch  <konqueror@gmx.de>
4248         * javax/swing/AbstractListModel.java
4249         (fireContentsChanged): Simplified.
4250         (fireIntervalAdded): Likewise.
4251         (fireIntervalRemoved): Likewise.
4252         * javax/swing/DefaultSingleSelectionModel.java:
4253         Reformatted.
4254         (fireStateChanged): Simplified.
4255         * javax/swing/JPopupMenu.java
4256         (setSelectionModel): Set property.
4258 2005-02-15  Michael Koch  <konqueror@gmx.de>
4260         * java/awt/print/Book.java: Reformatted.
4262 2005-02-15  Michael Koch  <konqueror@gmx.de>
4264         * java/awt/geom/Area.java
4265         (QuadSegment.curveArea): Remove unused variables.
4266         (CubicSegment.curveArea): Likewise.
4268 2005-02-15  Michael Koch  <konqueror@gmx.de>
4270         * javax/swing/JTree.java
4271         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
4272         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
4273         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
4274         (EXPANDED): New constant.
4275         (COLLAPSED): Likewise.
4276         (nodeStates): New field.
4277         (cellEditor): New method.
4278         (cellRenderer): Likewise.
4279         (selectionModel): Likewise.
4280         (treeModel): Likewise.
4281         (scrollPathToVisible): Likewise.
4282         (scrollRowToVisible): Likewise.
4283         (isCollapsed): Likewise.
4284         (isExpanded): Likewise.
4285         (clearToggledPaths): Likewise.
4286         (getDescendantToggledPaths): Likewise.
4287         (hasBeenExpanded): Likewise.
4288         (isVisible): Likewise.
4289         (isPathEditable): Likewise.
4291 2005-02-15  Michael Koch  <konqueror@gmx.de>
4293         * javax/swing/JLayeredPane.java: Reformatted.
4295 2005-02-15  Michael Koch  <konqueror@gmx.de>
4297         * javax/swing/tree/DefaultMutableTreeNode.java:
4298         Completely Revised.
4299         * javax/swing/tree/MutableTreeNode.java:
4300         Reformatted.
4302 2005-02-15  Michael Koch  <konqueror@gmx.de>
4304         * javax/swing/JFormattedTextField.java
4305         (setDocument): Call setDocument of super class. Don't fire property
4306         change event.
4308 2005-02-15  Sven de Marothy  <sven@physto.se>
4310         * java/awt/image/IndexColorModel.java:
4311         Add FIXME with respect to alpha handling.
4312         (getAlpha): Default to returning opaque pixels.
4313         * java/awt/image/MultiPixelPackedSampleModel.java
4314         (MultiPixelPackedSampleModel): Corrected parameters, order of
4315         bit shifts and masks, stride length off by one.
4317 2005-02-15  Michael Koch  <konqueror@gmx.de>
4319         * javax/swing/JList.java, javax/swing/JTree.java:
4320         Added much new methods and fixed much methods setting bound properties.
4322 2005-02-16  Mark Wielaard  <mark@klomp.org>
4324         * Makefile.am (gnu_xml_source_files): Removed
4325         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
4326         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
4327         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
4328         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
4329         gnu/xml/dom/DomDocumentFragment.java,
4330         gnu/xml/dom/DomProcessingInstruction.java and
4331         gnu/xml/dom/ls/DomLSException.java.
4332         * Makefile.in: Regenerated.
4334 2005-02-16  Tom Tromey  <tromey@redhat.com>
4336         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
4337         attribute index is out of bounds.
4339 2005-02-16  Chris Burdess  <dog@gnu.org>
4341         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
4342         isDeclared methods. Improved performance of isSpecified methods.
4344 2005-02-16  Chris Burdess  <dog@gnu.org>
4346         Fixes bug libgcj/19864
4347         * gnu/xml/dom/DomAttr.java,
4348         gnu/xml/dom/DomCDATA.java,
4349         gnu/xml/dom/DomCDATASection.java,
4350         gnu/xml/dom/DomCharacterData.java,
4351         gnu/xml/dom/DomDOMException.java,
4352         gnu/xml/dom/DomDoctype.java,
4353         gnu/xml/dom/DomDocument.java,
4354         gnu/xml/dom/DomDocumentConfiguration.java,
4355         gnu/xml/dom/DomDocumentFragment.java,
4356         gnu/xml/dom/DomElement.java,
4357         gnu/xml/dom/DomEx.java,
4358         gnu/xml/dom/DomFragment.java,
4359         gnu/xml/dom/DomImpl.java,
4360         gnu/xml/dom/DomIterator.java,
4361         gnu/xml/dom/DomNamedNodeMap.java,
4362         gnu/xml/dom/DomNode.java,
4363         gnu/xml/dom/DomNsNode.java,
4364         gnu/xml/dom/DomPI.java,
4365         gnu/xml/dom/DomProcessingInstruction.java,
4366         gnu/xml/dom/DomText.java,
4367         gnu/xml/dom/DomLSEx.java,
4368         gnu/xml/dom/DomLSException.java,
4369         gnu/xml/dom/DomLSParser.java,
4370         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
4371         implementation class names to conform to Classpath guidelines.  Make
4372         DomLSException use JDK 1.4+ exception chaining.
4373         * gnu/xml/util/SAXNullTransformerFactory.java,
4374         gnu/xml/xpath/Predicate.java: Use constants relative to
4375         declaring class or interface.
4377 2005-02-16  Andrew Haley  <aph@redhat.com>
4379         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
4380         null, create a new AccessControlContext.
4381         * java/security/SecureClassLoader.java (protectionDomainCache):
4382         new field.
4383         (defineClass): Create a new protection domain and add it to our
4384         cache.
4386         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
4387         addStub() to keep track of the stub we've exported.
4388         (unexportObject): Call deleteStub().
4389         * java/rmi/server/RemoteObject.java (stubs): New field.
4390         (addStub): New method.
4391         (deleteStub): New method.
4392         (toStub): Rewrite.
4394         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
4395         true to findHelper (tryParents).
4396         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
4397         Likewise.
4398         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
4399         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
4400         ProtectionDomain.
4401         If tryParents is false, don't scan parent class loaders.
4403         * java/security/Permissions.java (PermissionsHash.implies):
4404         Iterate over the collection and invoke implies() on each
4405         element.
4407 2005-02-16  Andrew Haley  <aph@redhat.com>
4409         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
4410         fields.
4411         (PersistentByteMap): Set name
4412         Magic number changed to 0x67636a64 ("gcjd").
4413         (init): Force the map to be prime.
4414         (emptyPersistentByteMap): File name was a string, now a File.
4415         (addBytes): Share srings between entries.
4416         (stringTableSize): New method.
4417         (capacity): Scale by load factor.
4418         (force): New method.
4419         (getFile): New method.
4420         (close): New method.
4421         (putAll): New method.
4422         (ByteWrapper): New class.
4423         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
4424         (main): Guess the average string size as 32, not 64.
4425         Copy a database before modifying it, so that we can update a
4426         database in a running system.
4427         If a database isn't big enough, resize it.
4428         "-m": new option: merges databases.
4429         "-a": Create a new detabase if it doesn't exist.
4430         (usage): Correct, add new option.
4431         (addJar): Copy a database before modifying it.
4432         (resizeMap): New method.
4434 2005-02-15  David Daney <ddaney@avtrex.com>
4435             Bryce McKinlay  <mckinlay@redhat.com>
4437         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
4438         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
4439         ensure that GC threads inherit the new signal mask.
4440         (block_sigchld): Call JvFail rather than throwing exception if
4441         pthread_sigmask() fails.
4443 2005-02-15  Mark Wielaard  <mark@klomp.org>
4445         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
4446         file path elements are separated by spaces.
4448 2005-02-15  Mark Wielaard  <mark@klomp.org>
4450         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
4451         to describe attributes without a constant field value in this class.
4453 2005-02-15  Michael Koch  <konqueror@gmx.de>
4455         * java/util/jar/Attributes.java
4456         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
4458 2005-02-15  Mark Wielaard  <mark@klomp.org>
4460         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
4461         space for parsing CLASS_PATH attribute.
4463 2005-02-15  Mark Wielaard  <mark@klomp.org>
4465         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
4466         aside for "GCJLIBS" in directory where jarfiles are loaded.
4467         (JarURLLoader.getClass): Removed method.
4468         (JarURLLoader.toString): Removed method.
4469         (FileResource.toString): Removed method.
4471 2005-02-15  Mark Wielaard  <mark@klomp.org>
4473         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
4474         and/or cause before throwing.
4476 2005-02-15  Richard Henderson  <rth@redhat.com>
4478         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
4479         (libgcj0_convenience_la_SOURCES): ... here.
4480         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
4481         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
4482         * Makefile.in: Regenerate.
4484 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
4486         * jawt.c: New file.
4487         * include/jawt.h: Likewise.
4488         * include/jawt_md.h: Likewise.
4489         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4490         jawt_md.h files.
4491         * include/Makefile.in: Regenerate.
4492         * jni/classpath/classpath_jawt.h: Likewise.
4493         * jni/gtk-peer/gtk_jawt.c: Likewise.
4494         * Makefile.am: Build libjawt.so.
4495         * Makefile.in: Regenerate.
4497 2005-02-14  Tom Tromey  <tromey@redhat.com>
4499         * testsuite/libjava.lang/PR19921.java: Use correct class name.
4501 2005-02-14  Tom Tromey  <tromey@redhat.com>
4503         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
4504         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
4506 2005-02-14  Tom Tromey  <tromey@redhat.com>
4508         For PR java/19929:
4509         * testsuite/libjava.lang/PR19929.out: New file.
4510         * testsuite/libjava.lang/PR19929.java: New file.
4512 2005-02-14  Anthony Green  <green@redhat.com>
4514         PR libgcj/18116
4515         * testsuite/libjava.jni/PR18116.c: New file.
4516         * testsuite/libjava.jni/PR18116.java: New file.
4517         * testsuite/libjava.jni/PR18116.out: New file.
4519 2005-02-13  Anthony Green  <green@redhat.com>
4521         PR libgcj/18116
4522         * jni.cc (nathash_add): Don't strdup the method signature.
4523         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
4524         method signature.
4525         Update copyright.
4527 2005-02-12  Mark Wielaard  <mark@klomp.org>
4529         Fixes bug libgcj/8170
4530         * java/lang/ClassLoader.java (loadClass): Don't rewrap
4531         ClassNotFoundException.
4532         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
4533         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
4534         (remove_internal): New field superceding remove_interpreter.
4535         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
4536         Remove no-class methods starting with "_Jv_". And Replace null
4537         class or method names with the empty string. Stop at either the
4538         MainThread or a real Thread run() method.
4539         (newElement): Made static.
4540         * java/net/URLClassLoader.java (findClass): Throw
4541         ClassNotFoundExceptions including urls, plus parent using toString().
4542         (thisString): New field.
4543         (toString): New method.
4545 2005-02-10  Tom Tromey  <tromey@redhat.com>
4547         * external/sax/Makefile.in: Rebuilt.
4548         * external/sax/Makefile.am (all-local): Removed.
4549         (BUILT_SOURCES): New variable.
4550         (mostlyclean-local): No error if no classes to delete.
4551         * external/w3c_dom/Makefile.in: Rebuilt.
4552         * external/w3c_dom/Makefile.am (all-local): Removed.
4553         (BUILT_SOURCES): New variable.
4554         (mostlyclean-local): No error if no classes to delete.
4556 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
4558         * testsuite/libjava.mauve/xfails: Updated to reflect current state
4559         of mauve and libjava.
4561 2005-02-09  Tom Tromey  <tromey@redhat.com>
4563         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
4564         jar file with OPEN_DELETE.
4565         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
4566         OPEN_DELETE is used.
4568 2005-02-09  Tom Tromey  <tromey@redhat.com>
4570         * java/util/zip/InflaterInputStream.java (markSupported):
4571         Override.
4572         (mark, reset): Likewise.
4574 2005-02-08  Tom Tromey  <tromey@redhat.com>
4576         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
4577         name or port is missing.
4578         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
4579         AUTHORITY_PORT_GROUP): Updated.
4581 2005-02-08  Tom Tromey  <tromey@redhat.com>
4583         * configure: Rebuilt.
4584         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
4585         AC_CHECK_HEADERS.
4587 2005-02-07  Tom Tromey  <tromey@redhat.com>
4589         * java/lang/natRuntime.cc (insertSystemProperties): Set
4590         sun.boot.class.path earlier.
4592 2005-02-07  Tom Tromey  <tromey@redhat.com>
4594         * defineclass.cc (handleClassBegin): Use
4595         _Jv_RegisterInitiatingLoader.
4596         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
4597         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
4598         class.  Use _Jv_UnregisterInitiatingLoader.
4599         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
4600         New function.
4602 2005-02-07  Mark Wielaard  <mark@klomp.org>
4604         Reported by Timo Lindfors <timo.lindfors@iki.fi>
4605         java/util/regex/Matcher.java (lookingAt): Set position when match
4606         found.
4607         (matches): Implemented through lookingAt().
4609 2005-02-07  Mark Wielaard  <mark@klomp.org>
4611         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
4612         * java/util/regex/Pattern.java (split(CharSequence,int)):
4613         Fix while empties > 0 loops.
4615 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
4617         * gnu/java/nio/charset/ISO_8859_1.java,
4618         gnu/java/nio/charset/US_ASCII.java,
4619         gnu/java/nio/charset/UTF_16.java,
4620         gnu/java/nio/charset/UTF_16_LE.java,
4621         gnu/java/nio/charset/UTF_16_BE.java,
4622         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
4623          and aliases according to
4624          "http://www.iana.org/assignments/character-sets",
4625          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
4626          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
4627         * gnu/java/nio/charset/Provider.java: Made charset lookup
4628          case-insensitive which fixes bug #11740.
4630 2005-02-07  Tom Tromey  <tromey@redhat.com>
4632         PR libgcj/19611:
4633         * Makefile.in: Rebuilt.
4634         * Makefile.am (src.zip): New target.
4635         (install-src.zip): Likewise.
4636         (sourcesdir): New variable.
4638 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
4640         * javax/imageio/metadata/IIOMetadataNode.java:
4641         Implemented.
4642         * javax/imageio/metadata/IIOAttr.java,
4643         javax/imageio/metadata/IIONamedNodeMap.java,
4644         javax/imageio/metadata/IIONodeList.java:
4645         New files
4647 2005-02-06  Graydon Hoare  <graydon@redhat.com>
4649         * gnu/java/awt/ClasspathToolkit.java
4650         (registerImageIOSpis): New method.
4651         * javax/imageio/ImageIO.java
4652         (WriterFormatFilter.filter): Fix copy-and-paste typos.
4653         (WriterMIMETypeFilter.filter): Likewise.
4654         (ImageReaderIterator): Pass extension argument through to SPI.
4655         (getReadersByFilter): Likewise.
4656         (getWritersByFilter): Likewise.
4657         (getImageReadersByFormatName): Likewise.
4658         (getImageReadersByMIMEType): Likewise.
4659         (getImageReadersBySuffix): Likewise.
4660         (getImageWritersByFormatName): Likewise.
4661         (getImageWritersByMIMEType): Likewise.
4662         (getImageWritersBySuffix): Likewise.
4663         (read): Implement.
4664         (write): Implement.
4665         * javax/imageio/ImageReader.java
4666         (progressListeners): Initialize.
4667         (setInput): Implement.
4668         * javax/imageio/ImageWriter.java
4669         (progressListeners): Initialize.
4670         (warningListeners): Likewise.
4671         (warningLocales): Likewise.
4672         (setOutput): Test "isInstance" rather than class equality.
4673         * javax/imageio/spi/IIORegistry.java
4674         (static): Add reader and writer SPIs.
4675         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
4677 2004-02-06  Michael Koch  <konqueror@gmx.de>
4679         * javax/imageio/metadata/IIOInvalidTreeException.java
4680         (IIOInvalidTreeException): Reformatted.
4681         * javax/imageio/spi/IIORegistry.java
4682         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
4683         * javax/imageio/stream/MemoryCacheImageInputStream.java:
4684         Reworked import statements.
4686 2004-02-06  Michael Koch  <konqueror@gmx.de>
4688         * javax/imageio/stream/FileImageOutputStream.java:
4689         Implemented.
4691 2004-02-06  Michael Koch  <konqueror@gmx.de>
4693         * javax/imageio/stream/FileCacheImageInputStream.java,
4694         javax/imageio/stream/FileCacheImageOutputStream.java,
4695         javax/imageio/stream/FileImageInputStream.java,
4696         javax/imageio/stream/ImageInputStreamImpl.java,
4697         javax/imageio/stream/ImageOutputStreamImpl.java,
4698         javax/imageio/stream/MemoryCacheImageInputStream.java,
4699         javax/imageio/stream/MemoryCacheImageOutputStream.java:
4700         Added all missing methods in javax.imageio.stream.
4702 2005-02-02  David Daney  <ddaney@avtrex.com>
4704         * java/net/InetAddress.java (InetAddress): Make a private copy of
4705         the address.
4706         * java/net/Inet4Address.java (getAddress): Return a copy of the
4707         address.
4708         * java/net/Inet6Address.java (Inet6Address): Use private copy of
4709         the address
4710         (getAddress): Return a copy of the address.
4711         (equals): Rewrote.
4713 2005-02-02  Tom Tromey  <tromey@redhat.com>
4715         * Makefile.in: Rebuilt.
4716         * Makefile.am (classes.stamp): New target, broken out from
4717         libgcj.jar target.
4718         ($(all_java_class_files)): Depend on it.
4719         (libgcj-@gcc_version@.jar): Likewise.
4720         (all-recursive): Likewise.
4721         (CLEANFILES): Include classes.stamp.
4723 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
4725         * link.cc: Include <stdio.h>
4727 2005-02-02  Tom Tromey  <tromey@redhat.com>
4729         PR libgcj/19681:
4730         * Makefile.in: Rebuilt.
4731         * Makefile.am (ordinary_java_source_files): Added new class.
4732         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4733         Use system_instance, not instance.
4734         * gnu/gcj/runtime/SystemClassLoader.java: New file.
4735         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
4736         java.class.path.
4737         (system_instance): New field.
4738         (initialize): Initialize the system loader as well.
4739         (VMClassLoader): Default to LIB_CACHE.
4741 2005-02-02  Tom Tromey  <tromey@redhat.com>
4743         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
4744         * prims.cc: Fixed comment.
4746 2005-02-01  Tom Tromey  <tromey@redhat.com>
4748         * Makefile.in: Rebuilt.
4749         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
4750         (.java.class): Use BOOTCLASSPATH.
4752 2005-02-01  Tom Tromey  <tromey@redhat.com>
4754         * external/w3c_dom/Makefile.am: New file.
4755         * external/w3c_dom/Makefile.in: New file.
4756         * external/sax/Makefile.am: New file.
4757         * external/sax/Makefile.in: New file.
4758         * external/Makefile.in: New file.
4759         * external/Makefile.am: New file.
4760         * external/README: New file from Classpath.
4761         * configure, aclocal.m4, Makefile.in: Rebuilt.
4762         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
4763         * Makefile.am (SUBDIRS): Added external.
4764         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
4765         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
4766         (BOOTCLASSPATH): New variable.
4767         (AM_GCJFLAGS): Use it.
4768         (gnu_xml_source_files): New variable.
4769         (libgcj_la_SOURCES): Use it.
4770         (libgcj_la_LDADD): Include new convenience libraries.
4771         (lib_org_ietf_jgss_la_SOURCES): Removed.
4772         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
4773         (lib_org_ietf_jgss_la_LIBADD): Likewise.
4774         (lib_org_w3c_dom_la_SOURCES): Removed.
4775         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
4776         (lib_org_w3c_dom_la_LIBADD): Likewise.
4777         (lib_org_xml_sax_la_SOURCES): Removed.
4778         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
4779         (lib_org_xml_sax_la_LIBADD): Likewise.
4780         (all_java_source_files): Updated.
4781         (property_files): Likewise.
4782         (libgcj-@gcc_version@.jar): Include classes from external/.
4783         (javax_source_files): Updated.
4784         (ordinary_java_source_files): Updated.
4785         * javax/xml/XMLConstants.java,
4786         javax/xml/datatype/DatatypeConfigurationException.java,
4787         javax/xml/datatype/DatatypeConstants.java,
4788         javax/xml/datatype/DatatypeFactory.java,
4789         javax/xml/datatype/Duration.java,
4790         javax/xml/datatype/XMLGregorianCalendar.java,
4791         javax/xml/datatype/package.html,
4792         javax/xml/namespace/NamespaceContext.java,
4793         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
4794         javax/xml/parsers/DocumentBuilder.java,
4795         javax/xml/parsers/DocumentBuilderFactory.java,
4796         javax/xml/parsers/FactoryConfigurationError.java,
4797         javax/xml/parsers/ParserConfigurationException.java,
4798         javax/xml/parsers/SAXParser.java,
4799         javax/xml/parsers/SAXParserFactory.java,
4800         javax/xml/parsers/package.html,
4801         javax/xml/transform/ErrorListener.java,
4802         javax/xml/transform/OutputKeys.java,
4803         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
4804         javax/xml/transform/SourceLocator.java,
4805         javax/xml/transform/Templates.java,
4806         javax/xml/transform/Transformer.java,
4807         javax/xml/transform/TransformerConfigurationException.java,
4808         javax/xml/transform/TransformerException.java,
4809         javax/xml/transform/TransformerFactory.java,
4810         javax/xml/transform/TransformerFactoryConfigurationError.java,
4811         javax/xml/transform/URIResolver.java,
4812         javax/xml/transform/package.html,
4813         javax/xml/transform/dom/DOMLocator.java,
4814         javax/xml/transform/dom/DOMResult.java,
4815         javax/xml/transform/dom/DOMSource.java,
4816         javax/xml/transform/dom/package.html,
4817         javax/xml/transform/sax/SAXResult.java,
4818         javax/xml/transform/sax/SAXSource.java,
4819         javax/xml/transform/sax/SAXTransformerFactory.java,
4820         javax/xml/transform/sax/TemplatesHandler.java,
4821         javax/xml/transform/sax/TransformerHandler.java,
4822         javax/xml/transform/sax/package.html,
4823         javax/xml/transform/stream/StreamResult.java,
4824         javax/xml/transform/stream/StreamSource.java,
4825         javax/xml/transform/stream/package.html,
4826         javax/xml/validation/Schema.java,
4827         javax/xml/validation/SchemaFactory.java,
4828         javax/xml/validation/TypeInfoProvider.java,
4829         javax/xml/validation/Validator.java,
4830         javax/xml/validation/ValidatorHandler.java,
4831         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
4832         javax/xml/xpath/XPathConstants.java,
4833         javax/xml/xpath/XPathException.java,
4834         javax/xml/xpath/XPathExpression.java,
4835         javax/xml/xpath/XPathExpressionException.java,
4836         javax/xml/xpath/XPathFactory.java,
4837         javax/xml/xpath/XPathFactoryConfigurationException.java,
4838         javax/xml/xpath/XPathFunction.java,
4839         javax/xml/xpath/XPathFunctionException.java,
4840         javax/xml/xpath/XPathFunctionResolver.java,
4841         javax/xml/xpath/XPathVariableResolver.java,
4842         javax/xml/xpath/package.html: New files, from GNU JAXP.
4843         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
4844         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
4845         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
4846         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
4847         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
4848         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
4849         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
4850         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
4851         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
4852         org/w3c/dom/ranges/DocumentRange.java,
4853         org/w3c/dom/ranges/Range.java,
4854         org/w3c/dom/ranges/RangeException.java,
4855         org/w3c/dom/traversal/DocumentTraversal.java,
4856         org/w3c/dom/traversal/NodeFilter.java,
4857         org/w3c/dom/traversal/NodeIterator.java,
4858         org/w3c/dom/traversal/TreeWalker.java,
4859         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
4860         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
4861         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
4862         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
4863         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
4864         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
4865         org/xml/sax/SAXNotRecognizedException.java,
4866         org/xml/sax/SAXNotSupportedException.java,
4867         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
4868         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
4869         org/xml/sax/ext/DeclHandler.java,
4870         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
4871         org/xml/sax/helpers/AttributeListImpl.java,
4872         org/xml/sax/helpers/AttributesImpl.java,
4873         org/xml/sax/helpers/DefaultHandler.java,
4874         org/xml/sax/helpers/LocatorImpl.java,
4875         org/xml/sax/helpers/NamespaceSupport.java,
4876         org/xml/sax/helpers/NewInstance.java,
4877         org/xml/sax/helpers/ParserAdapter.java,
4878         org/xml/sax/helpers/ParserFactory.java,
4879         org/xml/sax/helpers/XMLFilterImpl.java,
4880         org/xml/sax/helpers/XMLReaderAdapter.java,
4881         org/xml/sax/helpers/XMLReaderFactory.java,
4882         org/xml/sax/helpers/package.html: Moved to external/.
4883         * external/sax/README,
4884         external/sax/org/xml/sax/AttributeList.java,
4885         external/sax/org/xml/sax/Attributes.java,
4886         external/sax/org/xml/sax/ContentHandler.java,
4887         external/sax/org/xml/sax/DTDHandler.java,
4888         external/sax/org/xml/sax/DocumentHandler.java,
4889         external/sax/org/xml/sax/EntityResolver.java,
4890         external/sax/org/xml/sax/ErrorHandler.java,
4891         external/sax/org/xml/sax/HandlerBase.java,
4892         external/sax/org/xml/sax/InputSource.java,
4893         external/sax/org/xml/sax/Locator.java,
4894         external/sax/org/xml/sax/Parser.java,
4895         external/sax/org/xml/sax/SAXException.java,
4896         external/sax/org/xml/sax/SAXNotRecognizedException.java,
4897         external/sax/org/xml/sax/SAXNotSupportedException.java,
4898         external/sax/org/xml/sax/SAXParseException.java,
4899         external/sax/org/xml/sax/XMLFilter.java,
4900         external/sax/org/xml/sax/XMLReader.java,
4901         external/sax/org/xml/sax/package.html,
4902         external/sax/org/xml/sax/ext/Attributes2.java,
4903         external/sax/org/xml/sax/ext/Attributes2Impl.java,
4904         external/sax/org/xml/sax/ext/DeclHandler.java,
4905         external/sax/org/xml/sax/ext/DefaultHandler2.java,
4906         external/sax/org/xml/sax/ext/EntityResolver2.java,
4907         external/sax/org/xml/sax/ext/LexicalHandler.java,
4908         external/sax/org/xml/sax/ext/Locator2.java,
4909         external/sax/org/xml/sax/ext/Locator2Impl.java,
4910         external/sax/org/xml/sax/ext/package.html,
4911         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
4912         external/sax/org/xml/sax/helpers/AttributesImpl.java,
4913         external/sax/org/xml/sax/helpers/DefaultHandler.java,
4914         external/sax/org/xml/sax/helpers/LocatorImpl.java,
4915         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
4916         external/sax/org/xml/sax/helpers/NewInstance.java,
4917         external/sax/org/xml/sax/helpers/ParserAdapter.java,
4918         external/sax/org/xml/sax/helpers/ParserFactory.java,
4919         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
4920         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
4921         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
4922         external/sax/org/xml/sax/helpers/package.html,
4923         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
4924         external/w3c_dom/org/w3c/dom/Attr.java,
4925         external/w3c_dom/org/w3c/dom/CDATASection.java,
4926         external/w3c_dom/org/w3c/dom/CharacterData.java,
4927         external/w3c_dom/org/w3c/dom/Comment.java,
4928         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
4929         external/w3c_dom/org/w3c/dom/DOMError.java,
4930         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
4931         external/w3c_dom/org/w3c/dom/DOMException.java,
4932         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
4933         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
4934         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
4935         external/w3c_dom/org/w3c/dom/DOMLocator.java,
4936         external/w3c_dom/org/w3c/dom/DOMStringList.java,
4937         external/w3c_dom/org/w3c/dom/Document.java,
4938         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
4939         external/w3c_dom/org/w3c/dom/DocumentType.java,
4940         external/w3c_dom/org/w3c/dom/Element.java,
4941         external/w3c_dom/org/w3c/dom/Entity.java,
4942         external/w3c_dom/org/w3c/dom/EntityReference.java,
4943         external/w3c_dom/org/w3c/dom/NameList.java,
4944         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
4945         external/w3c_dom/org/w3c/dom/Node.java,
4946         external/w3c_dom/org/w3c/dom/NodeList.java,
4947         external/w3c_dom/org/w3c/dom/Notation.java,
4948         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
4949         external/w3c_dom/org/w3c/dom/Text.java,
4950         external/w3c_dom/org/w3c/dom/TypeInfo.java,
4951         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
4952         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
4953         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
4954         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
4955         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
4956         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
4957         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
4958         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
4959         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
4960         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
4961         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
4962         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
4963         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
4964         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
4965         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
4966         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
4967         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
4968         external/w3c_dom/org/w3c/dom/css/Counter.java,
4969         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
4970         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
4971         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
4972         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
4973         external/w3c_dom/org/w3c/dom/css/Rect.java,
4974         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
4975         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
4976         external/w3c_dom/org/w3c/dom/events/Event.java,
4977         external/w3c_dom/org/w3c/dom/events/EventException.java,
4978         external/w3c_dom/org/w3c/dom/events/EventListener.java,
4979         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
4980         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
4981         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
4982         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
4983         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
4984         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
4985         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
4986         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
4987         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
4988         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
4989         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
4990         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
4991         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
4992         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
4993         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
4994         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
4995         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
4996         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
4997         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
4998         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
4999         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
5000         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
5001         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
5002         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
5003         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
5004         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
5005         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
5006         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
5007         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
5008         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
5009         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
5010         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
5011         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
5012         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
5013         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
5014         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
5015         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
5016         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
5017         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
5018         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
5019         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
5020         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
5021         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
5022         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
5023         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
5024         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
5025         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
5026         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
5027         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
5028         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
5029         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
5030         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
5031         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
5032         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
5033         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
5034         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
5035         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
5036         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
5037         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
5038         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
5039         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
5040         external/w3c_dom/org/w3c/dom/ls/LSException.java,
5041         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
5042         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
5043         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
5044         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
5045         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
5046         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
5047         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
5048         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
5049         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
5050         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
5051         external/w3c_dom/org/w3c/dom/ranges/Range.java,
5052         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
5053         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
5054         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
5055         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
5056         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
5057         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
5058         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
5059         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
5060         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
5061         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
5062         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
5063         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
5064         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
5065         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
5066         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
5067         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
5068         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
5069         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
5070         from Classpath.
5072 2005-01-31  Anthony Green  <green@redhat.com>
5074         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
5075         Support IP_MULTICAST_LOOP.
5076         (setOption): Support IP_MULTICAST_LOOP.
5078         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
5079         SO_REUSEADDR support.
5080         (getOption): Support SO_REUSEADDR.
5082 2004-01-28  Jeroen Frijters  <jeroen@frijters.net>
5084         PR libgcj/19649
5085         * java/util/Date.java
5086         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
5087         constructor.
5088         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
5089         arguments.
5090         (getTimezoneOffset): Inverted sign.
5092 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
5094         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
5095         remove other passing tests and add new XFAILs.
5097 2005-01-24  Tom Tromey  <tromey@redhat.com>
5099         * java/lang/Class.h (next): Updated documentation.  Renamed to
5100         'next_or_version'.
5101         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
5102         _Jv_CheckABIVersion.
5103         (_Jv_RegisterClasses_Counted): Likewise.
5104         (_Jv_RegisterClassHookDefault): Fix starting condition of
5105         duplicate-checking loop.
5106         * include/jvm.h (GCJ_VERSION): New define.
5107         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
5108         (_Jv_CheckABIVersion): New function.
5110 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
5112         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
5113         (libgij_la_LDFLAGS): Add.
5114         * Makefile.in: Rebuilt.
5116 2005-01-24  Roger Sayle  <roger@eyesopen.com>
5118         PR java/19295
5119         * testsuite/libjava.compile/PR19295.java: New test case.
5121 2005-01-19  Tom Tromey  <tromey@redhat.com>
5123         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
5124         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
5125         if 'handler' is valid.
5127 2005-01-17  Tom Tromey  <tromey@redhat.com>
5129         * java/text/MessageFormat.java (scanString): Changed how quoting
5130         is handled.
5131         (scanFormatElement): Likewise.
5133 2004-12-07  Mark Wielaard  <mark@klomp.org>
5135         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
5137 2005-01-15  Michael Koch  <konqueror@gmx.de>
5139         PR libgcj/19444
5140         * java/net/URI.java
5141         (AUTHORITY_REGEXP): New regexp constant.
5142         (AUTHORITY_USERINFO_GROUP): New constant.
5143         (AUTHORITY_HOST_GROUP): Likewise.
5144         (AUTHORITY_PORT_GROUP): Likewise.
5145         (port): Changed default value to -1.
5146         (parseURI): Parse authority part and initialize host,
5147         port and userInfo.
5149 2005-01-14  Robin Green  <greenrd@greenrd.org>
5151         * java/io/File.java (toURI): Generate a URI which we understand.
5153 2005-01-13  Graydon Hoare  <graydon@redhat.com>
5155         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5156         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5157         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5158         * jni.cc: Reuse bottom frame between calls, avoid clearing
5159         frame when no local references are made.
5161 2005-01-13  Michael Koch  <konqueror@gmx.de>
5163         PR libgcj/17784
5164         * java/lang/Thread.java
5165         (Thread): Call checkAccess().
5166         (stop): Fixed argument name to match javadoc.
5167         * java/lang/natThread.cc
5168         (interrupt): Call checkAccess().
5169         (stop): Likewise.
5171 2005-01-11  Michael Koch  <konqueror@gmx.de>
5173         PR libgcj/13972
5174         * java/net/URL.java (URL): Handle specs like
5175         "/redir?http://domain2.com/index.html" which start with a slash.
5177 2005-01-11  Michael Koch  <konqueror@gmx.de>
5179         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
5180         * gnu/java/net/BASE64.java,
5181         gnu/java/net/EmptyX509TrustManager.java,
5182         gnu/java/net/LineInputStream.java,
5183         gnu/java/net/protocol/http/Authenticator.java,
5184         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
5185         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
5186         gnu/java/net/protocol/http/ChunkedInputStream.java,
5187         gnu/java/net/protocol/http/Cookie.java,
5188         gnu/java/net/protocol/http/CookieManager.java,
5189         gnu/java/net/protocol/http/Credentials.java,
5190         gnu/java/net/protocol/http/HTTPConnection.java,
5191         gnu/java/net/protocol/http/HTTPDateFormat.java,
5192         gnu/java/net/protocol/http/HTTPURLConnection.java,
5193         gnu/java/net/protocol/http/Headers.java,
5194         gnu/java/net/protocol/http/Request.java,
5195         gnu/java/net/protocol/http/RequestBodyWriter.java,
5196         gnu/java/net/protocol/http/Response.java,
5197         gnu/java/net/protocol/http/ResponseBodyReader.java,
5198         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
5199         gnu/java/net/protocol/http/SimpleCookieManager.java,
5200         gnu/java/net/protocol/http/event/ConnectionEvent.java,
5201         gnu/java/net/protocol/http/event/ConnectionListener.java,
5202         gnu/java/net/protocol/http/event/RequestEvent.java,
5203         gnu/java/net/protocol/http/event/RequestListener.java: New files.
5204         * gnu/java/net/protocol/http/Connection.java: Removed.
5205         * gnu/java/net/protocol/http/Handler.java,
5206         javax/net/ssl/HttpsURLConnection.java: Updated.
5207         * Makefile.am: Added new files and remove old ones.
5208         * Makefile.in: Regenerated.
5210 2005-01-11  Tom Tromey  <tromey@redhat.com>
5212         PR libgcj/18840:
5213         * java/io/BufferedInputStream.java (read): Repeatedly read to
5214         fill buffer.
5215         (refill): Change test to see if buffer must be grown.
5217 2005-01-10  Tom Tromey  <tromey@redhat.com>
5219         * mauve-libgcj: Exclude some swing tests.
5221 2005-01-10  Tom Tromey  <tromey@redhat.com>
5223         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
5224         * java/lang/Package.java (getPackages): Use VMClassLoader when
5225         appropriate.
5226         (getPackage): Likewise.
5227         * prims.cc (_Jv_CreateJavaVM): Call
5228         _Jv_RegisterBootstrapPackages.
5229         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
5230         * java/lang/VMClassLoader.java (getPackage): Rewrote.
5231         (getPackages): Likewise.
5232         (definedPackages): New field.
5233         (definePackageForNative): New method.
5234         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
5235         * java/lang/natVMClassLoader.cc (loadClass): Updated.
5236         * defineclass.cc (handleClassBegin): Use
5237         ClassLoader.findLoadedClass.
5238         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
5239         Rewrote.
5240         (struct _Jv_LoaderInfo): Removed.
5241         (initiated_classes): Likewise.
5242         (_Jv_UnregisterClass): Don't use initiated_classes.
5243         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
5244         (_Jv_FindClass): Register classes found during boostrap.
5245         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
5246         (bootstrap_class_list): New global.
5247         (bootstrap_index): Likewise.
5248         (_Jv_RegisterBootstrapPackages): New function.
5249         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
5250         definePackageForNative.
5251         (findClass): Updated.
5252         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
5253         New method.
5255 2005-01-10  Tom Tromey  <tromey@redhat.com>
5257         PR libgcj/18868:
5258         * include/jvm.h (_Jv_Linker::find_field): Declare.
5259         (_Jv_Linker::find_field_helper): Likewise.
5260         * link.cc (find_field_helper): New method.
5261         (find_field): Likewise.
5262         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
5263         not found.
5264         (link_symbol_table): Use find_field.
5266 2005-01-10  Michael Koch  <konqueror@gmx.de>
5268         PR libgcj/18014
5269         * java/util/Locale.java (Locale): Don't uppercase variant.
5270         (getISOCountries): Fixed typo in javadoc.
5272 2005-01-10  Michael Koch  <konqueror@gmx.de>
5274         * java/util/SimpleTimeZone.java (checkRule):
5275         Throw IllegalArgumentException on invalid month values.
5276         * java/util/TimeZone.java (setID):
5277         Throw NullPointerException if needed.
5279 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5281         * java/util/SimpleTimeZone.java (getOffset):
5282         offset end date with daylight savings
5284 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
5286         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
5287         * testsuite/libjava.compile/PR19277.xfail: Likewise.
5289 2005-01-09  Michael Koch  <konqueror@gmx.de>
5291         PR libgcj/17069
5292         * java/net/InetAddress.java (getLocalHost):
5293         Throw UnknownHostException if local hostname cannot be determined.
5295 2005-01-06  Tom Tromey  <tromey@redhat.com>
5297         * java/lang/ClassLoader.java (findClass): Fixed documentation.
5299 2005-01-07  Michael Koch  <konqueror@gmx.de>
5301         PR libgcj/18115
5302         * java/nio/Buffer.java (address): New field.
5303         * java/nio/DirectByteBufferImpl.java (address): Removed.
5304         * java/nio/MappedByteBufferImpl.java (address): Likewise.
5305         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
5306         Explicitly initialize Buffer.address if needed.
5307         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
5308         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
5309         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
5310         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
5311         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
5312         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
5313         DirectByteBufferImpl object.
5314         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
5315         * testsuite/libjava.jni/directbuffer.c,
5316         testsuite/libjava.jni/directbuffer.java,
5317         testsuite/libjava.jni/directbuffer.out,
5318         testsuite/libjava.jni/bytebuffer.c,
5319         testsuite/libjava.jni/bytebuffer.java,
5320         testsuite/libjava.jni/bytebuffer.out: New files.
5322 2005-01-05  Tom Tromey  <tromey@redhat.com>
5324         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
5325         argument.
5326         (compressedSize): Now 'long'.  Default to -1.
5327         (getCompressedSize): Rewrote.
5328         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
5329         deflate at all if we need input.
5331 2005-01-05  Tom Tromey  <tromey@redhat.com>
5333         PR libgcj/15719:
5334         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
5335         correctly.
5337 2005-01-05  Tom Tromey  <tromey@redhat.com>
5339         * java/lang/natRuntime.cc (insertSystemProperties): Set
5340         java.ext.dirs earlier.
5342 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
5344         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
5345         sync_info element of the object if needed.
5347 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
5349         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
5350         a non-zero exit status from 'false'.
5352 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
5354         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
5356 2004-12-31  Andreas Jaeger  <aj@suse.de>
5358         * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
5360 2004-12-20  Tom Tromey  <tromey@redhat.com>
5362         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
5363         Re-enable duplicate class registration error.
5365         * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
5366         * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
5367         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
5368         * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
5369         get_multilibs.
5370         (libjava_find_gij): Likewise.  Changed return result if gij not
5371         found.
5372         (test_libjava_from_javac): Updated.
5374         PR java/15001
5375         * testsuite/libjava.jni/iface.c: New file.
5376         * testsuite/libjava.jni/iface.out: New file.
5377         * testsuite/libjava.jni/iface.java: New file.
5379 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
5381         * include/config.h.in: Regenerate.
5383 2004-12-10  Andrew Haley  <aph@redhat.com>
5385         PR java/15001
5386         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
5387         abstract methods by name.
5389 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
5391         * java/util/IdentityHashMap.java (put): Replace mistaken use
5392         of "<<" by "*".
5394 2004-12-06  Tom Tromey  <tromey@redhat.com>
5396         For PR java/14853:
5397         * testsuite/libjava.compile/PR14853.java: New file.
5398         * testsuite/libjava.compile/PR14853.xfail: New file.
5400 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
5402         PR libgcj/7305
5403         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
5404         * Makefile.am (install-data-local): Install headers into
5405         $(gxx_include_dir) rather than $(includedir).
5406         (AM_MAKEFLAGS): Pass down gxx_include_dir.
5407         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
5408         * include/Makefile.am (tool_include__HEADERS): Define this...
5409         (include_HEADERS): ...instead of this.
5410         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
5411         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5413 2004-12-02  Tom Tromey  <tromey@redhat.com>
5415         For PR java/16675:
5416         * testsuite/libjava.compile/PR16675.java: New file.
5418 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
5420         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
5421         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
5422         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5424 2004-12-01  Tom Tromey  <tromey@redhat.com>
5426         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
5427         name.
5428         (_Jv_ThreadRegister): Likewise.
5429         (_Jv_MutexCheckMonitor): Likewise.
5431         * link.cc: Include limits.h.
5433 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
5435         PR libgcj/18699
5436         * testsuite/libjava.lang/PR18699.java,
5437         testsuite/libjava.lang/PR18699.out: New test.
5439 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5441         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
5442         Update image observer.
5443         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
5444         Start image production.
5445         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
5446         against negative menu bar widths.
5447         (setBounds): Likewise.
5448         (postConfigureEvent): Likewise.
5449         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
5450         remove consumer unless only a single frame has completed.
5451         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
5452         Add observer parameter.
5453         (setPixels): Update image observer.
5454         (imageComplete): Likewise.
5455         * java/applet/Applet.java (width): New field.
5456         (height): Likewise.
5457         (setStub): Set size if width or height field has been set.
5458         (resize): If stub is null save width and height values.
5459         * java/awt/Component.java (reshape): Protect against null
5460         parent.
5461         * java/awt/image/MemoryImageSource.java
5462         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
5463         Document.
5464         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
5465         Likewise.
5466         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
5467         Reference pixel array directly, rather than creating a local
5468         copy.
5469         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
5470         Likewise.
5471         (newPixels(int,int,int,int)): Fix for loop and array copy
5472         bounds.
5473         (newPixels(int,int,int,int,boolean)): Likewise.
5474         (startProduction): If animated call imageComplete with
5475         SINGLEFRAME.
5476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
5477         gdk_flush lines.
5478         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
5479         (drawPixels): Return if g is null or g->drawable is not a gdk
5480         drawable.
5482 2004-11-30  Michael Koch  <konqueror@gmx.de>
5484         * javax/swing/DefaultSingleSelectionModel.java,
5485         javax/swing/JPasswordField.java,
5486         javax/swing/tree/AbstractLayoutCache.java:
5487         Reformatted and javadocs cleaned up.
5489 2004-11-30  Michael Koch  <konqueror@gmx.de>
5491         * java/awt/Component.java:
5492         Fixed argument names to match javadocs.
5493         (setFont): Rewritten set property first and then fire event.
5494         (setLocale): Likewise.
5495         * javax/swing/text/JTextComponent.java
5496         (setEditable): Likewise.
5498 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5500         * java/awt/Button.java
5501         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
5502         source of 'click'.
5504 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5506         * java/awt/Checkbox.java: Remove stub comments.
5508 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5510         * java/awt/Button.java
5511         (AccessibleAWTButton.getAccessibleActionDescription): Return
5512         'click'.
5514 2004-11-30  Michael Koch  <konqueror@gmx.de>
5516         * java/awt/CardLayout.java:
5517         Made some constants static.
5518         (serialVersionUID): Made private.
5519         (addLayoutComponent): Simplified code.
5520         * java/awt/event/InputEvent.java
5521         (getModifiersEx): Added missing @param tag.
5522         * java/awt/image/RGBImageFilter.java
5523         (filterRGBPixels): Reformatted, removed wrong @param tag.
5525 2004-11-30  Michael Koch  <konqueror@gmx.de>
5527         * javax/swing/text/FieldView.java,
5528         javax/swing/text/JTextComponent.java:
5529         Removed debug code.
5531 2004-11-30  Michael Koch  <konqueror@gmx.de>
5533         * javax/swing/BorderFactory.java
5534         (BorderFactory): Added private constructor.
5535         * javax/swing/SwingUtilities.java
5536         (SwingUtilities): Likewise.
5537         (computeStringWidth): New method.
5539 2004-11-30  Michael Koch  <konqueror@gmx.de>
5541         * java/awt/color/ICC_Profile.java
5542         (icSigNamedColorTag): Removed.
5543         * java/awt/datatransfer/DataFlavor.java
5544         (isMimeTypeEqual): Made final.
5545         * java/awt/image/AffineTransformOp.java:
5546         Reworked javadocs.
5547         (TYPE_BICUBIC): Added @since tag.
5549 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5551         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
5552         comments.
5554 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5556         * java/awt/Checkbox.java (itemStateChanged): Implement function.
5557         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
5559 2004-11-30  Sven de Marothy  <sven@physto.se>
5561         * java/awt/Polygon.java (contains): Reimplemented.
5563 2004-11-30  Michael Koch  <konqueror@gmx.de>
5565         * java/awt/print/PrinterJob.java: Reformatted.
5567 2004-11-30  Michael Koch  <konqueror@gmx.de>
5569         * java/awt/image/AffineTransformOp.java,
5570         java/awt/image/ColorConvertOp.java,
5571         java/awt/image/LookupOp.java,
5572         java/awt/image/RescaleOp.java:
5573         Added final keywords where they belong.
5575 2004-11-30  Michael Koch  <konqueror@gmx.de>
5577         * java/awt/CardLayout.java,
5578         java/awt/Component.java,
5579         java/awt/Font.java,
5580         java/awt/image/SinglePixelPackedSampleModel.java:
5581         Fixed javadocs and argument names all over.
5583 2004-11-30  Michael Koch  <konqueror@gmx.de>
5585         * java/awt/image/DataBufferShort.java: Fixed file header.
5586         * java/awt/image/DataBufferUShort.java: Likewise.
5587         (DataBufferUShort): Throw NullPointerException if dataArray is null.
5589 2004-11-30  Sven de Marothy  <sven@physto.se>
5591         * java/awt/geom/Arc2D.java
5592         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
5593         (setAngles): Likewise.
5594         (containsAngle): Return false on zero extent, don't include
5595         final angle.
5596         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
5597         ones.
5599 2004-11-30  Sven de Marothy  <sven@physto.se>
5601         * java/awt/geom/AffineTransform.java,
5602         (inverseTransform): Fixed bug and simplified code.
5603         (createTransformedShape): Return null on null parameter.
5605 2004-11-30  Michael Koch  <konqueror@gmx.de>
5607         * java/awt/color/ICC_ColorSpace.java,
5608         java/awt/color/ICC_Profile.java,
5609         java/awt/color/ICC_ProfileGray.java,
5610         java/awt/color/ICC_ProfileRGB.java:
5611         Re-indent copyright header to be standardish.
5612         * java/awt/datatransfer/StringSelection.java:
5613         Reformatted.
5614         * java/awt/geom/Area.java
5615         (EPSILON): Made static.
5616         (RS_EPSILON): Likewise.
5617         (PE_EPSILON): Likewide.
5619 2004-11-30  Sven de Marothy  <sven@physto.se>
5621         * javax/swing/SwingUtilities.java:
5622         (computeDifference): Implemented
5623         (computeIntersection): Likewise
5624         (computeUnion): Likewise
5625         (isRectangleContainingRectangle): Likewise
5627 2004-11-30  Michael Koch  <konqueror@gmx.de>
5629         * java/awt/BasicStroke.java,
5630         java/awt/Button.java,
5631         java/awt/Canvas.java,
5632         java/awt/CheckboxMenuItem.java,
5633         java/awt/Container.java,
5634         java/awt/EventQueue.java,
5635         java/awt/FileDialog.java,
5636         java/awt/FlowLayout.java,
5637         java/awt/FontMetrics.java,
5638         java/awt/Graphics.java,
5639         java/awt/GridLayout.java,
5640         java/awt/KeyboardFocusManager.java,
5641         java/awt/Label.java,
5642         java/awt/LayoutManager2.java,
5643         java/awt/List.java,
5644         java/awt/MenuBar.java,
5645         java/awt/Scrollbar.java,
5646         java/awt/Toolkit.java,
5647         java/awt/Window.java,
5648         java/awt/datatransfer/DataFlavor.java,
5649         java/awt/datatransfer/FlavorTable.java,
5650         java/awt/event/ActionListener.java,
5651         java/awt/event/HierarchyBoundsAdapter.java,
5652         java/awt/geom/Arc2D.java,
5653         java/awt/geom/Rectangle2D.java,
5654         java/awt/geom/RectangularShape.java,
5655         java/awt/im/spi/InputMethod.java,
5656         java/awt/image/ByteLookupTable.java,
5657         java/awt/image/ColorModel.java,
5658         java/awt/image/DirectColorModel.java,
5659         java/awt/image/ShortLookupTable.java,
5660         java/awt/print/Book.java:
5661         Fixed javadocs and method argument names all over.
5663 2004-11-30  Michael Koch  <konqueror@gmx.de>
5665         * gnu/java/awt/peer/gtk/GdkFontPeer.java
5666         (buildString): Optimise String building.
5668 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5670         * java/awt/TextArea.java (AccessibleAWTTextArea,
5671         getAccessibleContext): Implement.
5672         * java/awt/TextField.java (AccessibleAWTTextField,
5673         getAccessibleContext): Implement.
5675 2004-11-30  Tom Tromey  <tromey@redhat.com>
5677         * Makefile.in: Rebuilt.
5678         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
5679         Fixed typo.
5681 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5683         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
5684         Implement.
5685         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
5686         Implement.
5688 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5690         * java/awt/print/PrinterJob.java (lookupPrintServices,
5691         getPrintService, setPrintService): Implement.
5692         (lookupStreamPrintServices): Add commented out implementation.
5693         (printer): New field.
5695 2004-11-30  Mark Wielaard  <mark@klomp.org>
5697         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
5698         when not yet set.
5700 2004-11-30  Sven de Marothy  <sven@physto.se>
5702         * java/awt/geom/GeneralPath.java (evaluateCrossings):
5703         Fixed epsilon value, should always be nonzero.
5705 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
5707         * java/awt/image/Raster.java
5708         (createPackedRaster): Implemented.
5710 2004-11-30  Graydon Hoare  <graydon@redhat.com>
5712         * javax/swing/plaf/basic/BasicTextUI.java:
5713         Listen to focus events, indicate focus via caret.
5714         * javax/swing/text/GapContent.java (getString): Return substring.
5715         * javax/swing/text/PlainDocument.java (reindex): New method.
5716         (createDefaultRoot): Call it.
5717         (insertUpdate): Likewise.
5718         (removeUpdate): Likewise.
5719         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
5720         on tab and newline, even if no painting happens.
5722 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5724         * Makefile.am: List peer JNI header: Java source file
5725         dependencies explicitly.  Likewise for JNI .lo: JNI header
5726         dependencies.
5727         * Makefile.in: Regenerate.
5729 2004-11-30  Graydon Hoare  <graydon@redhat.com>
5731         * Makefile.am: Add entry for BasicTextPaneUI.java
5732         * Makefile.in: Regenerate.
5733         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5734         (GdkGraphics2D): Set clip after transform.
5735         (drawImage): Protect against null image.
5736         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5737         (setIconImage): Protect against non-GtkImage args.
5738         * gnu/java/awt/peer/gtk/GtkToolkit.java
5739         (checkImage): Protect against non-GtkImage args.
5740         * java/awt/print/PrinterJob.java:
5741         (print): Add variant taking PrintRequestAttributeSet.
5742         (printDialog): Likewise.
5743         * javax/swing/JComponent.java:
5744         (transferHandler): New field.
5745         (getComponentGraphics): Build new Graphics for each sub-paint.
5746         (getTransferHandler): New method.
5747         (setTransferHandler): New method.
5748         * javax/swing/JDesktopPane.java
5749         (setDragMode): Force LIVE_DRAG_MODE.
5750         * javax/swing/JMenuItem.java
5751         (menuSelectionChanged): Protect against null parent.
5752         * javax/swing/JTable.java (setDefaultRenderer): New method.
5753         * javax/swing/JTree.java: Get basic ctors and UI working.
5754         * javax/swing/JViewport.java (JViewport): Set scroll mode.
5755         * javax/swing/RepaintManager.java
5756         (addDirtyRegion): Skip empty regions.
5757         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
5758         bound scrollpane minimum by central view minimum.
5759         * javax/swing/ToolTipManager.java
5760         (showTip): Guard against null component.
5761         * javax/swing/TransferHandler.java: Stub out.
5762         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5763         Add entry for TextPaneUI, change Tree icons to pngs.
5764         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5765         (installDefaults): Set text position and alignment.
5766         (paintMenuItem): Layout icon with normal compound function.
5767         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
5768         (getMaximumSize): Delete.
5769         (getMinimumSize): Delete.
5770         (getPreferredSize): Use column model's total width.
5771         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
5772         * javax/swing/plaf/basic/BasicTextUI.java
5773         (modelChanged): Make resilient against nulls.
5774         * javax/swing/plaf/basic/BasicTreeUI.java:
5775         Add some simplistic config / painting functions.
5776         * javax/swing/plaf/basic/BasicViewportUI.java
5777         (paintSimple): Add new non-backingstore paint mode.
5778         (paintBackingStore): Split out backing store code.
5779         (paint): Switch on painting mode.
5780         * javax/swing/text/SimpleAttributeSet.java
5781         (SimpleAttributeSet): Resist nulls.
5782         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
5783         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
5785 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
5788         Set pango context's description and language.
5790 2004-11-30  Mark Wielaard  <mark@klomp.org>
5792         * java/awt/image/LookupOp.java: Comments and indentation fixes.
5794 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5796         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
5797         (getAccessibleContext): Implement.
5799 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5801         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
5802         Implement.
5803         (getIndexAtPoint, getCharacterBounds): New methods.
5805 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5807         * java/awt/Button.java (AccessibleAWTButton): Implement.
5809 2004-11-30  Mark Wielaard  <mark@klomp.org>
5811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5812         (filenameFilterCallback): Made static.
5814 2004-11-30  Michael Koch  <konqueror@gmx.de>
5816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5817         (cairoShowGlyphs) Removed.
5819 2004-11-30  Sven de Marothy <sven@physto.se>
5821         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
5822         Don't invert matrix when reverse CLUT is available.
5823         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
5824         * java/awt/color/ICC_ColorSpace.java: Likewise.
5825         * java/awt/color/ICC_Profile.java: Likewise.
5826         * java/awt/color/ICC_ProfileGray.java: Likewise.
5827         * java/awt/color/ICC_ProfileRGB.java: Likewise.
5829 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5831         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
5833 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5835         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
5837 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5839         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
5840         field hiding ComponentSampleModel.scanlineStride.
5842 2004-11-30  Noa Resare  <noa@resare.com>
5844         * java/awt/geom/GeneralPath.java (currentSegment):
5845         Fix typo in transform.transform() invocation.
5847 2004-11-30  Sven de Marothy <sven@physto.se>
5849         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5850         (createImage): Created bitmap should be filled with bg color
5852 2004-11-30  Noa Resare  <noa@resare.com>
5854         * java/awt/Choice.java (add):
5855         Implement correct selection behavior when peer == null.
5856         (insert): Likewise.
5857         (remove): Likewise.
5859 2004-11-30  Mark Wielaard  <mark@klomp.org>
5861         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
5862         Call select() when Choice has a selected item.
5864 2004-11-30  Michael Koch  <address@bogus.example.com>
5866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
5867         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5868         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
5869         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
5870         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5871         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
5872         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
5873         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
5874         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
5875         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5876         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
5877         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5878         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
5879         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5880         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5881         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5882         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5884         Fixed method names to start at begin of line. This is desired by GNU
5885         coding style guide.
5887 2004-11-30  Michael Koch  <konqueror@gmx.de>
5889         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5890         (gtkWidgetSetVisible): Unused. Removed.
5891         (connectJObject): Likewise.
5892         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5893         (gtkScrolledWindowSetScrollPosition): Commented out.
5895 2004-11-30  Mark Wielaard  <mark@klomp.org>
5897         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5898         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
5899         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
5901 2004-11-30  Mark Wielaard  <mark@klomp.org>
5903         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5904         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
5905         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5906         (init_dpi_conversion_factor): Correct prototype.
5908 2004-11-30  Sven de Marothy  <sven@physto.se>
5910         * java/awt/image/ConvolveOp.java: Added missing
5911         copyright notice.
5913 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
5915         Fixes bug #10908
5916         * gnu/java/beans/IntrospectionIncubator.java:
5917         (addMethod): static methods are discarded now, too.
5919 2004-11-30  Mark Wielaard  <mark@klomp.org>
5921         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
5922         java source files.
5923         * Makefile.in: Regenerated.
5925 2004-11-30  Sven de Marothy  <sven@physto.se>
5927         * gnu/java/awt/color/CieXyzConverter.java,
5928         gnu/java/awt/color/GrayScaleConverter.java,
5929         gnu/java/awt/color/SrgbConverter.java,
5930         gnu/java/awt/color/ClutProfileConverter.java,
5931         gnu/java/awt/color/LinearRGBConverter.java,
5932         gnu/java/awt/color/TagEntry.java,
5933         gnu/java/awt/color/ColorLookUpTable.java,
5934         gnu/java/awt/color/ProfileHeader.java,
5935         gnu/java/awt/color/ToneReproductionCurve.java,
5936         gnu/java/awt/color/ColorSpaceConverter.java,
5937         gnu/java/awt/color/PyccConverter.java,
5938         gnu/java/awt/color/GrayProfileConverter.java,
5939         gnu/java/awt/color/RgbProfileConverter.java:
5940         New files.
5941         * java/awt/color/ICC_ColorSpace.java,
5942         java/awt/color/ICC_Profile.java,
5943         java/awt/color/ICC_ProfileGray.java,
5944         java/awt/color/ICC_ProfileRGB.java:
5945         Implemented (sans PhotoYCC color space).
5947 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5949         * java/awt/image/AffineTransformOp.java (filter):  Implement
5950         bilinear interpolation for Rasters.
5952 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5954         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
5955         use the provided colormap.  Throw documented exceptions.  Document
5956         exceptions.
5958 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
5960         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
5961         constructor.
5963 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5965         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
5967 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5969         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
5970         filtering.
5972 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5974         * java/awt/image/ComponentSampleModel.java (getDataElements,
5975         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
5977 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
5979         * java/awt/Font.java (name): New field.
5980         (size): Likewise.
5981         (style): Likewise.
5983 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5985         * java/awt/image/Raster.java (createBandedRaster): Implement.
5987 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5989         * java/awt/image/ConvolveOp.java: New class.
5990         * Makefile.am: Add ConvolveOp.
5991         * Makefile.in: Regenerate.
5993 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
5995         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
5996         LookupOp, RescaleOp): Fix loop bounds.
5998 2004-11-30  jlquinn  <jlquinn@optonline.net>
6000         * Makefile.am: Fix typo in BandCombineOp.
6001         * Makefile.in: Regenerate.
6003 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6005         * java/awt/image/BandCombineOp.java: New class.
6006         * Makefile.am: Add BandCombineOp.
6007         * Makefile.in: Regenerate.
6009 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6011         * java/awt/image/LookupOp.java: New class.
6012         * Makefile.am: Add LookupOp.
6013         * Makefile.in: Regenerate.
6015 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6017         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
6018         javadocs.
6020 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6022         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
6023         wrap.  Use Boolean.valueOf.
6025 2004-11-30  Michael Koch  <konqueror@gmx.de>
6027         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6028         (releasePeerGraphicsResource): Fixed typo in method name.
6029         * gnu/java/awt/peer/gtk/GdkFontPeer.java
6030         (finalize): Fixed typo in releasePeerGraphicsResource.
6032 2004-11-30  Michael Koch  <konqueror@gmx.de>
6034         * java/awt/font/TextAttribute.java
6035         (RUN_DIRECTION_LTR): Initialie with static value instead of
6036         calculating it.
6037         (RUN_DIRECTION_RTL): Likewise.
6038         (STRIKETHROUGH_ON): Likewise.
6039         (SWAP_COLORS_ON): Likewise.
6041 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6043         * java/awt/image/ColorConvertOp.java: New class.
6044         * java/awt/image/ColorModel.java (cloneColorModel): New method.
6045         * Makefile.am: Add ColorConvertOp.
6046         * Makefile.in: Regenerate.
6048 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6050         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6051         Track Window focus owner on FOCUS_GAINED events.
6053 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6056         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6058 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
6060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
6061         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
6062         Fix pointer warning.
6064 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
6066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6067         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
6068         Fix pointer warning.
6070         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
6071         warnings.
6072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6073         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
6074         to fix type punned pointer warning.
6075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
6076         Likewise.
6078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6079         (window_get_new_state): Introduce unions to fix warnings as above.
6080         (window_property_changed_cb): Likewise.
6081         (window_active_state_change_cb): Mark unused variables unused.
6082         (window_focus_state_change_cb): Likewise.
6083         (window_focus_in_cb): Likewise.
6084         (window_focus_out_cb): Likewise.
6086         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6087         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
6088         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
6090 2004-11-30  Michael Koch  <konqueror@gmx.de>
6092         * javax/swing/JMenuBar.java
6093         (updateUI): Simplified.
6094         * javax/swing/tree/DefaultTreeSelectionModel.java:
6095         Reorganized import statements.
6097 2004-11-30  Michael Koch  <konqueror@gmx.de>
6099         * java/awt/font/TextAttribute.java,
6100         javax/swing/JComponent.java,
6101         javax/swing/JInternalFrame.java,
6102         javax/swing/table/TableColumn.java,
6103         javax/swing/text/StyleConstants.java:
6104         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
6106 2004-11-30  Michael Koch  <konqueror@gmx.de>
6108         * javax/swing/tree/DefaultTreeCellEditor.java,
6109         javax/swing/tree/DefaultTreeModel.java,
6110         javax/swing/tree/DefaultTreeSelectionModel.java:
6111         Jalopied.
6113 2004-11-30  Michael Koch  <konqueror@gmx.de>
6115         * javax/swing/tree/DefaultTreeCellEditor.java
6116         (EditorContainer.EditorContainer): Fixed arguments.
6117         (EditorContainer.EditorContainer): New method.
6118         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
6119         (DefaultTextField.getBorder): Implemented.
6120         (listenerList): New field.
6121         (addCellEditorListener): Implemented.
6122         (removeCellEditorListener): Implemented.
6123         (getCellEditorListeners): New method.
6124         * javax/swing/tree/DefaultTreeModel.java
6125         (addTreeModelListener): Fixed javadoc.
6126         (removeTreeModelListener): Likewise.
6127         (getTreeModelListeners): New method.
6128         (fireTreeNodesChanged): Implemented.
6129         (fireTreeNodesInserted): Likewise.
6130         (fireTreeNodesRemoved): Likewise.
6131         (fireTreeStructureChanged): Likewise.
6132         (getListeners): Fixed javadoc.
6133         * javax/swing/tree/DefaultTreeSelectionModel.java
6134         (addTreeSelectionListener): Implemented.
6135         (removeTreeSelectionListener): Likewise.
6136         (fireValueChanged): Likewise.
6137         (getListeners): Likewise.
6138         (addPropertyChangeListener): Likewise.
6139         (removePropertyChangeListener): Likewise.
6140         (getTreeSelectionListeners): New method.
6141         (getPropertyChangeListeners): Likewise.
6143 2004-11-30  Michael Koch  <konqueror@gmx.de>
6145         * javax/swing/plaf/basic/BasicScrollBarUI.java
6146         (maximumThumbSize): Removed static keyword.
6147         (minimumThumbSize): Likewise.
6148         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6149         (CloseAction): Made public.
6150         (IconifyAction): Likewise.
6151         (MaximizeAction): Likewise.
6152         (MoveAction): Likewise.
6153         (RestoreAction): Likewise.
6154         (SizeAction): Likewise.
6155         (SystemMenuBar): Likewise.
6156         * javax/swing/plaf/basic/BasicSliderUI.java
6157         (TrackListener): Likewise.
6158         * javax/swing/plaf/basic/BasicSplitPaneUI.java
6159         (KeyboardDownRightHandler): Likewise.
6160         (KeyboardEndHandler): Likewise.
6161         (KeyboardHomeHandler): Likewise.
6162         (KeyboardResizeToggleHandler): Likewise.
6163         (KeyboardUpLeftHandler): Likewise.
6164         (PropertyHandler): Likewise.
6165         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6166         (PropertyChangeHandler): Likewise.
6167         (TabSelectionHandler): Likewise.
6169 2004-11-30  Michael Koch  <konqueror@gmx.de>
6171         * javax/swing/text/JTextComponent.java
6172         (getKeymap): Made public.
6174 2004-11-30  Michael Koch  <konqueror@gmx.de>
6176         * javax/swing/JEditorPane.java
6177         (getStream): Throws IOException.
6178         (read): Likewise.
6179         * javax/swing/JRootPane.java
6180         (createContentPane): Fixed return type.
6181         * javax/swing/JSpinner.java
6182         (commitEdit): Throws ParseException.
6183         * javax/swing/plaf/metal/MetalLookAndFeel.java
6184         (serialVersionUID): New field.
6185         * javax/swing/table/TableColumn.java
6186         (resizedPostingDisableCount): Added @deprecated tag.
6187         (disableResizedPosting): Likewise.
6188         (enableResizedPosting): Likewise.
6189         * javax/swing/text/Document.java
6190         (TitleProperty): Fixed value.
6191         * javax/swing/tree/TreeCellEditor.java
6192         (TreeCellEditor): Extends CellEditor.
6194 2004-11-30  Michael Koch  <konqueror@gmx.de>
6196         * javax/swing/JWindow.java
6197         javax/swing/SpinnerModel.java
6198         javax/swing/Timer.java
6199         javax/swing/event/MenuKeyEvent.java
6200         javax/swing/plaf/basic/BasicButtonUI.java
6201         javax/swing/plaf/basic/BasicIconFactory.java
6202         javax/swing/plaf/basic/BasicTabbedPaneUI.java
6203         javax/swing/text/AttributeSet.java
6204         javax/swing/text/Highlighter.java
6205         javax/swing/text/StyleConstants.java
6206         javax/swing/tree/TreeCellEditor.java:
6207         Removed redundant and reordered modifiers.
6209 2004-11-30  Michael Koch  <konqueror@gmx.de>
6211         * javax/swing/plaf/basic/BasicToolTipUI.java:
6212         Reformatted copyright header.
6214 2004-11-30  Michael Koch  <konqueror@gmx.de>
6216         * javax/swing/AbstractAction.java,
6217         javax/swing/AbstractButton.java,
6218         javax/swing/AbstractCellEditor.java,
6219         javax/swing/AbstractListModel.java,
6220         javax/swing/AbstractSpinnerModel.java,
6221         javax/swing/ActionMap.java,
6222         javax/swing/BorderFactory.java,
6223         javax/swing/Box.java,
6224         javax/swing/ButtonModel.java,
6225         javax/swing/CellEditor.java,
6226         javax/swing/CellRendererPane.java,
6227         javax/swing/DefaultBoundedRangeModel.java,
6228         javax/swing/DefaultButtonModel.java,
6229         javax/swing/DefaultCellEditor.java,
6230         javax/swing/DefaultDesktopManager.java,
6231         javax/swing/DefaultListCellRenderer.java,
6232         javax/swing/DefaultListSelectionModel.java,
6233         javax/swing/DefaultSingleSelectionModel.java,
6234         javax/swing/GrayFilter.java,
6235         javax/swing/InputMap.java,
6236         javax/swing/JApplet.java,
6237         javax/swing/JCheckBoxMenuItem.java,
6238         javax/swing/JColorChooser.java,
6239         javax/swing/JComboBox.java,
6240         javax/swing/JComponent.java,
6241         javax/swing/JDesktopPane.java,
6242         javax/swing/JDialog.java,
6243         javax/swing/JEditorPane.java,
6244         javax/swing/JFileChooser.java,
6245         javax/swing/JFormattedTextField.java,
6246         javax/swing/JFrame.java,
6247         javax/swing/JInternalFrame.java,
6248         javax/swing/JLabel.java,
6249         javax/swing/JLayeredPane.java,
6250         javax/swing/JList.java,
6251         javax/swing/JMenu.java,
6252         javax/swing/JMenuBar.java,
6253         javax/swing/JMenuItem.java,
6254         javax/swing/JOptionPane.java,
6255         javax/swing/JPanel.java,
6256         javax/swing/JPasswordField.java,
6257         javax/swing/JPopupMenu.java,
6258         javax/swing/JRadioButtonMenuItem.java,
6259         javax/swing/JRootPane.java,
6260         javax/swing/JSpinner.java,
6261         javax/swing/JSplitPane.java,
6262         javax/swing/JTabbedPane.java,
6263         javax/swing/JTable.java,
6264         javax/swing/JTextArea.java,
6265         javax/swing/JTextPane.java,
6266         javax/swing/JToggleButton.java,
6267         javax/swing/JToolBar.java,
6268         javax/swing/JToolTip.java,
6269         javax/swing/JTree.java,
6270         javax/swing/JViewport.java,
6271         javax/swing/ListModel.java,
6272         javax/swing/LookAndFeel.java,
6273         javax/swing/MenuSelectionManager.java,
6274         javax/swing/ProgressMonitorInputStream.java,
6275         javax/swing/RepaintManager.java,
6276         javax/swing/RootPaneContainer.java,
6277         javax/swing/ScrollPaneLayout.java,
6278         javax/swing/SpringLayout.java,
6279         javax/swing/SwingUtilities.java,
6280         javax/swing/Timer.java,
6281         javax/swing/ToolTipManager.java,
6282         javax/swing/UIDefaults.java,
6283         javax/swing/UIManager.java,
6284         javax/swing/border/MatteBorder.java,
6285         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6286         javax/swing/colorchooser/ColorSelectionModel.java,
6287         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6288         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
6289         javax/swing/colorchooser/DefaultPreviewPanel.java,
6290         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
6291         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
6292         javax/swing/event/AncestorEvent.java,
6293         javax/swing/event/HyperlinkEvent.java,
6294         javax/swing/event/InternalFrameEvent.java,
6295         javax/swing/event/MenuDragMouseEvent.java,
6296         javax/swing/event/TableColumnModelEvent.java,
6297         javax/swing/event/TableModelEvent.java,
6298         javax/swing/event/TreeExpansionEvent.java,
6299         javax/swing/event/TreeModelEvent.java,
6300         javax/swing/event/TreeSelectionEvent.java,
6301         javax/swing/event/TreeWillExpandListener.java,
6302         javax/swing/event/UndoableEditEvent.java,
6303         javax/swing/filechooser/FileView.java,
6304         javax/swing/plaf/BorderUIResource.java,
6305         javax/swing/plaf/ComponentUI.java,
6306         javax/swing/plaf/FileChooserUI.java,
6307         javax/swing/plaf/IconUIResource.java,
6308         javax/swing/plaf/ListUI.java,
6309         javax/swing/plaf/PopupMenuUI.java,
6310         javax/swing/plaf/SplitPaneUI.java,
6311         javax/swing/plaf/TabbedPaneUI.java,
6312         javax/swing/plaf/TextUI.java,
6313         javax/swing/plaf/TreeUI.java,
6314         javax/swing/plaf/basic/BasicArrowButton.java,
6315         javax/swing/plaf/basic/BasicBorders.java,
6316         javax/swing/plaf/basic/BasicButtonUI.java,
6317         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6318         javax/swing/plaf/basic/BasicColorChooserUI.java,
6319         javax/swing/plaf/basic/BasicComboBoxEditor.java,
6320         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
6321         javax/swing/plaf/basic/BasicComboBoxUI.java,
6322         javax/swing/plaf/basic/BasicComboPopup.java,
6323         javax/swing/plaf/basic/BasicDesktopIconUI.java,
6324         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
6325         javax/swing/plaf/basic/BasicIconFactory.java,
6326         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
6327         javax/swing/plaf/basic/BasicInternalFrameUI.java,
6328         javax/swing/plaf/basic/BasicListUI.java,
6329         javax/swing/plaf/basic/BasicLookAndFeel.java,
6330         javax/swing/plaf/basic/BasicMenuBarUI.java,
6331         javax/swing/plaf/basic/BasicMenuItemUI.java,
6332         javax/swing/plaf/basic/BasicMenuUI.java,
6333         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6334         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
6335         javax/swing/plaf/basic/BasicPopupMenuUI.java,
6336         javax/swing/plaf/basic/BasicProgressBarUI.java,
6337         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6338         javax/swing/plaf/basic/BasicRootPaneUI.java,
6339         javax/swing/plaf/basic/BasicScrollBarUI.java,
6340         javax/swing/plaf/basic/BasicSeparatorUI.java,
6341         javax/swing/plaf/basic/BasicSliderUI.java,
6342         javax/swing/plaf/basic/BasicSpinnerUI.java,
6343         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6344         javax/swing/plaf/basic/BasicSplitPaneUI.java,
6345         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6346         javax/swing/plaf/basic/BasicTableHeaderUI.java,
6347         javax/swing/plaf/basic/BasicTableUI.java,
6348         javax/swing/plaf/basic/BasicTextAreaUI.java,
6349         javax/swing/plaf/basic/BasicTextFieldUI.java,
6350         javax/swing/plaf/basic/BasicTextUI.java,
6351         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
6352         javax/swing/plaf/basic/BasicToolBarUI.java,
6353         javax/swing/plaf/basic/BasicToolTipUI.java,
6354         javax/swing/plaf/basic/BasicTreeUI.java,
6355         javax/swing/plaf/basic/BasicViewportUI.java,
6356         javax/swing/plaf/basic/ComboPopup.java,
6357         javax/swing/table/AbstractTableModel.java,
6358         javax/swing/table/DefaultTableCellRenderer.java,
6359         javax/swing/table/DefaultTableColumnModel.java,
6360         javax/swing/table/DefaultTableModel.java,
6361         javax/swing/table/JTableHeader.java,
6362         javax/swing/table/TableCellEditor.java,
6363         javax/swing/table/TableCellRenderer.java,
6364         javax/swing/table/TableColumn.java,
6365         javax/swing/table/TableColumnModel.java,
6366         javax/swing/text/AbstractDocument.java,
6367         javax/swing/text/Caret.java,
6368         javax/swing/text/DefaultCaret.java,
6369         javax/swing/text/DefaultEditorKit.java,
6370         javax/swing/text/DefaultHighlighter.java,
6371         javax/swing/text/EditorKit.java,
6372         javax/swing/text/JTextComponent.java,
6373         javax/swing/text/LayeredHighlighter.java,
6374         javax/swing/text/PasswordView.java,
6375         javax/swing/text/SimpleAttributeSet.java,
6376         javax/swing/text/StyleConstants.java,
6377         javax/swing/text/StyleContext.java,
6378         javax/swing/text/StyledEditorKit.java,
6379         javax/swing/text/TextAction.java,
6380         javax/swing/text/View.java,
6381         javax/swing/tree/AbstractLayoutCache.java,
6382         javax/swing/tree/DefaultTreeCellRenderer.java,
6383         javax/swing/tree/DefaultTreeModel.java,
6384         javax/swing/tree/DefaultTreeSelectionModel.java,
6385         javax/swing/tree/FixedHeightLayoutCache.java,
6386         javax/swing/tree/TreeCellRenderer.java,
6387         javax/swing/tree/TreeSelectionModel.java,
6388         javax/swing/tree/VariableHeightLayoutCache.java,
6389         javax/swing/undo/AbstractUndoableEdit.java,
6390         javax/swing/undo/UndoableEditSupport.java:
6391         Imports cleaned up.
6393 2004-11-30  Michael Koch  <konqueror@gmx.de>
6395         * java/awt/Container.java,
6396         java/awt/Font.java,
6397         java/awt/font/TextLayout.java:
6398         Imports cleaned up.
6400 2004-11-30  Michael Koch  <konqueror@gmx.de>
6402         * javax/swing/AbstractButton.java
6403         (getLabel): Added @deprecated tag.
6404         (setLabel): Likewise.
6405         * javax/swing/FocusManager.java
6406         (disableSwingFocusManager): Likewise.
6407         (isFocusManagerEnabled): Likewise.
6408         * javax/swing/JComponent.java
6409         (isManagingFocus): Added version to @deprecated tag.
6410         (getNextFocusableComponent): Moved @deprecated tag to bottom of
6411         javadoc.
6412         (getConditionForKeyStroke): Likewise.
6413         (getActionForKeyStroke): Likewise.
6414         * javax/swing/JDesktopPane.java
6415         (LIVE_DRAG_MODE): Added @specnote tag.
6416         (OUTLINE_DRAG_MODE): Likewise.
6417         * javax/swing/JInternalFrame.java
6418         (MENU_BAR_PROPERTY): Fixed value.
6419         (getMenuBar): Added @deprecated tag.
6420         (setMenuBar): Likewise.
6421         * javax/swing/JViewport.java
6422         (isBackingStoreEnabled): Likewise.
6423         (setBackingStoreEnabled): Likewise.
6424         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
6425         (closeKey): Likewise.
6426         (maximizeKey): Likewise.
6427         (minimizeKey): Likewise.
6428         (navigateKey): Likewise.
6429         (navigateKey2): Likewise.
6430         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6431         (openMenuKey): Likewise.
6432         * javax/swing/plaf/basic/BasicSplitPaneUI.java
6433         (keyboardDownRightListener): Likewise.
6434         (keyboardEndListener): Likewise.
6435         (keyboardHomeListener): Likewise.
6436         (keyboardResizeToggleListener): Likewise.
6437         (keyboardUpLeftListener): Likewise.
6438         (dividerResizeToggleKey): Likewise.
6439         (downKey): Likewise.
6440         (endKey): Likewise.
6441         (homeKey): Likewise.
6442         (leftKey): Likewise.
6443         (rightKey): Likewise.
6444         (upKey): Likewise.
6445         (createKeyboardUpLeftListener): Likewise.
6446         (createKeyboardDownRightListener): Likewise.
6447         (createKeyboardHomeListener): Likewise.
6448         (createKeyboardEndListener): Likewise.
6449         (createKeyboardResizeToggleListener): Likewise.
6450         (getDividerBorderSize): Likewise.
6451         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6452         (downKey): Likewise.
6453         (leftKey): Likewise.
6454         (rightKey): Likewise.
6455         (upKey): Likewise.
6457 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
6459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6460         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
6461         GTK_TEXT_VIEW macro.
6463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6464         (connect_awt_hook_cb): Mark unused variable unused.
6466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
6467         Do the cast right.
6469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6470         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
6471         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
6472         Remove unused var menu.
6473         (selection_changed): Remove unused value.
6475         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6476         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
6477         warning with using an intermediate variable.
6479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6480         (area_updated): Fix unused var warning for BE archs.
6482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6483         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
6484         var.
6485         (realize_cb): Mark unused variable unused.
6487         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6488         (seek_glyphstring_idx): Fix a C90 warning.
6490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
6491         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
6492         Mark unused arguments unused.
6494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6495         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
6496         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
6497         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
6498         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
6499         Likewise.
6501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6502         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
6503         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
6504         Likewise.
6506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6507         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
6508         Likewise.
6509         (filenameFilterCallback): Remove unused var.
6510         (handle_response): Declare str_fileName and remove last else statement.
6512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
6513         New File.
6514         (nativeGetNumFontsFamilies) New function.
6515         (nativeGetFontFamilies) Likewise.
6516         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6517         (getAvailableFontFamilyNames): Implement.
6518         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
6519         * Makefile.in: Regenerate.
6521 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6523         * gnu/java/awt/peer/ClasspathFontPeer.java
6524         (setStandardAttributes(String,Map)): If size attribute doesn't
6525         exist, default to size 12.  Clamp size value to a minimum of 1.
6527 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
6529         * javax/swing/JDialog.java
6530         (decorated): Likewise.
6531         * javax/swing/JFrame.java
6532         (defaultLookAndFeelDecorated): Likewise.
6534 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
6536         * javax/swing/plaf/basic/BasicToolBarUI.java
6537         (offset, regular): Made final.
6538         * javax/swing/plaf/basic/BasicScrollBarUI.java
6539         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
6540         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
6542 2004-11-30  Michael Koch  <konqueror@gmx.de>
6544         * gnu/java/awt/BitwiseXORComposite.java,
6545         gnu/java/awt/ClasspathToolkit.java,
6546         gnu/java/awt/image/XBMDecoder.java,
6547         gnu/java/awt/peer/GLightweightPeer.java,
6548         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
6549         Reorganized import statements.
6551 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
6553         * java/awt/Button.java
6554         (next_button_number): Removed useless initializer.
6555         * java/awt/Frame.java
6556         (next_frame_number): Likewise.
6557         * java/awt/Panel.java
6558         (next_panel_number): Likewise,
6559         * java/awt/Scrollbar.java
6560         (next_scrollbar_number): Likewise.
6561         * java/awt/TextArea.java
6562         (next_text_number): Likewise.
6564 2004-11-30  Michael Koch  <konqueror@gmx.de>
6566         * java/awt/image/ByteLookupTable.java
6567         (ByteLookupTable) :Fixed HTML entities in javadocs.
6568         (lookupPixel): Fix case when dst is null.
6569         * java/awt/image/ShortLookupTable.java
6570         (ShortLookupTable) :Fixed HTML entities in javadocs.
6571         (lookupPixel): Fix case when dst is null.
6572         * java/awt/image/DataBufferByte.java,
6573         java/awt/image/DataBufferDouble.java,
6574         java/awt/image/DataBufferFloat.java,
6575         java/awt/image/DataBufferInt.java,
6576         java/awt/image/DataBufferShort.java,
6577         java/awt/image/DataBufferUShort.java:
6578         Fix initialization of bankData in constructors.
6580 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6582         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6583         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6584         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
6585         requests.
6586         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6587         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6588         (setNativeBounds): Make package private.  Set size request even
6589         if GTK parent is NULL.
6590         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6591         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6592         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
6594 2004-11-30  Mark Wielaard  <mark@klomp.org>
6596         Workaround for bug #17952.
6597         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6598         (request_frame_extents): Check window->window != NULL.
6600 2004-11-30  Mark Wielaard  <mark@klomp.org>
6602         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
6604 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
6606         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
6607         native_text_layout_state_table here.
6609         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
6611 2004-11-30  Mark Wielaard  <mark@klomp.org>
6613         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6614         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
6615         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
6617 2004-11-30  Michael Koch  <konqueror@gmx.de>
6619         * gnu/java/awt/peer/gtk/GtkToolkit.java:
6620         Merged import statements.
6622 2004-11-30  Michael Koch  <konqueror@gmx.de>
6624         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6625         (isBufferedImageGraphics): Simplified.
6627 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
6629         * javax/swing/JTree.java
6630         (isRootVisible): Fixed typo in method name.
6631         * javax/swing/JScrollBar.java
6632         (setValues): Likewise.
6633         * javax/swing/JScrollPane.java
6634         (createScrollListener): Call JScrollBar.setValues.
6636 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6638         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
6639         Don't call setParentAndBounds on GtkWindowPeers.
6641         * java/awt/Component.java (static): Don't set default keyboard
6642         focus manager.
6643         * java/awt/KeyboardFocusManager.java
6644         (getCurrentKeyboardFocusManager): If current keyboard focus
6645         manager is null set a default.
6647         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6648         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6649         (gtkWidgetSetBackground): New method.
6650         (block_expose_events_cb): New function.
6651         (connectSignals): Block the AWT's expose event processing on
6652         button press and release.
6653         (gtkSetLabel): Set text on proper widget.
6654         (gtkWidgetModifyFont): Modify font on proper widget.
6655         (gtkWidgetSetBackground): Set normal, active and prelight
6656         colours.
6657         (gtkWidgetSetForeground): Set forground colour of proper widget.
6658         (gtkActivate): Activate the correct widget.
6659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6660         Only clear rectangle if the backing component is not an event
6661         box.
6662         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6663         (beginNativeRepaintID): New variable.
6664         (endNativeRepaintID): Likewise.
6665         (gtkInit): Initialize new fields with method IDs.
6666         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
6667         (endNativeRepaintID): Likewise.
6669 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6671         * javax/swing/JList.java (init): Revert accidental commit.
6673         * gnu/java/awt/peer/gtk/GdkGraphics.java,
6674         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
6675         Call initComponentGraphics or connectSignals depending on
6676         component's realization status.
6677         (realize_cb): New function.
6678         (initComponentGraphics): New method.
6679         (connectSignals): New method.
6680         (clipRect): Return immediately if component is not realized.
6681         (setClip): Likewise.
6682         (translate): Likewise.
6683         (drawImage variants): Return false immediately if component is
6684         not realized.
6685         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6686         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6687         (connectSignals): New method.
6688         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
6689         depending on component's realization status.  Move other
6690         initialization calls to ...
6691         (initComponentGraphics2D): New method.
6692         (realize_cb): New function.
6693         (cairoSetMatrix): Return immediately if gr is NULL.
6694         (cairoNewPath): Likewise.
6695         (cairoRectangle): Likewise.
6696         (cairoClip): Likewise.
6697         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6698         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6699         (gtkWidgetRepaintArea): Remove method.
6700         (isRealized): New method.
6701         (GtkComponentPeer): Move setParent, connectJObject and setCursor
6702         calls to setParentAndBounds.  Call setParentAndBounds.
6703         (setParentAndBounds): New method.
6704         (setComponentBounds): Return immediately if bounds are all zero.
6705         (repaint): Remove call to gtkWidgetRepaintArea.  Return
6706         immediately if requested paint region is 0x0.
6707         (setCursor): New method.
6708         (gtkWidgetSetParent): Only set widget's parent if its parent is
6709         currently NULL.
6710         (setNativeBounds): Only set widget's bounds if it has a parent.
6711         (connectSignals): Don't call gtk_widget_realize.  Connect
6712         "realize" signal to connect_awt_hook_cb handler.
6713         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
6714         New field.
6715         (beginValidate): Set isValidating true.
6716         (endValidate): Set parents and bounds for children first, then
6717         for this.  Set isValidating false.
6718         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6719         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6720         (connectJObject): Remove method.
6721         (connectSignals): Don't call gtk_widget_realize.
6722         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6723         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6724         (connectJObject): Remove method.
6725         (connectSignals): Don't call gtk_widget_realize.
6726         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6727         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
6728         (connectJObject): Remove method.
6729         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6730         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6731         (connectJObject): Remove method.
6732         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6733         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6734         (create): Don't call gtk_widget_realize.
6735         (connectJObject): Remove method.
6736         (connectSignals): Don't call gtk_widget_realize.  Connect
6737         "realize" signal to connect_awt_hook_cb handler.
6738         (nativeSetBounds): Don't attempt to move GDK window if it is
6739         NULL.
6740         * java/awt/Container.java (addImpl): Don't call comp.addNotify
6741         if peer is not null.
6742         (validateTree): Create peers for all children before calling
6743         doLayout.
6744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6745         (connectSignals): Don't call gtk_widget_realize.
6746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6747         (connect_awt_hook_cb): New function.
6748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6749         (initComponentGraphicsID): New variable.
6750         (initComponentGraphics2DID): Likewise.
6751         (setCursorID): Likewise.
6752         (gtkInit): Initialize new fields with method IDs.
6753         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
6754         extern.
6755         (initComponentGraphics2DID): Declare extern.
6756         (setCursorID): Likewise.
6757         (connect_awt_hook_cb): Declare function.
6759 2004-11-30  Michael Koch  <konqueror@gmx.de>
6761         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
6762         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6763         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6764         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6765         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6766         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6767         gnu/java/awt/peer/gtk/GtkClipboard.java,
6768         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6769         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6770         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6771         gnu/java/awt/peer/gtk/GtkListPeer.java,
6772         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6773         gnu/java/awt/peer/gtk/GtkToolkit.java,
6774         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6775         Import statements reworked.  Some little reformattings.
6777 2004-11-30  Michael Koch  <konqueror@gmx.de>
6779         * java/awt/image/AffineTransformOp.java
6780         (TYPE_BILINEAR): Initialize with 2.
6781         * java/awt/print/Printable.java: Jalopied.
6782         (PAGE_EXISTS): Initialize with 0;
6783         (NO_SUCH_PAGE): Initialized with 1.
6785 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6787         * Makefile.am: Add BufferedImageFilter.java.
6788         * Makefile.in: Regenerate.
6790 2004-11-30  Graydon Hoare  <graydon@redhat.com>
6792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6793         (install_font_peer): Minor bug fixes to track cairo font semantics.
6795 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6797         * java/awt/image/BufferedImageFilter.java: Implement.
6799 2004-11-30  Graydon Hoare  <graydon@redhat.com>
6801         * Makefile.am
6802         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
6803         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
6804         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
6805         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
6806         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
6807         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
6808         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
6809         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
6810         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
6811         * Makefile.in: Regenerate.
6812         * gnu/awt/xlib/XToolkit.java
6813         (getClasspathTextLayoutPeer): Add stub.
6814         * gnu/java/awt/ClasspathToolkit.java
6815         (getClasspathTextLayoutPeer) Add.
6816         * gnu/java/awt/peer/ClasspathFontPeer.java
6817         (copyStyleToAttrs)
6818         (copySizeToAttrs): Make public.
6819         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
6820         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
6821         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
6822         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
6823         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
6824         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
6825         * gnu/java/awt/peer/gtk/GdkGraphics.java
6826         (getFontPeer): New function.
6827         (drawString): Pass font peer to native side.
6828         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6829         (cairoSetFont)
6830         (cairoShowGlyphs)
6831         (PainterThread): Remove.
6832         (GdkGraphics2D): Set hints during construction.
6833         (shifted)
6834         (walkPath)
6835         (draw)
6836         (setRenderingHint)
6837         (setRenderingHints): Reimplement normalization logic.
6838         (getDefaultHints)
6839         (updateBufferedImage)
6840         (isBufferedImageGraphics)
6841         (updateImagePixels)
6842         (drawImage): Make final.
6843         (drawImage): Always paint synchronously.
6844         (drawString)
6845         (drawGlyphVector): Rewrite.
6846         (releasePeerGraphicResource)
6847         (getPeerTextMetrics)
6848         (getPeerFontMetrics)
6849         (drawGdkGlyphVector)
6850         (drawGdkTextLayout)
6851         (cairoDrawGdkGlyphVector)
6852         (cairoDrawGdkTextLayout)
6853         (cairoDrawString)
6854         (getFontPeer): New functions.
6855         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
6856         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6857         (getFontMetrics): Get metrics via toolkit, to hit cache.
6858         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
6859         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6860         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
6861         (fontCache)
6862         (metricsCache)
6863         (imageCache): New members.
6864         (getFontMetrics)
6865         (getImage)
6866         (getClasspathFontPeer): Use caches.
6867         (getFontPeer): Route through getClasspathFontPeer.
6868         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
6869         * java/awt/font/TextLayout.java: Implement in terms of peer.
6870         * javax/swing/plaf/basic/BasicSliderUI.java
6871         (paintThumb): Use polyline rather than polygon.
6872         * javax/swing/plaf/basic/BasicGraphicsUtils.java:
6873         Update comment but, alas, still do not switch to using TextLayouts.
6874         * javax/swing/text/Utilities.java (drawTabbedText):
6875         Draw text run-at-a-time, not char-at-a-time.
6876         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
6877         layout table.
6878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6880         Remove files.
6881         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
6882         incorporate brains of old GdkClasspathFontPeerMetrics.
6883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
6884         incorporate brains of old GdkClasspathFontPeer.
6885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
6886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6887         (drawString): Rewrite to use persistent layout in peer font.
6888         Comment out extraneous gdk_flush calls.
6889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6890         (metrics_cairo)
6891         (metrics_surface): New static variables.
6892         (paint_glyph_run)
6893         (install_font_peer): New helper functions.
6894         (releasePeerGraphicResource)
6895         (getPeerTextMetrics)
6896         (getPeerFontMetrics)
6897         (cairoDrawGdkTextLayout)
6898         (cairoDrawGdkGlyphVector): New native methods.
6899         (cairoDrawString): Rewrite, leaving layout-based version
6900         commented out for the time being.
6901         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
6903 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
6905         * java/awt/geom/AffineTransform.java:
6906         Fixed javadocs overall.
6908 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6910         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
6911         it's correct.
6913 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6915         * java/awt/image/IndexColorModel.java: Fix use of immutable
6916         BigIntegers.
6918 2004-11-30  Tom Tromey  <tromey@redhat.com>
6920         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
6921         Renamed from 'messageIcon'.
6922         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
6924 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6926         * java/awt/image/RescaleOp.java: Fix formatting.
6928 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
6930         * javax/swing/plaf/basic/BasicComboPopup.java
6931         (SCROLL_DOWN): made final.
6932         (SCROLL_UP): made final.
6934 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
6936         * javax/swing/plaf/basic/BasicComboPopup.java:
6937         Added javadocs for undocumented fields.
6938         (show): scroll down to the selected item and
6939         highlight selected item.
6940         (startAutoScrolling): Implemented.
6941         (stopAutoScrolling): Implemented.
6942         (autoScrollUp): Implemented.
6943         (autoScrollDown): Implemented.
6944         (InvocationMouseHandler.mouseReleased): Implemented.
6945         (InvocationMouseMotionHandler.mouseDragged): Implemented.
6947 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6949         * java/awt/image/RescaleOp.java: Implement.
6951 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6953         * java/awt/image/IndexColorModel.java (getRGBs,
6954         convertToIntDiscrete): Implement.
6956 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6958         * java/awt/image/IndexColorModel.java: Add class docs.
6960 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
6962         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
6963         Implement.
6965 2004-11-30  Michael Koch  <konqueror@gmx.de>
6967         * java/awt/MenuBar.java,
6968         java/awt/peer/MenuBarPeer.java:
6969         Revert accidentally commited changes.
6971 2004-11-30  Michael Koch  <konqueror@gmx.de>
6973         * java/awt/AWTKeyStroke.java,
6974         java/awt/Canvas.java,
6975         java/awt/CardLayout.java,
6976         java/awt/CheckboxMenuItem.java,
6977         java/awt/Component.java,
6978         java/awt/Container.java,
6979         java/awt/DefaultKeyboardFocusManager.java,
6980         java/awt/EventDispatchThread.java,
6981         java/awt/FileDialog.java,
6982         java/awt/FlowLayout.java,
6983         java/awt/Font.java,
6984         java/awt/Frame.java,
6985         java/awt/Graphics2D.java,
6986         java/awt/GraphicsEnvironment.java,
6987         java/awt/GridBagConstraints.java,
6988         java/awt/GridBagLayout.java,
6989         java/awt/GridLayout.java,
6990         java/awt/Image.java,
6991         java/awt/KeyboardFocusManager.java,
6992         java/awt/Label.java,
6993         java/awt/List.java,
6994         java/awt/MediaTracker.java,
6995         java/awt/Menu.java,
6996         java/awt/MenuBar.java,
6997         java/awt/MenuComponent.java,
6998         java/awt/Panel.java,
6999         java/awt/PopupMenu.java,
7000         java/awt/ScrollPane.java,
7001         java/awt/Scrollbar.java,
7002         java/awt/SystemColor.java,
7003         java/awt/TextArea.java,
7004         java/awt/TextField.java,
7005         java/awt/Toolkit.java,
7006         java/awt/Window.java,
7007         java/awt/color/ICC_Profile.java,
7008         java/awt/datatransfer/DataFlavor.java,
7009         java/awt/datatransfer/StringSelection.java,
7010         java/awt/datatransfer/SystemFlavorMap.java,
7011         java/awt/dnd/Autoscroll.java,
7012         java/awt/dnd/DropTarget.java,
7013         java/awt/dnd/DropTargetContext.java,
7014         java/awt/dnd/DropTargetDragEvent.java,
7015         java/awt/dnd/peer/DropTargetContextPeer.java,
7016         java/awt/event/AdjustmentEvent.java,
7017         java/awt/event/InputEvent.java,
7018         java/awt/event/InvocationEvent.java,
7019         java/awt/event/KeyEvent.java,
7020         java/awt/event/MouseEvent.java,
7021         java/awt/font/TextLayout.java,
7022         java/awt/geom/GeneralPath.java,
7023         java/awt/geom/Point2D.java,
7024         java/awt/im/InputContext.java,
7025         java/awt/im/spi/InputMethodContext.java,
7026         java/awt/image/AffineTransformOp.java,
7027         java/awt/image/BufferedImage.java,
7028         java/awt/image/ColorModel.java,
7029         java/awt/image/ComponentColorModel.java,
7030         java/awt/image/CropImageFilter.java,
7031         java/awt/image/DirectColorModel.java,
7032         java/awt/image/MemoryImageSource.java,
7033         java/awt/image/PackedColorModel.java,
7034         java/awt/image/PixelGrabber.java,
7035         java/awt/image/RasterOp.java,
7036         java/awt/peer/MenuBarPeer.java:
7037         Some fixes for checkstyle. Import statement and modifier order
7038         redordering.
7040 2004-11-30  Michael Koch  <konqueror@gmx.de>
7042         * javax/swing/JTable.java
7043         (setModel): Reimplemented.
7045 2004-11-30  Michael Koch  <konqueror@gmx.de>
7047         * javax/swing/JTextArea.java
7048         (append): Re-implemented.
7049         (insert): Likewise.
7051 2004-11-30  Michael Koch  <konqueror@gmx.de>
7053         * javax/swing/JSpinner.java
7054         (serialVersionUID): New static field.
7055         * javax/swing/JToggleButton.java
7056         (JToggleButton): Fixed email addresses.
7057         * javax/swing/SpinnerNumberModel.java
7058         (serialVersionUID): Added javadoc.
7060 2004-11-30  Michael Koch  <konqueror@gmx.de>
7062         * javax/swing/JTextArea.java:
7063         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
7064         bug here which is fixed in HEAD ...
7066 2004-11-30  Andrew John Hughes  <address@hidden>
7068         * javax/swing/JTextArea.java: Added additional
7069         documentation.
7071 2004-11-30  Andrew John Hughes  <address@hidden>
7073         * javax/swing/JRadioButton.java:
7074         Implemented additional constructors and accessibility
7075         classes.  Added documentation and fixed a typo in
7076         AbstractButton.
7078 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7080         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
7081         missing constructor.
7083 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7085         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
7086         Implement missing 1.4 constructor.
7088 2004-11-30  Andrew John Hughes  <address@hidden>
7090         * javax/swing/JToggleButton.java:
7091         Implemented additional constructors and accessibility
7092         classes.  Added documentation and fixed a typo in
7093         AbstractButton.
7095 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7097         * java/awt/image/ColorModel.java (getDataElement,
7098         getDataElements): Document since 1.4.
7100 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7102         * java/awt/image/BandedSampleModel.java: Implement.
7103         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
7104         * Makefile.in: Regenerated.
7106 2004-11-30  Michael Koch  <konqueror@gmx.de>
7108         * java/awt/Window.java: Fixed whitespace difference with GNU
7109         classpath.
7111 2004-11-30  Mark Wielaard  <mark@klomp.org>
7113         * Makefile.am: Add javax/swing/SpinnerListModel.java.
7114         * Makefile.in: Regenerated.
7116 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7118         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
7119         Implemented SpinnerListModel.  Added documentation to
7120         SpinnerModel.
7122 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
7124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7125         (init_dpi_conversion_factor): Apply the patch from main correctly.
7126         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
7128 2004-11-30  Tom Tromey  <tromey@redhat.com>
7130         Bug 9948.
7131         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
7132         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
7133         * javax/swing/plaf/basic/BasicSplitPaneUI.java
7134         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
7136 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7138         * java/awt/Canvas.java
7139         (AccessibleAWTCanvas): added serialization UID
7140         * java/awt/Label.java
7141         (AccessibleAWTLabel): added serialization UID
7142         * javax/swing/JRootPane.java
7143         (AccessibleJRootPane): added comment to existing UID
7144         * javax/swing/JSpinner.java
7145         (DefaultEditor): added serialization UID
7146         (NumberEditor): added serialization UID
7147         * javax/swing/text/html/HTML.java
7148         (UnknownTag): added serialization UID
7150 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
7152         * javax/swing/JInternalFrame.java
7153         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
7154         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
7155         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
7156         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
7157         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7158         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
7159         Made final as per API spec.
7161 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
7163         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
7165 2004-11-30  Sven de Marothy  <sven@physto.se>
7167         * java/awt/geom/Arc2D.java: Reformatted.
7168         (setArc): Correct documentation to say 'upper left corner'.
7169         (setArcByTangent,contains,intersects): Implemented.
7170         (containsAngle): Corrected to handle negative extents.
7171         (ArcIterator): Set to private.
7172         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
7173         (intersects): Fix: Now checks the arc segment.
7174         (contains): Cleaned up.
7175         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
7176         (contains): Implemented.
7177         (intersects): Implemented.
7178         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
7179         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
7180         document.  Fully (re)implemented using separate xpoints and ypoints
7181         float[] coords.
7183 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
7185         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
7186         * configure: Regenerate.
7187         * include/config.h.in: Likewise.
7188         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
7189         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
7190         macro to gtkpeer.h.
7191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7192         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
7193         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
7194         architectures.
7195         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
7196         Likewise.
7198 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
7200         * java/awt/SystemColor.java: Fix @link doc entries.
7202 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
7204         * java/awt/RenderingHints.java: Documented.
7205         (RenderingHints): Accept null init Map.
7206         (putAll): Preprocess map to generate appropriate exceptions.
7207         (remove): Cast object to Key and remove from hintMap.
7209 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7211         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
7212         Implementation of accessibility classes and methods
7213         for these two components.
7215 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7217         * java/awt/KeyboardFocusManager.java:
7218         Added missing documentation.
7220 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
7222         * java/awt/Label.java, java/awt/Canvas.java:
7223         Added accessibility classes to AWT Label and Canvas,
7224         as well as additional documentation for Canvas.
7226 2004-11-30  David Gilbert  <address@bogus.example.com>
7228         * java/awt/image/DataBuffer.java: Update API documentation.
7229         * java/awt/image/DataBufferByte.java: Likewise.
7230         * java/awt/image/DataBufferDouble.java: Likewise.
7231         * java/awt/image/DataBufferFloat.java: Likewise.
7232         * java/awt/image/DataBufferInt.java: Likewise.
7233         * java/awt/image/DataBufferShort.java: Likewise.
7234         * java/awt/image/DataBufferUShort.java: Likewise.
7236 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
7238         * java/awt/Component.java (postEvent):
7239         Only delegate to parent if a parent exists.
7240         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
7242 2004-11-30  Sven de Marothy  <sven@physto.se>
7244         *java/awt/AWTEventMulticaster.java,
7245         java/awt/Adjustable.java,
7246         java/awt/Point.java,
7247         java/awt/Polygon.java,
7248         java/awt/Rectangle.java,
7249         java/awt/Shape.java,
7250         java/awt/geom/Area.java,
7251         java/awt/geom/Ellipse2D.java,
7252         java/awt/geom/PathIterator.java,
7253         java/awt/geom/Point2D.java,
7254         java/awt/geom/Rectangle2D.java,
7255         java/lang/Comparable.java,
7256         java/util/Arrays.java:
7257         Fixed documentation errors
7259 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7261         * java/awt/image/ComponentSampleModel.java: Add documentation.
7264 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7266         * java/awt/image/ComponentSampleModel.java (constructor):
7267         Initialize numBanks when figuring out the max bank index.
7269 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7271         * java/awt/image/Raster.java (createPackedRaster): Implement
7272         MultiPixelPackedSampleModel codepath.
7274 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7276         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
7277         * Makefile.am: Add MultiPixelPackedSampleModel.java.
7278         * Makefile.in: Regenerate.
7280 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7282         * java/awt/image/Raster.java (getNumBands): Implement.
7284 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7286         * java/awt/image/Raster.java
7287         (createPackedRaster(int,int,int,int,int,Point)): Implement for
7288         bands>1.
7290 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7292         * java/awt/image/SinglePixelPackedSampleModel.java
7293         (SinglePixelPackedSampleModel): Throw exception for unsupported
7294         datatype.
7296 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
7298         * java/awt/image/ColorModel.java (getDataElement): Implemented.
7299         Update javadoc.
7300         (getDataElements): Add missing version.  Remove bogus version.
7301         Update javadoc.
7303 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
7305         * javax/swing/plaf/basic/BasicComboBoxUI.java:
7306         (paintCurrentValue): Pass correct parameters to
7307         getListCellRendererComponent().
7308         (ListDataHandler.intervalRemoved): Implemented.
7309         (PropertyChangeHandler.propertyChange): Handle changes in
7310         MODEL_CHANGED_PROPERTY of the JComboBox
7311         * javax/swing/plaf/basic/BasicComboPopup.java:
7312         (BasicComboPopup): Moved code that configures popup to
7313         configurePopup() and call it instead.
7314         (firePopupMenuWillBecomeVisible): Implemented.
7315         (firePopupMenuWillBecomeInvisible): Likewise.
7316         (firePopupMenuCanceled): Likewise.
7317         (configureList): Set list's visibleRowCount same as
7318         comboBox's visibleRowCount.
7319         (configurePopup): Implemented.
7320         (getPopupHeightForRowCount): Get item's from JComboBox's model and
7321         not from model of the JList.
7322         (ListMouseMotionHandler.mouseMoved): Implemented.
7323         (PropertyChangeHandler.propertyChange): Handles change in the
7324         JComboBox's model.
7326 2004-11-30  Michael Koch  <konqueror@gmx.de>
7328         * javax/swing/JComponent.java
7329         (isMaximumSizeSet): New method.
7330         (isMinimumSizeSet): Likewise.
7331         (isPreferredSizeSet): Likewise.
7333 2004-11-30  Michael Koch  <konqueror@gmx.de>
7335         * javax/swing/JSpinner.java:
7336         Some Re-formatting.
7337         (spinner): New field.
7338         (DefaultEditor): New method.
7339         (getSpinner): Likewise.
7340         (NumberEdito): Likewise.
7341         (getModel): Likewise
7343 2004-11-30  Michael Koch  <konqueror@gmx.de>
7345         * javax/swing/InputVerifier.java:
7346         Re-formatted.
7347         * javax/swing/JComponent.java
7348         (inputVerifier): New property field.
7349         (getInputVerifier): New method.
7350         (setInputVerifier): Likewise.
7352 2004-11-30  Michael Koch  <konqueror@gmx.de>
7354         * javax/swing/JComponent.java
7355         (JComponent): Added javadoc comment.
7356         (setBorder): Fire property change eventr.
7357         (setEnabled): Likewise.
7358         (setMaximumSize): Likewise.
7359         (setMinimumSize): Likewise.
7360         (setPreferredSize): Likewise.
7361         (setOpaque): Likewise.
7363 2004-11-30  Michael Koch  <konqueror@gmx.de>
7365         * javax/swing/JTextField.java
7366         (action): New field.
7367         (actionCommand): Likewise.
7368         (actionPropertyChangeListener): Likewise.
7369         (setHorizontalAlignment): Abort soon if new value == old value. Fire
7370         event before repainting.
7371         (postActionEvent): New method.
7372         (getAction): Likewise.
7373         (setAction): Likewise.
7374         (getActionCommand): Likewise.
7375         (setActionCommand): Likewise.
7376         (createActionPropertyChangeListener): Likewise.
7377         (configurePropertiesFromAction): Likewise.
7379 2004-11-30  Michael Koch  <konqueror@gmx.de>
7381         * javax/swing/DebugGraphics.java:
7382         Re-formatted. Fixed some javadocs.
7383         * javax/swing/JApplet.java
7384         (rootPaneCheckingEnabled): Renamed from checking.
7385         * javax/swing/JCheckBox.java
7386         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
7387         * javax/swing/JFrame.java:
7388         Re-formatted a bit and reordered some methods.
7389         (rootPaneCheckingEnabled): Renamed from checking.
7390         (getPreferredSize): Simplified.
7391         * javax/swing/JTextArea.java
7392         (getColumnWidth): New method.
7393         (getLineCount): Likewise.
7394         (getLineStartOffset): Likewise.
7395         (getLineEndOffset): Likewise.
7396         (getLineOfOffset): Likewise.
7397         (getRowHeight): Likewise.
7398         (insert): Likewise.
7399         (replaceRange): Likewise.
7400         * javax/swing/JTextField.java
7401         (scrollOffset): new field.
7402         (getScrollOffset): New method.
7403         (setScrollOffset): Likewise.
7404         (getColumnWidth): Likewise.
7405         * javax/swing/JTree.java
7406         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
7407         (CELL_EDITOR_PROPERTY): Likewise.
7408         (CELL_RENDERER_PROPERTY): Likewise.
7409         (EDITABLE_PROPERTY): Likewise.
7410         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7411         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
7412         (LARGE_MODEL_PROPERTY): Likewise.
7413         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7414         (ROOT_VISIBLE_PROPERTY): Likewise.
7415         (ROW_HEIGHT_PROPERTY): Likewise.
7416         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
7417         (SELECTION_MODEL_PROPERTY): Likewise.
7418         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
7419         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
7420         (TREE_MODEL_PROPERTY): Likewise.
7421         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
7422         (cellEditor): New field.
7423         (invokesStopCellEditing): Likewise.
7424         (largeModel): Likewise.
7425         (rowHeight): Likewise.
7426         (scrollsOnExpand): Likewise.
7427         (selectionModel): Likewise.
7428         (toggleClickCount): Likewise.
7429         (visibleRowCount): Likewise.
7430         (setShowsRootHandles): Fixed typo in method name.
7431         (getCellEditor): New method.
7432         (setCellEditor): Likewise.
7433         (getSelectionModel): Likewise.
7434         (setSelectionModel): Likewise.
7435         (getVisibleRowCount): Likewise.
7436         (setVisibleRowCount): Likewise.
7437         (isLargeModel): Likewise.
7438         (setLargeModel): Likewise.
7439         (getRowHeight): Likewise.
7440         (setRowHeight): Likewise.
7441         (getInvokesStopCellEditing): Likewise.
7442         (setInvokesStopCellEditing): Likewise.
7443         (getToggleClickCount): Likewise.
7444         (setToggleClickCount): Likewise.
7445         (getScrollsOnExpand): Likewise.
7446         (setScrollsOnExpand): Likewise.
7447         * javax/swing/table/DefaultTableColumnModel.java
7448         (addColumnModelListener): Fixed javadoc.
7449         (removeColumnModelListener): Implemented. Fixed javadoc.
7450         (getColumnModelListeners): New method.
7451         * javax/swing/table/JTableHeader.java
7452         (columnModel): Made protected.
7453         (draggedColumn): Likewise.
7454         (draggedDistance): Likewise.
7455         (reorderingAllowed): Likewise.
7456         (resizingAllowed): Likewise.
7457         (resizingColumn): Likewise.
7458         (table): Likewise.
7459         (updateTableInRealTime): Likewise.
7460         (createDefaultColumnModel): Renamed from
7461         createDefaultTableColumnModel.
7462         (setDefaultRenderer): New method.
7463         * javax/swing/table/TableColumn.java
7464         (getPropertyChangeListeners): New method.
7465         * javax/swing/text/DefaultHighlighter.java
7466         (drawsLayeredHighlights): New field.
7467         (getDrawsLayeredHighlights): New method.
7468         (setDrawsLayeredHighlights): Likewise.
7469         * javax/swing/text/DocumentFilter.java
7470         (FilterBypass): New inner class.
7471         (insertString): New method.
7472         (remove): Likewise.
7473         (replace): Likewise.
7474         * javax/swing/text/JTextComponent.java
7475         (dragEnabled): New field.
7476         (getSelectedText): New method.
7477         (getDragEnabled): Likewise.
7478         (setDragEnabled): Likewise.
7479         (replaceSelection): Reimplemented.
7480         * javax/swing/text/NavigationFilter.java
7481         (FilterBypass): New inner class.
7482         (NavigationFilter): New method.
7483         (moveDot): Likewise.
7484         (setDot): Likewise.
7485         * javax/swing/text/SimpleAttributeSet.java
7486         (EMPTY): Made public final.
7488 2004-11-30  Michael Koch  <konqueror@gmx.de>
7490         * javax/swing/SpinnerNumberModel.java
7491         (getMinimum): New method.
7492         (setMinimum): Likewise.
7493         (getMaximum): Likewise.
7494         (setMaximum): Likewise.
7495         (getStepSize): Likewise.
7496         (setStepSize): Likewise.
7498 2004-11-30  Michael Koch  <konqueror@gmx.de>
7500         * javax/swing/JMenu.java
7501         (getMenuListeners): New method.
7502         (fireMenuSelected): Simplified.
7503         * javax/swing/JRootPane.java
7504         (NONE): New static field.
7505         (FRAME): Likewise.
7506         (PLAIN_DIALOG): Likewise.
7507         (INFORMATION_DIALOG): Likewise.
7508         (ERROR_DIALOG): Likewise.
7509         (COLOR_CHOOSER_DIALOG): Likewise.
7510         (FILE_CHOOSER_DIALOG): Likewise.
7511         (QUESTION_DIALOG): Likewise.
7512         (WARNING_DIALOG): Likewise.
7513         (defaultButton): New field.
7514         (getDefaultButton): New method.
7515         (setDefaultButton): Likewise.
7516         * javax/swing/JScrollPane.java
7517         (getUI): New method.
7518         (setUI): Likewise.
7519         * javax/swing/JTable.java
7520         (getUI): Javadoc added.
7521         (setUI): New method.
7522         * javax/swing/JViewport.java
7523         (getUI): New method.
7524         (setUI): Likewise.
7525         * javax/swing/UIDefaults.java
7526         (removePropertyChangeListener): Made public.
7528 2004-11-30  Michael Koch  <konqueror@gmx.de>
7530         * javax/swing/JApplet.java, javax/swing/JFrame.java:
7531         Re-indented.
7533 2004-11-30  Michael Koch  <konqueror@gmx.de>
7535         * javax/swing/AbstractButton.java:
7536         Little re-formatting.
7537         (changeEvent): Made protected.
7538         (fireStateChanged): Removed argument.
7539         (setHorizontalAlignment): Abort method when old value is equal too new
7540         value.
7541         (setHorizontalTextPosition): Likewise.
7542         (setVerticalAlignment): Likewise.
7543         (setVerticalTextPosition): Likewise.
7544         (setBorderPainted): Likewise.
7545         (setIcon): Likewise.
7546         (setText): Likewise.
7547         (setIconTextGap): Likewise.
7548         (setMargin): Likewise.
7549         (setPressedIcon): Likewise.
7550         (setFocusPainted): Likewise.
7551         (setDisabledSelectedIcon): Likewise.
7552         (setRolloverIcon): Likewise.
7553         (setRolloverSelectedIcon): Likewise.
7554         (setSelectedIcon): Likewise.
7555         (setContentAreaFilled): Likewise.
7557 2004-11-30  Kim Ho  <kho@redhat.com>
7559         * javax/swing/plaf/basic/BasicArrowButton.java:
7560         Jalopy. Reimplement.
7561         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7562         Jalopy.
7563         (arrowIcon, upIcon, downIcon, leftIcon,
7564         rightIcon): Removed.
7565         (createIncreaseButton): Use BasicArrowButton.
7566         (createDecreaseButton): Ditto.
7567         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7568         (createRightOneTouchButton): Remove button border.
7569         (createLeftOneTouchButton): Ditto.
7571 2004-11-30  Michael Koch  <konqueror@gmx.de>
7573         * javax/swing/JSpinner.java
7574         (setModel): New method.
7575         * javax/swing/SpringLayout.java
7576         (Constraints): May not be final.
7578 2004-11-30  Michael Koch  <konqueror@gmx.de>
7580         * gnu/java/awt/peer/gtk/GtkClipboard.java,
7581         java/awt/datatransfer/Clipboard.java,
7582         java/awt/datatransfer/ClipboardOwner.java:
7583         Reformated to make it use our coding standard.
7585 2004-11-30  Michael Koch  <konqueror@gmx.de>
7587         * javax/swing/SpinnerNumberModel.java
7588         (SpinnerNumberModel): Implements java.io.Serializable.
7589         (serialVersionUID): New field.
7590         (SpinnerNumberModel): Added missing @throws tags to javadocs.
7591         * javax/swing/UIManager.java
7592         (get): New method.
7593         (getBoolean): Likewise.
7594         (getBorder): Likewise.
7595         (getColor): Likewise.
7596         (getDimension): Likewise.
7597         (getFont): Likewise.
7598         (getIcon): Likewise.
7599         (getInsets): Likewise.
7600         (getInt): Likewise.
7601         (getString): Likewise.
7603 2004-11-30  Michael Koch  <konqueror@gmx.de>
7605         * javax/swing/JPasswordField.java:
7606         Reformated. Implemented construtors.
7607         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
7608         (create): New method.
7609         * javax/swing/text/PlainView.java
7610         (selectedColor): Made package-private to allow access from sub-classes
7611         in same package too.
7612         (unselectedColor): Likewise.
7613         (font): Likewise.
7614         (drawSelectedText): Make protected.
7615         (drawUnselectedText): Likewise.
7616         * javax/swing/text/PasswordView.java: New file.
7617         * Makefile.am: Added javax/swing/text/PasswordView.java.
7618         * Makefile.in: Regenerated.
7620 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
7622         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
7623         bar's width.
7624         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
7625         Add FIXME comment.
7626         (addHelpMenu): Elide call to nativeSetHelpMenu.
7627         * java/awt/Menu.java (isTearOff): Rename to tearOff.
7628         (menuSerializedDataVersion): Initialize to 1.
7629         (separatorLabel): Mark transient.
7630         (insert(MenuItem,int)): Implement.
7631         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
7632         peer.
7633         (countMenus): Count help menu.
7634         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
7635         accessibleContext): Add fields.
7636         * java/awt/MenuItem.java: Remove event mask FIXME.
7637         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7638         (gtkWidgetModifyFont): Only set font if label is non-NULL.
7639         (setLabel): Don't treat "-" specially.
7641 2004-11-30  Kim Ho  <kho@redhat.com>
7643         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
7644         (stateChanged): Only update the image and the track if
7645         the values are not being adjusted.
7646         (updateChooser): Grab the new mouse point from the
7647         spinner values. Update the image and track only if
7648         the values are not being adjusted.
7649         (getHSBValues): New method.
7650         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
7651         (SliderHandler::stateChanged): Changed internalChange
7652         to updateChange. Set sliderChange.
7653         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
7654         (spinnerChange): New variable.
7655         (sliderChange): Ditto.
7656         (updateChange): Renamed from internalChange.
7657         (updateChooser): Do not update sliders if the sliders
7658         were the original source of the change. Ditto for spinners.
7659         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7660         (mousePress): Don't scroll the JViewport if there will
7661         be extra space at the end of the run. Change layout() to
7662         revalidate().
7663         (calculateSize): Use the component's width/height unless
7664         it is smaller than the max tab width/height.
7665         (calculateTabRects): Subtract the tab run overlay.
7666         (rotateTabRuns): Don't rotate if there's only one run.
7667         (layoutContainer): Reuse the viewport point.
7668         (createLayoutManager): Set the viewport to use no layout.
7669         (paintTabArea): Don't paint the tabs that are not visible
7670         to the JViewport.
7671         (paintContentBorderTopEdge): Check for scroll tab layout before
7672         looking for gap.
7673         (paintContentBorderLeftEdge): Ditto.
7674         (paintContentBorderBottomEdge): Ditto.
7675         (paintContentBorderRightEdge): Ditto.
7677 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
7679         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
7680         Rename ...
7681         (gtkWidgetModifyFont): New method.
7682         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
7683         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7684         (setMenuBarWidth): New method.
7685         (setBounds): Set the menu bar width.
7686         (postConfigureEvent): Set the menu bar width if the window's
7687         width has changed.
7688         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
7689         Don't call create.
7690         (setFont): New method.
7691         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
7692         method.
7693         (setFont): Likewise.
7694         (GtkMenuComponentPeer): Call create and setFont.
7695         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7697         (connectSignals): Make package private.
7698         (gtkWidgetModifyFont): New method.
7699         (create): Likewise.
7700         (GtkMenuItemPeer): Don't call create.
7701         (setFont): New method.
7702         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
7703         condition.
7704         * java/awt/Container.java (validateTree): Fix comment typos.
7705         * java/awt/MenuComponent.java (getFont): Return parent's font if
7706         our font is null.
7707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
7708         (create): Remove call to deprecated
7709         gtk_check_menu_item_set_show_toggle function.
7711 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
7713         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7714         (Almost everywhere): add LOG calls, fix, add comments.
7715         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7716         Add explicit check for LOCKED bit in slow case (PR 16662).
7717         (_Jv_MonitorExit): Add casts in debug-only code.
7718         Always release LOCKED bit before throwing exception.
7719         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7720         isn't.  Handle easy cases without lock acquisition.
7721         (Object::wait): Use NotifyAll for lock inflation.
7723 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
7725         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
7726         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7727         (gtkFixedMove): Remove method.
7729 2004-11-30  Sven de Marothy  <sven@physto.se>
7731         * java/awt/geom/Area.java: Implemented.
7733 2004-11-30  Mark Wielaard  <mark@klomp.org>
7735         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
7737 2004-11-30 Sven de Marothy <sven@physto.se>
7739         * java/awt/geom/Arc2D.java
7740         Reformatted.
7741         (setArc): Correct documentation to say 'upper left corner'.
7742         (setArcByTangent,contains,intersects): Implemented.
7743         (containsAngle): Corrected to handle negative extents.
7744         (ArcIterator): Set to private.
7745         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
7746         * java/awt/geom/Ellipse2D.java
7747         Documented.
7748         (contains,intersects): Implemented.
7749         * java/awt/geom/Line2D.java
7750         (linesIntersect): Correct handling of special cases.
7752 2004-11-30  Mark Wielaard  <mark@klomp.org>
7754         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
7755         Color.BLACK if c == null, don't create new Color object each time.
7756         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
7757         field.
7758         (setColor): Use Color.BLACK when argument null.
7759         (setComposite): Set this.comp field.
7760         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
7761         (DrawState.comp): New private field.
7762         (DrawState.save): Save Composite.
7763         (DrawState.restore): Restore comp field.
7764         * java/awt/FontMetrics.java (gRC): New static final private field.
7765         (getLineMetrics(String, Graphics)): New method.
7766         (getLineMetrics(String, int, int, Graphics)): Likewise.
7767         (getLineMetrics(char[], int, int, Graphics)): Likewise.
7768         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
7769         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
7770         argument. PR SWING/17294.
7771         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
7772         the fall-back code since none of the TextArea methods are really
7773         implemented now. PR SWING/17296.
7774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
7775         (GdkGlyphVector_setChars): Replace assert() with if block when
7776         pango_itemize() returns null. PR AWT/17295.
7777         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
7779 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
7781         * Makefile.am (gtk_c_source_files): Add
7782         gnu_java_awt_peer_gtk_GtkFramePeer.c.
7783         * Makefile.in: Regenerate.
7784         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
7785         comment.
7786         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7787         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7788         (create): Pack GtkButton in GtkEventBox.
7789         (connectJObject): Remove.
7790         (focus_in_cb): New function.
7791         (focus_out_cb): Likewise.
7792         (connectSignals): Connect focus-in-event and focus-out-event
7793         signals.
7794         (gtkSetFont): Rename to ...
7795         (gtkWidgetModifyFont): New method.
7796         (gtkWidgetRequestFocus): New method.
7797         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7798         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7799         (gtkSetFont): Rename to ...
7800         (gtkWidgetModifyFont): New method.
7801         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7802         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7803         (isInRepaint): New field.
7804         (gtkSetFont): Remove method.
7805         (addExposeFilter): Likewise.
7806         (removeExposeFilter): Likewise.
7807         (gtkWidgetQueueDrawArea): Rename to ...
7808         (gtkWidgetRepaintArea): New method.
7809         (beginNativeRepaint): New method.
7810         (endNativeRepaint): New method.
7811         (setComponentBounds): Move implementation here from
7812         GtkComponentPeer.
7813         (paint): Remove implementation.
7814         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
7815         beginNativeRepaint and endNativeRepaint.
7816         (setBounds): Use menu bar height in bounds calculation.
7817         (postExposeEvent): Only post paint event if we're not doing a
7818         native repaint.
7819         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
7820         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
7821         (find_gtk_layout): Remove function.
7822         (filter_expose_event_handler): Likewise.
7823         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
7824         Likewise.
7825         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7826         (setComponentBounds): Call GtkComponentPeer's
7827         setComponentBounds.
7828         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
7829         New method.
7830         (moveLayout): Rename to ...
7831         (gtkFixedMove): New method.
7832         (gtkLayoutSetVisible): Rename to ...
7833         (gtkFixedSetVisible): New method.
7834         (setMenuBar): Rearrange, to make the three separate cases
7835         clearer.
7836         (postExposeEvent): Only post paint event if we're not doing a
7837         native repaint.
7838         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7839         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7840         (gtkWidgetModifyFont): New method.
7841         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7842         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
7843         Call run directly, rather than spawning a new thread.
7844         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
7845         Likewise.
7846         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7847         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
7848         Rename to ...
7849         (gtkWidgetModifyFont): New method.
7850         (create): Rename ebox to eventbox.
7851         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7852         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7853         Rename to ...
7854         (gtkWidgetModifyFont): New method.
7855         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7856         (GtkMenuComponentPeer): Set the default font.
7857         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7858         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7859         (gtkSetFont): Rename to ...
7860         (gtkWidgetModifyFont): New method.
7861         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
7863         * java/awt/Component.java (locale): Initialize to default
7864         locale.
7865         * java/awt/Container.java (invalidateTree): Make
7866         package-private.
7867         (paint): Paint self first.
7868         (setMenuBar): Call invalidateTree.
7869         * java/awt/Panel.java (dispatchEventImpl): Remove method.
7870         * java/awt/Window.java (show): Call no-parameter variant of
7871         requestFocusInWindow.
7872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
7873         Remove special case for window widget.
7874         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7875         (grab_current_drawable): Likewise.
7876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
7877         (create): Replace GtkLayout with GtkFixed.
7878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7879         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
7880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
7881         Move all GtkFramePeer native method implementations here from
7882         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
7883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7884         Replace GtkLayout with GtkFixed.
7885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7886         (find_layout): Remove function.
7887         (create): Replace GtkLayout with GtkFixed.
7888         (connectSignals): Remove find_layout call.
7889         (toBack): Replace XFlush with gdk_flush.
7890         (toFront): Replace XFlush with gdk_flush.
7891         Move GtkFramePeer native method implementations to
7892         gnu_java_awt_peer_gtk_GtkFramePeer.c.
7893         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
7895 2004-11-30  Michael Koch  <konqueror@gmx.de>
7897         * javax/swing/JTextArea.java
7898         (lineWrap): Renamed from "wrapping".
7899         (wrapStyleWord): NEw field.
7900         (getLineWrap): Re-edited javadoc comment.
7901         (setLineWrap): Likewise.
7902         (getWrapStyleWord): New method.
7903         (setWrapStyleWord): Likewise.
7905 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
7907         * configure: Regenerate for libtool change.
7909 2004-11-29  Tom Tromey  <tromey@redhat.com>
7911         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
7912         Recognize --help and --version.
7913         (usage): Mention gcj-dbtool.  Added "out" argument.
7914         (insist): Updated.
7916 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
7918         * link.cc (link_symbol_table): Do not use intptr_t.
7920 2004-11-28  Mark Wielaard  <mark@klomp.org>
7922         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
7923         XMLDecoder tests which currently don't compile.
7925 2004-11-27  Andrew Haley  <aph@redhat.com>
7927         * link.cc (ensure_class_linked): Conditionally compile
7928         _Jv_IsInterpretedClass on INTERPRETER.
7929         (print_class_loaded): Likewise.
7930         (wait_for_state): Likewise.
7931         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
7932         * include/java-interp.h (ROUND): Remove.
7934 2004-11-25  Tom Tromey  <tromey@redhat.com>
7936         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
7937         * java/lang/Class.h (_Jv_Linker): Declare.
7938         (Class): Fix names of friends.
7939         (_Jv_getInterfaceMethod): Declare.
7941 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7943         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
7944         variable libjava_ld_library_path.
7945         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
7947 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
7949         * java/util/ResourceBundle.java (BundleKey): Don't implement
7950         Cloneable.
7951         (BundleKey.clone): Removed.
7952         (getBundle): Copy BundleKey using constructor, not clone().
7954 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
7956         * configure: Regenerate for libtool reversion.
7958 2004-11-25  Michael Koch  <konqueror@gmx.de>
7960         * Makefile.am: Added most of javax.print again.
7961         * Makefile.in: Regenerated.
7963 2004-11-25  Michael Koch  <konqueror@gmx.de>
7965         * Makefile.am: Added most of javax.print again.
7966         * Makefile.in: Regenerated.
7968 2004-11-24  Tom Tromey  <tromey@redhat.com>
7970         * Merged gcj-abi-2-dev-branch to trunk.
7972 2004-11-16  Tom Tromey  <tromey@redhat.com>
7974         * include/java-interp.h (_Jv_DefineClass): Updated.
7975         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
7976         domain to class reader.
7977         * defineclass.cc (parse): Use print_class_loaded.
7978         Include ProtectionDomain.h.
7979         (_Jv_DefineClass): Added ProtectionDomain argument.
7980         (_Jv_ClassReader): Likewise.
7981         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
7982         * link.cc: Include CodeSource.h.
7983         (print_class_loaded): New function.
7984         (wait_for_state): Use it.
7986 2004-11-16  Andrew Haley  <aph@redhat.com>
7988         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
7990 2004-11-16  Andrew Haley  <aph@redhat.com>
7992         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
7993         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
7994         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
7995         * configure: Regenerate.
7996         * Makefile.in: Regenerate.
7998 2004-11-15  Andrew Haley  <aph@redhat.com>
8000         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
8001         gc-allocated object.
8003 2004-11-15  Andrew Haley  <aph@redhat.com>
8005         * java/net/URLClassLoader.java
8006         (URLLoader.getClassPath): New method.
8007         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
8008         attribute and add URLs for each entry.
8009         (JarURLLoader.classPath): New field.
8010         (JarURLLoader.getClassPath): New method.
8011         (addURLImpl): Scan through the list of extraUrls in the new
8012         loader, adding them to our urlinfos.
8013         (definePackage, findURLResource, findResources): Use
8014         urlinfos.size(), not urls.size().
8016 2004-11-11  Tom Tromey  <tromey@redhat.com>
8018         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
8019         method.
8020         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
8021         linked.
8022         (ensureSupersLinked): Declare.
8023         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
8024         linked.
8026 2004-11-10  Tom Tromey  <tromey@redhat.com>
8028         * gij.cc (main): Treat -verbose the same as -verbose:class.
8029         (help): Document -verbose and -verbose:class.
8031         * link.cc (verbose_class_flag): Declare.
8032         (wait_for_state): Print message when handling precompiled class.
8033         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
8035 2004-11-09  Tom Tromey  <tromey@redhat.com>
8037         * testsuite/libjava.lang/assign2.out: New file.
8038         * testsuite/libjava.lang/assign2.java: New file.
8040         * java/lang/natRuntime.cc (insertSystemProperties): Set
8041         java.version to 1.4.2 and java.specification.version to 1.4.  Set
8042         java.runtime.version.
8044 2004-11-08  Tom Tromey  <tromey@redhat.com>
8046         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
8047         supers installed.
8048         * link.cc (verify_type_assertions): Don't link supers.
8050         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
8051         * include/java-interp.h (class _Jv_InterpClass)
8052         <_Jv_PrepareMissingMethods>: No longer `friend'.
8053         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
8054         `friend'.
8055         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
8056         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
8057         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
8058         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
8059         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
8060         * link.cc (search_method_in_class): Renamed from
8061         _Jv_SearchMethodInClass.
8062         (resolve_pool_entry): Updated.
8064         * include/jvm.h (_Jv_CheckAssignment): Removed.
8065         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
8067 2004-11-05  Tom Tromey  <tromey@redhat.com>
8069         * link.cc (verify_type_assertions): Ensure classes have supers
8070         linked.  Strip off array types first.
8072 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
8074         * link.cc: Include VerifyError.h.
8075         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
8076         in the type assertion table.
8077         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
8078         verify_type_assertions.
8079         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
8080         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
8081         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
8082         assertion code values.
8083         (struct _Jv_TypeAssertion): Declare.
8084         (assertion_table): New class field.
8085         (verify): Remove class field.
8087 2004-11-05  Andrew Haley  <aph@redhat.com>
8089         * Makefile.am: Move jv_dbtool.java to
8090         gnu/gcj/tools/gcj_dbtool/Main.java.
8091         * Makefile.in: Rebuild.
8092         * java/lang/VMCompiler.java: Rename property
8093         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
8094         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
8095         jv_dbtool.java.
8097 2004-11-05  Andrew Haley  <aph@redhat.com>
8099         * jv_dbtool.java (main): Allow the user to specify the size of the
8100         database.  Display the capacity and the size.
8101         (usage): Show the new option.
8103 2004-11-04  Tom Tromey  <tromey@redhat.com>
8105         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
8106         * link.cc (make_vtable): Use correct index when searching for
8107         missing method's name.  Don't use `flags'.
8108         (set_vtable_entries): Removed `flags' argument.  Don't recurse
8109         into superclasses.
8110         (link_symbol_table): Ensure target class method table is
8111         complete.  Ensure target fields are laid out before entering
8112         loop.
8114         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
8115         fix.
8117         * interpret.cc (do_verify): Don't verify abstract methods.
8119 2004-11-01  Tom Tromey  <tromey@redhat.com>
8121         * link.cc (wait_for_state): Call verify_class.
8123         * verify.cc (state::check_no_uninitialized_objects): Removed.
8124         (push_jump): Updated.
8125         (push_exception_jump): Likewise.
8126         (handle_ret_insn): Likewise.
8127         (handle_jsr_insn): Likewise.
8129 2004-10-28  Andrew Haley  <aph@redhat.com>
8131         * gnu/gcj/runtime/PersistentByteMap.java: New file.
8132         * jv_dbtool.java: New file.
8133         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
8134         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
8135         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
8136         * Makefile.in: Regenerate,
8137         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
8138         Enumeration, StringTokenizer, Vector, PersistentByteMap.
8139         (precompiledMapFiles): New variable.
8140         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
8141         initialize precompiledMapFiles.
8142         (compileClass): Look at the database of precompiled class files
8143         before firing up gcj.
8145         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
8147 2004-10-27  Andrew Haley  <aph@redhat.com>
8149         * java/lang/VMCompiler.java (compileClass): try looking for
8150         precompiledMapFiles.
8151         * gnu/gcj/runtime/PersistentByteMap.java: New file.
8153 2004-10-27  Tom Tromey  <tromey@redhat.com>
8155         * link.cc (ensure_class_linked): Only resolve classes for
8156         compiled classes.
8157         (add_miranda_methods): Ensure interface supers are installed.
8158         (resolve_pool_entry): Better error message.
8160 2004-10-25  Tom Tromey  <tromey@redhat.com>
8162         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
8164         * java/util/ResourceBundle.java (tryBundle): Use
8165         Class.isAssignableFrom rather than catching ClassCastException.
8167         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
8168         exception if we hit EOF of `in'.
8169         (read): Handle case where inflating returns -1.
8171         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
8172         initialize `iter'.
8173         * gnu/java/text/SentenceBreakIterator.java
8174         (SentenceBreakIterator): Don't initialize `iter'.
8175         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
8176         initialize `iter'.
8177         * gnu/java/text/CharacterBreakIterator.java
8178         (CharacterBreakIterator): Don't initialize `iter'.
8179         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
8180         constructor.
8181         * java/text/BreakIterator.java: Updated documentation.
8183 2004-10-20  Tom Tromey  <tromey@redhat.com>
8185         * java/util/ResourceBundle.java (tryBundle): Also ignore
8186         ClassCastException.
8188 2004-10-18  Tom Tromey  <tromey@redhat.com>
8190         * interpret.cc (do_post_miranda_hook): New method.
8191         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
8192         New field.
8193         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
8194         (_Jv_CompiledEngine): Initialize new field.
8195         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
8196         (_Jv_InterpreterEngine): Initialize new field.
8197         * link.cc (resolve_pool_entry): Put Miranda methods in target
8198         class.
8199         (ensure_method_table_complete): Call post_miranda_hook.
8200         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
8201         aux_info.
8202         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
8203         (parse): Set class' aux_info here.
8205         * boehm.cc (_Jv_MarkObj): Mark `throws'.
8207         * boehm.cc: Re-merged with trunk.
8209 2004-10-18  Andrew Haley  <aph@redhat.com>
8211         PR java/18036:
8212         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
8213         and correct logic used to find interpreter.
8215 2004-10-13  Andrew Haley  <aph@redhat.com>
8217         * interpret.cc (_Jv_InterpMethod::run): Initialize
8218         _Jv_StartOfInterpreter.
8219         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
8220         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
8221         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
8222         _Unwind_FindEnclosingFunction to discover whether PC is within the
8223         interpreter.
8225 2004-10-13  Tom Tromey  <tromey@redhat.com>
8227         * link.cc (find_iindex): Copy correct number of slots to new
8228         ioffsets.
8230 2004-10-12  Tom Tromey  <tromey@redhat.com>
8232         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
8233         proc.
8234         (gcj_loader_test_one): Use it.
8235         (gcj_loader_run): Likewise.
8237         * prims.cc: Don't include FirstThread.h.
8239 2004-10-06  Tom Tromey  <tromey@redhat.com>
8241         * link.cc (ensure_method_table_complete): Ensure superclass
8242         Miranda methods installed.
8244         * include/java-interp.h (class _Jv_JNIMethod): Added
8245         JV_MARKOBJ_DECL as a friend.
8246         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
8247         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
8248         interpreter method structures.  Mark jni_arg_types of JNI
8249         methods.
8251         * defineclass.cc (parse): Use JV_STATE_READ.
8252         * java/lang/Class.h (JV_STATE_READ): New enum value.
8254 2004-10-05  Tom Tromey  <tromey@redhat.com>
8256         * link.cc (resolve_pool_entry): Add signature info to missing
8257         method's information.
8259         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
8260         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
8262 2004-10-04  Tom Tromey  <tromey@redhat.com>
8264         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
8265         marking IDT.
8267 2004-09-29  Tom Tromey  <tromey@redhat.com>
8269         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
8270         resolve.cc.
8271         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
8272         * jni.cc: Use _Jv_Linker.
8273         * interpret.cc: Use _Jv_Linker.
8274         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
8275         * java/lang/natClassLoader.cc: Use _Jv_Linker.
8276         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
8277         * java/lang/Class.h: Use _Jv_Linker.
8278         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
8279         * resolve.cc: Renamed ...
8280         * link.cc: ... here.  Use _Jv_Linker.
8281         * defineclass.cc (checkExtends): Use _Jv_Linker.
8283 2004-09-17  Tom Tromey  <tromey@redhat.com>
8285         * defineclass.cc (handleCodeAttribute): Don't reference
8286         `deferred'.
8287         (handleMethodsEnd): Likewise.
8288         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
8289         field.
8290         (_Jv_Defer_Resolution): Don't declare or define.
8291         * interpret.cc (do_create_ncode): Don't resolve deferred method
8292         pointers.
8293         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
8294         * resolve.cc (link_symbol_table): No need to defer resolution.
8296 2004-09-14  Tom Tromey  <tromey@redhat.com>
8298         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
8299         (_Jv_MarkObj): Updated.
8300         (_Jv_MarkArray): Likewise.
8302         * include/jvm.h (StringClass): Removed.
8303         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
8304         * interpret.cc (_Jv_InitField): Don't use StringClass.
8305         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
8306         StringClass.
8307         (rehash): Likewise
8308         (intern): Likewise.
8309         (_Jv_FinalizeString): Likewise.
8310         (_Jv_NewStringUtf8Const): Likewise.
8311         (equals): Likewise.
8312         * prims.cc (JvConvertArgv): Don't use StringClass.
8314         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
8315         * resolve.cc (ensure_fields_laid_out): Don't mention
8316         COMPACT_FIELDS.
8317         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
8318         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
8320         * java/lang/reflect/natField.cc (getType): Use resolve_field.
8321         * java/lang/natVMClassLoader.cc (resolveClass): New native
8322         implementation.
8323         (linkClass0): Removed.
8324         (markClassErrorState0): Likewise.
8325         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
8326         preparation code to resolve.cc.
8327         (_Jv_RegisterClassHookDefault): Set class's execution engine if
8328         not already set.
8329         (_Jv_FindClass): Use wait_for_state.
8330         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
8331         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
8332         Moved interface table and class preparation code to resolve.cc.
8333         (finalize): Rewrote.
8334         (initializeClass): Simplified locking and class preparation.
8335         * java/lang/VMClassLoader.java (linkClass0): Removed.
8336         (markClassErrorState0): Likewise.
8337         (resolveClass): Now native.
8338         (transformException): New method.
8339         * java/lang/Class.h (getSuperclass): Don't try to resolve super
8340         reference.
8341         (getInterface): Likewise.
8342         (size): Likewise.
8343         (set_state): New method.
8344         (Class): Updated friend declarations.
8345         (verify): Field now private.
8346         (engine): New field.
8347         * include/jvm.h (class _Jv_Resolver): New class declaration.
8348         (_Jv_ResolveField): Removed declaration.
8349         (_Jv_CheckAccessNoInit): Likewise.
8350         (_Jv_isBinaryCompatible): Removed.
8351         * include/java-interp.h (class _Jv_MethodBase): Updated friend
8352         declarations.
8353         (class _Jv_InterpMethod): Likewise.
8354         (class _Jv_InterpClass): Likewise.
8355         (class _Jv_JNIMethod): Likewise.
8356         * include/execution.h: New file.
8357         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
8358         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
8359         Register class after setting fields.
8360         * resolve.cc: Include execution.h, VerifyError.h.  Moved
8361         interpreter-specific code to interpret.cc.
8362         (uaddr): New location.
8363         (struct aligner): Likewise.
8364         (ALIGNOF): Likewise.
8365         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
8366         (INITIAL_IFACES_LEN): Likewise.
8367         (null_idt): Likewise.
8368         (_Jv_GetMethodString): Likewise.
8369         (_Jv_ThrowNoSuchMethodError): Likewise.
8370         (_Jv_abstractMethodError): Likewise.
8371         (_Jv_Resolver::get_alignment_from_class): Renamed.
8372         (_Jv_Resolver::resolve_field): Likewise.
8373         (_Jv_Resolver::resolve_pool_entry): Likewise.
8374         (_Jv_Resolver::resolve_class_ref): Likewise.
8375         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
8376         (_Jv_Resolver::indexof): Likewise.
8377         (_Jv_Resolver::get_interfaces): Likewise.
8378         (_Jv_Resolver::generate_itable): Likewise.
8379         (_Jv_Resolver::append_partial_itable): Likewise.
8380         (_Jv_Resolver::find_iindex): Likewise.
8381         (_Jv_Resolver::link_symbol_table): Likewise.
8382         (_Jv_Resolver::link_exception_table): Likewise.
8383         (_Jv_Resolver::layout_interface_methods): Likewise.
8384         (_Jv_Resolver::layout_vtable_methods): Likewise.
8385         (_Jv_Resolver::set_vtable_entries): Likewise.
8386         (_Jv_Resolver::make_vtable): Likewise.
8387         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
8388         (_Jv_Resolver::ensure_class_linked): Likewise.
8389         (_Jv_Resolver::ensure_supers_installed): Likewise.
8390         (_Jv_Resolver::add_miranda_methods): Likewise.
8391         (_Jv_Resolver::ensure_method_table_complete): Likewise.
8392         (_Jv_Resolver::verify_class): Likewise.
8393         (_Jv_Resolver::wait_for_state): Likewise.
8394         * prims.cc (_Jv_soleCompiledEngine): New global.
8395         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
8396         (_Jv_CheckAccessNoInit): Removed.
8397         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
8398         * interpret.cc: Include platform.h, ClassFormatError.h,
8399         Modifier.h, execution.h.
8400         (_Jv_soleInterpreterEngine): New global.
8401         (compile): Use resolve_pool_entry.
8402         (run): Likewise.
8403         (_Jv_InitField): New location.
8404         (skip_one_type): Likewise.
8405         (get_ffi_type_from_signature): Likewise.
8406         (_Jv_count_arguments): Likewise.
8407         (init_cif): Likewise.
8408         (ncode_closure): Likewise.
8409         (ffi_closure_fun): Likewise.
8410         (ncode): Likewise.
8411         (throw_class_format_error): Likewise.
8412         (throw_class_format_error): Likewise.
8413         (_Jv_InterpreterEngine::do_verify): New method.
8414         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
8415         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
8416         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
8417         * defineclass.cc: Include execution.h.
8418         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
8419         engine.
8420         (checkExtends): Ensure superclass has supers installed.
8421         (_Jv_ClassNameSamePackage): Clarify usage constraints.
8422         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
8423         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
8424         dispatch tables.
8426 2004-09-13  Tom Tromey  <tromey@redhat.com>
8428         * mauve-libgcj: List some classes we don't have.
8430 2004-09-10  Andrew Haley  <aph@redhat.com>
8432         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
8433         * java/lang/natClass.cc (initializeClass): Check itable.
8434         (_Jv_getInterfaceMethod): New.
8435         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
8436         Check that an interface method isn't called with invokevirtual.
8438         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
8439         super_meth is virtual.
8441 2004-09-01  Tom Tromey  <tromey@redhat.com>
8443         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
8444         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
8445         _Jv_CheckAccessNoInit.
8446         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
8447         * prims.cc (_Jv_CheckAccessNoInit): New method.
8449         * java/lang/reflect/natMethod.cc (invoke): Check access against
8450         declaring class, not object's class.
8451         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
8452         argument.
8453         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
8454         overridden method.
8455         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
8456         argument.
8458 2004-08-30  Andrew Haley  <aph@redhat.com>
8460         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
8461         ClassNotFoundException.
8462         Throw NoClassDefFoundError.
8464         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
8465         to klass->verify() from here ...
8466         (_Jv_PrepareCompiledClass): ...and put it here.
8468 2004-08-27  Andrew Haley  <aph@redhat.com>
8470         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
8471         klass->verify().
8472         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
8473         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
8475 2004-08-27  Tom Tromey  <tromey@redhat.com>
8477         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
8478         friend.
8479         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
8480         (_Jv_IsAssignableFromSlow): New function.
8481         Include VerifyError.h.
8482         * include/jvm.h (_Jv_CheckAssignment): Declare.
8484 2004-08-18  Andrew Haley  <aph@redhat.com>
8486         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
8487         argument.  Pass it to findClass instead of fileName.
8488         (compileClass): Pass class name to loadSharedLibrary.
8490 2004-06-22  Andrew Haley  <aph@redhat.com>
8492         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
8494 2004-06-15  Andrew Haley  <aph@redhat.com>
8496         * java/lang/natSystem.cc (getenv0): Don't assume environment
8497         variable is Latin 1 coded.
8499 2004-06-07  Andrew Haley  <aph@redhat.com>
8501         * java/lang/System.java: (getenv0): New method.
8502         (getenv): Add security check.  Do the right thing.
8503         * java/lang/natSystem.cc (getenv0): New method.
8505 2004-04-19    Andrew Haley  <aph@redhat.com>
8507         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
8508         we destroy.
8510         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
8511         is returned as an int in the range 0 to 255.
8513 2004-08-13  Tom Tromey  <tromey@redhat.com>
8515         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
8516         class if it is interpreted.
8518 2004-08-12  Tom Tromey  <tromey@redhat.com>
8520         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
8521         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
8522         (Class::getSuperclass): Updated.
8523         (Class::getInterfaces): Likewise.
8524         (Class::size): Updated.
8525         (_Jv_LayoutClass): Updated declaration.
8526         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
8527         Synchronize on class.
8528         (_Jv_LayoutClass): Changed interface.
8529         (initializeClass): Updated.
8530         (_Jv_LinkSymbolTable): Likewise.
8532         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
8533         friend.
8534         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
8535         _Jv_isBinaryCompatible.
8536         * java/lang/natClass.cc (initializeClass): Use
8537         _Jv_isBinaryCompatible.
8538         (_Jv_LinkSymbolTable): Likewise.
8539         * include/jvm.h (_Jv_isBinaryCompatible): New function.
8541 2004-08-11  Tom Tromey  <tromey@redhat.com>
8543         * gcj/javaprims.h: Regenerated.
8544         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
8545         (_registerClass): Likewise.
8546         * Makefile.in: Rebuilt.
8547         * Makefile.am (core_java_source_files): Added VMCompiler.
8548         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
8549         * java/lang/VMCompiler.java: New file.
8550         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
8551         `verbose' code.
8552         (copyFile): Don't use fully-qualified name.
8553         (h): Removed.
8554         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
8555         (defineClass): Use VMCompiler.
8556         * java/lang/ClassLoader.java (defineClass): Removed jit
8557         compilation code and `verbose' code.
8558         (getClassLoader0): Removed.
8559         (_registerClass): Likewise.
8560         (SharedLibHelpers): Removed.
8562 2004-08-10  Tom Tromey  <tromey@redhat.com>
8564         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
8565         URL)): New constructor.
8566         (SoURLLoader): Likewise.
8567         (JarURLLoader): Create SoURLLoader with override URL.
8569 2004-08-10  Mark Wielaard  <mark@klomp.org>
8571         * Makefile.in: Rebuilt.
8572         * Makefile.am (interpret.lo): New rule.
8574 2004-08-05  Andrew Haley  <aph@redhat.com>
8576         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
8577         aside for "GCJLIBS" in directory where jarfiles are loaded.
8578         (JarURLLoader.getClass): New method.
8579         (JarURLLoader.toString):  New method.
8580         (FileResource.toString):  New method.
8581         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
8582         Remove "Duplicate class registration: " bug.
8583         (_registerClass): New method.
8584         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
8585         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
8586         Add debugging.
8587         (_Jv_LayoutClass): Use getSuperclass() rather than directly
8588         accessing the field.
8589         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
8590         (defineClass): Call gcj to JIT-compile a class.
8591         (_registerClass): New method.
8592         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
8593         library name can refer to more than one loaded library, so use a
8594         Set of SharedLibHelpers.
8595         If a shared library is already loaded, take a copy.
8596         (copyFile): New function.
8598         * testsuite/libjava.compile/compile.exp: Force
8599         -findirect-dispatch.
8601         * java/security/BasicPermission.java: Remove bogus checks.
8603         * java/lang/System.java (getenv0): New method.
8604         * java/lang/natSystem.cc (getenv0): New method.
8606 2004-05-24  Andrew Haley  <aph@redhat.com>
8608         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
8610 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
8612         * Merged with HEAD as of 20040514. Diff against
8613         gcj-abi-2-merge-20040514.
8615 2004-04-16  Andrew Haley  <aph@redhat.com>
8617         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
8618         _Jv_LayoutClass.
8619         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
8620         (_Jv_PrepareCompiledClass): If we throw an exception during
8621         preparation, restore state.
8622         (ClassLoader::getClassLoader0): New method.
8624         * java/lang/natClass.cc (get_alignment_from_class): Moved here
8625         from resolve.cc.
8626         (ALIGNOF): Use offsetof, not __alignof__.
8627         (_Jv_ResolveClassRef): Resolve a reference to a class in a
8628         constant pool.
8629         (getInterfaces): Emit debug output if interface hasn't been
8630         resolved.
8631         (initializeClass): Call _Jv_LayoutClass.
8632         (_Jv_LinkSymbolTable): Add debugging output.
8633         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
8634         found.
8635         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
8636         (_Jv_LinkSymbolTable): Pass the real class loader to
8637         _Jv_FindClass.
8638         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
8639         exception class.
8640         (_Jv_LinkSymbolTable): Assert if we find a static field reference
8641         to an interpreted class.
8642         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
8643         superclass.
8644         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
8645         resolve.cc.
8647         * java/lang/VMSecurityManager.java: Check for the system class
8648         loader as well as loader != null.
8650         * java/lang/SecurityManager.java (checkPermission): Remove
8651         security check.
8652         (checkRead): Likewise.
8653         (checkConnect): Likewise.
8655         * java/lang/ClassLoader.java (loadClass): Include all class
8656         loaders in stack trace string.
8657         Look for class in "gcjlib.so" in the same directory.
8658         (getSystemClassLoader) Use getClassLoader0.
8659         (getClassLoader0): New native method.
8661         * java/lang/Class.h (getSuperclass): New method.
8662         (getInterface): New method.
8663         (size): Lay out class if needed.
8664         (firstMethodIndex): New method.
8665         (Jv_ResolveClassRef): New declaration.
8666         (_Jv_LinkSymbolTable): New declaration.
8668         * java/io/ObjectOutputStream.java: Add DEBUG statements
8669         everywhere.
8670         (dumpElementln): New method.
8671         (depth): New field.
8672         * java/io/ObjectInputStream.java (MyIOException): new, for
8673         debugging.
8674         Everywhere: use MyIOException rather than IOException.
8675         Indent debugging output to make nesting visible.
8676         (currentClassLoader): Make native
8677         (callersClassLoader): New field.
8678         (depth): New field.
8679         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
8680         method.
8682         (readObject): ENDBLOCKDATA is generated if the class has a write
8683         method, not if it has a read method.
8685         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
8687         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
8688         getContextClassLoader form the current thread after our own class
8689         loader.
8691         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
8692         debugging.
8693         (toString): New method.
8695         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
8696         interfaces array.
8698         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
8699         a constant pool entry, resolve it now.
8700         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
8701         in natClass.cc.
8702         Move get_alignment_from_class to natClass.cc.
8704         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
8705         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8707         * defineclass.cc (checkExtends): Don't access superclass field
8708         directly.
8710         * Makefile.in: regenerate.
8712         * gnu/gcj/util/natDebug.cc: New
8713         * gnu/gcj/util/Debug.java: New.
8715         * Makefile.am (java/io/ObjectInputStream.lo): Use
8716         -fno-optimize-sibling-calls.
8718         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8719         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
8720         in an interface.
8721         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
8723 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
8725         * configure: Regenerate for libtool change.
8727 2004-11-24  Michael Koch  <konqueror@gmx.de>
8729         * gnu/java/security/PolicyFile.java: New file.
8730         * Makefile.am: Added gnu/java/security/PolicyFile.java.
8731         * Makefile.in: Regenerated.
8733 2004-11-24  Michael Koch  <konqueror@gmx.de>
8735         * java/lang/Character.java, scripts/unicode-blocks.pl:
8736         Reorder "final static" to "static final".
8738 2004-11-24  Michael Koch  <konqueror@gmx.de>
8740         * java/util/ResourceBundle.java: Reformatted.
8741         (tryBundle): Fixed javadoc.
8743 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
8745         * java/text/MessageFormat.java
8746         (formatInternal): Made private.
8748 2004-11-24  Michael Koch  <konqueror@gmx.de>
8750         * java/nio/DirectByteBufferImpl.java
8751         (ReadWrite.ReadWrite): New constructor.
8752         (DirectByteBufferImpl): Likewise.
8753         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
8754         Use DirectByteBufferImpl.ReadWrite.
8755         * Makefile.am:
8756         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
8757         * Makefile.in: Rgenerated.
8759 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
8761         * java/nio/DirectByteBufferImpl.java
8762         (ReadOnly): New inner subclass.
8763         (ReadWrite): New inner subclass.
8764         (owner): Made final and private.
8765         (address): Made final.
8766         (DirectByteBufferImpl(int)): New constructor.
8767         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
8768         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
8769         (allocate): Modified to instantiate ReadWrite subclass.
8770         (finalize): Fixed to only free the buffer, if we own it.
8771         (put): Removed read-only check.
8772         (slice, duplicate): Modified to instantiate appropriate subclass.
8773         (isReadOnly): Removed.
8774         * java/nio/MappedByteBufferImpl.java
8775         (slice, duplicate): Modified to instantiate appropriate
8776         DirectByteBufferImpl subclass.
8778 2004-11-24  Michael Koch  <konqueror@gmx.de>
8780         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
8781         * java/nio/DirectByteBufferImpl.java:
8782         Moved native methods to java.nio.VMDirectByteBuffer class.
8783         * java/nio/MappedByteBufferImpl.java:
8784         Use native methods from java.nio.VMDirectByteBuffer class.
8785         * java/nio/VMDirectByteBuffer.java: New file,
8786         * java/nio/natDirectByteBufferImpl.cc:
8787         Moved all methods into java.nio.VMDirectByteBuffer class.
8788         * java/nio/channels/spi/AbstractSelectableChannel.java
8789         (register): Only re-use valid keys.
8790         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
8791         * Makefile.in: Regenerated.
8793 2004-11-24  Michael Koch  <konqueror@gmx.de>
8795         * java/nio/DirectByteBufferImpl.java,
8796         java/nio/MappedByteBufferImpl.java:
8797         Reformatted.
8799 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8801         * testsuite/lib/libjava.exp,
8802         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
8804 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
8806         * configure.host: Enable the interpreter for mips*-*-linux*.
8808 2004-11-23  Michael Koch  <konqueror@gmx.de>
8810         * java/lang/String.java (rehash): Removed.
8811         * java/lang/natString.cc (rehash): Made static.
8812         (_Jv_NewStringUtf8Const): Use static rehash method.
8814 2004-11-23  Michael Koch  <konqueror@gmx.de>
8816         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
8817         include/Makefile.in, testsuite/Makefile.in: Regenerated.
8819 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
8821         PR target/18444
8822         * configure.ac (threading): Accept 'posix95'.
8823         * configure: Regenerate.
8825 2004-11-22  Michael Koch  <konqueror@gmx.de>
8827         * gnu/java/nio/SocketChannelImpl.java
8828         (read): Made check for blocking un-ambiguous.
8829         Removed wrong check for data array length.
8831 2004-11-21  Michael Koch  <konqueror@gmx.de>
8833         * gnu/java/nio/SocketChannelImpl.java
8834         (read): Only return 0 when no bytes for reading available in
8835         non-blocking mode.
8836         * java/nio/channels/SocketChannel.java:
8837         Added some missing @return tags.
8839 2004-11-21  Michael Koch  <konqueror@gmx.de>
8841         * java/beans/PropertyChangeSupport.java
8842         (propertyChangeSupportSerializedDataVersion): Made static.
8843         * java/beans/VetoableChangeSupport.java
8844         (propertyChangeSupportSerializedDataVersion): Likewise.
8846 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
8848         * java/net/URLStreamHandler.java
8849         (parseURL): Fixed file path canonicalisation.
8851 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
8853         * java/net/URLStreamHandler.java
8854         (parseURL): Fixed file path canonicalisation.
8856 2004-11-18  Michael Koch  <konqueror@gmx.de>
8858         * java/net/URLClassLoader.java: Whitespace cleanup.
8860 2004-11-18  Robert Schuster <address@bogus.example.com>
8862         Complete 1.4 support
8863         * java/beans/PropertyDescriptor.java:
8864         (setReadMethod): New method
8865         (setWriteMethod): New method
8866         (equals): Implemented (1.4)
8867         (checkMethods): operates on arguments now (private)
8870 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
8872         * java/net/Inet6Address.java (getHostAddress): Fix textual
8873         representation of IPv6 address with embedded zeroes
8874         to conform to RFC 2373.
8876 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
8878         * java/lang/StackTraceElement.java: Made final.
8879         * java/nio/channels/Channels.java: Added private constructor.
8880         * java/rmi/Naming.java: Added private constructor.
8881         * java/rmi/registry/LocateRegistry.java: Added private constructor.
8882         * java/rmi/server/RMIClassLoader.java: Added private constructor.
8883         * java/security/KeyPairGeneratorSpi.java
8884         (clone): Made protected and simplified implementation.
8885         * java/text/DateFormat.java
8886         (allFields): Made package accessible.
8887         * java/text/DecimalFormat.java
8888         (formatInternal): Made private.
8889         * java/text/Format.java
8890         (formatInternal): Made private.
8891         * java/util/logging/Handler.java: Made constructor protected.
8892         * java/util/regex/Matcher.java: Made final.
8893         * java/util/regex/Pattern.java: Made final.
8894         * javax/crypto/CipherInputStream.java
8895         (mark): Corrected mark parameter type (from long to int).
8896         * javax/crypto/ExemptionMechanism.java
8897         (finalize): Added.
8898         * javax/crypto/Mac.java
8899         (getMacLength): Made final.
8900         (clone): Made final.
8901         * javax/imageio/ImageIO.java: Added private constructor.
8902         * javax/imageio/stream/ImageInputStreamImpl.java
8903         (checkClosed): Made final.
8904         * javax/net/ssl/SSLPermission.java: Made final.
8905         * javax/print/DocFlavor.java
8906         (hostEncoding): Added work-around to prevent the field from being
8907         a compile time constant.
8908         * javax/print/attribute/AttributeSetUtilities.java: Added private
8909         constructor.
8910         (UnmodifiableDocAttributeSet): Made private.
8911         (UnmodifiablePrintJobAttributeSet): Made private.
8912         (UnmodifiablePrintRequestAttributeSet): Made private.
8913         (UnmodifiablePrintServiceAttributeSet): Made private.
8914         (SynchronizedAttributeSet): Made private.
8915         (SynchronizedDocAttributeSet): Made private.
8916         (SynchronizedPrintJobAttributeSet): Made private.
8917         (SynchronizedPrintRequestAttributeSet): Made private.
8918         (SynchronizedPrintServiceAttributeSet): Made private.
8919         * javax/security/auth/PrivateCredentialPermission.java: Made final.
8921 2004-11-18  Craig Black  <craig.black@aonix.com>
8923         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
8925 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
8927         * Makefile.am: Correct friend function declaration.
8928         * Makefile.in: Regenerated.
8929         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
8930         scope to function names.  Declare functions directly.
8931         * libjava/java/lang/Class.h
8932         (java::lang::Class): Correct friend class declaration.
8933         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
8934         scope.
8935         * libjava/java/lang/Class.h
8936         (java::lang::Object): Correct friend class declaration.
8938 2004-11-17  David Daney  <ddaney@avtrex.com>
8940         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
8942 2004-11-17  Michael Koch  <konqueror@gmx.de>
8944         * java/net/Socket.java (getPort): Return 0 in error case.
8946 2004-11-17  Michael Koch  <konqueror@gmx.de>
8948         *  java/nio/DirectByteBufferImpl.java
8949         (owner): Updated comment.
8950         (allocate): New method.
8952 2004-11-17  Michael Koch  <konqueror@gmx.de>
8954         * java/net/URL.java (URL): Handle case when argument is null.
8956 2004-11-17  Michael Koch  <konqueror@gmx.de>
8958         * java/beans/Beans.java,
8959         java/beans/PropertyChangeEvent.java,
8960         java/beans/PropertyEditorSupport.java:
8961         Fixed javadocs.
8963 2004-11-17  Michael Koch  <konqueror@gmx.de>
8965         * java/util/Timer.java (DEFAULT_SIZE): Made static.
8967 2004-11-17  Michael Koch  <konqueror@gmx.de>
8969         * java/net/InetAddress.java (getCanonicalHostName):
8970         Support IPv6 addresses.
8972 2004-11-16  Michael Koch  <konqueror@gmx.de>
8974         * java/lang/Object.java: Added javadocs all over (merged from GNU
8975         classpath).
8977 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
8979         * java/security/Security.java (Security): Silence the warning about no
8980         providers found in the no debug case.
8982 2004-11-16  Michael Koch  <konqueror@gmx.de>
8984         * java/net/InetAddress.java
8985         (toString): Merged from GNU classpath.
8987 2004-11-16  Michael Koch  <konqueror@gmx.de>
8989         * java/awt/geom/doc-files/Area-1.png,
8990         java/awt/geom/doc-files/Ellipse-1.png,
8991         java/awt/geom/doc-files/GeneralPath-1.png:
8992         New files.
8994 2004-11-16  Michael Koch  <konqueror@gmx.de>
8996         * java/util/Currency.java (cache): Fix modifier order.
8998 2004-11-16  Michael Koch  <konqueror@gmx.de>
9000         * java/io/BufferedReader.java,
9001         java/io/FileInputStream.java,
9002         java/io/FileOutputStream.java,
9003         java/io/FileWriter.java,
9004         java/io/OutputStreamWriter.java,
9005         java/io/PipedInputStream.java,
9006         java/io/PipedOutputStream.java,
9007         java/io/PipedReader.java,
9008         java/io/PipedWriter.java,
9009         java/io/PrintStream.java,
9010         java/io/PushbackInputStream.java,
9011         java/io/RandomAccessFile.java,
9012         java/io/Reader.java,
9013         java/io/StreamTokenizer.java,
9014         java/io/StringReader.java,
9015         java/net/NetworkInterface.java,
9016         java/net/URLClassLoader.java,
9017         java/nio/ByteOrder.java,
9018         java/nio/channels/Channel.java:
9019         Fixed javadocs all over.
9021 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
9023         * Makefile.am: Add imported files.
9024         * Makefile.in: Regenerate.
9026         2004-10-24  Casey Marshall  <csm@gnu.org>
9028         * javax/security/auth/login/LoginContext.java: Implemented.
9029         * javax/security/auth/login/Configuration.java (getConfig): New method.
9030         * javax/security/auth/spi/LoginModule.java,
9031         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
9033 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
9035         Import/Merge the X.509 certificate code from Classpath.
9037         * Makefile.am: Add imported files.
9038         * Makefile.in: Regenerate.
9040         2004-11-07  Casey Marshall  <csm@gnu.org>
9042         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
9043         priviliged action. Add new algorithms.
9044         * gnu/java/security/provider/X509CertificateFactory.java
9045         (engineGenerateCertificate): Chain exceptions.
9046         (engineGenerateCertificates): Likewise.
9047         (engineGenerateCRL): Likewise.
9048         (engineGenerateCRLs): Likewise.
9049         (engineGenerateCertPath): New methods.
9050         (generateCert): Throw exception if 'inStream' is null.
9051         (generateCRL): Likewise.
9052         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
9053         version from GNU Crypto CVS.
9054         * gnu/java/security/x509/X509CRL.java: Likewise.
9055         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
9056         * gnu/java/security/x509/X509Certificate.java: Likewise.
9057         * java/security/cert/TrustAnchor.java: Call 'toString' and not
9058         toRFC2253.
9059         * gnu/java/security/provider/CollectionCertStoreImpl.java,
9060         * gnu/java/security/provider/EncodedKeyFactory.java,
9061         * gnu/java/security/provider/GnuDHPublicKey.java,
9062         * gnu/java/security/provider/GnuRSAPrivateKey.java,
9063         * gnu/java/security/provider/GnuRSAPublicKey.java,
9064         * gnu/java/security/provider/MD2withRSA.java,
9065         * gnu/java/security/provider/MD4withRSA.java,
9066         * gnu/java/security/provider/MD5withRSA.java,
9067         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
9068         * gnu/java/security/provider/RSA.java,
9069         * gnu/java/security/provider/RSAKeyFactory.java,
9070         * gnu/java/security/provider/SHA1withRSA.java,
9071         * gnu/java/security/x509/GnuPKIExtension.java,
9072         * gnu/java/security/x509/PolicyNodeImpl.java,
9073         * gnu/java/security/x509/Util.java,
9074         * gnu/java/security/x509/X509CRLSelectorImpl.java,
9075         * gnu/java/security/x509/X509CertPath.java,
9076         * gnu/java/security/x509/X509CertSelectorImpl.java,
9077         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
9078         * gnu/java/security/x509/ext/BasicConstraints.java,
9079         * gnu/java/security/x509/ext/CRLNumber.java,
9080         * gnu/java/security/x509/ext/CertificatePolicies.java,
9081         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
9082         * gnu/java/security/x509/ext/Extension.java,
9083         * gnu/java/security/x509/ext/GeneralNames.java,
9084         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
9085         * gnu/java/security/x509/ext/KeyUsage.java,
9086         * gnu/java/security/x509/ext/PolicyConstraint.java,
9087         * gnu/java/security/x509/ext/PolicyMappings.java,
9088         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
9089         * gnu/java/security/x509/ext/ReasonCode.java,
9090         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
9091         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
9093         2004-11-07  Casey Marshall  <csm@gnu.org>
9095         * gnu/java/security/x509/X509CRL.java:
9096         Missed import statements in previous checkin.
9098         2004-11-07  Casey Marshall  <csm@gnu.org>
9100         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
9101         to 'X509CertificateImpl' from previous checkin.
9103 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
9105         PR other/14264
9106         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
9108 2004-11-11  Casey Marshall  <csm@gnu.org>
9110         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
9111         channel is open.
9112         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
9113         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
9115 2004-11-11  Robert Schuster <thebohemian@gmx.net>
9117         Fixed regression:
9118         * gnu/java/beans/IntrospectionIncubator.java:
9119         (addMethod): Corrected classification of normal and property methods.
9120         (capitalize): Added documentation.
9121         (DoubleKey): [class] Added documentation.
9123 2004-11-09  Tom Tromey  <tromey@redhat.com>
9125         * include/jni.h: Added FIXME.
9127 2004-11-08  Tom Tromey  <tromey@redhat.com>
9129         * java/util/GregorianCalendar.java: Removed unused imports.
9130         * java/util/Vector.java: Removed unused import.
9132 2004-11-07  Michael Koch  <konqueror@gmx.de>
9134         * java/lang/Process.java:
9135         Import cleanups.
9137 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
9139         * java/util/zip/ZipEntry.java
9140         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
9142 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
9144         Fixes bug #10908
9145         * gnu/java/beans/IntrospectionIncubator.java:
9146         (addMethod): static methods are discarded now, too.
9148 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
9150         * java/util/GregorianCalendar.java
9151         Added/amended documentation.
9153 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
9155         * java/util/Collections.java
9156         Added documentation.
9157         * java/util/SortedMap.java
9158         Clarified some method examples.
9159         * java/util/SortedSet.java
9160         Clarified some method examples.
9162 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
9164         * java/util/Currency.java
9165         Documented variables and methods more fully.
9166         Caches the currency instances, so that a request
9167         for a locale, l, only ever returns the same
9168         instance (i.e. successive calls to getInstance(l)
9169         are reference equivalent (==)).
9171 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9173         * java/util/Date.java
9174         Added missing documentation.
9176 2004-11-06  Michael Koch  <konqueror@gmx.de>
9178         * java/util/zip/CheckedInputStream.java,
9179         java/util/zip/InflaterInputStream.java,
9180         java/util/zip/ZipFile.java,
9181         java/util/zip/ZipInputStream.java:
9182         Import cleanups.
9184 2004-11-06  Tom Tromey  <tromey@redhat.com>
9186         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
9187         package-private.
9188         (connections): Likewise.
9189         (scavenger): Likewise.
9190         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
9191         package-private.
9192         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
9193         package-private.
9194         (ptr): Likewise.
9195         * gnu/classpath/ServiceFactory.java (log): Now package-private.
9197 2004-11-06  Tom Tromey  <tromey@redhat.com>
9199         * javax/naming/directory/BasicAttributes.java (attributes): Now
9200         package-private.
9201         * javax/imageio/spi/ServiceRegistry.java (categories): Now
9202         package-private.
9204 2004-11-06  Tom Tromey  <tromey@redhat.com>
9206         * java/net/URLClassLoader.java (URLClassLoader): Now
9207         package-private.
9208         * java/nio/charset/CoderResult.java (CoderResult): Now
9209         package-private.
9210         (get): Likewise.
9211         (Cache): Likewise.  Don't synchronize on `this'.
9212         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
9213         package-private.
9214         * java/util/TimeZone.java (timezones): Now package-private.
9216 2004-11-06  Tom Tromey  <tromey@redhat.com>
9218         * java/security/Permissions.java (perms): Now package-private.
9219         * java/security/UnresolvedPermission.java (permissions): Now
9220         package-private.
9222 2004-11-06  Tom Tromey  <tromey@redhat.com>
9224         * java/io/FilePermission.java: Reindented.
9226 2004-11-06  Tom Tromey  <tromey@redhat.com>
9228         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
9229         package-private.
9230         (setBlockDataMode): Likewise.
9232 2004-11-06  Tom Tromey  <tromey@redhat.com>
9234         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
9235         package-private.
9236         (Encoder): Likewise.
9237         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
9238         (Encoder): Likewise.
9239         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
9240         package-private.
9241         (Encoder): Likewise.
9243 2004-11-06  Mark Wielaard  <mark@klomp.org>
9245         * Makefile.am: Add new javax.imageio files.
9246         * Makefile.in: Regenerated.
9248 2004-11-06  Michael Koch  <konqueror@gmx.de>
9250         * javax/imageio/event/IIOReadProgressListener.java,
9251         javax/imageio/event/IIOReadUpdateListener.java,
9252         javax/imageio/event/IIOReadWarningListener.java,
9253         javax/imageio/event/IIOWriteProgressListener.java,
9254         javax/imageio/event/IIOWriteWarningListener.java,
9255         javax/imageio/metadata/IIOMetadataFormat.java,
9256         javax/imageio/stream/FileCacheImageInputStream.java,
9257         javax/imageio/stream/FileCacheImageOutputStream.java,
9258         javax/imageio/stream/ImageInputStreamImpl.java:
9259         Import cleanup.
9260         * javax/imageio/metadata/package.html: New file.
9262 2004-11-06  Michael Koch  <konqueror@gmx.de>
9264         * javax/imageio/spi/ImageReaderSpi.java
9265         (isOwnReader): New method.
9266         * javax/imageio/spi/ImageWriterSpi.java
9267         (isOwnWriter): Likewise.
9269 2004-11-06  Michael Koch  <konqueror@gmx.de>
9271         * javax/imageio/ImageWriter.java
9272         (convertImageMetadata): New abstract method.
9273         (convertStreamMetadata): Likewise.
9274         (write): Likewise.
9275         * javax/imageio/stream/FileCacheImageInputStream.java
9276         (close): Fixed setting of stream to null.
9277         (checkStreamClosed): Throws IOException.
9279 2004-11-06  Michael Koch  <konqueror@gmx.de>
9281         * javax/imageio/stream/FileCacheImageInputStream.java,
9282         javax/imageio/stream/FileCacheImageOutputStream.java,
9283         javax/imageio/stream/FileImageInputStream.java,
9284         javax/imageio/stream/FileImageOutputStream.java,
9285         javax/imageio/stream/MemoryCacheImageInputStream.java,
9286         javax/imageio/stream/MemoryCacheImageOutputStream.java:
9287         New files.
9289 2004-11-06  Michael Koch  <konqueror@gmx.de>
9291         * javax/imageio/metadata/IIOInvalidTreeException.java,
9292         javax/imageio/metadata/IIOMetadataFormatImpl.java,
9293         javax/imageio/metadata/IIOMetadataNode.java:
9294         New stub files.
9296 2004-11-06  Michael Koch  <konqueror@gmx.de>
9298         * javax/imageio/stream/ImageInputStreamImpl.java,
9299         javax/imageio/stream/ImageOutputStreamImpl.java:
9300         New files.
9302 2004-11-06  Michael Koch  <konqueror@gmx.de>
9304         * javax/imageio/ImageIO.java:
9305         Added much new methods.
9307 2004-11-06  Michael Koch  <konqueror@gmx.de>
9309         * javax/imageio/ImageReader.java,
9310         javax/imageio/ImageWriter.java,
9311         javax/imageio/spi/ImageWriterSpi.java:
9312         Add SOME new methods.
9314 2004-11-06  Michael Koch  <konqueror@gmx.de>
9316         * javax/imageio/IIOParam.java,
9317         javax/imageio/ImageReadParam.java,
9318         javax/imageio/ImageReader.java,
9319         javax/imageio/ImageWriter.java:
9320         Mostly implemented.
9321         * javax/imageio/spi/ImageReaderSpi.java,
9322         javax/imageio/spi/ImageWriterSpi.java:
9323         New files.
9325 2004-11-06  Michael Koch  <konqueror@gmx.de>
9327         * javax/imageio/ImageWriteParam.java,
9328         javax/imageio/metadata/IIOMetadataFormat.java:
9329         Implemented.
9331 2004-11-06  Michael Koch  <konqueror@gmx.de>
9333         * javax/imageio/ImageTypeSpecifier.java:
9334         Mostly implemented.
9336 2004-11-06  Michael Koch  <konqueror@gmx.de>
9338         * javax/imageio/metadata/IIOMetadata.java:
9339         Mostly implemented.
9341 2004-11-06  Michael Koch  <konqueror@gmx.de>
9343         * javax/imageio/IIOImage.java,
9344         javax/imageio/ImageReadParam.java,
9345         javax/imageio/metadata/IIOMetadataController.java,
9346         javax/imageio/metadata/IIOMetadataFormat.java:
9347         New files.
9348         * javax/imageio/stream/ImageOutputStream.java:
9349         Implemented.
9351 2004-11-06  Michael Koch  <konqueror@gmx.de>
9353         * javax/imageio/IIOParam.java,
9354         javax/imageio/IIOParamController.java,
9355         javax/imageio/ImageTypeSpecifier.java,
9356         javax/imageio/ImageWriteParam.java,
9357         javax/imageio/metadata/IIOMetadata.java:
9358         New files.
9359         * javax/imageio/ImageTranscoder.java:
9360         Implemented.
9362 2004-11-06  Michael Koch  <konqueror@gmx.de>
9364         * javax/imageio/spi/ImageInputStreamSpi.java,
9365         javax/imageio/spi/ImageOutputStreamSpi.java:
9366         Reworked import startments.
9367         * javax/imageio/spi/ServiceRegistry.java:
9368         Reworked import startments. Fixed XHTML in javadocs.
9369         (ServiceRegistry): Added @param tag to javadoc.
9370         * javax/imageio/stream/ImageInputStream.java
9371         (mark): Doesn't throws IOException;
9373 2004-11-06  Michael Koch  <konqueror@gmx.de>
9375         * javax/imageio/ImageIO.java:
9376         New file.
9378 2004-11-06  Michael Koch  <konqueror@gmx.de>
9380         * javax/imageio/spi/IIORegistry.java
9381         (static): Don't register ImageReaderSpi.class and
9382         ImageWriterSpi.class yet.
9384 2004-11-06  Michael Koch  <konqueror@gmx.de>
9386         * javax/imageio/spi/IIORegistry.java:
9387         New file.
9389 2004-11-06  Noa Resare  <noa@resare.com>
9391         * java/net/Socket.java (getPort): Return 0 instead of -1 on
9392         unconnected sockets.
9394 2004-11-06  Michael Koch  <konqueror@gmx.de>
9396         * java/lang/StringBuffer.java,
9397         java/lang/Throwable.java,
9398         java/security/spec/DSAParameterSpec.java,
9399         java/util/zip/ZipEntry.java,
9400         java/util/zip/ZipFile.java,
9401         java/util/zip/ZipInputStream.java,
9402         java/util/zip/ZipOutputStream.java:
9403         Removed redundant and reordered modifiers.
9405 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
9407         * java/io/Vector.java
9408         (writeObject): New function to serialized output thread safe.
9410         * java/io/ObjectOutputStream.java
9411         (writeObject): Move the assignment of the class handle to after
9412         the assignment of class descriptor handle.
9414 2004-11-06  Robert Schuster <thebohemian@gmx.net>
9416         Fixes documentation and indentation
9417         * java/beans/PropertyEditorSupport.java:
9418         reworked initial API doc
9419         (value): changed name from val
9421 2004-11-06  Robert Schuster <thebohemian@gmx.net>
9423         Updates to 1.5
9424         * java/beans/PropertyEditorSupport.java
9425         (PropertyEditorSupport()): Changed modifier to public
9426         (PropertyEditorSupport(Object): Changed modifier to public
9427         (setSource): New method
9428         (getSource): New method
9430 2004-11-06  Robert Schuster <thebohemian@gmx.net>
9432         Fixes bug #10799
9433         * java/beans/PropertyEditorSupport.java
9434         (setValue): Fire property change event
9436 2004-11-03  Tom Tromey  <tromey@redhat.com>
9438         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
9439         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
9440         returns jobjectArray.
9441         (_Jv_JNIEnv::NewObjectArray): Likewise.
9443 2004-11-01  Tom Tromey  <tromey@redhat.com>
9445         * verify.cc (state::check_no_uninitialized_objects): Removed.
9446         (push_jump): Updated.
9447         (push_exception_jump): Likewise.
9448         (handle_ret_insn): Likewise.
9449         (handle_jsr_insn): Likewise.
9451 2004-10-30  Mark Wielaard  <mark@klomp.org>
9453         PR libgcj/18234
9454         * java/lang/Runtime.java (static): Call init().
9455         (Runtime): Remove call to init().
9456         (init): Make static.
9458 2004-10-28  David Daney  <ddaney@avtrex.com>
9460         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
9461         * Makefile.am: Build it.
9462         * Makefile.in: Regenerate.
9464 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
9466         PR libgcj/18104
9467         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
9468         colon.
9469         * Makefile.in: Regenerate.
9470         * configure: Regenerate.
9471         * configure.ac (CLASSPATH_SEPARATOR): Define.
9472         * gcj/Makefile.in: Regenerate.
9473         * include/Makefile.in: Regenerate.
9474         * testsuite/Makefile.in: Regenerate.
9475         * testsuite/lib/libjava.exp (libjava_arguments): Fix
9476         CLASSPATH separator handling for Windows.
9478 2004-10-26  Michael Koch  <konqueror@gmx.de>
9480         * gnu/java/net/protocol/http/Connection.java
9481         (getOutputStream): Implicitely switch to POST method.
9483 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
9485         * libjava/java/lang/Class.h
9486         (java::lang::Class): Correct friend class declaration.
9488 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
9490         * Makefile.am (DARWIN_CRT_SRC): New.
9491         (libgcj_la_SOURCES): Use it.
9492         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
9493         * darwin.cc: New file.
9494         * include/jvm.h (_Jv_RegisterClasses): Constify.
9495         (_Jv_RegisterClasses_Counted): New prototype.
9496         * java/lang/Class.h: Include stddef.h.
9497         (_Jv_RegisterClasses): Constify.
9498         (_Jv_RegisterClasses_Counted): New prototype.
9499         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
9500         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
9501         (_Jv_RegisterClasses_Counted): New function.
9502         * configure: Regenerate.
9503         * Makefile.in: Regenerate.
9504         * gcj/Makefile.in: Regenerate.
9505         * include/Makefile.in: Regenerate.
9506         * testsuite/Makefile.in: Regenerate.
9508 2004-10-25  Tom Tromey  <tromey@redhat.com>
9510         * java/util/ResourceBundle.java (tryBundle): Use
9511         Class.isAssignableFrom rather than catching ClassCastException.
9513 2004-10-25  Tom Tromey  <tromey@redhat.com>
9515         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
9516         initialize `iter'.
9517         * gnu/java/text/SentenceBreakIterator.java
9518         (SentenceBreakIterator): Don't initialize `iter'.
9519         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
9520         initialize `iter'.
9521         * gnu/java/text/CharacterBreakIterator.java
9522         (CharacterBreakIterator): Don't initialize `iter'.
9523         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
9524         constructor.
9525         * java/text/BreakIterator.java: Updated documentation.
9527 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
9529         PR other/18138
9530         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
9532 2004-10-23  Michael Koch  <konqueror@gmx.de>
9534         * javax/print/DocFlavor.java,
9535         javax/print/attribute/standard/JobStateReason.java,
9536         javax/print/attribute/standard/MultipleDocumentHandling.java:
9537         Added missing constants.
9539 2004-10-22  Tom Tromey  <tromey@redhat.com>
9541         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
9542         typo.
9544 2004-10-22  Michael Koch  <konqueror@gmx.de>
9546         PR libjava/14009
9547         * gnu/java/net/protocol/http/Connection.java
9548         (sendRequest): Handle case when url.getFile() returns an empty string.
9550 2004-10-22  Michael Koch  <konqueror@gmx.de>
9552         * java/lang/Math.java,
9553         java/lang/StackTraceElement.java,
9554         java/nio/Buffer.java,
9555         java/nio/ByteBuffer.java,
9556         java/nio/CharBuffer.java,
9557         java/nio/DoubleBuffer.java,
9558         java/nio/FloatBuffer.java,
9559         java/nio/IntBuffer.java,
9560         java/nio/LongBuffer.java,
9561         java/nio/ShortBuffer.java,
9562         java/nio/charset/Charset.java,
9563         java/rmi/server/RMIClassLoader.java,
9564         java/rmi/server/RMISocketFactory.java,
9565         java/security/Policy.java,
9566         java/text/ChoiceFormat.java,
9567         java/text/CollationElementIterator.java,
9568         java/text/DateFormat.java,
9569         java/text/DecimalFormat.java,
9570         java/text/DecimalFormatSymbols.java,
9571         java/text/MessageFormat.java,
9572         java/text/NumberFormat.java,
9573         java/text/RuleBasedCollator.java,
9574         java/text/SimpleDateFormat.java,
9575         java/util/BitSet.java,
9576         java/util/Calendar.java,
9577         java/util/Collections.java,
9578         java/util/IdentityHashMap.java,
9579         java/util/Locale.java,
9580         java/util/TreeMap.java,
9581         java/util/logging/LogRecord.java,
9582         java/util/logging/XMLFormatter.java,
9583         java/util/prefs/AbstractPreferences.java,
9584         java/util/prefs/Preferences.java,
9585         javax/crypto/interfaces/DHPrivateKey.java,
9586         javax/crypto/interfaces/DHPublicKey.java,
9587         javax/crypto/interfaces/PBEKey.java,
9588         javax/net/ssl/HandshakeCompletedEvent.java,
9589         javax/security/auth/Subject.java:
9590         Removed redundant and reordered modifiers.
9592 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
9594         * gnu/java/net/natPlainSocketImplPosix.cc
9595         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
9596         with 'int *' argument instead of 'long *'.
9598 2004-10-21  Michael Koch  <konqueror@gmx.de>
9600         * java/net/NetworkInterface.java,
9601         java/text/Format.java,
9602         javax/security/auth/x500/X500Principal.java,
9603         javax/security/auth/x500/X500PrivateCredential.java,
9604         javax/security/cert/X509CertBridge.java,
9605         javax/security/sasl/Sasl.java,
9606         javax/sql/XAConnection.java:
9607         Import cleanup.
9609 2004-10-21  Michael Koch  <konqueror@gmx.de>
9611         * javax/net/ssl/HandshakeCompletedEvent.java,
9612         javax/net/ssl/KeyManagerFactory.java,
9613         javax/net/ssl/SSLContext.java,
9614         javax/net/ssl/SSLServerSocketFactory.java,
9615         javax/net/ssl/SSLSession.java,
9616         javax/net/ssl/SSLSocketFactory.java,
9617         javax/net/ssl/TrustManagerFactory.java:
9618         Import cleanup.
9620 2004-10-21  Michael Koch  <konqueror@gmx.de>
9622         * javax/naming/directory/BasicAttribute.java,
9623         javax/naming/directory/BasicAttributes.java,
9624         javax/naming/directory/InitialDirContext.java,
9625         javax/naming/event/NamingEvent.java,
9626         javax/naming/ldap/ControlFactory.java,
9627         javax/naming/ldap/ExtendedRequest.java,
9628         javax/naming/ldap/InitialLdapContext.java,
9629         javax/naming/ldap/LdapReferralException.java,
9630         javax/naming/spi/DirObjectFactory.java,
9631         javax/naming/spi/DirStateFactory.java,
9632         javax/naming/spi/DirectoryManager.java,
9633         javax/naming/spi/InitialContextFactory.java,
9634         javax/naming/spi/InitialContextFactoryBuilder.java,
9635         javax/naming/spi/NamingManager.java,
9636         javax/naming/spi/ObjectFactory.java,
9637         javax/naming/spi/ObjectFactoryBuilder.java,
9638         javax/naming/spi/StateFactory.java:
9639         Import cleanup.
9641 2004-10-21  Michael Koch  <konqueror@gmx.de>
9643         * javax/crypto/Cipher.java,
9644         javax/crypto/EncryptedPrivateKeyInfo.java,
9645         javax/crypto/ExemptionMechanism.java,
9646         javax/crypto/KeyAgreement.java,
9647         javax/crypto/KeyGenerator.java,
9648         javax/crypto/Mac.java,
9649         javax/crypto/SecretKeyFactory.java,
9650         javax/crypto/SecretKeyFactorySpi.java,
9651         javax/crypto/spec/SecretKeySpec.java:
9652         Import cleanup.
9654 2004-10-21  Michael Koch  <konqueror@gmx.de>
9656         * java/security/AlgorithmParameterGenerator.java,
9657         java/security/AlgorithmParameters.java,
9658         java/security/AlgorithmParametersSpi.java,
9659         java/security/AllPermission.java,
9660         java/security/BasicPermission.java,
9661         java/security/Certificate.java,
9662         java/security/CodeSource.java,
9663         java/security/DigestInputStream.java,
9664         java/security/DigestOutputStream.java,
9665         java/security/GuardedObject.java,
9666         java/security/KeyFactory.java,
9667         java/security/KeyFactorySpi.java,
9668         java/security/KeyPairGenerator.java,
9669         java/security/KeyStore.java,
9670         java/security/KeyStoreSpi.java,
9671         java/security/Permissions.java,
9672         java/security/Security.java,
9673         java/security/Signature.java,
9674         java/security/UnresolvedPermission.java,
9675         java/security/cert/CertPathBuilder.java,
9676         java/security/cert/CertPathValidator.java,
9677         java/security/cert/CertStore.java,
9678         java/security/cert/Certificate.java,
9679         java/security/cert/CertificateFactory.java,
9680         java/security/cert/PolicyQualifierInfo.java,
9681         java/security/cert/TrustAnchor.java,
9682         java/security/cert/X509CRL.java,
9683         java/security/cert/X509CRLSelector.java,
9684         java/security/cert/X509CertSelector.java:
9685         Import cleanup.
9687 2004-10-21  Michael Koch  <konqueror@gmx.de>
9689         * java/rmi/MarshalledObject.java,
9690         java/rmi/Naming.java,
9691         java/rmi/activation/Activatable.java,
9692         java/rmi/activation/ActivationGroup.java,
9693         java/rmi/activation/ActivationGroupDesc.java,
9694         java/rmi/activation/ActivationInstantiator.java,
9695         java/rmi/activation/ActivationMonitor.java,
9696         java/rmi/activation/ActivationSystem.java,
9697         java/rmi/activation/Activator.java,
9698         java/rmi/registry/LocateRegistry.java,
9699         java/rmi/registry/Registry.java,
9700         java/rmi/server/LogStream.java,
9701         java/rmi/server/ObjID.java,
9702         java/rmi/server/RMIClientSocketFactory.java,
9703         java/rmi/server/RMIServerSocketFactory.java,
9704         java/rmi/server/RMISocketFactory.java,
9705         java/rmi/server/RemoteCall.java,
9706         java/rmi/server/RemoteServer.java,
9707         java/rmi/server/ServerRef.java,
9708         java/rmi/server/UID.java,
9709         java/rmi/server/UnicastRemoteObject.java:
9710         Import cleanup.
9712 2004-10-21  Tom Tromey  <tromey@redhat.com>
9714         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
9715         exception if we hit EOF of `in'.
9716         (read): Handle case where inflating returns -1.
9718 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
9720         * gnu/java/nio/channels/natFileChannelPosix.cc
9721         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
9722         argument instead of 'long *'.
9724 2004-10-21  Tom Tromey  <tromey@redhat.com>
9726         * java/util/ResourceBundle.java (tryBundle): Also ignore
9727         ClassCastException.
9729 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
9731         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
9732         for all sh*-*-linux* targets.
9733         * configure: Regenerate.
9734         * include/sh-signal.h: New file.
9736 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
9738         * java/lang/ieeefp.h: Add m32r support.
9740 2004-10-20  Andreas Schwab  <schwab@suse.de>
9742         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
9743         to uaddr, not int.
9744         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
9745         Likewise.
9747 2004-10-20  Michael Koch  <konqueror@gmx.de>
9749         * javax/print/attribute/standard/ColorSupported.java,
9750         javax/print/attribute/standard/Compression.java,
9751         javax/print/attribute/standard/Copies.java,
9752         javax/print/attribute/standard/CopiesSupported.java,
9753         javax/print/attribute/standard/DateTimeAtCompleted.java,
9754         javax/print/attribute/standard/DateTimeAtCreation.java,
9755         javax/print/attribute/standard/DateTimeAtProcessing.java,
9756         javax/print/attribute/standard/DocumentName.java,
9757         javax/print/attribute/standard/Fidelity.java,
9758         javax/print/attribute/standard/Finishings.java,
9759         javax/print/attribute/standard/JobHoldUntil.java,
9760         javax/print/attribute/standard/JobImpressions.java,
9761         javax/print/attribute/standard/JobImpressionsCompleted.java,
9762         javax/print/attribute/standard/JobImpressionsSupported.java,
9763         javax/print/attribute/standard/JobKOctets.java,
9764         javax/print/attribute/standard/JobKOctetsProcessed.java,
9765         javax/print/attribute/standard/JobKOctetsSupported.java,
9766         javax/print/attribute/standard/JobMediaSheets.java,
9767         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
9768         javax/print/attribute/standard/JobMediaSheetsSupported.java,
9769         javax/print/attribute/standard/JobMessageFromOperator.java,
9770         javax/print/attribute/standard/JobName.java,
9771         javax/print/attribute/standard/JobOriginatingUserName.java,
9772         javax/print/attribute/standard/JobPriority.java,
9773         javax/print/attribute/standard/JobPrioritySupported.java,
9774         javax/print/attribute/standard/JobSheets.java,
9775         javax/print/attribute/standard/JobState.java,
9776         javax/print/attribute/standard/JobStateReason.java,
9777         javax/print/attribute/standard/JobStateReasons.java,
9778         javax/print/attribute/standard/Media.java,
9779         javax/print/attribute/standard/MultipleDocumentHandling.java,
9780         javax/print/attribute/standard/NumberOfDocuments.java,
9781         javax/print/attribute/standard/NumberOfInterveningJobs.java,
9782         javax/print/attribute/standard/NumberUp.java,
9783         javax/print/attribute/standard/NumberUpSupported.java,
9784         javax/print/attribute/standard/OrientationRequested.java,
9785         javax/print/attribute/standard/OutputDeviceAssigned.java,
9786         javax/print/attribute/standard/PDLOverrideSupported.java,
9787         javax/print/attribute/standard/PageRanges.java,
9788         javax/print/attribute/standard/PagesPerMinute.java,
9789         javax/print/attribute/standard/PagesPerMinuteColor.java,
9790         javax/print/attribute/standard/PrintQuality.java,
9791         javax/print/attribute/standard/PrinterInfo.java,
9792         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
9793         javax/print/attribute/standard/PrinterLocation.java,
9794         javax/print/attribute/standard/PrinterMakeAndModel.java,
9795         javax/print/attribute/standard/PrinterMessageFromOperator.java,
9796         javax/print/attribute/standard/PrinterMoreInfo.java,
9797         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
9798         javax/print/attribute/standard/PrinterName.java,
9799         javax/print/attribute/standard/PrinterStateReason.java,
9800         javax/print/attribute/standard/PrinterStateReasons.java,
9801         javax/print/attribute/standard/PrinterURI.java,
9802         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
9803         javax/print/attribute/standard/RequestingUserName.java:
9804         Reorganized imports and removed redundant final modifiers.
9806 2004-10-20  Michael Koch  <konqueror@gmx.de>
9808         * javax/security/sasl/SaslClient.java,
9809         javax/security/sasl/SaslClientFactory.java,
9810         javax/security/sasl/SaslException.java,
9811         javax/security/sasl/SaslServer.java,
9812         javax/security/sasl/SaslServerFactory.java:
9813         Remvoed CVS tags.
9815 2004-10-20  Michael Koch  <konqueror@gmx.de>
9817         * javax/security/auth/login/NullConfiguration.java,
9818         javax/security/auth/x500/X500Principal.java,
9819         javax/security/cert/X509Certificate.java,
9820         javax/security/sasl/AuthenticationException.java,
9821         javax/security/sasl/AuthorizeCallback.java,
9822         javax/security/sasl/RealmCallback.java,
9823         javax/security/sasl/RealmChoiceCallback.java,
9824         javax/security/sasl/Sasl.java,
9825         javax/security/sasl/SaslClient.java,
9826         javax/security/sasl/SaslClientFactory.java,
9827         javax/security/sasl/SaslException.java,
9828         javax/security/sasl/SaslServer.java,
9829         javax/security/sasl/SaslServerFactory.java:
9830         Cleaned up import statements and copyright notices.
9832 2004-10-20  Michael Koch  <konqueror@gmx.de>
9834         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
9836 2004-10-20  Michael Koch  <konqueror@gmx.de>
9838         * java/sql/Timestamp.java,
9839         java/text/AttributedCharacterIterator.java,
9840         java/text/AttributedString.java,
9841         java/util/zip/CheckedOutputStream.java,
9842         java/util/zip/DeflaterOutputStream.java,
9843         java/util/zip/ZipFile.java,
9844         javax/crypto/Cipher.java,
9845         javax/crypto/ExemptionMechanismException.java,
9846         javax/crypto/SecretKey.java,
9847         javax/crypto/SecretKeyFactory.java,
9848         javax/naming/directory/ModificationItem.java,
9849         javax/naming/directory/SearchControls.java,
9850         javax/naming/event/NamingListener.java,
9851         javax/naming/ldap/Control.java,
9852         javax/naming/ldap/ExtendedResponse.java,
9853         javax/net/ssl/SSLSocketFactory.java:
9854         Reorganized imports and fixed copyright headers.
9856 2004-10-20  Michael Koch  <konqueror@gmx.de>
9858         * java/util/logging/ConsoleHandler.java,
9859         java/util/logging/ErrorManager.java,
9860         java/util/logging/FileHandler.java,
9861         java/util/logging/Filter.java,
9862         java/util/logging/Formatter.java,
9863         java/util/logging/Handler.java,
9864         java/util/logging/Level.java,
9865         java/util/logging/LogManager.java,
9866         java/util/logging/LogRecord.java,
9867         java/util/logging/Logger.java,
9868         java/util/logging/LoggingPermission.java,
9869         java/util/logging/MemoryHandler.java,
9870         java/util/logging/SimpleFormatter.java,
9871         java/util/logging/SocketHandler.java,
9872         java/util/logging/StreamHandler.java,
9873         java/util/logging/XMLFormatter.java:
9874         Standardized copyrigth header.
9876 2004-10-20  Michael Koch  <konqueror@gmx.de>
9878         * java/security/AlgorithmParameterGenerator.java,
9879         java/security/AlgorithmParameters.java,
9880         java/security/DigestInputStream.java,
9881         java/security/Identity.java,
9882         java/security/KeyFactory.java,
9883         java/security/KeyPairGenerator.java,
9884         java/security/KeyStore.java,
9885         java/security/MessageDigest.java,
9886         java/security/MessageDigestSpi.java,
9887         java/security/Policy.java,
9888         java/security/SecureRandom.java,
9889         java/security/Security.java,
9890         java/security/Signature.java,
9891         java/security/SignatureSpi.java,
9892         java/security/cert/CertPathBuilder.java,
9893         java/security/cert/CertPathValidator.java,
9894         java/security/cert/CertStore.java,
9895         java/security/cert/Certificate.java,
9896         java/security/cert/CertificateFactory.java,
9897         java/security/cert/PolicyQualifierInfo.java,
9898         java/security/cert/TrustAnchor.java,
9899         java/security/cert/X509CRL.java,
9900         java/security/cert/X509CRLEntry.java,
9901         java/security/cert/X509Certificate.java,
9902         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
9903         Import statements reorganized, some little formatting issues,
9904         used java-style array declarations, added comments in empty catch
9905         blocks.
9907 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
9909         * java/security/Security.java
9910         (static): Use AccessController.doPrivileged to get system property.
9912 2004-10-18  Sven de Marothy  <sven@physto.se>
9914         * java/nio/ByteBufferHelper.java
9915         (putDouble): Use Double.toRawLongBits instead.
9917 2004-10-18  Mark Wielaard  <mark@klomp.org>
9918         Andrew Haley  <aph@redhat.com>
9920         * testsuite/libjava.lang/ExtraClassLoader.java: New.
9922 2004-10-18  Andrew Haley  <aph@redhat.com>
9924         PR java/18036:
9925         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
9926         and correct logic used to find interpreter.
9928 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
9930         * java/util/logging/LogManager.java
9931         (findAncestor): Fixed IndexOutOfBoundsException.
9933 2004-10-18  Michael Koch  <konqueror@gmx.de>
9935         * java/io/BufferedInputStream.java: Fixed @author tag.
9936         (read): Simplified expression.
9937         (read): Merged javadoc a bit more.
9938         (read): Renamed 'remain' to 'totalBytesRead'.
9939         * java/io/DataInputStream.java,
9940         java/io/DataOutputStream.java,
9941         java/io/ObjectInputStream.java,
9942         java/io/ObjectOutputStream.java:
9943         Reworked modifier order.
9945 2004-10-18  Michael Koch  <konqueror@gmx.de>
9947         * java/net/Inet4Address.java: Merged file header and javadocs.
9948         * java/net/Inet6Address.java: Likewise.
9949         * java/net/InetAddress.java
9950         (getCanonicalHostName): Create Inet4Address object instead of
9951         InetAddress and add comment regarding IPv6.
9952         (toString): Simplified.
9954 2004-10-18  Michael Koch  <konqueror@gmx.de>
9956         * gnu/java/net/protocol/http/Connection.java,
9957         java/nio/MappedByteBufferImpl.java,
9958         java/text/RuleBasedCollator.java,
9959         java/util/ResourceBundle.java:
9960         Reworked import statements.
9962 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
9964         * java/security/IdentityScope.java
9965         (systemScope): Removed useless initializer.
9966         * java/security/Policy.java
9967         (currentPolicy): Likewise.
9969 2004-10-18  Michael Koch  <konqueror@gmx.de>
9971         * java/lang/System.java: Revert accidential change.
9973 2004-10-18  Michael Koch  <konqueror@gmx.de>
9975         * java/lang/Math.java,
9976         java/lang/Package.java,
9977         java/lang/Runtime.java,
9978         java/lang/StrictMath.java,
9979         java/lang/System.java,
9980         java/lang/Thread.java,
9981         java/lang/ThreadLocal.java,
9982         java/lang/Void.java:
9983         Reworked import statements, HTML in javadocs and modifier orders.
9985 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
9987         * java/util/Timer.java
9988         (nr): Removed useless initializer.
9989         * java/util/logging/LogRecord.java
9990         (lastSeqNum): Likewise.
9991         * javax/naming/spi/NamingManager.java
9992         (icfb, ofb): Likewise.
9994 2004-10-18  Michael Koch  <konqueror@gmx.de>
9996         * gnu/java/net/PlainDatagramSocketImpl.java:
9997         Reworked import statements.
9998         * gnu/java/security/provider/DSAParameters.java:
9999         Fixed copyrigth years.
10000         * java/net/JarURLConnection.java:
10001         Fixed HTML in @author tags.
10004 2004-10-18  Michael Koch  <konqueror@gmx.de>
10006         * java/rmi/activation/ActivationSystem.java
10007         (SYSTEM_PORT): Initialize with correct port number.
10009 2004-10-18  Michael Koch  <konqueror@gmx.de>
10011         * java/lang/reflect/Proxy.java: Improved javadocs.
10013 2004-10-18  Michael Koch  <konqueror@gmx.de>
10015         * java/lang/reflect/AccessibleObject.java
10016         (checkPermission): Removed redundant final modifier.
10017         (secureSetAccessible): Likewise.
10018         * java/lang/reflect/Proxy.java:
10019         Reworked import statements.
10020         (generate): Removed redundant final modifier.
10021         * java/lang/reflect/ReflectPermission.java:
10022         Reorder package declaration and import statement.
10024 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
10026         * java/lang/reflect/Proxy.java
10027         (count): Removed useless initializer.
10029 2004-10-17  Michael Koch  <konqueror@gmx.de>
10031         * java/net/BindException.java,
10032         java/net/ConnectException.java,
10033         java/net/ContentHandler.java,
10034         java/net/ContentHandlerFactory.java,
10035         java/net/DatagramPacket.java,
10036         java/net/DatagramSocket.java,
10037         java/net/DatagramSocketImpl.java,
10038         java/net/DatagramSocketImplFactory.java,
10039         java/net/FileNameMap.java,
10040         java/net/HttpURLConnection.java,
10041         java/net/MalformedURLException.java,
10042         java/net/MulticastSocket.java,
10043         java/net/NetworkInterface.java,
10044         java/net/NoRouteToHostException.java,
10045         java/net/PasswordAuthentication.java,
10046         java/net/PortUnreachableException.java,
10047         java/net/ProtocolException.java,
10048         java/net/ServerSocket.java,
10049         java/net/Socket.java,
10050         java/net/SocketException.java,
10051         java/net/SocketImpl.java,
10052         java/net/SocketImplFactory.java,
10053         java/net/SocketOptions.java,
10054         java/net/SocketPermission.java,
10055         java/net/SocketTimeoutException.java,
10056         java/net/URI.java,
10057         java/net/URISyntaxException.java,
10058         java/net/URL.java,
10059         java/net/URLDecoder.java,
10060         java/net/URLEncoder.java,
10061         java/net/URLStreamHandler.java,
10062         java/net/URLStreamHandlerFactory.java,
10063         java/net/UnknownHostException.java,
10064         java/net/UnknownServiceException.java:
10065         Big import statement and @author tag cleanup.
10067 2004-10-17  Michael Koch  <konqueror@gmx.de>
10069         * gnu/java/security/OID.java,
10070         gnu/java/security/provider/DSAParameters.java,
10071         gnu/java/security/provider/DSASignature.java,
10072         gnu/java/security/x509/X500DistinguishedName.java,
10073         gnu/java/security/x509/X509CRL.java:
10074         Import statements cleaned up.
10076 2004-10-16  Michael Koch  <konqueror@gmx.de>
10078         * gnu/java/nio/NIODatagramSocket.java,
10079         gnu/java/nio/ServerSocketChannelImpl.java:
10080         Reorganized import statements.
10082 2004-10-16  Michael Koch  <konqueror@gmx.de>
10084         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
10085         gnu/java/rmi/rmic/RMIC.java,
10086         gnu/java/rmi/server/RMIHashes.java,
10087         gnu/java/rmi/server/RMIObjectInputStream.java,
10088         gnu/java/rmi/server/RMIObjectOutputStream.java,
10089         gnu/java/rmi/server/UnicastConnection.java,
10090         gnu/java/rmi/server/UnicastConnectionManager.java,
10091         gnu/java/rmi/server/UnicastRemoteCall.java,
10092         gnu/java/rmi/server/UnicastServer.java,
10093         gnu/java/rmi/server/UnicastServerRef.java,
10094         java/rmi/MarshalledObject.java,
10095         java/rmi/Naming.java,
10096         java/rmi/RMISecurityManager.java,
10097         java/rmi/Remote.java,
10098         java/rmi/activation/Activatable.java,
10099         java/rmi/activation/ActivationDesc.java,
10100         java/rmi/activation/ActivationGroup.java,
10101         java/rmi/activation/ActivationGroupDesc.java,
10102         java/rmi/activation/ActivationGroupID.java,
10103         java/rmi/activation/ActivationID.java,
10104         java/rmi/activation/ActivationInstantiator.java,
10105         java/rmi/activation/ActivationMonitor.java,
10106         java/rmi/activation/ActivationSystem.java,
10107         java/rmi/activation/Activator.java,
10108         java/rmi/dgc/DGC.java,
10109         java/rmi/dgc/Lease.java,
10110         java/rmi/dgc/VMID.java,
10111         java/rmi/registry/LocateRegistry.java,
10112         java/rmi/registry/Registry.java,
10113         java/rmi/registry/RegistryHandler.java,
10114         java/rmi/server/LoaderHandler.java,
10115         java/rmi/server/LogStream.java,
10116         java/rmi/server/ObjID.java,
10117         java/rmi/server/Operation.java,
10118         java/rmi/server/RMIClassLoader.java,
10119         java/rmi/server/RMIClassLoaderSpi.java,
10120         java/rmi/server/RMIClientSocketFactory.java,
10121         java/rmi/server/RMIFailureHandler.java,
10122         java/rmi/server/RMIServerSocketFactory.java,
10123         java/rmi/server/RMISocketFactory.java,
10124         java/rmi/server/RemoteCall.java,
10125         java/rmi/server/RemoteObject.java,
10126         java/rmi/server/RemoteRef.java,
10127         java/rmi/server/RemoteServer.java,
10128         java/rmi/server/RemoteStub.java,
10129         java/rmi/server/ServerRef.java,
10130         java/rmi/server/Skeleton.java,
10131         java/rmi/server/SkeletonMismatchException.java,
10132         java/rmi/server/UID.java,
10133         java/rmi/server/UnicastRemoteObject.java,
10134         java/rmi/server/Unreferenced.java:
10135         File headers and import statements cleaned up.
10137 2004-10-16  Michael Koch  <konqueror@gmx.de>
10139         * libjava/gnu/java/nio/charset/UTF_16.java,
10140         libjava/gnu/java/nio/charset/UTF_16BE.java,
10141         libjava/gnu/java/nio/charset/UTF_16LE.java,
10142         libjava/java/nio/ByteOrder.java,
10143         libjava/java/nio/MappedByteBuffer.java,
10144         libjava/java/nio/channels/Channels.java,
10145         libjava/java/nio/channels/spi/SelectorProvider.java,
10146         libjava/java/nio/charset/Charset.java:
10147         Cleanup.
10149 2004-10-16  Michael Koch  <konqueror@gmx.de>
10151         * gnu/java/nio/charset/UTF_16Encoder.java
10152         (UTF_16Encoder): Fixed maxBytesPerChar handling.
10154 2004-10-16  Michael Koch  <konqueror@gmx.de>
10156         * java/math/BigDecimal.java, java/math/BigInteger.java:
10157         Reorganized import statements, removed redundant and
10158         reorganized modifiers.
10160 2004-10-16  Michael Koch  <konqueror@gmx.de>
10162         * gnu/java/beans/ExplicitBeanInfo.java:
10163         Explicitely import java.awt.Image.
10164         (getIcon): Fixed off-by-one error.
10166 2004-10-15  Andrew Haley  <aph@redhat.com>
10168         * Makefile.am (nat_files, xlib_nat_files): New.
10169         * Makefile.in: Regenerate.
10171 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
10173         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
10174         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
10176 2004-10-13  Andrew Haley  <aph@redhat.com>
10178         * interpret.cc (_Jv_InterpMethod::run): Initialize
10179         _Jv_StartOfInterpreter.
10180         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
10181         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
10182         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
10183         _Unwind_FindEnclosingFunction to discover whether PC is within the
10184         interpreter.
10186 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
10188         PR libgcj/17903:
10189         * testsuite/libjava.lang/md5test.java: New file.
10190         * testsuite/libjava.lang/md5test.out: Likewise.
10191         * testsuite/libjava.lang/shatest.java: Likewise.
10192         * testsuite/libjava.lang/shatest.out: Likewise.
10194 2004-10-11  Richard Henderson  <rth@redhat.com>
10196         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
10197         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
10199 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
10201         * java/util/Calendar.java (set): Invalidate DST_OFFSET
10202         field as a DST boundary may have been crossed.
10203         * java/util/GregorianCalendar.java (add): Throw
10204         IllegalArgumentException on attempt to add to DST_OFFSET or
10205         ZONE_OFFSET fields. Update javadoc.
10207 2004-10-09  Michael Koch  <konqueror@gmx.de>
10209         * java/io/CharArrayWriter.java
10210         (resize): Removed redundant 'final' modifier.
10211         * java/io/DataInputStream.java
10212         (readFully): Throw IndexOutOfBoundsException of len < 0.
10213         * java/io/FileDescriptor.java,
10214         java/io/FileInputStream.java,
10215         java/io/FileOutputStream.java,
10216         java/io/ObjectOutputStream.java,
10217         java/io/ObjectStreamClass.java,
10218         java/io/PipedInputStream.java,
10219         java/io/RandomAccessFile.java:
10220         Reorganized import statements.
10222 2004-10-09  Michael Koch  <konqueror@gmx.de>
10224         * gnu/java/rmi/rmic/RMIC.java,
10225         gnu/java/rmi/server/RMIHashes.java,
10226         gnu/java/rmi/server/RMIObjectInputStream.java,
10227         gnu/java/rmi/server/UnicastConnection.java,
10228         gnu/java/rmi/server/UnicastConnectionManager.java,
10229         gnu/java/rmi/server/UnicastRemoteCall.java,
10230         gnu/java/rmi/server/UnicastServerRef.java:
10231         Reworked import statements and fixed file headers.
10233 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
10235         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
10236         emission rule.
10237         * configure: Rebuilt.
10239 2004-09-30  Tom Tromey  <tromey@redhat.com>
10241         * java/text/MessageFormat.java (Field): Constructor now
10242         protected.
10244 2004-09-30  Tom Tromey  <tromey@redhat.com>
10246         * javax/crypto/MacSpi.java: Fixed typo.
10248 2004-09-30  Michael Koch  <konqueror@gmx.de>
10250         * java/net/InetAddress.java: Reformatted.
10251         (loopback): Initialize with Inet4Address object.
10252         (static): Initialize ANY_IF with Inet4Address object.
10253         (InetAddress): Removed unused package-private constructor.
10255 2004-09-30  Michael Koch  <konqueror@gmx.de>
10257         * java/beans/Beans.java,
10258         java/beans/EventHandler.java,
10259         java/beans/EventSetDescriptor.java,
10260         java/beans/Introspector.java,
10261         java/beans/PropertyEditorManager.java,
10262         java/beans/beancontext/BeanContext.java,
10263         java/beans/beancontext/BeanContextChild.java,
10264         java/beans/beancontext/BeanContextChildSupport.java,
10265         java/beans/beancontext/BeanContextMembershipEvent.java:
10266         Reordered import statements and removed redundant modifiers.
10268 2004-09-29  Tom Tromey  <tromey@redhat.com>
10270         PR libgcj/17715:
10271         * Makefile.in: Rebuilt.
10272         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
10273         files.
10274         (all_property_files): New macro.
10276         * Makefile.in: Rebuilt.
10277         * Makefile.am (ordinary_java_source_files): Re-sorted.
10278         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
10280 2004-09-28  Tom Tromey  <tromey@redhat.com>
10282         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
10284         PR libgcj/17222:
10285         * Makefile.am (libgcj.la): Restored.
10286         * Makefile.in: Rebuilt.
10288 2004-09-28  Michael Koch  <konqueror@gmx.de>
10290         * java/net/URLConnection.java: Reformatted.
10291         * java/net/URLClassLoader.java: Reformatted.
10292         (getContent): Reordered return of content.
10293         (getContentHandler): Don't check for null explicitely.
10295 2004-09-27  Michael Koch  <konqueror@gmx.de>
10297         * java/io/BufferedInputStream.java
10298         (BufferedInputStream): Added Jeroen Frijters to authors.
10299         (count): Don't explicitely initialize with default value.
10300         (pos): Likewise.
10301         (marklimit): Likewise.
10302         (read): Changed boolean expression to match GNU classpath' version.
10303         (reset): Add proper message to exception.
10304         (skip): Check for closed stream.
10305         (refill): Likewise.
10307 2004-09-26  Per Bothner  <per@bothner.com>
10309         * prims.cc (unblock_signal): Annotate signum with __unused__ to
10310         avoid warnings in the non-POSIX_VERSION case.
10311         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
10312         so place it inside an #if block.
10313         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
10314         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
10315         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
10316         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
10318 2004-09-26  Per Bothner  <per@bothner.com>
10320         * prims.cc (process_gcj_properties):  Optimization.
10322 2004-09-26  Per Bothner  <per@bothner.com>
10324         * java/util/Collections.java (sort):  Copy from array in forwards
10325         order, rather than reverse order which may be much less efficient.
10327 2004-09-26  Mark Wielaard  <mark@klomp.org>
10329         * java/lang/System.java (properties): Make package private.
10330         * java/lang/Throwable.java (StaticData.nl): Initialize through
10331         directly accessing System.properties.getProperty().
10333         * java/lang/Throwable.java (nl): Remove static field.
10334         (StaticData): New private static inner class.
10335         (stackTraceStringBuffer): Use StaticData.nl.
10337 2004-09-26  Casey Marshall <csm@gnu.org>
10339         * java/security/ProtectionDomain.java
10340         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
10341         `true'.
10343         * java/security/SecureClassLoader.java
10344         (defineClass): make protection domain dynamically bound.
10345         (getPermissions): call `getCurrentPolicy' to avoid permission
10346         check.
10348 2004-09-25  Mark Wielaard  <mark@klomp.org>
10350         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
10351         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
10352         * Makefile.in: Regenerated.
10354         * gcj/javaprims.h: Regenerated.
10356         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
10357         (getDefaultTimeZone): Make package private. Check that GMToffset
10358         contains at least one digit.
10359         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
10360         VMTimeZone.
10361         * util/VMTimeZone.java: New file with above methods.
10363         * java/util/natTimeZone.cc: Removed (renamed).
10364         * java/util/natVMTimeZone.cc: Added (renamed).
10366 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
10368         * java/util/TimeZone.java
10369         (getDefaultTimeZone): Fixed test to distinguish between hours and
10370         minutes in specified timezone.
10372 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
10374         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
10375         handling of default package. (generate): Removed confused comments
10376         and code about making Method and Field accessible.
10378 2004-09-25  Tom Tromey  <tromey@redhat.com>
10380         PR java/17500:
10381         * testsuite/libjava.compile/pr17500.java: New file.
10383 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
10384             Mark Wielaard  <mark@klomp.org>
10386         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
10387         * gnu/regexp/RETokenLookAhead.java: New file.
10389         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
10390         * Makefile.in: Regenerated.
10392 2004-09-25  Michael Koch  <konqueror@gmx.de>
10394         * java/io/ObjectStreamField.java:
10395         Removed unused import statement.
10397 2004-09-24  Tom Tromey  <tromey@redhat.com>
10399         PR java/15656:
10400         * testsuite/libjava.compile/pr15656.xfail: New file.
10401         * testsuite/libjava.compile/pr15656.java: new file.
10403         PR java/16789:
10404         * testsuite/libjava.lang/pr16789.out: New file.
10405         * testsuite/libjava.lang/pr16789.java: New file.
10407 2004-09-24  Andrew Haley  <aph@redhat.com>
10409         PR java/16927
10410         * testsuite/libjava.compile/AssertBug.java: New file.
10412 2004-09-24  Casey Marshall <csm@gnu.org>
10414         * java/util/PropertyPermissionCollection.java
10415         (implies): avoid infinite loop.
10417 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10419         * javax/security/auth/PrivateCredentialPermission.java
10420         (PrivateCredentialPermission): added serialization UID
10423 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
10425         * gnu/java/rmi/server/UnicastServer.java
10426         (incomingMessageCall): Added code to handle Errors.
10427         * gnu/java/rmi/server/UnicastServerRef.java
10428         (incomingMessageCall): Added code to handle Errors.
10431 2004-09-24  Tom Tromey  <tromey@redhat.com>
10433         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
10434         (definedPackages): Likewise.
10436 2004-09-24  Michael Koch  <konqueror@gmx.de>
10438         * java/io/ObjectInputStream.java:
10439         Re-ordered imports.
10441 2004-09-24  Casey Marshall <csm@gnu.org>
10443         * java/io/ObjectInputStream.java (callReadMethod): re-throw
10444         `ClassNotFoundException'.
10446 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
10448         * java/io/ObjectInputStream.java (readObject): Delegate instantation
10449         of Externalizable classes to ObjectStreamClass.
10450         * java/io/ObjectStreamClass.java (newInstance): New method to
10451         instantiate Externalizable (while ignoring the accessibility of
10452         the constructor). (constructor): New field to cache the constructor.
10454 2004-09-24  Mark Wielaard  <mark@klomp.org>
10456         * java/net/URL.java (systemClassLoader): New static field.
10457         (getURLStreamHandler): Always use system/application classloader
10458         for finding URLStreamhandler. Remove unecessary instanceof checks.
10460 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
10462         * java/net/URL.java
10463         (set): This method now matches the behaviour of the JDK.
10464         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
10466 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
10468         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
10470 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
10472         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
10473         Don't set authority if host isn't specified.
10475 2004-09-24  Michael Koch  <konqueror@gmx.de>
10477         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
10478         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
10479         * gnu/java/nio/VMPipe.java,
10480         gnu/java/nio/VMSelector.java:
10481         New files.
10482         * gnu/java/nio/natPipeImplEcos.cc,
10483         gnu/java/nio/natPipeImplPosix.cc,
10484         gnu/java/nio/natPipeImplWin32.cc:
10485         Ported to VMPipe.
10486         * gnu/java/nio/natSelectorImplEcos.cc,
10487         gnu/java/nio/natSelectorImplPosix.cc,
10488         gnu/java/nio/natSelectorImplWin32.cc:
10489         Ported to VMSelector.
10490         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
10491         gnu/java/nio/VMSelector.java.
10492         * Makefile.in: Regenerated.
10494 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
10496         * java/lang/StackTraceElement.java
10497         (className): Renamed field to declaringClass to be compatible
10498         with Sun serialization format.
10500 2004-09-23  Michael Koch  <konqueror@gmx.de>
10502         * java/applet/AppletContext.java,
10503         java/applet/Applet.java,
10504         java/applet/AppletStub.java,
10505         java/applet/AudioClip.java:
10506         Jalopied and checkstyle clean.
10508         * javax/swing/JCheckBox.java: Reformated.
10509         (JCheckBox): Fixed all constructors.
10510         (isBorderPaintedFlat): New method.
10511         (setBorderPaintedFlat): New method.
10512         * javax/swing/JEditorPane.java
10513         (createEditorKitForContentType): Made public.
10514         (scrollToReference): Likewise.
10515         * javax/swing/JTextArea.java
10516         (setLineWrap): Fire property change.
10517         * javax/swing/JToggleButton.java
10518         (JToggleButton): New constructor.
10519         (JToggleButton): Simplified.
10520         * javax/swing/text/AttributeSet.java
10521         (FontAttribute): Renamed from FontCharacterAttribute.
10522         * javax/swing/text/JTextComponent.java
10523         (KeyBinBinding): Added javadoc.
10524         (JTextComponent): Likewise.
10525         (getAccessibleContext): Fixed javadoc.
10526         * javax/swing/text/View.java
10527         (View): Added javadoc.
10528         * javax/swing/text/TabableView.java: New file.
10529         * Makefile.am: Added javax/swing/text/TabableView.java.
10530         * Makefile.in: Regenerated.
10531 2004-09-23  Mark Wielaard  <mark@klomp.org>
10533         * java/util/Collections.java
10534         (binarySearch(List, Object, Comparator)): Explicitly
10535         reverse direction in list iterator.
10536         (rotate): Just return when list is empty.
10538 2004-09-23  Tom Tromey  <tromey@redhat.com>
10540         PR java/17329:
10541         * testsuite/libjava.compile/pr17329.java: New file.
10543         PR java/17380:
10544         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
10545         9.2-implicit-7.
10547 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
10549         * Makefile.am: Run aclocal with -I ../config
10550         * acinclude.m4: Delete macros picked up from ../config and tidy.
10551         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
10552         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
10553         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
10555 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
10557         * aclocal.m4: Regenerate with aclocal 1.9.2.
10558         * configure: Regenerate.
10559         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
10560         * include/Makefile.in, testsuite/Makefile.in: Likewise.
10562 2004-09-22  David Daney  <ddaney@avtrex.com>
10564         PR libgcj/17623
10565         * java/net/URL.java (URL): Copy userInfo from context.
10566         (getUserInfo): Return cached userInfo if present.
10568 2004-09-22  Tom Tromey  <tromey@redhat.com>
10570         PR libgcj/6182:
10571         * mauve-libgcj: Enable java.lang.Character tests.
10573 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
10575         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
10576         dependencies.
10577         (lib_org_ietf_jgss_la_LIBADD): Likewise.
10578         * Makefile.in: Regenerated.
10580 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
10582         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
10583         * configure: Regenerate.
10584         * include/config.h.in: Likewise.
10585         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
10586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
10587         macro to gtkpeer.h.
10588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10589         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
10590         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
10591         architectures.
10592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
10593         Likewise.
10595 2004-09-22  Tom Tromey  <tromey@redhat.com>
10597         PR libgcj/14446:
10598         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
10599         when comparing CRCs.
10600         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
10601         field.
10602         (read()): New overload.
10604 2004-09-21  Tom Tromey  <tromey@redhat.com>
10606         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10607         Indentation fix.
10609 2004-09-21  Michael Koch  <konqueror@gmx.de>
10611         * java/net/Socket.java
10612         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
10614 2004-09-21  Casey Marshall  <csm@gnu.org>
10616         * javax/crypto/MacSpi.java (clone): Provide meaningful
10617         implementation.
10619 2004-09-21  Tom Tromey  <tromey@redhat.com>
10621         PR libgcj/16869:
10622         * Makefile.in: Rebuilt.
10623         * Makefile.am (MOSTLYCLEANFILES): Removed.
10624         (mostlyclean-local): Remove header files.
10626 2004-09-21  Casey Marshall  <csm@gnu.org>
10628         * java/security/cert/X509CRLSelector.java:
10629         (match): remove unreachable try-catch clauses.
10630         Reported by: Dalibor Topic <robilad@kaffe.org>
10632 2004-09-21  Mark Wielaard  <mark@klomp.org>
10634         * java/util/TreeMap.java (root): Don't initialize.
10635         (TreeMap(Comparator)): Call fabricateTree(0).
10636         (fabricateTree): Initialize root and size when count is 0.
10638 2004-09-21  Sven de Marothy <sven@physto.se>
10640         * java/nio/ByteBuffer.java (hashCode): Implemented.
10641         * java/nio/CharBuffer.java: Likewise.
10642         * java/nio/DoubleBuffer.java: Likewise.
10643         * java/nio/FloatBuffer.java: Likewise.
10644         * java/nio/LongBuffer.java: Likewise.
10645         * java/nio/IntBuffer.java: Likewise.
10646         * java/nio/ShortBuffer.java: Likewise.
10648 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
10650         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
10652 2004-09-21  Michael Koch  <konqueror@gmx.de>
10654         * javax/net/ssl/SSLServerSocket.java:
10655         Removed comment about "Do not edit this file, it's generated.".
10657 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
10659         Import the big Crypto/Jessie/Security merge from Classpath.
10661         * Makefile.am: Add imported files.
10662         * Makefile.in: Regenerate.
10664         2004-08-14  Casey Marshall <csm@gnu.org>
10666         The Big Crypto Merge of 2004.
10668         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
10669         Crypto's version.
10671         Files imported from GNU Crypto.
10672         * javax/crypto/BadPaddingException.java
10673         * javax/crypto/Cipher.java
10674         * javax/crypto/CipherInputStream.java
10675         * javax/crypto/CipherOutputStream.java
10676         * javax/crypto/CipherSpi.java
10677         * javax/crypto/EncryptedPrivateKeyInfo.java
10678         * javax/crypto/ExemptionMechanism.java
10679         * javax/crypto/ExemptionMechanismException.java
10680         * javax/crypto/ExemptionMechanismSpi.java
10681         * javax/crypto/IllegalBlockSizeException.java
10682         * javax/crypto/KeyAgreement.java
10683         * javax/crypto/KeyAgreementSpi.java
10684         * javax/crypto/KeyGenerator.java
10685         * javax/crypto/KeyGeneratorSpi.java
10686         * javax/crypto/Mac.java
10687         * javax/crypto/MacSpi.java
10688         * javax/crypto/Makefile.am
10689         * javax/crypto/NoSuchPaddingException.java
10690         * javax/crypto/NullCipher.java
10691         * javax/crypto/NullCipherImpl.java
10692         * javax/crypto/SealedObject.java
10693         * javax/crypto/SecretKey.java
10694         * javax/crypto/SecretKeyFactory.java
10695         * javax/crypto/SecretKeyFactorySpi.java
10696         * javax/crypto/ShortBufferException.java
10697         * javax/crypto/interfaces/DHKey.java
10698         * javax/crypto/interfaces/DHPrivateKey.java
10699         * javax/crypto/interfaces/DHPublicKey.java
10700         * javax/crypto/interfaces/PBEKey.java
10701         * javax/crypto/spec/DESKeySpec.java
10702         * javax/crypto/spec/DESedeKeySpec.java
10703         * javax/crypto/spec/DHGenParameterSpec.java
10704         * javax/crypto/spec/DHParameterSpec.java
10705         * javax/crypto/spec/DHPrivateKeySpec.java
10706         * javax/crypto/spec/DHPublicKeySpec.java
10707         * javax/crypto/spec/IvParameterSpec.java
10708         * javax/crypto/spec/PBEKeySpec.java
10709         * javax/crypto/spec/PBEParameterSpec.java
10710         * javax/crypto/spec/RC2ParameterSpec.java
10711         * javax/crypto/spec/RC5ParameterSpec.java
10712         * javax/crypto/spec/SecretKeySpec.java
10713         * javax/security/auth/AuthPermission.java
10714         * javax/security/auth/DestroyFailedException.java
10715         * javax/security/auth/Destroyable.java
10716         * javax/security/auth/Policy.java
10717         * javax/security/auth/PrivateCredentialPermission.java
10718         * javax/security/auth/RefreshFailedException.java
10719         * javax/security/auth/Refreshable.java
10720         * javax/security/auth/Subject.java
10721         * javax/security/auth/SubjectDomainCombiner.java
10722         * javax/security/auth/callback/Callback.java
10723         * javax/security/auth/callback/CallbackHandler.java
10724         * javax/security/auth/callback/ChoiceCallback.java
10725         * javax/security/auth/callback/ConfirmationCallback.java
10726         * javax/security/auth/callback/LanguageCallback.java
10727         * javax/security/auth/callback/NameCallback.java
10728         * javax/security/auth/callback/PasswordCallback.java
10729         * javax/security/auth/callback/TextInputCallback.java
10730         * javax/security/auth/callback/TextOutputCallback.java
10731         * javax/security/auth/callback/UnsupportedCallbackException.java
10732         * javax/security/auth/login/AccountExpiredException.java
10733         * javax/security/auth/login/AppConfigurationEntry.java
10734         * javax/security/auth/login/Configuration.java
10735         * javax/security/auth/login/CredentialExpiredException.java
10736         * javax/security/auth/login/FailedLoginException.java
10737         * javax/security/auth/login/LoginContext.java
10738         * javax/security/auth/login/LoginException.java
10739         * javax/security/auth/login/NullConfiguration.java
10740         * javax/security/auth/x500/X500PrivateCredential.java
10741         * javax/security/sasl/AuthenticationException.java
10742         * javax/security/sasl/AuthorizeCallback.java
10743         * javax/security/sasl/RealmCallback.java
10744         * javax/security/sasl/RealmChoiceCallback.java
10745         * javax/security/sasl/Sasl.java
10746         * javax/security/sasl/SaslClient.java
10747         * javax/security/sasl/SaslClientFactory.java
10748         * javax/security/sasl/SaslException.java
10749         * javax/security/sasl/SaslServer.java
10750         * javax/security/sasl/SaslServerFactory.java
10751         * org/ietf/jgss/ChannelBinding.java
10752         * org/ietf/jgss/GSSContext.java
10753         * org/ietf/jgss/GSSCredential.java
10754         * org/ietf/jgss/GSSException.java
10755         * org/ietf/jgss/GSSManager.java
10756         * org/ietf/jgss/GSSName.java
10757         * org/ietf/jgss/MessageProp.java
10758         * org/ietf/jgss/Oid.java
10759         * org/ietf/jgss/MessagesBundle.properties
10761         Files imported from Jessie <http://www.nongnu.org/jessie/>
10762         * javax/net/ServerSocketFactory.java
10763         * javax/net/SocketFactory.java
10764         * javax/net/VanillaServerSocketFactory.java
10765         * javax/net/VanillaSocketFactory.java
10766         * javax/net/ssl/HandshakeCompletedEvent.java
10767         * javax/net/ssl/HandshakeCompletedListener.java
10768         * javax/net/ssl/HostnameVerifier.java
10769         * javax/net/ssl/HttpsURLConnection.java
10770         * javax/net/ssl/KeyManager.java
10771         * javax/net/ssl/KeyManagerFactory.java
10772         * javax/net/ssl/KeyManagerFactorySpi.java
10773         * javax/net/ssl/ManagerFactoryParameters.java
10774         * javax/net/ssl/SSLContext.java
10775         * javax/net/ssl/SSLContextSpi.java
10776         * javax/net/ssl/SSLException.java
10777         * javax/net/ssl/SSLHandshakeException.java
10778         * javax/net/ssl/SSLKeyException.java
10779         * javax/net/ssl/SSLPeerUnverifiedException.java
10780         * javax/net/ssl/SSLPermission.java
10781         * javax/net/ssl/SSLProtocolException.java
10782         * javax/net/ssl/SSLServerSocket.java
10783         * javax/net/ssl/SSLServerSocketFactory.java
10784         * javax/net/ssl/SSLSession.java
10785         * javax/net/ssl/SSLSessionBindingEvent.java
10786         * javax/net/ssl/SSLSessionBindingListener.java
10787         * javax/net/ssl/SSLSessionContext.java
10788         * javax/net/ssl/SSLSocket.java
10789         * javax/net/ssl/SSLSocketFactory.java
10790         * javax/net/ssl/TrivialHostnameVerifier.java
10791         * javax/net/ssl/TrustManager.java
10792         * javax/net/ssl/TrustManagerFactory.java
10793         * javax/net/ssl/TrustManagerFactorySpi.java
10794         * javax/net/ssl/X509KeyManager.java
10795         * javax/net/ssl/X509TrustManager.java
10796         * javax/security/cert/Certificate.java
10797         * javax/security/cert/CertificateEncodingException.java
10798         * javax/security/cert/CertificateException.java
10799         * javax/security/cert/CertificateExpiredException.java
10800         * javax/security/cert/CertificateNotYetValidException.java
10801         * javax/security/cert/CertificateParsingException.java
10802         * javax/security/cert/X509CertBridge.java
10803         * javax/security/cert/X509Certificate.java
10805         2004-08-20  Casey Marshall  <csm@gnu.org>
10807         * java/security/cert/X509CRLSelector.java: New file.
10808         * java/security/cert/X509CertSelector.java: New file.
10810 2004-09-15  Michael Koch  <konqueror@gmx.de>
10812         * gnu/java/net/protocol/file/Handler.java
10813         (openConnection): Don't throw exception if host part for file: URI is
10814         present. setURL() keeps file: protocol if ftp: protocol is not
10815         available.
10817 2004-09-14  Richard Henderson  <rth@redhat.com>
10819         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
10820         value of sigsuspend.
10822 2004-09-12  Tom Tromey  <tromey@redhat.com>
10824         * javax/naming/CompoundName.java (CompoundName): Don't check for
10825         separator in "flat" case.
10827 2004-09-12  Michael Koch  <konqueror@gmx.de>
10829         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
10830         AM_CONFIG_HEADER by AC_CONFIG_FILES.
10831         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
10832         Regenerate.
10834 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
10836         PR libgcj/14751
10837         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
10838         handle in newly-allocated _Jv_Thread_t.
10839         (_Jv_ThreadDestroyData): Close thread handle.
10840         (_Jv_ThreadStart): Remove obsolete comment.
10841         Store handle of newly-created thread in _Jv_Thread_t.
10842         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
10843         before including <windows.h>
10844         #define _Jv_HaveCondDestroy
10846 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
10848         * java/lang/natThread.cc (finalize_native): Destroy
10849         join conditional variable and mutex if these destroy
10850         operations are supported.
10852 2004-09-10  Dalibor Topic <robilad@kaffe.org>
10854         * gnu/java/net/protocol/file/Connection.java (permission): New field.
10855         (DEFAULT_PERMISSION): New constant.
10856         (Connection): Create a FilePermission with permission to read file.
10858 2004-09-10  Michael Koch  <konqueror@gmx.de>
10860         * gnu/java/net/protocol/file/Connection.java
10861         (getLastModified): Moved around.
10862         (getPermission): Return stored permission.
10864 2004-09-10  Michael Koch  <konqueror@gmx.de>
10866         * Makefile.in: Regenerate.
10868 2004-09-10  Michael Koch  <konqueror@gmx.de>
10870         * Makefile.am: Reverted accidently commited stuff.
10871         * configure: Regenerated.
10873 2004-09-10  Michael Koch  <konqueror@gmx.de>
10875         * gnu/java/net/protocol/file/Connection.java
10876         (lineSeparator): Made non-final.
10877         (static): Removed.
10878         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
10879         instead of StringBufferInputStream.
10881 2004-09-10  Michael Koch  <konqueror@gmx.de>
10883         * gnu/java/net/protocol/file/Connection.java
10884         (connect): Handle file is a directory case.
10886 2004-09-10  Michael Koch  <konqueror@gmx.de>
10888         * Makefile.am
10889         (xlib_includes): Removed.
10890         (AM_CPPFLAGS): Renamed from INCLUDES.
10891         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
10892         * Makefile.in: Regenerate.
10894 2004-09-09  Michael Koch  <konqueror@gmx.de>
10896         * java/security/ProtectionDomain.java,
10897         * java/util/PropertyPermissionCollection.java:
10898         Fixed javadocs all over.
10900 2004-09-09  Sven de Marothy  <sven@physto.se>
10902         Patch from David Gilbert <david.gilbert@object-refinery.com>
10903         * java/lang/Comparable.java: Fixed documentation errors.
10904         * java/util/Arrays.java: Likewise.
10906 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10908         * java/net/Inet4Address.java
10909         (Inet4Address): Added comment to serialization UID.
10910         * java/text/Format.java
10911         (Format): Added comment to serialization UID.
10913 2004-09-09  Michael Koch  <konqueror@gmx.de>
10915         * java/lang/System.java
10916         (err): Fixed javadoci to point to setErr() and not setOut().
10918 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
10920         (normalizePath): Added special case for windows systems.
10922 2004-09-09  Michael Koch  <konqueror@gmx.de>
10924         * java/io/File.java
10925         (dupSeparator): Made private.
10926         (File(URI)): New constructor.
10927         (getParentFile): Fixed javadoc.
10928         (createTempFile): Reformated.
10929         (setReadOnly): Added comment.
10930         (deleteOnExit): Merged javadoc with classpath version.
10932 2004-09-09  Michael Koch  <konqueror@gmx.de>
10934         * Makefile.am: Don't try to include deps.mk.
10935         * Makefile.in: Regenerated.
10937 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
10939         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
10940         .d files.
10941         * configure: Rebuilt.
10943 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
10945         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
10946         Changed pfn from static local to local.
10948 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
10949             H.J. Lu  <hongjiu.lu@intel.com>
10951         PR libgcj/17290
10952         * Makefile.am (GCJCOMPILE): Remove definition.
10953         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
10954         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
10955         * Makefile.in: Rebuilt.
10957 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
10959         * configure.ac (enable-gc-debug): Update help for new syntax.
10960         * configure: Regenerate.
10962 2004-09-03  David Daney  <ddaney@avtrex.com>
10964         * include/mips-signal.h: Update copyright.
10966 2004-09-03  David Daney  <ddaney@avtrex.com>
10968         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
10969         * include/mips-signal.h: Added HANDLE_FPE support.
10971 2004-08-31  Michael Koch  <konqueror@gmx.de>
10973         * javax/swing/plaf/basic/BasicTextAreaUI.java
10974         (create): New method.
10975         * javax/swing/text/DefaultHighlighter.java
10976         (DefaultHighlightPainter.debugRect): Removed.
10977         * javax/swing/text/StyleContext.java
10978         (DEFAULT_STYLE): New field.
10980 2004-08-31  Michael Koch  <konqueror@gmx.de>
10982         * javax/swing/plaf/basic/BasicLookAndFeel.java
10983         (initComponentDefaults): Add keybindings for selection.backward and
10984         selection-forward for text components.
10985         * javax/swing/plaf/basic/BasicTextUI.java
10986         (paintSafely): Paint highlight only when something is actually
10987         selected.
10988         * javax/swing/text/DefaultCaret.java
10989         (handleHighlight): New method.
10990         (setSelectionVisible): Don't do anything when nothing changes.
10991         Handle highlight.
10992         (moveDot): Reimplemented. Handle highlight.
10993         (setDot): Set mark too. Handle highlight.
10994         (getSelectionPainter): New method.
10995         * javax/swing/text/DefaultEditorKit.java
10996         (defaultActions): Added new actions for text selection.
10997         * javax/swing/text/DefaultHighlighter.java
10998         (DefaultHighlightPainter): New inner class.
10999         (DefaultPainter): New field.
11000         (paint): Implemented.
11001         * javax/swing/text/PlainView.java
11002         (paint): Don't draw background here again.
11003         * javax/swing/text/Utilities.java
11004         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
11005         (drawTabbedText): Likewise.
11007 2004-08-31  Graydon Hoare  <graydon@redhat.com>
11009         * javax/swing/JComponent.java
11010         (resetKeyboardActions): Add null checks.
11012 2004-08-31  Graydon Hoare  <graydon@redhat.com>
11014         * javax/swing/DefaultButtonModel.java:
11015         Skip group notification when no group is set.
11017 2004-08-31  Graydon Hoare  <graydon@redhat.com>
11019         * javax/swing/JColorChooser.java:
11020         Make a couple inner classes static, for jikes.
11022 2004-08-31  Michael Koch  <konqueror@gmx.de>
11024         * javax/swing/plaf/basic/BasicTextUI.java
11025         (RottView.modelToView): New method.
11026         (UpdateHandler): Renamed from EventHandler.
11027         (updateHandler): Renamed from eventHandler.
11028         (modelToView): Implemented.
11029         * javax/swing/text/AbstractDocument.java
11030         (BranchElement.getElement): Return null for non-existing indeces.
11031         (BranchElement.getElementIndex): Return 0 in some corner cases.
11032         * javax/swing/text/FieldView.java
11033         (modelToView): New method.
11034         * javax/swing/text/PlainView.java
11035         (modelToView): Made public.
11037 2004-08-31  Kim Ho  <kho@redhat.com>
11039         * Makefile.am: New files.
11040         * Makefile.in: Regenerate.
11041         * gcj/Makefile.in: Regenerate.
11042         * include/Makefile.in: Regenerate.
11043         * java/awt/Color.java: Fix documentation.
11044         (RGBtoHSB): Use floats for conversions.
11045         * javax/swing/ButtonGroup.java: Run Jalopy.
11046         (setSelected): Reimplement.
11047         * javax/swing/DefaultButtonModel.java: Run Jalopy.
11048         (changeState): Let ButtonGroup know that the button
11049         is changing state.
11050         * javax/swing/JColorChooser.java: Implement.
11051         * javax/swing/JLabel.java: Run Jalopy.
11052         * javax/swing/JSpinner.java: Run Jalopy.
11053         (setValue): New method.
11054         * javax/swing/JTabbedPane.java: Run Jalopy.
11055         (removeTabAt): Call correct remove method.
11056         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
11057         (getPreviousValue): Compare minimum value.
11058         * javax/swing/Timer.java: Run Jalopy.
11059         (run): Comment out println.
11060         * javax/swing/ToolTipManager.java:
11061         (mouseMoved): Get new tooltip text for location.
11062         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11063         Jalopy and Javadoc.
11064         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
11065         Implement.
11066         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
11067         Run Jalopy.
11068         (setSelectedColor): Fire ChangeEvent.
11069         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
11070         New file. Implement.
11071         * javax/swing/colorchooser/DefaultPreviewPanel.java:
11072         Ditto.
11073         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
11074         Ditto.
11075         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
11076         Ditto.
11077         * javax/swing/plaf/basic/BasicArrowButton.java:
11078         (getArrow): Fix size of upward pointing button.
11079         * javax/swing/plaf/basic/BasicColorChooserUI.java:
11080         Implement.
11081         * javax/swing/plaf/basic/BasicSliderUI.java:
11082         (getWidthOfWidestLabel): Use preferred dimensions.
11083         (getHeightOfTallestLabel): Ditto.
11084         * javax/swing/plaf/basic/BasicSpinnerUI.java:
11085         Run Jalopy.
11086         (mousePressed): Disable changes to spinner if it is not enabled.
11087         * testsuite/Makefile.in: Regenerate.
11090 2004-08-31  Michael Koch  <konqueror@gmx.de>
11092         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
11093         javax/swing/plaf/basic/BasicTableUI.java:
11094         Added copyright notice.
11096 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
11098         * Makefile.am: Added new files.
11099         * Makefile.in: Regenerate.
11100         * javax/swing/ComboBoxEditor.java: Added javadocs.
11101         * javax/swing/ComboBoxModel.java: Likewise.
11102         * javax/swing/DefaultComboBoxModel.java: Implemented.
11103         * javax/swing/DefaultListCellRenderer.java: Added javadocs
11104         and ran through jalopy to fix formatting style.
11105         (getListCellRendererComponent): Use appropriate border
11106         if renderer has focus and use noFocusBorder when it doesn't.
11107         * javax/swing/JComboBox.java: Implemented.
11108         * javax/swing/JList.java:
11109         (locationToIndex): New Method. Implemented.
11110         (indexToLocation): New Method.
11111         * javax/swing/JPopupMenu.java:
11112         (visible): New field.
11113         (isVisible): Changed to use new field above.
11114         (setVisible): Likewise.
11115         * javax/swing/MutableComboBoxModel.java: Added javadocs.
11116         * javax/swing/plaf/basic/BasicArrowButton.java:
11117         (shadow): Changed default color to Color.gray.
11118         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
11119         UI delegate for JComboBox.
11120         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
11121         Popup menu containing list of JComboBox's items.
11122         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
11123         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
11124         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
11125         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
11126         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11127         (popupMenuWillBecomeVisible): Set selected path to the first
11128         element only if it is of type MenuElement. Also fix formatting
11129         style.
11130         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
11131         methods signatures.
11133 2004-08-31  Michael Koch  <konqueror@gmx.de>
11135         * javax/swing/text/AbstractDocument.java
11136         (createBranchElement): Use new constructor of BranchElement.
11137         (createLeafElement): Renamed arguments.
11138         (getRootElements): Implemented.
11139         (BranchElement.start): Removed.
11140         (BranchElement.end): Likewise.
11141         (BranchElement.BranchElement): Fixed arguments.
11142         (BranchElement.getEndOffset): Reimplemented.
11143         (BranchElement.getStartOffset): Likewis.
11144         * javax/swing/text/DefaultCaret.java
11145         (paint): Draw simple vertical line as caret instead of a rectangle.
11146         * javax/swing/text/JTextComponent.java
11147         (setText): Use doc directly.
11148         * javax/swing/text/PlainView.java
11149         (nextTabStop): Implemented.
11150         * javax/swing/text/Utilities.java
11151         (drawTabbedText): nextTabStop() returns an absolute x position.
11152         (getTabbedTextWidth): Likewise.
11154 2004-08-31  Graydon Hoare  <graydon@redhat.com>
11156         * java/awt/Component.java
11157         (isFocusTraversable): Predicate on isLightweight()
11158         (setFocusable): Set isFocusTraversableOverridden.
11159         (requestFocus): Predicate peer dispatch on !isLightweight()
11160         (requestFocusInWindow): Likewise.
11161         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
11162         * java/awt/Container.java
11163         (dispatchEventImpl): Predicate on event mask.
11164         (LightweightDispatcher): Remove focus machinery.
11165         * java/awt/DefaultFocusTraversalPolicy.java
11166         (accept): Expand predicate to include isFocusable().
11167         * java/awt/DefaultKeyboardFocusManager.java:
11168         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
11169         * java/awt/KeyboardFocusManager.java
11170         (redispatchEvent): Synchronize on event to prevent feedback.
11171         * javax/swing/AbstractButton.java
11172         (ButtonFocusListener): Remove class.
11173         (init): Set focusPainted, focusable.
11174         * javax/swing/ActionMap.java (get): Check parent for null.
11175         * javax/swing/InputMap.java (get): Likewise.
11176         * javax/swing/JComponent.java
11177         (inputMap_whenFocused): New InputMap.
11178         (inputMap_whenAncestorOfFocused): Likewise.
11179         (inputMap_whenInFocusedWindow): Likewise.
11180         (getActionForKeyStroke): Rewrite.
11181         (getConditionForKeystroke): Likewise.
11182         (ActionListenerProxy): New private class.
11183         (setInputMap): Implement.
11184         (getInputMap): Likewise.
11185         (setActionMap): Likewise.
11186         (getActionMap): Likewise.
11187         (processComponentKeyEvent): New empty method.
11188         (processKeyEvent): Implement.
11189         (processKeyBinding): Likewise.
11190         (resetKeyboardActions): Rewrite.
11191         * javax/swing/KeyStroke.java: Rewrite.
11192         * javax/swing/SwingUtilities.java
11193         (notifyAction): Implement.
11194         (replaceUIActionMap): Likewise.
11195         (replaceUIInputMap): Likewise.
11196         * javax/swing/plaf/basic/BasicButtonListener.java
11197         (focusGained): Implement.
11198         (focusLost): Repaint if focusPainted().
11199         (installKeyboardActions): Install pressed / released actions.
11200         (uninstallKeyboardActions): Implement.
11201         * javax/swing/plaf/basic/BasicButtonUI.java
11202         (focusColor): New field.
11203         (installDefaults): Load focus color, install input map.
11204         (installKeyboardActions): Implement.
11205         (uninstallKeyboardActions): Likewise.
11206         (paintFocus): Rewrite.
11207         * javax/swing/plaf/basic/BasicLookAndFeel.java
11208         (Button.focus): New default, midPurple.
11209         * javax/swing/plaf/basic/BasicTextUI.java
11210         (kit): Make static.
11211         (installUI): Get doc from kit, load defaults.
11212         (getKeymapName): Implement.
11213         (createKeymap): Likewise.
11214         (installKeyboardActions): Likewise.
11215         (getInputMap): Likewise.
11216         (getActionMap): Likewise.
11217         (createActionMap): Likewise.
11218         * javax/swing/text/AbstractDocument.java
11219         (getStartPosition): Implement.
11220         (getEndPosition): Likewise.
11221         * javax/swing/text/DefaultEditorKit.java
11222         (CopyAction): New class.
11223         (CutAction): Likewise.
11224         (DefaultKeyTypedAction): Likewise.
11225         (InsertBreakAction): Likewise.
11226         (InsertContentAction): Likewise.
11227         (InsertTabAction): Likewise.
11228         (PasteAction): Likewise.
11229         (defaultActions): New static table.
11230         (createCaret): Implement.
11231         (getActions): Likewise.
11232         * javax/swing/text/JTextComponent.java
11233         (KeymapWrapper): New private class.
11234         (KeymapActionMap): Likewise.
11235         (DefaultKeymap): New class.
11236         (keymaps): New static table.
11237         (keymap): New field.
11238         (getKeymap): Implement.
11239         (removeKeymap): Likewise.
11240         (addKeymap): Likewise.
11241         (setKeymap): Likewise.
11242         (loadKeymap): Likewise.
11243         (getActions): Likewise.
11244         (margin): New field.
11245         (JTextComponent): Build and install default keymap.
11246         * javax/swing/text/TextAction.java
11247         (textAction): Call super properly.
11248         (getTextComponent): Implement.
11249         * javax/swing/text/Utilities.java
11250         (drawTabbedText): Adjust position by ascent.
11252 2004-08-31  David Jee  <djee@redhat.com>
11254         PR AWT/17156
11256         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
11257         (setEnabled): Make it a native method.
11258         * java/awt/DefaultKeyboardFocusManager.java
11259         (postProcessKeyEvent): Only post event if the menu item
11260         is active.
11261         * java/awt/MenuItem.java:
11262         Private field 'enabled' should be true by default.
11263         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
11264         (setEnabled): New function.
11266 2004-08-31  David Jee  <djee@redhat.com>
11268         PR AWT/17059
11270         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
11271         (nativeSetHelpMenu): New native method declaration.
11272         (addHelpMenu): Call nativeSetHelpMenu().
11273         (addMenu): Remove.
11274         * java/awt/MenuBar.java
11275         (setHelpMenu): Call addNotify() on the new help menu.
11276         (add): Call addNotify() on the new menu.
11277         (addNotify): Set the help menu if one exists.
11278         * java/awt/peer/MenuBarPeer.java
11279         (addMenu): Remove.
11280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
11281         (nativeSetHelpMenu): New method.
11283 2004-08-31  Graydon Hoare  <graydon@redhat.com>
11285         * Makefile.am: Add new files.
11286         * Makefile.in: Regenerate.
11287         * javax/swing/Box.java: Fix setting of layout in ctor.
11288         * javax/swing/JScrollPane.java: Scroll headers as well.
11289         * javax/swing/JTable.java: Reimplement.
11290         * javax/swing/JViewPort.java: Only add non-null children.
11291         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
11292         * javax/swing/Timer.java: Fix stopping null waker.
11293         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
11294         * javax/swing/plaf/basic/BasicTableUI.java: New file.
11295         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
11296         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
11297         * javax/swing/table/DefaultTableModel.java: Clean up.
11298         * javax/swing/table/JTableHeader.java: Implement.
11300 2004-08-31  Mark Wielaard  <mark@klomp.org>
11302         * javax/swing/JSpinner.java (getChangeListeners): Remove double
11303         semi-colon.
11305 2004-08-31  Mark Wielaard  <mark@klomp.org>
11307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
11308         Declare variables at top of functions/block.
11309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
11311 2004-08-31  Mark Wielaard  <mark@klomp.org>
11313         * java/lang/Rectangle.java (intersects): Check r.width and r.height
11314         first.
11316 2004-08-31  Michael Koch  <konqueror@gmx.de>
11318         * javax/swing/text/PlainView.java
11319         (selectedColor): New field.
11320         (unselectedColor): Likewise.
11321         (font): Likewise.
11322         (updateMetrics): New method.
11323         (lineToRect): Likewise.
11324         (modelToView): Likewise.
11325         (drawSelectedText): Use color from JTextComponent ad draw with
11326         Utilities class.
11327         (drawUnselectedText): Likewise.
11328         (paint): Initialize helper fields.
11329         * javax/swing/text/View.java
11330         (getChildAllocation): New method.
11331         (getViewIndex): Likewise.
11332         (getToolTipText): Likewise.
11334 2004-08-31  Michael Koch  <konqueror@gmx.de>
11336         * javax/swing/text/Utilities.java
11337         (drawTabbedText): Reimplemented.
11338         (getTabbedTextWidth): Likewise.
11340 2004-08-31  Michael Koch  <konqueror@gmx.de>
11342         * javax/swing/plaf/basic/BasicTextUI.java
11343         (installDefaults): Install caret and highlighter.
11344         (modelToView): Use Bias.Forward when calling sibling.
11345         * javax/swing/text/AbstractDocument.java
11346         (ElementEdit): Implements DocumentEvent.ElementChange.
11347         (ElementEdit.ElementEdit): New method.
11348         (ElementEdit.getChildrenAdded): Likewise.
11349         (ElementEdit.getChildrenRemoved): Likewise.
11350         (ElementEdit.getElement): Likewise.
11351         (ElementEdit.getIndex): Likewise.
11352         * javax/swing/text/DefaultCaret.java
11353         (color): Removed.
11354         (textComponent): Renamed from parent, made private.
11355         (selectionVisible): Renamed from vis_sel, made private.
11356         (blinkRate): Renamed from blink, made private.
11357         (magicCaretPosition): Renamed from magic, made private.
11358         (visible): Renamed from vis, made private.
11359         (dot): Made private.
11360         (mark): Likewise.
11361         (deinstall): Remove as MouseMotionListener.
11362         (install): Initialize textComponent first. Add as MouseMotionListener.
11363         (paint): Reimplemented.
11364         * javax/swing/text/JTextComponent.java
11365         (setCaret): Deinstall old caret, install new one and fire property
11366         change after setting property.
11367         (setHighlighter): Deinstall old highlighter, install new one and fire
11368         property change after setting property.
11369         (setCaretColor): Fire property change after setting property.
11370         (setDisabledTextColor): Likewise.
11371         (setSelectedTextColor): Likewise.
11372         (setSelectionColor): Likewise.
11373         (modelToView): New method.
11375 2004-08-31  Michael Koch  <konqueror@gmx.de>
11377         * javax/swing/text/AbstractDocument.java
11378         (getText): Simplified.
11379         * javax/swing/text/Segment.java
11380         (current): New field.
11381         (current): Reimplemented.
11382         (first): Likewise.
11383         (getIndex): Likewise.
11384         (last): Likewise.
11385         (next): Likewise.
11386         (previous): Likewise.
11387         (setIndex): Likewise.
11389 2004-08-31  Michael Koch  <konqueror@gmx.de>
11391         * javax/swing/plaf/basic/BasicButtonUI.java
11392         (defaultTextIconGap): Made protected.
11393         (defaultTextShiftOffset): Likewise.
11394         (textShiftOffset): New field.
11395         (clearTextShiftOffset): New method.
11396         (getTextShiftOffset): Likewise.
11397         (setTextShiftOffset): Likewise.
11399 2004-08-31  Michael Koch  <konqueror@gmx.de>
11401         * javax/swing/plaf/basic/BasicTextUI.java
11402         (installUI): Add eventHandler as property listener.
11403         (uninstallUI): remove eventHandler as propert listener.
11404         (installDefaults): Added comment.
11405         (installListeners): Likewise.
11406         (installKeyboardActions): Likewise.
11407         (uninstallDefaults): Likewise.
11408         (uninstallListeners): Likewise.
11409         (uninstallKeyboardActions): Likewise.
11411 2004-08-31  Michael Koch  <konqueror@gmx.de>
11413         * javax/swing/text/AbstractDocument.java:
11414         Fixed some typos in comments.
11415         (insertString): Reimplemented.
11416         (remove): Likewise.
11417         (replace): New method.
11418         (children): Dont use fully qualified class name.
11419         (DefaultDocumentEvent.offset): Renamed from off.
11420         (DefaultDocumentEvent.length): Renamed from len.
11421         (DefaultDocumentEvent.type): New field.
11422         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
11423         (DefaultDocumentEvent.getType): Implemented.
11425 2004-08-31  Michael Koch  <konqueror@gmx.de>
11427         * javax/swing/plaf/basic/BasicTextUI.java
11428         (RootView.textComponent): Removed.
11429         (RootView.RootView): Don't initialize textComponent.
11430         (RootView.getViewFactory): New method.
11431         (EventHandler): New inner class.
11432         (rootView): Initialize at instance creation.
11433         (eventHandler): New field.
11434         (installUI): Don't create view hierarchy directly,
11435         call modelChanged() instead.
11436         (modelChanged): New method.
11437         * javax/swing/text/JTextComponent.java
11438         (setDocument): Fire property change event.
11440 2004-08-31  Michael Koch  <konqueror@gmx.de>
11442         * javax/swing/plaf/basic/BasicTextUI.java
11443         (RootView.paint): Removed debug output.
11444         (paintSafely): Draw highlighter before text.
11445         (paintBackground): Use background color of text component.
11446         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
11447         Reformatted.
11449 2004-08-31  Michael Koch  <konqueror@gmx.de>
11451         * javax/swing/plaf/basic/BasicToolBarUI.java
11452         (BasicToolBarUI): Fixed arguments for constructor.
11453         (createUI): Fixed creation of object.
11455 2004-08-31  Michael Koch  <konqueror@gmx.de>
11457         * javax/swing/DefaultListSelectionModel.java
11458         (fireValueChanged): Renamed from fireSelectionValueChanged,
11459         made protected.
11461 2004-08-31  Michael Koch  <konqueror@gmx.de>
11463         * javax/swing/text/TabSet.java
11464         (TabSet): Implements java.io.Serializable.
11465         * javax/swing/text/TabStop.java
11466         (TabStop): Implements java.io.Serializable.
11467         (TabStop): Made public.
11469 2004-08-31  Michael Koch  <konqueror@gmx.de>
11471         * javax/swing/JComponent.java
11472         (setUI): Fire PropertyChange.
11473         * javax/swing/JLabel.java
11474         (text): Renamed from labelText.
11475         (horizontalAlignment): New default vlaue.
11476         (icon): Renamed from activeIcon.
11477         (displayedMnemonic): Renamed from mnemonicKey, added default value.
11478         (displayedMnemonicIndex): Renamed from underlineChar.
11479         (setDisplayedMnemonic): Reimplemented.
11480         * javax/swing/JRadioButton.java
11481         (JRadioButton): New constructors.
11482         * javax/swing/JTextField.java
11483         (JTextField): Throw exception if colums < 0, initialitialz
11484         this.columns directly and initialize document with text conditionally.
11486 2004-08-31  Michael Koch  <konqueror@gmx.de>
11488         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
11489         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
11490         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
11491         * javax/swing/text/FieldView.java
11492         (paint): Just call super method for now.
11493         * Makefile.am: Added new files.
11494         * Makefile.in: Regenerated.
11496 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
11498         * javax/swing/AbstractSpinnerModel.java,
11499         javax/swing/JSpinner.java,
11500         javax/swing/SpinnerNumberModel.java,
11501         javax/swing/plaf/basic/BasicSpinnerUI.java:
11502         New files.
11503         * javax/swing/plaf/basic/BasicLookAndFeel.java
11504         (initClassDefaults): Added defaults for BasicSpinnerUI.
11506 2004-08-31  Michael Koch  <konqueror@gmx.de>
11508         * Makefile.am: Added new files.
11509         * Makefile.in: Regenerated.
11511 2004-08-31  Michael Koch  <konqueror@gmx.de>
11513         * javax/swing/TransferHandler.java,
11514         javax/swing/plaf/basic/ComboPopup.java: New files
11515         * Makefile.am: Added javax/swing/TransferHandler.java and
11516         javax/swing/plaf/basic/ComboPopup.java
11517         * Makefile.in: Regenerated.
11519 2004-08-31  Roman Kennke  <roman@ontographics.com>
11521         * javax/swing/text/Utilities.java: New file.
11523 2004-08-31  Michael Koch  <konqueror@gmx.de>
11525         * Makefile.am: Added javax/swing/text/Utilities.java.
11526         * Makefile.in: Regenerated.
11528 2004-08-31  Graydon Hoare  <graydon@redhat.com>
11530         * javax/swing/text/SimpleAttributeSet.java: New file.
11531         * javax/swing/text/StyleConstants.java: New file.
11532         * javax/swing/text/StyleContext.java: New file.
11533         * javax/swing/text/TabSet.java: New file.
11534         * javax/swing/text/TabStop.java: New file.
11535         * javax/swing/text/AbstactDocument.java:
11536         (AbstractElement): Implement attribute support.
11537         * javax/swing/text/AttributeSet.java
11538         (NameAttribute): New static field.
11539         (ResolveAttribute): New static field.
11540         * Makefile.am: Update for new files.
11541         * Makefile.in: Regenerate.
11543 2004-08-31  Craig Black  <craig.black@aonix.com>
11545         * gnu/java/awt/peer/gtk/GdkGraphics.java
11546         (drawImage): Add support for scaling pixmaps.
11547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
11548         (copyAndScalePixmap): New native method.
11550 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
11552         PR AWT/16121
11553         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
11554         type-punning compiler warnings using unions.
11555         (throw): Replace bzero with memset.
11557 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
11558             Thomas Fitzsimmons  <fitzsim@redhat.com>
11560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
11561         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
11562         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
11563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11564         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
11566 2004-08-31  Mark Wielaard  <mark@klomp.org>
11568         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
11569         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
11570         and stdlib.h, not gtkpeer.h.
11571         (*vm): New static variable.
11572         (areaPreparedID): Make static.
11573         (areaUpdatedID): Likewise.
11574         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
11575         (area_prepared): Likewise.
11576         (area_updated): Likewise.
11577         (closed): Likewise.
11578         (initStaticState): Initialize *vm javaVM.
11579         (pumpBytes): Use given env, not global gdk_env.
11581 2004-08-31  Mark Wielaard  <mark@klomp.org>
11583         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
11584         comments.
11586 2004-08-31  Sven de Marothy  <sven@physto.se>
11588         * java/awt/geom/CubicCurve2D.java: Reindent.
11589         (contains): Implemented.
11590         (intersects): Implemented.
11591         * java/awt/geom/QuadCurve2D.java: Likewise.
11592         * java/awt/geom/GeneralPath.java: Reindent and document.
11593         Fully (re)implemented using separate xpoints and ypoints
11594         float[] coords.
11595         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
11597 2004-08-31  Michael Koch  <konqueror@gmx.de>
11599         * javax/swing/JMenuItem.java
11600         (getMenuDragMouseListeners): New method.
11601         (getMenuKeyListeners): Likewise.
11603 2004-08-31  Michael Koch  <konqueror@gmx.de>
11605         * javax/swing/AbstractButton.java
11606         (model): Made protected.
11607         (actionListener): Likewise.
11608         (changeListener): Likewise.
11609         (itemListener): Likewise.
11610         (multiClickThreshhold): New field.
11611         (getActionListeners): New method.
11612         (getChangeListeners): Likewise.
11613         (getItemListeners): Likewise.
11614         (fireItemStateChanged): Simplified implementation.
11615         (fireActionPerformed): Likewise.
11616         (fireStateChanged): Likewise.
11617         (getMultiClickThreshhold): New method.
11618         (setMultiClickThreshhold): Likewise.
11620 2004-08-31  Tom Tromey  <tromey@redhat.com>
11622         * java/awt/image/Kernel.java (clone): Use super.clone().
11624 2004-08-31  David Jee  <djee@redhat.com>
11626         PR AWT/16682
11627         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11628         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
11629         (nativeSetIconImageFromData): New native method declaration.
11630         (setIconImage): Handle images not produced from GdkPixbufDecoder.
11631         * gnu/java/awt/peer/gtk/GtkImage.java
11632         (getPixelCache): New method.
11633         (getColorModel): New method.
11634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11635         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
11636         (free_pixbuf_data): New helper function.
11637         (nativeSetIconImageFromData): New function.
11639 2004-08-31  Graydon Hoare  <graydon@redhat.com>
11641         PR SWING/16576
11642         * javax/swing/JLayeredPane.java
11643         (setLayer): Permit changing layer after addition.
11644         (setPosition): Permit over-length positions.
11645         (layerToRange): Compare intValue()s.
11646         * javax/swing/Box.java (createHorizontalBox): Implement.
11647         (createRigidArea): Likewise.
11648         (createVerticalBox): Likewise.
11650 2004-08-31  Kim Ho  <kho@redhat.com>
11652         * java/awt/Component.java:
11653         (processMouseEvent): Consume event after
11654         listeners process it.
11655         (processMouseMotionEvent): ditto.
11656         (processMouseWheelEvent): ditto.
11657         * java/awt/Container.java:
11658         (acquireComponentForMouseEvent):
11659         Do not dispatch to events that have been
11660         removed from the Container.
11661         (handleEvent): Consume the MouseEvents.
11662         * javax/swing/RepaintManager.java:
11663         (paintDirtyRegions): Do not add to list of
11664         damaged areas if the component has no root.
11666 2004-08-31  Michael Koch  <konqueror@gmx.de>
11668         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
11670 2004-08-31  Mark Wielaard  <mark@klomp.org>
11672         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
11673         null when a MissingResourceException is thrown. Should never happen.
11675 2004-08-31  Mark Wielaard  <mark@klomp.org>
11677         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
11678         when argument is null.
11680 2004-08-31  Mark Wielaard  <mark@klomp.org>
11682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11683         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11684         Define hid at start of function.
11685         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11686         Likewise.
11688 2004-08-31  Mark Wielaard  <mark@klomp.org>
11690         * gnu/java/awt/EmbeddedWindow.java: Reindent.
11691         * javax/swing/JButton.java: Reindent.
11692         * javax/swing/JCheckBox.java: Reindent.
11694 2004-08-31  Mark Wielaard  <mark@klomp.org>
11696         * Makefile.am (gtk_c_source_files): Added
11697         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
11698         (gtk_awt_peer_sources): Added
11699         gnu/java/awt/peer/gtk/GThreadMutex.java and
11700         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
11701         * Makefile.in: Regenerated.
11703 2004-08-31  Archie Cobbs  <archie@dellroad.org>
11705         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
11707 2004-08-31  Steven Augart  <augart@watson.ibm.com>
11709         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
11710         Added jfieldID, jmethodID.
11712 2004-08-31  Mark Wielaard  <mark@klomp.org>
11714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11715         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
11716         gdk_env before calling any gdk or gtk function.
11718         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
11719         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
11720         (run): Set gtkInitCalled.
11722 2004-08-31  Steven Augart  <augart@watson.ibm.com>
11724         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
11725         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
11727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11728         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
11729         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
11730         init_glib_threads.
11731         (init_glib_threads): New function.
11733 2004-08-31  Mark Wielaard  <mark@klomp.org>
11735         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
11736         PRIORITY when not already defined in header file.
11738 2004-08-31  Mark Wielaard  <mark@klomp.org>
11740         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
11741         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
11743 2004-08-31  Steven Augart  <augart@watson.ibm.com>
11745         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
11746         Implemented missing functions for GTK2.
11747         Added error handling.
11748         Renamed static functions out of the g_ namespace.
11749         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
11750         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
11751         Rewrote global-reference code.
11752         Eliminated cascading errors.
11753         (mutex_trylock_jni_impl) Fully implemented.
11754         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
11755         resolution.
11756         (setup_cache) New function.
11757         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
11758         bug where they were not unlocking the GMutex associated with the
11759         condition variable during the wait on that condition variable.
11761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11762         native/jni/gtk-peer/gthread-jni.c,
11763         native/jni/gtk-peer/gthread-jni.h
11764         (g_thread_jni_functions): Renamed to ...
11765         (portable_native_sync_jni_functions): this name.
11766         (gdk_vm): Renamed to...
11767         (the_vm): this name.
11769         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11770         (gdk_vm): Removed duplicate definition.
11771         (gtkInit): Removed stray message to stdout.
11772         (gtkInit): Use g_malloc and g_free instead of malloc and free.
11773         (gtkInit): Fix a const assignment bug.
11774         (gtkInit): Simplified code.
11776         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
11777         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
11778         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
11779         gnu/java/awt/peer/gtk/GThreadMutex.java:
11780         New files.
11782 2004-08-31  Mark Wielaard  <mark@klomp.org>
11784         * javax/swing/Box.java: Put FIXME comment above class declaration.
11785         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
11786         * javax/swing/JCheckBox.java: Likewise.
11787         * javax/swing/JDialog.java: Likewise.
11788         * javax/swing/JRadioButton.java: Likewise.
11789         * javax/swing/JToggleButton.java: Likewise.
11790         * javax/swing/UIManager.java: Likewise.
11791         * javax/swing/border/TitledBorder.java: Likewise.
11792         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
11793         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
11794         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
11795         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
11796         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
11797         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
11798         * javax/swing/text/JTextComponent.java: Likewise.
11800 2004-08-31  David Jee  <djee@redhat.com>
11802         PR AWT/16682
11803         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11804         (setIconImage): Add a FIXME for unhandled cases.
11806 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
11808         PR AWT/16040
11809         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
11810         getModifiers.  Replace old button masks with new ones.
11811         * gnu/awt/xlib/XEventLoop.java: Likewise.
11812         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11813         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11815         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
11816         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
11817         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
11818         * java/awt/Component.java: Replace old modifier masks with new
11819         ones.
11820         * java/awt/Container.java: Call getModifiersEx, not
11821         getModifiers.
11822         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
11823         old modifier masks.
11824         * javax/swing/JMenuItem.java: Replace old button masks with new
11825         ones.
11826         * javax/swing/KeyStroke.java: Call getModifiersEx, not
11827         getModifiers.
11828         * javax/swing/SwingUtilities.java: Likewise.
11829         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
11830         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
11831         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
11832         mask macros with new ones.
11833         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
11834         macros with new ones representing new masks.
11836 2004-08-31  Craig Black  <craig.black@aonix.com>
11838         * gnu/java/awt/peer/gtk/GdkGraphics.java
11839         (drawRoundRect): Implemented.
11840         (fillRoundRect): Implemented.
11841         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11842         (drawRoundRect): Reimplemented to match GdkGraphics.
11843         (fillRoundRect): Reimplemented to match GdkGraphics.
11845 2004-08-31  Mark Wielaard  <mark@klomp.org>
11847         * Makefile.in: Regenerated.
11849 2004-08-31  Michael Koch  <konqueror@gmx.de>
11851         * gnu/java/awt/EmbeddedWindow.java
11852         (addNotify): Use AccessController to allow execution of privileged
11853         code.
11855 2004-08-31  Michael Koch  <konqueror@gmx.de>
11857         * gnu/java/awt/EmbeddedWindow.java
11858         (static): Removed.
11859         (addNotify): Set peer via reflection.
11860         (setWindowPeer): Removed.
11861         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
11862         * Makefile.am (nat_source_files):
11863         Removed gnu/java/awt/natEmbeddedWindow.cc.
11865 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
11867         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
11868         and gnu/java/security/action/SetAccessibleAction.java.
11870 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
11872         * gnu/java/security/action/GetPropertyAction.java (setParameters):
11873         Renamed from 'setName'. New 2-argument form with default value.
11874         (run): Pass default 'value' parameter to System.getProperty().
11875         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
11876         typos.
11878 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
11880         * gnu/java/security/action/GetPropertyAction.java: New class.
11881         * gnu/java/security/action/SetAccessibleAction.java: New class.
11883 2004-08-31  David Jee  <djee@redhat.com>
11885         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11886         (setIconImage): Check if image is null.
11888 2004-08-31  David Jee  <djee@redhat.com>
11890         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11891         (create): Set the icon image.
11892         (nativeSetIconImage): New native method declaration.
11893         (setIconImage): Implement.
11894         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11895         (nativeSetIconImage): New function.
11897 2004-08-31  Dalibor Topic <robilad@kaffe.org>
11899         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11900         (filenameFilterCallback): Declare local variable accepted before use.
11902 2004-08-31  Dalibor Topic <robilad@kaffe.org>
11904         * gnu/java/awt/ComponentDataBlitOp.java:
11905         Cleaned up imports.
11907 2004-08-31  Tom Tromey  <tromey@redhat.com>
11909         * gnu/java/awt/peer/GLightweightPeer.java,
11910         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
11911         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11912         javax/swing/JScrollPane.java: Removed
11913         redundant imports.
11915 2004-08-31  David Jee  <djee@redhat.com>
11917         * java/awt/DefaultKeyboardFocusManager.java
11918         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
11919         event.  Fix shift modifier checking.
11920         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11921         (accel_attach): Remove.
11922         (setupAccelGroup): Remove calls to accel_attach.
11924 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
11926         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
11927         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
11929         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
11930         GtkArgList.java.
11931         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
11932         * Makefile.in: Regenerate.
11933         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11934         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11935         (create(String)): New method.
11936         (create): Call new create method.
11937         (getArgs): Remove method.
11938         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11939         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
11940         (nativeCreate): Rename to create.
11941         (gtkSetLabel): Rename to gtkButtonSetLabel.
11942         (gtkToggleButtonSetActive): New method.
11943         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
11944         (setState): Replace set call with gtkToggleButtonSetActive.
11945         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
11946         (getArgs): Remove method.
11947         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11948         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11949         (gtkWidgetSetSensitive): New method.
11950         (gtkWidgetSetParent): Likewise.
11951         (GtkComponentPeer): Call setParent, setComponentBounds and
11952         setVisibleAndEnabled.
11953         (setParent): New method.
11954         (setComponentBounds): New method.
11955         (setVisibleAndEnabled): New method.
11956         (setEnabled): Call gtkWidgetSetSensitive.
11957         (getArgs): Remove method.
11958         Remove all set methods.
11959         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
11960         gtkWindowSetModal, setTitle and setResizable.
11961         (getArgs): Remove method.
11962         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11963         (setComponentBounds): New method.
11964         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11965         Replace set call with gtkWindowSetResizable.
11966         (getArgs): Remove method.
11967         (create): Call setTitle and setResizable.
11968         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11969         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11970         (gtkWindowSetTitle): New method.
11971         (gtkWindowSetResizable): New method.
11972         (gtkWindowSetModal): New method.
11973         (setParent): New method.
11974         (setVisibleAndEnabled): New method.
11975         (getArgs): Remove method.
11976         (setTitle): Call gtkWindowSetTitle.
11977         (setResizable): Call gtkWindowSetResizable.
11978         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
11979         and off locking instrumentation.
11981 2004-08-31  Kim Ho  <kho@redhat.com>
11983         * Makefile.am: Add new file.
11984         * Makefile.in: Regenerate.
11985         * gcj/Makefile.in: Regenerate
11986         * include/Makefile.in:
11987         * java/awt/Container.java:
11988         (acquireComponentForMouseEvent): Respect
11989         the event mask when looking for candidate.
11990         * javax/swing/JComponent.java:
11991         Remove toolTip field.
11992         (createToolTip): Create a tooltip on demand.
11993         (setToolTipText): Register with the ToolTipManager.
11994         (getToolTipText(MouseEvent)): Return getToolTipText().
11995         * javax/swing/JToolTip.java: Implement.
11996         * javax/swing/Timer.java: Jalopy.
11997         (restart): Call stop, then start.
11998         (stop): Interrupt the timer rather than wait for
11999         the timer to come to a stop naturally.
12000         * javax/swing/ToolTipManager.java: Implement.
12001         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12002         Change ToolTip.background color.
12003         * javax/swing/plaf/basic/BasicToolTipUI.java:
12004         Implement.
12005         * testsuite/Makefile.in: Regenerate
12007 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
12009         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
12010         constructor param comments.
12012 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
12014         * java/awt/Component.java: Document AWT 1.0 event handler
12015         methods.
12017 2004-08-31  Roman Kennke  <roman@ontographics.com>
12019         * javax/swing/Box.java:
12020         (createGlue): Implemented
12021         (createHorizontalGlue): Implemented
12022         (createHorizontalStrut): Implemented
12023         (createVerticalGlue): Implemented
12024         (createVerticalStrut): Implemented
12026 2004-08-31  David Jee  <djee@redhat.com>
12028         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
12029         (GtkChoicePeer): Do not automatically select first item.
12030         (getHistory): Remove.
12031         (nativeGetSelected): New method.
12032         (nativeRemoveAll): New method.
12033         (add): Use nativeGetSelected() instead of getHistory().
12034         (remove): Likewise.
12035         (removeAll): Call nativeRemoveAll().
12036         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12037         (create): Migrate to GtkComboBox.
12038         (append): Likewise.
12039         (nativeAdd): Likewise.
12040         (nativeRemove): Likewise.
12041         (select): Likewise.
12042         (nativeRemoveAll): New method.
12043         (nativeGetSelected): New method.
12044         (selection_changed): New method.
12045         (getHistory): Remove.
12046         (item_activate): Remove.
12047         (item_removed): Remove.
12048         (connect_choice_item_selectable_hook): Remove.
12050 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
12052         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
12053         variable in setEditable call.
12055         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
12056         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
12057         (gtkWidgetSetBackground): New method.
12058         (gtkWidgetSetForeground): Likewise.
12059         (create): Set peer's editable state based on awtComponent's.
12061         * java/awt/Button.java (Button()): Use empty string rather than
12062         null in no-label constructor.
12064 2004-08-31  Roman Kennke  <roman@ontographics.com>
12066         * javax/swing/BoxLayout.java: Reimplement.
12068 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
12070         * gnu/java/awt/peer/gtk/GdkGraphics.java,
12071         gnu_java_awt_peer_gtk_GdkGraphics.c
12072         (initState(GtkComponentPeer)): Don't return array of colour
12073         values.
12074         (GdkGraphics(int,int)): Set default font to size 12.
12075         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
12076         component's foreground colour.
12077         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
12078         gnu_java_awt_peer_gtk_GdkGraphics2D.c
12079         (initState(GtkComponentPeer)): Don't return array of colour
12080         values.
12081         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
12082         colours to component's colours.
12083         (current_colors_of_widget): Remove function.
12084         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
12085         Return a new graphics object.
12086         * java/awt/Font.java (toString): Fix format.
12087         * java/awt/Graphics.java (toString): Likewise.
12089 2004-08-31  Craig Black  <craig.black@aonix.com>
12091         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12092         (addTearOff): New function.
12093         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
12094         New native method.
12095         (init): Call addTearOff() when menu.isTearOff().
12097 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
12099         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
12100         Default implementation.
12101         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
12102         Implement using GdkPixbufDecoder.
12104 2004-08-31  David Jee  <djee@redhat.com>
12106         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12107         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
12108         setting the size of GtkFileDialogPeers.
12109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12110         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
12111         use their default sizes rather than their natural requisitions.
12113 2004-08-31  Michael Koch  <konqueror@gmx.de>
12115         * javax/swing/JFormattedTextField.java
12116         (JFormattedTextField): Implemented.
12117         * javax/swing/text/DefaultEditorKit.java
12118         (BeepAction): New inner class.
12119         * javax/swing/text/Segment.java
12120         (partialReturn): New field.
12121         (setPartialReturn): New method.
12122         (isPartialReturn): Likewise.
12123         * javax/swing/text/View.java
12124         (createFragment): Fixed typo.
12125         (getStartOffset): New method.
12126         (getEndOffset): Likewise.
12128 2004-08-31  Michael Koch  <konqueror@gmx.de>
12130         * javax/swing/table/DefaultTableColumnModel.java
12131         (serialVersionUID): Made private.
12132         (listenerList): Initialize.
12133         (changeEvent): Initialize.
12134         * javax/swing/table/JTableHeader.java
12135         (JTableHeader): New constructors.
12136         (createDefaultColumnModel): New method.
12137         * javax/swing/table/TableColumn.java
12138         (setHeaderRenderer): Simplified code.
12139         (setCellRenderer): Likewise.
12140         (setWidth): Likewise.
12142 2004-08-31  Tom Tromey  <tromey@redhat.com>
12144         * java/text/AttributedString.java (AttributedString): Use
12145         ArrayList to build array of attribute ranges.  Don't use
12146         `attribs' before it is set.
12148 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
12150         * HACKING: Remove reference to special automake. No longer needed.
12152 2004-08-30  Tom Tromey  <tromey@redhat.com>
12154         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
12155         return result from `add'.
12157 2004-08-30  Tom Tromey  <tromey@redhat.com>
12159         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
12161 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
12163         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
12165 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
12167         * java/io/File.java File(String,String): Fixed handling of empty
12168         path.
12170 2004-08-30  Casey Marshall  <csm@gnu.org>
12172         Author e-mail updated for all files.
12173         * gnu/java/security/OID.java (equals): Test if the aurgment is an
12174         instance of OID.
12175         (compareTo): Use `equals'.
12176         * gnu/java/security/der/BitString.java (equals): Test if the
12177         argument is an instance of BitString.
12178         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
12179         class final. Made fields private.
12180         (<init>): New constructor.
12181         (skip): New method.
12182         (makeString): Made static; don't use NIO.
12183         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
12184         * gnu/java/security/der/DERWriter.java: Fixed imports.
12185         (writeString): Don't use NIO.
12186         (toIso88591, toUtf16Be, toUtf8): New methods.
12187         * gnu/java/security/der/DERValue.java: Formatting changes only.
12188         * gnu/java/security/der/DER.java: Likewise.
12190 2004-08-30  Tom Tromey  <tromey@redhat.com>
12192         * java/nio/CharBuffer.java (put): Fix typo.
12193         * java/nio/DoubleBuffer.java (put): Fix typo.
12194         * java/nio/FloatBuffer.java (put): Fix typo.
12195         * java/nio/IntBuffer.java (put): Fix typo.
12196         * java/nio/LongBuffer.java (put): Fix typo.
12197         * java/nio/ShortBuffer.java (put): Fix typo.
12199 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
12201         * java/nio/ByteBuffer.java (put): Fix typo.
12203 2004-08-30  Casey Marshall  <csm@gnu.org>
12205         * java/security/DummyKeyPairGenerator.java (clone): Removed
12206         useless instanceof check.
12207         * java/security/DummyMessageDigest.java (clone): Likewise.
12208         * java/security/DummySignature.java (clone): Likewise.
12209         * java/security/MessageDigest.java (clone): Remove useless
12210         instanceof check.
12211         * java/security/MessageDigestSpi.java (clone): Likewise.
12212         * java/security/Signature.java (clone): Provide meaningful
12213         implementation.
12214         * java/security/SignatureSpi.java (clone): Likewise.
12216 2004-08-29  Mark Wielaard  <mark@klomp.org>
12218         * java/util/Arrays.java
12219         (sort(byte[], int, int)): Check fromIndex < 0.
12220         (sort(char[], int, int)): Likewise.
12221         (sort(short[], int, int)): Likewise.
12222         (sort(int[], int, int)): Likewise.
12223         (sort(long[], int, int)): Likewise.
12224         (sort(float[], int, int)): Likewise.
12225         (sort(double[], int, int)): Likewise.
12226         (sort(Object[], int, int, Comparator)): Likewise.
12227         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
12228         (qsort(char[], int, int)): Likewise.
12229         (qsort(short[], int, int)): Likewise.
12230         (qsort(int[], int, int)): Likewise.
12231         (qsort(long[], int, int)): Likewise.
12232         (qsort(float[], int, int)): Likewise.
12233         (qsort(double[], int, int)): Likewise.
12235 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12237         * java/util/AbstractCollection.java, java/util/AbstractList.java,
12238         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
12239         java/util/ArrayList.java, java/util/Arrays.java,
12240         java/util/BitSet.java, java/util/Calendar.java,
12241         java/util/Collection.java, java/util/ListIterator.java,
12242         java/util/Map.java, java/util/SortedSet.java:
12243         Added additional exceptions to documentation, along
12244         with some additions and corrections.
12246 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
12248         * configure.ac: Handle --enable-gc-debug.
12249         * configure: Regenerate.
12250         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
12251         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
12252         Rearrange include file order.
12253         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
12254         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
12255         (disable_gc_mutex): Delete along with all references.
12256         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
12257         adjust for debug header size.
12258         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
12259         debug case.
12260         (_Jv_AllocArray): Declare min_heap_addr only if needed.
12261         (gcj_describe_type_fn): New.
12262         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
12263         Register gcj_describe_type_fn.
12264         * include/boehm-gc.h:
12265         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
12266         Don't define, but declare, for debug case.
12267         * java/lang/natObject.cc:
12268         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
12270 2004-08-26  Mark Wielaard  <mark@klomp.org>
12272         Fixes PR libgcj/17002:
12273         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
12274         a TimeZoneId string and then try to convert that to a TimeZone with
12275         getDefaultSystemTimeZone(String).
12276         (timezones0): Changed type from Hashtable to HashMap.
12277         (timezones): Create HashMap, not Hashtable.
12278         (getDefaultTimeZone): New method, rewritten from CNI version.
12279         (readTimeZoneFile): New method.
12280         (readtzFile): Likewise.
12281         (skipFully): Likewise.
12282         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
12283         getDefaultTimeZoneId and rewritten.
12284         (getDefaultTimeZoneId): Rewritten in java.
12286 2004-08-25  David Daney  <daney@avtrex.com>
12288         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
12289         * Makefile.in: Regenerated.
12291 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
12293         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
12294         only if jvmpi is enabled.
12295         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
12296         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
12297         (_Jv_AllocString): Likewise.
12298         (_Jv_AllocPtrFreeObject): Likewise.
12300 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
12302         * defineclass.cc: Include <stdio.h>.
12303         * java/lang/natClassLoader.cc: Include <stdio.h>.
12305 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
12306             Michael Koch  <konqueror@gmx.de>
12308         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
12309         * Makefile.in: Regenerated.
12311 2004-08-20  Michael Koch  <konqueror@gmx.de>
12313         * configure.ac: Replaced all AC_TRY_COMPILE macros with
12314         AC_COMPILE_IFELSE macros.
12316 2004-08-20  Michael Koch  <konqueror@gmx.de>
12318         * configure.in: Renamed to configure.ac.
12319         * configure.ac: New file.
12320         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
12321         include/config.h.in, testsuite/Makefile.in: Regenerated.
12323 2004-08-20  Michael Koch  <konqueror@gmx.de>
12325         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
12326         * aclocal.m4, configure: Regenerated.
12328 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
12329             Michael Koch  <konqueror@gmx.de>
12331         * configure.in, Makefile.am: Ported to automake 1.9.
12332         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
12333         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
12334         Regenerated.
12336 2004-08-19  Tom Tromey  <tromey@redhat.com>
12338         * java/net/DatagramSocket.java: Fixed typo.
12340 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
12342         PR libgcj/17081
12343         * java/net/URI.java (string): New field. Make all other fields
12344         transient.
12345         (readObject): Implemented.
12346         (writeObject): Implemented.
12347         (URI): Set 'string'.
12349 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
12351         PR libgcj/17079
12352         * java/util/logging/Handler.java (isLoggable): Accept record if its
12353         log level equals the threshold level. From Robin Green.
12355 2004-08-18  David Daney  <ddaney@avtrex.com>
12357         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
12358         instead of sigwait.
12360 2004-08-17  Michael Koch  <konqueror@gmx.de>
12362         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
12363         * Makefile.in: Regenerated.
12365 2004-08-16  Tom Tromey  <tromey@redhat.com>
12367         PR java/8473:
12368         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
12370 2004-08-16  Michael Koch  <konqueror@gmx.de>
12372         * Makefile.am
12373         (math_c_files): Renamed from c_files.
12374         (math_c_source_files): Renamed from c_source_files.
12375         * Makefile.in,
12376         gcj/Makefile.in,
12377         include/Makefile.in,
12378         testsuite/Makefile.in: Regenerated.
12380 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
12382         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
12383         to avoid autoconf warning.
12384         * configure: Rebuilt.
12386 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
12388         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
12389         localhostAddress to loopbackAddress.
12390         * java/net/natInetAddressWin32.cc (lookup): Likewise.
12392 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
12394         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
12395         boehm-gc's include dirs.
12396         * configure: Rebuilt.
12397         * include/boehm-gc.h: Include gc_config.h.
12399 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
12401         * java/net/InetAddress.java (loopbackAddress): Renamed from
12402         localhostAddress.
12403         (getByName): Return loopback address for null hostname, without
12404         security check. Use lookup(), not getAllByName.
12405         (getAllByName): Return loopback address for null hostname, without
12406         security check.
12407         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
12408         check here.
12410 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
12412         PR libgcj/17020
12413         Reported by Robin Green.
12414         * defineclass.cc (handleField): Don't throw exception on unrecognised
12415         modifier. Add FIXME comments for spec compliance.
12416         (handleMethod): Likewise.
12418 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
12420         PR libgcj/16662
12421         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
12422         (Almost everywhere): add LOG calls, fix, add comments.
12423         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
12424         Add explicit check for LOCKED bit in slow case (PR 16662).
12425         (_Jv_MonitorExit): Add casts in debug-only code.
12426         Always release LOCKED bit before throwing exception.
12427         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
12428         isn't.  Handle easy cases without lock acquisition.
12429         (Object::wait): Use NotifyAll for lock inflation.
12431 2004-08-12  David Daney  <ddaney@avtrex.com>
12433         * testsuite/libjava.lang/Process_1.java: New test.
12434         * testsuite/libjava.lang/Process_2.java: New test.
12435         * testsuite/libjava.lang/Process_3.java: New test.
12436         * testsuite/libjava.lang/Process_4.java: New test.
12437         * testsuite/libjava.lang/Process_5.java: New test.
12438         * testsuite/libjava.lang/Process_6.java: New test.
12439         * testsuite/libjava.lang/Process_1.out: Expected result.
12440         * testsuite/libjava.lang/Process_2.out: Expected result.
12441         * testsuite/libjava.lang/Process_3.out: Expected result.
12442         * testsuite/libjava.lang/Process_4.out: Expected result.
12443         * testsuite/libjava.lang/Process_5.out: Expected result.
12444         * testsuite/libjava.lang/Process_6.out: Expected result.
12446 2004-08-12  David Daney  <ddaney@avtrex.com>
12448         PR libgcj/11801
12449         * java/lang/PosixProcess.java: Rewrote.
12450         * java/lang/natPosixProcess.cc: Rewrote.
12451         * java/lang/Runtime.java (execInternal): Declare throws IOException.
12452         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
12453         * posix-threads.cc (block_sigchld) New function.
12454         (_Jv_ThreadRegister) Use it.
12455         (_Jv_ThreadStart) Use it.
12456         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
12457         * Makefile.am: ... to specify extra native headers.
12458         * configure: Regenerated.
12459         * include/config.h: Regenerated.
12460         * Makefile.in: Regenerated.
12461         * gcj/Makefile.in: Regenerated.
12462         * include/Makefile.in: Regenerated.
12463         * testsuite/Makefile.in: Regenerated.
12465 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
12467         PR tree-optimization/16867
12468         * testsuite/libjava.lang/PR16867.java: New test.
12470 2004-08-09  Per Bothner  <per@bothner.com>
12472         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
12473         with private fields and access methods.
12474         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
12475         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
12476         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
12477         ( _Jv_makeUtf8Const): Rewrite using new constructors.
12478         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
12479         * defineclass.cc: Use new _Utf8Const access/convenience methods.
12480         * jni.cc: Likewise.
12481         * resolve.cc: Likewise.
12482         * gcj/field.h: Likewise.
12483         * include/jvm.h: Likewise.
12484         * java/lang/Class.h: Likewise.
12485         * java/lang/natClass.cc: Likwise.
12486         * java/lang/natClassLoader.cc: Likewise
12487         * java/lang/reflect/natMethod.cc: Likewise
12488         * verify.cc: Likewise.
12489         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
12490         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
12492 2004-08-10  Andrew Haley  <aph@redhat.com>
12494         * testsuite/libjava.lang/err14.java: New file.
12495         * testsuite/libjava.lang/err14.out: New file.
12497 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
12499         * Makefile.am: Fix missing rename from x_nat_headers to
12500         xlib_nat_headers.
12501         * Makefile.in: Regenerated.
12503 2004-08-04  Andrew Haley  <aph@redhat.com>
12505         * java/security/BasicPermission.java: Don't check wildcards.
12507 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
12508             Michael Koch  <konqueror@gmx.de>
12510         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
12511         * configure.in: Replaced all usages of AC_LINK_FILES by
12512         AC_CONFIG_LINKS.
12513         * aclocal.m4,
12514         configure: Regenerated.
12516 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
12517             Michael Koch  <konqueror@gmx.de>
12519         * acconfig.h: Removed.
12520         * Makefile.am: Rename variables for xlib peer to include xlib and
12521         gtk_c_headers to gtk_jni_headers.
12522         * Makefile.in: Regenerated.
12524 2004-08-04  Andrew Haley  <aph@redhat.com>
12526         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
12527         debugging.
12529 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
12531         * configure.in: Eliminate uses of changequote (mostly by quoting []).
12532         Replace most top level 'dnl' comments with '#' comments, conforming
12533         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
12534         help strings.
12535         * configure: Rebuilt.
12537 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
12539         * acinclude.m4: Include no-executables.m4.
12540         * aclocal.m4: Rebuild.
12541         * configure.in: Convert to the autoconf 2.59 version of
12542         of the no-executables hack, and also of the nonstandard CXX
12543         hack and the multilibbed CC and CXX hack.  Change prerequisite
12544         to autoconf 2.59.
12545         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
12546         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
12547         testsuite/Makefile.in: Regenerate.
12549 2004-08-03  Tom Tromey  <tromey@redhat.com>
12551         * jni.cc: Reindented.
12553 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
12555         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
12557 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
12559         * testsuite/libjava.compile/PR16701.java: New test.
12561 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12563         * java/util/Collection.java, java/util/List.java,
12564         java/util/Map.java, java/util/Set.java,
12565         java/util/SortedMap.java, java/util/SortedSet.java:
12566         Added additional exceptions to documentation.
12568 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
12570         PR libgcj/16814
12571         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
12572         * configure. Regenerate.
12573         * include/win32.h: Explicitly include winsock2.h
12574         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
12575         Winsock api.
12577 2004-07-30  Michael Koch  <konqueror@gmx.de>
12579         * java/util/zip/GZIPInputStream.java
12580         (GZIPInputStream): Increase buffer size to 4k.
12581         * java/util/zip/GZIPOutputStream.java
12582         (GZIPOutputStream): Likewise.
12583         * java/util/zip/Inflater.java
12584         (setInput): Merged formating with GNU classpath.
12585         * java/util/zip/InflaterInputStream.java
12586         (InflaterInputStream): Increase buffer size to 4k.
12587         (fill): Throw exception if stream ends early.
12588         (read): Merged endless-loop with GNU classpath.
12589         (skip): Increase buffer size to 2k.
12591 2004-07-30  Michael Koch  <konqueror@gmx.de>
12593         * gnu/java/awt/EmbeddedWindow.java
12594         (addNotify): Use AccessController to allow execution of privileged
12595         code.
12597 2004-07-29  Michael Koch  <konqueror@gmx.de>
12599         * gnu/java/lang/MainThread.java:
12600         Explicitely import used classes.
12601         (args): Make it type String[].
12603 2004-07-29 Dalibor Topic <robilad@kaffe.org>
12605         * gnu/java/awt/ComponentDataBlitOp.java,
12606         gnu/java/beans/ExplicitBeanInfo.java,
12607         gnu/java/beans/IntrospectionIncubator.java,
12608         gnu/java/beans/editors/ColorEditor.java,
12609         gnu/java/beans/editors/FontEditor.java,
12610         gnu/java/beans/editors/NativeBooleanEditor.java,
12611         gnu/java/beans/editors/NativeByteEditor.java,
12612         gnu/java/beans/editors/NativeDoubleEditor.java,
12613         gnu/java/beans/editors/NativeFloatEditor.java,
12614         gnu/java/beans/editors/NativeIntEditor.java,
12615         gnu/java/beans/editors/NativeLongEditor.java,
12616         gnu/java/beans/editors/NativeShortEditor.java,
12617         gnu/java/beans/editors/StringEditor.java,
12618         gnu/java/io/ClassLoaderObjectInputStream.java,
12619         gnu/java/io/decode/Decoder.java,
12620         gnu/java/io/encode/Encoder.java,
12621         gnu/java/lang/ClassHelper.java,
12622         gnu/java/locale/Calendar.java,
12623         gnu/java/locale/Calendar_de.java,
12624         gnu/java/locale/Calendar_en.java,
12625         gnu/java/locale/Calendar_nl.java,
12626         gnu/java/locale/LocaleInformation_de.java,
12627         gnu/java/locale/LocaleInformation_en.java,
12628         gnu/java/locale/LocaleInformation_nl.java:
12629         Cleaned up imports.
12631 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
12633         * README: Remove obsolete info. Update bug URL.
12634         * THANKS: Updated.
12635         * NEWS: Updated with news up to GCC 3.4 release.
12637 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
12639         * gnu/java/security/action/GetPropertyAction.java (setParameters):
12640         Renamed from 'setName'. New 2-argument form with default value.
12641         (run): Pass default 'value' parameter to System.getProperty().
12642         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
12643         typos.
12644         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
12645         not 'setName'.
12647 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
12649         * configure.in: Check for minimum GTK version 2.4 requirement.
12650         * configure: Rebuilt.
12652 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
12654         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
12655         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
12656         Reduce sleep time.
12657         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
12658         compiler bug.
12659         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
12660         address. Reduce sleep times. Synchronize with target threads before
12661         attempting to interrupt them. Don't try to calibrate yeild count,
12662         instead, always loop for a fixed time.
12663         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
12664         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
12665         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
12666         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
12667         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
12668         * testsuite/libjava.lang/pr179.java: Likewise.
12669         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
12670         time. Remove upper bounds check on sleep time.
12672 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
12674         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
12675         * testsuite/libjava.lang/Thread_HoldsLock.out: New.
12677 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
12679         * java/io/File.java (toURI): Throw RuntimeException, not
12680         InternalError.
12681         * java/lang/Runtime.java (exit): Qualify static sleep() call with
12682         class name, not instance.
12684 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
12686         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
12687         and gnu/java/security/action/SetAccessibleAction.java.
12688         * Makefile.in: Rebuilt.
12690 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
12692         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
12693         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
12694         _Jv_InitPrimClass.
12695         (DECLARE_PRIM_TYPE): Don't declare array vtables.
12696         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
12697         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
12699 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
12701         * Makefile.am: Replace jar, rmic and rmiregistry references with
12702         gjar, grmic and grmiregistry.
12703         * configure.in: Likewise.
12704         * Makefile.in: Regenerate.
12705         * configure: Likewise.
12706         * gcj/Makefile.in: Likewise.
12707         * include/Makefile.in: Likewise.
12708         * testsuite/Makefile.in: Likewise.
12710 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
12712         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
12713         for privileged getProperty calls.
12714         * java/io/ObjectOutputStream.java (getField): No longer static. Use
12715         SetAccessibleAction instead of anonymous class for doPrivileged call.
12716         (getMethod): Likewise.
12717         (setAccessible): New field. PrivilegedAction object to use when
12718         calling setAccessible.
12719         * java/io/ObjectStreamClass.java (calculateOffsets): Use
12720         SetAccessibleAction instead of anonymous class for diPrivileged call.
12721         (setFields): Likewise.
12722         (getClassUID): Likewise.
12723         (findMethod): Likewise.
12724         * gnu/java/security/action/GetPropertyAction.java: New class.
12725         * gnu/java/security/action/SetAccessibleAction.java: New class.
12727 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
12729         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
12730         for final fields.
12731         * testsuite/libjava.lang/Serialization.java: New test.
12732         * testsuite/libjava.lang/Serialization.out: New.
12734 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
12736         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
12737         missed in last commit.
12739 2004-07-23  Mark Wielaard  <mark@klomp.org>
12741         * java/lang/System.java (static): Set http.agent system property when
12742         not yet set.
12743         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
12744         from system property inside AccessController.doPrivileged() call.
12745         (proxyPort): Made package private.
12746         (proxyInUse): Likewise.
12747         (proxyHost): Likewise.
12748         (userAgent): Likewise.
12750 2004-07-23  Mark Wielaard  <mark@klomp.org>
12752         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
12753         implementation.
12755 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
12757         * Makefile.am (ordinary_java_source_files): Add
12758         DefaultContentHandlerFactory.java.
12759         * Makefile.in: Rebuilt.
12760         * java/net/URLConnection.java (defaultFactory): New field.
12761         (getContent):
12762         (getContentHandler): Renamed from 'setContentHandler'. Try
12763         defaultFactory after user-set factory, if any. Search for content
12764         handler implementations in gnu.java.net.content, not gnu.gcj.content.
12765         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
12766         Implemented.
12767         (getLastModified): Implemented.
12768         (getPermission): Create file permission here, instead of in
12769         constructor.
12770         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
12771         Implemented.
12772         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
12773         Implemented.
12774         (getLastModified): Implemented.
12775         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
12776         Default implementation.
12777         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
12778         Implement using GdkPixbufDecoder.
12780 2004-07-21  Michael Koch  <konqueror@gmx.de>
12782         * javax/swing/JTextArea.java
12783         (setLineWrap): Fire property change event after new value is set.
12784         (setTabSize): Likewise.
12786 2004-07-21  Michael Koch  <konqueror@gmx.de>
12788         * javax/swing/JTable.java
12789         (autoCreateColumnsFromModel): New field.
12790         (autoResizeMode): Likewise.
12791         (cellEditor): Likewise.
12792         (cellSelectionEnabled): Likewise.
12793         (columnModel): Likewise.
12794         (dataModel): Likewise.
12795         (defaultEditorsByColumnClass): Likewise.
12796         (defaultRenderersByColumnClass): Likewise.
12797         (editingColumn): Likewise.
12798         (editingRow): Likewise.
12799         (gridColor): Likewise.
12800         (preferredViewportSize): Likewise.
12801         (rowHeight): Likewise.
12802         (rowMargin): Likewise.
12803         (rowSelectionAllowed): Likewise.
12804         (selectionBackground): Likewise.
12805         (selectionForeground): Likewise.
12806         (selectionModel): Likewise.
12807         (showHorizontalLines): Likewise.
12808         (showVerticalLines): Likewise.
12809         (tableHeader): Likewise.
12810         (JTable): Implemented.
12811         (getColumnModel): Likewise.
12812         (getSelectedRow): Likewise.
12813         (getSelectionModel): Likewise.
12814         (setModel): Likewise.
12815         (setSelectionModel): Likewise.
12816         (createScrollPaneForTable): New method.
12817         (createDefaultDataModel): Likewise.
12818         (createDefaultListSelectionModel): Likewise.
12819         (getModel): Likewise.
12820         (getTableHeader): Likewise.
12821         (setTableHeader): Likewise.
12822         (getColumnSelectionAllowed): Likewise.
12823         (setColumnSelectionAllowed): Likewise.
12824         (getRowSelectionAllowed): Likewise.
12825         (setRowSelectionAllowed): Likewise.
12826         (getAutoResizeMode): Likewise.
12827         (setAutoResizeMode): Likewise.
12828         (getColumnCount): Likewise.
12829         (getRowCount): Likewise.
12830         (getCellRenderer): Likewise.
12831         * javax/swing/JTree.java
12832         (cellRenderer): New field.
12833         (editable): Likewise.
12834         (rootVisible): Likewise.
12835         (showsRootHandles): Likewise.
12836         (getModel): New method.
12837         (setModel): Likewise.
12838         (isEditable): Likewise.
12839         (setEditable): Likewise.
12840         (isRootVisbile): Likewise.
12841         (setRootVisible): Likewise.
12842         (getShowsRootHandles): Likewise.
12843         (setShowRootHandles): Likewise.
12844         (getCellRenderer): Likewise.
12845         (setCellRenderer): Likewise.
12847 2004-07-21  Michael Koch  <konqueror@gmx.de>
12849         * javax/swing/JFormattedTextField.java
12850         (setDocument): Implemented.
12851         * javax/swing/JRootPane.java:
12852         Fixed javadocs.
12853         * javax/swing/JTable.java
12854         (getDefaultRenderer): New method.
12855         * javax/swing/JTextField.java
12856         (setFont): Likewise.
12857         (getPreferredSize): Likewise.
12858         * javax/swing/JToggleButton.java
12859         (getAccessibleContext): Fix javadoc.
12860         * javax/swing/JTree.java:
12861         Add some javadocs.
12862         * javax/swing/JViewport.java:
12863         Likewise.
12865 2004-07-21  David Jee  <djee@redhat.com>
12867         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
12868         Collect all native method declaration at the top.
12869         (create): Set the filename filter if necessary.
12870         (setDirectory): Call nativeSetDirectory().
12871         (setFilenameFilter): Implement.
12872         (filenameFilterCallback): New method.
12873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12874         (create): Configure dialog to show hidden files.
12875         (filenameFilterCallback): New function.
12876         (nativeSetFilenameFilter): New function.
12877         (nativeSetDirectory): New function.
12879 2004-07-21  Kim Ho  <kho@redhat.com>
12881         * javax/swing/plaf/basic/BasicSliderUI.java:
12882         Ran Jalopy.
12883         (paintTrack): Fill the track before painting
12884         the borders.
12886 2004-07-21  Graydon Hoare  <graydon@redhat.com>
12888         patch from Roman Kennke <roman@ontographics.com>
12889         * javax/swing/Spring.java: New file.
12890         * javax/swing/SpringLayout.java: New file.
12891         * Makefile.am: Add new files.
12892         * Makefile.in: Regenerate.
12894 2004-07-21  Graydon Hoare  <graydon@redhat.com>
12896         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
12897         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
12898         * javax/swing/ScrollPaneLayout.java: Likewise.
12900 2004-07-21  Kim Ho  <kho@redhat.com>
12902         * javax/swing/DefaultDesktopManager.java:
12903         (findMinimum): Removed.
12904         (resizeFrame): Trust the UI to pass valid
12905         bounds.
12906         * javax/swing/JOptionPane.java:
12907         Implemented showInternalXXXDialog methods.
12908         (startModal): New method.
12909         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
12910         (BorderListener::mouseDragged): Verify that the new
12911         bounds are valid before passing them to the DesktopManager.
12912         (preferredLayoutSize): Delegate
12913         to getSize.
12914         (minimumLayoutSize): Ditto.
12915         (getSize): New method.
12916         (GlassPaneDispatcher): Reimplemented by copying
12917         a stripped down LightweightDispatcher from Container.
12918         (getMinimumSize): Call minimumLayoutSize.
12919         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12920         Ran Jalopy.
12921         (mousePressed): Add ability to properly close
12922         JInternalFrames.
12923         * javax/swing/plaf/basic/BasicToolBarUI.java:
12924         (DragWindow): Set owner for DragWindow.
12926 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
12928         * java/awt/image/ShortLookupTable.java: New file.
12929         * java/awt/image/ByteLookupTable.java: New file.
12930         * Makefile.am: Added new files.
12931         * Makefile.in: Regenerated.
12933 2004-07-21  David Jee  <djee@redhat.com>
12935         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12936         (create(GtkContainerPeer)): New native method.
12937         (create()): Call native create(), passing in the parent frame
12938         as the paramter. Natively set the current file and directory.
12939         (setFile): Construct an absolute filename before passing it to
12940         the native peer.
12941         (nativeGetDirectory): New method.
12942         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12943         (window_closed): Removed.
12944         (ok_clicked): Likewise.
12945         (cancel_clicked): Likewise.
12946         (handle_response): New method.
12947         (create): Use GtkFileChooserDialog.
12948         (connectSignals): Connect to handle_response.
12949         (nativeGetDirectory): New method.
12950         (nativeSetFile): Use GtkFileChooserDialog.
12952 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
12954         * java/awt/image/LookupTable.java: New file.
12955         * Makefile.am: Added new file.
12956         * Makefile.in: Regenerated.
12958 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
12960         * java/awt/image/Kernel.java: New file.
12961         * Makefile.am: Added new file.
12962         * Makefile.in: Regenerated.
12964 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
12966         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
12967         * javax/swing/JMenu.java: Likewise.
12968         * javax/swing/JMenuBar.java: Likewise.
12969         (MARGIN_CHANGED_PROPERTY): New property.
12970         (setMargin): Implemented.
12971         * javax/swing/JMenuItem.java: Fixed javadocs.
12972         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
12973         (LABEL_CHANGED_PROPERTY): New property.
12974         (add): changed to use createActionComponent.
12975         (createActionComponent): Implemented.
12976         (setLabel): Fire PropertyChangeEvent if label property
12977         changes.
12978         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
12979         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
12980         (ContainerHandler): Repaint if margin property has changed.
12981         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12982         (installUI): Call installComponents().
12983         (uninstallUI): Call uinstallComponents().
12984         * javax/swing/plaf/basic/BasicMenuUI.java:
12985         Fixed javadocs.
12986         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12987         Likewise.
12989 2004-07-21  Kim Ho  <kho@redhat.com>
12991         * javax/swing/plaf/basic/BasicToolBarUI.java:
12992         (DragWindow): Use the right constructor.
12994 2004-07-21  Kim Ho  <kho@redhat.com>
12996         * javax/swing/JToolBar.java:
12997         (layoutContainer): Use getComponents.
12998         * javax/swing/plaf/basic/BasicToolBarUI.java:
12999         (DragWindow): Don't use SwingUtilities'
13000         getOwnerFrame
13001         (ToolBarDialog): ditto.
13003 2004-07-21  Kim Ho  <kho@redhat.com>
13005         * javax/swing/JRootPane.java:
13006         Ran jalopy.
13007         (layoutContainer): Set the glasspane's size to
13008         be the same as the content pane.
13009         (createGlassPane): Set opaque property to false.
13011 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13013         * java/awt/Component.java (requestFocus()): Don't handle Panels
13014         specially.
13015         (requestFocus(boolean)): Likewise.
13016         (requestFocusInWindow(boolean)): Likewise.
13017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
13018         Set GTK_CAN_FOCUS flag.
13020 2004-07-21  Kim Ho  <kho@redhat.com>
13022         * Makefile.am: Added new file.
13023         * Makefile.in: Regenerated.
13024         * gcj/Makefile.in: Regenerated.
13025         * include/Makefile.in: Regenerated.
13026         * javax/swing/AbstractButton.java:
13027         Add rollOverEnabled property.
13028         (setRolloverEnabled): Use new property.
13029         (isRolloverEnabled): Use new property.
13030         * javax/swing/JTabbedPane.java:
13031         (setComponent): Remove useless JTabbedPane.this.
13032         * javax/swing/JToolBar.java: Finish implementation.
13033         * javax/swing/plaf/basic/BasicArrowButton.java:
13034         (paint): Moved border painting to a border.
13035         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13036         Change JToolBar look and feel defaults.
13037         * javax/swing/plaf/basic/BasicOptionPaneUI.java
13038         (actionPerformed): Return Integer index instead of name.
13039         (addButtonComponents): Check to see if component is
13040         JButton last.
13041         (createMessageArea): Don't use components that are not
13042         completed yet.
13043         (getIconForType): Use temporary icons.
13044         * javax/swing/plaf/basic/BasicSliderUI.java:
13045         (mousePressed): Do not return if it's on thumb.
13046         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
13047         (paintMinorTickForVertSlider): ditto.
13048         (paintMajorTickForHorizSlider): ditto.
13049         (paintMajorTickForVertSlider): ditto.
13050         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
13051         Add a border around the SplitPaneDivider.
13052         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
13053         Remove comments.
13054         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
13055         New file. Implemented.
13056         * javax/swing/plaf/basic/BasicToolBarUI.java:
13057         Implemented.
13058         * testsuite/Makefile.in: Regenerated.
13060 2004-07-21  Graydon Hoare  <graydon@redhat.com>
13062         * javax/swing/Timer.java (run): Queue events each time cycle.
13064 2004-07-21  David Jee  <djee@redhat.com>
13066         * gnu/java/awt/peer/gtk/GtkImagePainter.java
13067         (imageComplete): Call image.imageComplete().
13068         * java/awt/image/MemoryImageSource.java:
13069         Reimplement consumers as a Vector instead of a Hashtable.  This is
13070         because enumeration on a Hashtable is not thread-safe.
13071         (addConsumer): Adapt to Vector consumers.
13072         (isConsumer): Adapt to Vector consumers.
13073         (removeConsumer): Adapt to Vector consumers.
13074         (startProduction): Adapt to Vector consumers. Call imageComplete()
13075         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
13076         (newPixels): Adapt to Vector consumers.
13077         (sendPicture): Set the color model of the image consumer.
13078         (newPixels(IIII)): Adapt to Vector consumers.
13079         (newPixels(IIIIB)): Adapt to Vector consumers.
13081 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13083         * java/awt/Component.java (deliverEvent): Implement.
13084         (postEvent): Implement.
13085         (handleEvent): Implement.
13086         (translateEvent): New method.
13087         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
13088         * java/awt/Container.java (deliverEvent): Implement.
13089         * java/awt/Event.java (paramString): Fix formatting.
13090         * java/awt/Font.java (toString): Likewise.
13091         * java/awt/Window.java (postEvent): Implement.
13093 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13095         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
13096         Set window's focus owner upon receiving a FOCUS_LOST event.
13097         * java/awt/Window.java (Window()): Refocus the previously
13098         focused component within the window when the window regains the
13099         top-level focus.
13100         (setFocusOwner): New method.
13101         * java/awt/Component.java (requestFocus): Add FIXME.
13103         * libgcj.pc.in: Remove library flags.
13105 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13107         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
13108         MOUSE_PRESSED event.
13109         * java/awt/Component.java (requestFocus()): Handle Panel
13110         specially.  Post FOCUS_LOST event on opposite component.
13111         (requestFocus(boolean)): Likewise.
13112         (requestFocusInWindow(boolean)): Likewise.
13113         (paramString): Reorder dimension fields.
13114         * java/awt/Container.java (paramString): Fix string format.
13115         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
13116         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
13117         process key events if the focus owner is non-null.
13118         (dispatchKeyEvent): Likewise.
13119         * java/awt/Frame.java (paramString): Fix formatting.
13120         (generateName): New method.
13121         (getUniqueLong): Likewise.
13122         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
13123         the temporary focus owner is null.  If so, return the permanent
13124         focus owner.
13125         * java/awt/Panel.java (generateName): New method.
13126         (getUniqueLong): Likewise.
13127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
13128         signal handling to make callbacks more specific.
13130 2004-07-21  Michael Koch  <konqueror@gmx.de>
13132         * javax/swing/text/Position.java
13133         (Bias): Implemented.
13135 2004-07-21  Michael Koch  <konqueror@gmx.de>
13137         * javax/swing/LookAndFeel.java
13138         (provideErrorFeedback): New method.
13140 2004-07-21  Michael Koch  <konqueror@gmx.de>
13142         * javax/swing/JTextArea.java
13143         (tabSize): New field.
13144         (getTabSize): New method.
13145         (setTabSize): Likewise.
13147 2004-07-21  Michael Koch  <konqueror@gmx.de>
13149         * javax/swing/ActionMap.java:
13150         Fixed javadocs all over.
13151         (serialVersionUID): Made private.
13152         (parent): Don't explicitely initialize with default value.
13153         (get): SImplified.
13154         (keys): Reimplemented.
13155         (allKeys): Likewise.
13156         (convertSet): Removed.
13157         * javax/swing/ComponentInputMap.java:
13158         Fixed javadocs all over.
13159         (ComponentInputMap): Implemented.
13160         (put): Likewise.
13161         (clear): Likewise.
13162         (remove): Likewise.
13163         (SetParent): Likewise.
13164         (getComponent): Likewise.
13165         * javax/swing/InputMap.java:
13166         Fixed javadocs all over.
13167         (serialVersionUID): Made private.
13168         (parent): Don't explicitely initialize with default value.
13169         (get): SImplified.
13170         (keys): Reimplemented.
13171         (allKeys): Likewise.
13172         (convertSet): Removed.
13174 2004-07-21  Michael Koch  <konqueror@gmx.de>
13176         * javax/swing/ActionMap.java,
13177         javax/swing/ComponentInputMap.java,
13178         javax/swing/InputMap.java,
13179         javax/swing/table/DefaultTableColumnModel.java,
13180         javax/swing/table/TableColumn.java,
13181         javax/swing/table/TableColumnModel.java,
13182         javax/swing/table/TableModel.java,
13183         javax/swing/text/AbstractDocument.java,
13184         javax/swing/text/TextAction.java:
13185         Reformated.
13187 2004-07-21  Graydon Hoare  <graydon@redhat.com>
13189         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
13190         Make method non-static.
13191         * javax/swing/AbstractButton.java:
13192         Rename fields to match property names where possible.
13193         (iconTextGap): New property.
13194         * javax/swing/JCheckBox.java: Match AbstractButton changes.
13195         (init) New method, call from after various constructors.
13196         * javax/swing/JComponent.java (revalidate):
13197         Invalidate before queueing repair.
13198         * javax/swing/JList.java (getPreferredScrollableViewportSize):
13199         Reimplement in terms of visibleRowCount property.
13200         * javax/swing/JMenuButton.java: Match AbstractButton changes.
13201         * javax/swing/JScrollPane.java (createScrollListener):
13202         Remove tracing chatter.
13203         * javax/swing/JToggleButton.java: Match AbstractButton changes.
13204         * javax/swing/RepaintManager.java (addInvalidComponent):
13205         Don't invalidate.
13206         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
13207         calculations.
13208         * javax/swing/SwingUtilities.java (layoutCompoundLabel):
13209         Mimic sun behavior on top left/right positioning.
13210         * javax/swing/ViewportLayout.java (preferredLayoutSize):
13211         Remove mistaken use of preferredScrollableViewportSize here.
13212         (layoutContainer): Use view's preferred size as basis.
13213         * javax/swing/plaf/basic/BasicButtonUI.java:
13214         Set, get, and use textIconGap property.
13215         (paint) Paint text returned from layout (with ellipsis).
13216         * javax/swing/plaf/basic/BasicListUI.java:
13217         Remove tracing chatter, correct various minor calculations.
13218         (getCellBounds): Update layout state before calculating.
13219         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
13220         Use margin default similar to sun's.
13221         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
13222         (createIncreaseIcon): Center icon, minimize margins.
13223         (createDecreaseIcon): Likewise.
13224         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
13225         Implement.
13226         (installUI): Call it.
13227         (uninstallDefaults): Implement.
13228         (uninstallUI): Call it.
13229         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
13230         Call existing Window constructor.
13231         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
13232         Set clip before painting.
13234 2004-07-21  Olga Rodimina <rodimina@redhat.com>
13236         * javax/swing/JMenuItem.java:
13237         (processMouseEvent): Reimplemented to deal with
13238         mouse drag events.
13239         (createMenuDragMouseEvent): New private helper method.
13240         Creates MenuDragMouseEvent.
13241         * javax/swing/MenuSelectionManager.java
13242         (componentForPoint): Implemented.
13243         (isComponentPartOfCurrentMenu): Made public.
13244         (processMouseEvent): Reimplemented to deal with
13245         mouse drag events.
13246         (setSelectedPath): Corrected small mistake that caused
13247         path to be set incorrectly.
13248         (getPath): If given component is JMenu then also add this
13249         menu's popup menu to the selected path.
13250         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13251         (getPath): Ditto.
13252         (getPreferredSize): Call getPreferredMenuItemSize().
13253         (getPreferredItemSize): Moved code from getPreferredSize to here.
13254         (installListeners): Install MouseMotionListeners.
13255         (MouseInputHandler): Pass mouse release event to MenuSelectionManager
13256         if mouse wasn't released in the bounds of this menu item.
13257         (MenuDragMouseHandler): Implemented.
13258         * javax/swing/plaf/basic/BasicMenuUI.java:
13259         (installListeners): Install MouseMotionListener and
13260         MenuDrageMouseListener.
13261         (MenuDragMouseHandler): Implemented.
13262         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
13263         (uninstallListeners): Implemented.
13265 2004-07-21  Michael Koch  <konqueror@gmx.de>
13267         * javax/swing/JCheckBox.java: Reformated.
13268         (JCheckBox): Fixed all constructors.
13269         (isBorderPaintedFlat): New method.
13270         (setBorderPaintedFlat): New method.
13271         * javax/swing/JEditorPane.java
13272         (createEditorKitForContentType): Made public.
13273         (scrollToReference): Likewise.
13274         * javax/swing/JTextArea.java
13275         (setLineWrap): Fire property change.
13276         * javax/swing/JToggleButton.java
13277         (JToggleButton): New constructor.
13278         (JToggleButton): Simplified.
13279         * javax/swing/text/AttributeSet.java
13280         (FontAttribute): Renamed from FontCharacterAttribute.
13281         * javax/swing/text/JTextComponent.java
13282         (KeyBinBinding): Added javadoc.
13283         (JTextComponent): Likewise.
13284         (getAccessibleContext): Fixed javadoc.
13285         * javax/swing/text/View.java
13286         (View): Added javadoc.
13287         * javax/swing/text/TabableView.java: New file.
13288         * Makefile.am: Added javax/swing/text/TabableView.java.
13289         * Makefile.in: Regenerated.
13291 2004-07-21  Graydon Hoare  <graydon@redhat.com>
13293         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
13294         * gnu/java/awt/peer/gtk/GtkToolkit.java
13295         (GtkErrorImage): New helper class.
13296         (bufferedImageOrError): New helper method.
13297         (createImage): Use it.
13299 2004-07-21  David Jee  <djee@redhat.com>
13301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
13302         (setCaretPosition): Scroll the text view so the new caret position
13303         is visible on screen.
13305 2004-07-21  David Jee  <djee@redhat.com>
13307         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13308         (setBounds): Do not validate awtComponent here.
13309         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
13310         (getPreferredSize): New method.
13311         * java/awt/ScrollPane.java
13312         (ScrollPane): Set default size to 100x100.
13313         (addNotify): If child is not a Panel, wrap it with a new Panel.
13314         (paramString): Implement.
13316 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
13318         * javax/swing/JMenu.java:
13319         (setSelected): Display popup menu only if this menu
13320         is showing on the screen.
13321         * javax/swing/JPopupMenu.java:
13322         (processMouseEvent): Added comment.
13323         (processKeyEvent): Likewise.
13324         * javax/swing/MenuSelectionManager.java:
13325         (clearSelectedPath): Only fireStateChanged() after
13326         selected path was changed, not before.
13327         (setSelectedPath): Likewise.
13328         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13329         (paintMenuItem): Corrected position of menu item's
13330         icon.
13331         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
13332         (installUI): Correct setDefaultLightWeightPopupEnabled call.
13333         (popupMenuCanceled): Reimplemented.
13334         (popupMenuWillBecomeVisible): Select first menu item by default
13335         when displaying free floating popup menus.
13336         (TopWindowListener): Reimplemented.
13338 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13340         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
13341         Panel from being painted twice when it is first shown.
13343 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
13345         * java/awt/Window.java: Reverted changes from my
13346         previous patch for creating window without an owner.
13347         * javax/swing/SwingUtilities.java:
13348         (SwingUtilities.OwnerFrame): made static.
13349         (OwnerFrame.setVisible): New method. Overridden with
13350         empty implementation.
13351         (OwnerFrame.isShowing): New method. Ovverridden
13352         to return always true.
13354 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13356         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13357         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13358         (GtkComponentPeer): Remove temporary try/catch block.
13359         (setVisible): Call show and hide.
13360         (show): Make native.
13361         (hide): Likewise.
13362         (getArgs): Don't add "visible" argument.
13363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13364         (property_notify_predicate): Return Bool instead of int.
13365         (find_layout): New function.
13366         (connectJObject): Call find_layout.
13367         (connectSignals): Likewise.
13368         (moveLayout): Likewise.
13369         (gtkLayoutSetVisible): Likewise.
13371 2004-07-21  Mark Wielaard  <mark@klomp.org>
13373         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
13374         on notifier object before calling notifyAll().
13376 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
13378         * java/awt/Window.java: Changed constructors to use new
13379         method that is described below. Constructors call this
13380         methods only if newly created window should have an owner.
13381         (setWindowOwner): New method. Implementation for
13382         this method is moved from this(owner,configuration).
13383         * javax/swing/JWindow.java:
13384         (JWindow): Reimplement to use SwingUtilities.ownerFrame
13385         instead of owner.
13386         * javax/swing/SwingUtilities.java:
13387         (ownerFrame): Change type of this field to OwnerFrame.
13388         (getOwnerFrame): Changed to return object of type OwnerFrame.
13389         (SwingUtilities.OwnerFrame): New class. Represents owner
13390         of a Window that is not provided with one.
13392 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
13394         *  javax/swing/AbstractButton.java:
13395         (configurePropertiesFromAction): Set action command
13396         to button's text by default if action command is not
13397         explicitely specified.
13398         * javax/swing/JMenu.java: Remove unnecessary listener
13399         and methods relevant to it.
13400         (setSelected): Reimplemented.
13401         (menuSelectionChanged): Moved most part of implementation to
13402         setSelected() and call it instead.
13403         * javax/swing/JMenuItem.java:
13404         (init): Comment out statement that sets paint_border to false.
13405         (configurePropertiesFromAction): Do not set accelerator
13406         for JMenu.
13407         (menuSelectionChanged): Change selected index in the selection
13408         model of menu item's parent.
13409         * javax/swing/JPopupMenu.java:
13410         (remove): Set constraints.fill field to GridBagConstraints.BOTH
13411         instead of GridBagConstraints.HORIZONTAL.
13412         (insert): Likewise.
13413         (createActionChangeListener): Implemented.
13414         (setVisible): Correct location of HeavyWeightMenu and
13415         don't firePopupMenuCanceled().
13416         (menuSelectionChanged): Implemented.
13417         (ActionChangeListener): New Listener. Implemented.
13418         * javax/swing/plaf/basic/BasicMenuBarUI.java:
13419         (BasicMenuBarUI.ContainerHandler): Implemented.
13420         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13421         (paintMenuItem): Uncommented out code that paints
13422         icon, now that icons are working properly.
13423         (PropertyChangeListener): Implemented.
13424         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
13425         Added javadocs.
13426         (topWindowListener): New field.
13427         (Constructor): initialize topWindowListener.
13428         (BasicPopupMenuUI.TopWindowListener): Implemented.
13429         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
13430         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
13431         Implemented.
13433 2004-07-21  Michael Koch  <konqueror@gmx.de>
13435         * javax/swing/plaf/basic/BasicButtonUI.java
13436         (paintFocus): Fixed method signature.
13437         (paintButtonPressed): Likewise.
13438         (paintButtonNormal): Likewise.
13439         (paintText): New method.
13440         * javax/swing/plaf/basic/BasicLabelUI.java
13441         (paint): Re-indented.
13442         * javax/swing/plaf/basic/BasicTextUI.java
13443         (installUI): Set parent textComponent to opaque.
13444         * javax/swing/text/DefaultHighlighter.java
13445         (checkPositions): New helper method.
13446         (addHighlight): Throws BadLocationException, check positions.
13447         (changeHighlight): Likewise.
13448         * javax/swing/text/EditorKit.java
13449         (EditorKit): Implements Serializable.
13450         * javax/swing/text/JTextComponent.java
13451         (getUI): Added javadoc.
13452         (setUI): Likewise.
13453         (upadteUI): Added javadoc, don't revalidate and repaint.
13455 2004-07-21  David Jee  <djee@redhat.com>
13457         * java/awt/GridBagLayout.java
13458         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
13459         * javax/swing/AbstractButton.java
13460         (setText): Reindent.
13461         * javax/swing/RepaintManager.java
13462         (addInvalidComponent): Find the first ancestor that isValidateRoot().
13464 2004-07-21  Michael Koch  <konqueror@gmx.de>
13466         * javax/swing/JFormattedTextField.java
13467         (value): New field.
13468         (JFormattedTextField): Implemented.
13469         (getValue): Likewise.
13470         (setValue): Likewise.
13471         * javax/swing/LookAndFeel.java
13472         (getSupportsWindowDecorations): New method.
13473         * javax/swing/UIDefaults.java:
13474         Use java.beans.PropertyChangeSupport instead of doing all ourself.
13475         (addPropertyChangeListener): Made public.
13476         (addResourceBundle): Likewise.
13477         (removeResourceBundle): Likewise.
13478         (setDefaultLocale): Likewise.
13479         * javax/swing/plaf/basic/BasicRootPaneUI.java
13480         (BasicRootPaneUI): Implements PropertyChangeListener.
13481         (propertyChange): New method.
13482         * javax/swing/plaf/basic/BasicTextUI.java
13483         (BasicHighlighter): New inner class.
13484         (createHighlighter): New method.
13485         * javax/swing/plaf/basic/BasicToolBarUI.java
13486         (DragWindow): Extends java.awt.Window.
13487         * javax/swing/text/JTextComponent.java
13488         (getDocument): Removed debug output.
13489         * javax/swing/plaf/basic/BasicTextFieldUI.java,
13490         javax/swing/text/DefaultHighlighter.java,
13491         javax/swing/text/FieldView.java,
13492         javax/swing/text/PlainView.java: New files.
13493         * Makefile.am: Added new files.
13494         * Makefile.in: Regenerated.
13496 2004-07-21  Michael Koch  <konqueror@gmx.de>
13498         * javax/swing/JEditorPane.java
13499         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
13500         (createEditorKitForContentType): Likewise.
13501         * javax/swing/text/DefaultEditorKit.java
13502         (serialVersionUID): Added constant field.
13503         (EndOfLineStringPropery): Fixed typo.
13504         (DefaultEditorKit): New constructor.
13505         * javax/swing/text/Segment.java:
13506         Import java.text.CharacterIterator.
13507         * javax/swing/text/CharacterIterator.java,
13508         javax/swing/text/PlainEditorKit.java: Removed.
13509         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
13510         javax/swing/text/PlainEditorKit.java.
13511         * Makefile.in: Regenerated.
13513 2004-07-21  Michael Koch  <konqueror@gmx.de>
13515         * javax/swing/JButton.java,
13516         javax/swing/text/DefaultEditorKit.java,
13517         javax/swing/text/EditorKit.java,
13518         javax/swing/text/Segment.java,
13519         javax/swing/text/StyledEditorKit.java:
13520         Reformatted.
13522 2004-07-21  Michael Koch  <konqueror@gmx.de>
13524         * javax/swing/ImageIcon.java
13525         (file): Removed.
13526         (description): Renamed from descr.
13527         (ImageIcon): Added missing constructors.
13528         (setParent): Removed.
13529         (setImageObserver): New method.
13530         (getImageObserver): New method.
13531         (paintIcon): Handle observer = null.
13532         * javax/swing/JButton.java
13533         (removeNotify): Fixed javadoc.
13534         (updateUI): Simplified.
13535         * javax/swing/JRootPane.java
13536         (serialVersionUID): New constant field.
13537         * javax/swing/UIManager.java:
13538         Fixed javadocs all over.
13539         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
13540         * javax/swing/text/AbstractDocument.java
13541         (createPosition): Throws BadLocationException.
13542         (getText): Likewise.
13543         (remove): Likewise.
13544         * javax/swing/text/ComponentView.java
13545         (modelToView): Likewise.
13546         * javax/swing/text/DefaultEditorKit.java:
13547         Made all public methods public.
13548         (read): Throws BadLocationException and IOException.
13549         (write): Likewise.
13550         * javax/swing/text/EditorKit.java:
13551         Made all public methods public.
13552         (serialVersionUID): New constant field.
13553         (clone): New method.
13554         (read): Throws BadLocationException and IOException.
13555         (write): Likewise.
13556         * javax/swing/text/Segment.java
13557         (array): Made public.
13558         (count): Likewise.
13559         (offset): Likewise.
13560         (Segment): New constructors.
13561         (clone): Reimplemented.
13562         * javax/swing/text/StyledEditorKit.java
13563         (serialVersionUID): New constant field.
13565 2004-07-21  Graydon Hoare  <graydon@redhat.com>
13567         * java/awt/image/BufferedImage.java
13568         (getSource): Implement.
13569         * javax/swing/ImageIcon.java
13570         (ImageIcon): Implement ctor.
13571         * javax/swing/ScrollPaneLayout.java
13572         (preferredLayoutSize): Be more careful about nulls.
13574 2004-07-21  Michael Koch  <konqueror@gmx.de>
13576         * javax/swing/text/AttributeSet.java
13577         (CharacterAttribute): New interface
13578         (ColorAttribute): Likewise.
13579         (FontCharacterAttribute): Likewise.
13580         (ParagraphAttribute): Likewise.
13581         * javax/swing/text/DefaultCaret.java
13582         (moveCaret): New method.
13583         (positionCaret): Likewise.
13584         (repaint): Made protected.
13585         * javax/swing/text/JTextComponent.java
13586         (KeyBinding): Made it static.
13587         * javax/swing/text/View.java
13588         (getContainer): Honor parent == null.
13590 2004-07-21  Michael Koch  <konqueror@gmx.de>
13592         * javax/swing/text/AbstractDocument.java:
13593         Reformatted.
13595 2004-07-21  Michael Koch  <konqueror@gmx.de>
13597         * javax/swing/plaf/basic/BasicRootPaneUI.java:
13598         Import javax.swing.UIManager explicitely.
13599         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13600         (ScrollingButton): Made it static.
13602 2004-07-21  Michael Koch  <konqueror@gmx.de>
13604         * javax/swing/UIDefaults.java
13605         (ActiveValue): Made public.
13606         (LazyValue): Likewise.
13607         * javax/swing/plaf/basic/BasicTextUI.java
13608         (RootView): Reintroduced.
13609         (view): Removed.
13610         (rootView): New field.
13611         (installUI): Create document if needed, initialize rootView.
13612         (uninstallUI): Hanle rootView.
13613         (paint): Likewise.
13614         (getRootView): Likewise.
13615         (setView): Likewise.
13616         * javax/swing/text/DefaultCaret.java:
13617         Renamed all "evt" variables to "event".
13619 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13621         * libgcj.spec.in: Add -l-java-util-logging.
13623 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
13625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13626         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
13627         gtk-xft-dpi can no calculate the right value.
13628         (dpi_changed_cb): Mark *pspec as unsused.
13630 2004-07-21  David Jee  <djee@redhat.com>
13632         * java/awt/Component.java
13633         (move): Delegate to setBounds().
13634         (resize): Likewise.
13635         (reshape): Fix so it repaints parent and self only when necessary.
13637 2004-07-21  David Jee  <djee@redhat.com>
13639         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13640         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13641         (GtkComponentPeer): Revert previous patch from 2004-06-22.
13642         (setVisible): Likewise.
13643         (show): Likewise.
13644         (hide): Likewise.
13645         (getArgs): Likewise.
13646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13647         (property_notify_predicate): Likewise.
13648         (find_layout): Likewise.
13649         (connectJObject): Likewise.
13650         (connectSignals): Likewise.
13651         (moveLayout): Likewise.
13652         (gtkLayoutSetVisible): Likewise.
13654 2004-07-21  Graydon Hoare  <graydon@redhat.com>
13656         * Makefile.am
13657         (jv_convert_LDADD):
13658         (gij_LDADD):
13659         (rmic_LDADD):
13660         (rmiregistry_LDADD): Add lib-java-util-logging.la
13661         * Makefile.in: Regenerate.
13663 2004-07-21  Michael Koch  <konqueror@gmx.de>
13665         * javax/swing/text/AbstractDocument.java
13666         (replace): Dont use protected method of java.util.Vector directly.
13668 2004-07-21  Michael Koch  <konqueror@gmx.de>
13670         * javax/swing/plaf/basic/BasicTextUI.java
13671         (installUI): Call specialized install methods.
13672         (installDefaults): New method.
13673         (installListeners): Likewise.
13674         (installKeyboardActions): Likewise.
13675         (uninstallUI): Likewise.
13676         (uninstallDefaults): New method.
13677         (uninstallListeners): Likewise.
13678         (uninstallKeyboardActions): Likewise.
13679         (getPropertyPrefix): New abstract method.
13680         (paint): Made final, just call paintSafely().
13681         (paintSavely): New method.
13682         (paintBackground): Likewise.
13683         (getVisibleEditorRect): Likewise.
13684         * javax/swing/text/LayeredHighlighter.java,
13685         javax/swing/text/TabExpander.java: New files.
13686         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
13687         and javax/swing/text/TabExpander.java.
13688         * Makefile.in: Regenerated.
13690 2004-07-21  Michael Koch  <konqueror@gmx.de>
13692         * javax/swing/plaf/basic/BasicTextUI.java
13693         (BasicTextUI): Made abstract.
13694         (BasicCaret): New inner class.
13695         (view): Don't explicitely initialize with "null".
13696         (textComponent): New field.
13697         (textColor): Removed.
13698         (disabledTextColor): Removed.
13699         (normalBackgroundColor): Removed.
13700         (RootView): Removed commented out inner class.
13701         (createUI): Removed.
13702         (createCaret): New method.
13703         (getComponent): Likewise.
13704         (installUI): Initialize textComponent only.
13705         (getPreferredSize): Use installed JTextComponent.
13706         (setView): New method.
13707         (create): Likewise.
13708         * javax/swing/text/JTextComponent.java
13709         (highlighter): New field.
13710         (caretColor): Likewise.
13711         (disabledTextColor): Likewise.
13712         (seletedTextColor): Likewise.
13713         (selectionColor): Likewise.
13714         (setUI): New method.
13715         (getCaretColor): Likewise.
13716         (setCaretColor): Likewise.
13717         (getDisabledColor): Likewise.
13718         (setDisabledColor): Likewise.
13719         (getSelectedTextColor): Likewise.
13720         (setSelectedTextColor): Likewise.
13721         (getSelectionColor): Likewise.
13722         (setSelectionColor): Likewise.
13723         (getHighlighter): Likewise.
13724         (setHighlighter): Likewise.
13725         (replaceSelection): Likewise.
13727 2004-07-21  Michael Koch  <konqueror@gmx.de>
13729         * javax/swing/plaf/basic/BasicScrollPaneUI.java
13730         (BasicScrollPaneUI): Implements ScrollPaneConstants.
13731         * javax/swing/plaf/basic/BasicToolBarUI.java
13732         (BasicToolBarUI): Implements SwingConstants.
13734 2004-07-21  Michael Koch  <konqueror@gmx.de>
13736         * javax/swing/JPopupMenu.java: Removed CVS tags.
13737         * javax/swing/UIDefaults.java: Reformatted.
13738         * javax/swing/plaf/basic/BasicRootPaneUI.java:
13739         Explicitely import used classes.
13741 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
13743         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13744         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13745         (GtkComponentPeer): Remove temporary try/catch block.
13746         (setVisible): Call show and hide.
13747         (show): Make native.
13748         (hide): Likewise.
13749         (getArgs): Don't add "visible" argument.
13750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13751         (property_notify_predicate): Return Bool instead of int.
13752         (find_layout): New function.
13753         (connectJObject): Call find_layout.
13754         (connectSignals): Likewise.
13755         (moveLayout): Likewise.
13756         (gtkLayoutSetVisible): Likewise.
13758 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
13760         * javax/swing/AbstractButton.java:
13761         (setDisplayedMnemonicIndex): Check if button
13762         text is not null before checking its length.
13763         * javax/swing/JMenuItem.java:
13764         (processMouseEvent): Disarm menu item if mouse has
13765         exited it.
13766         * javax/swing/plaf/basic/BasicMenuUI.java:
13767         (MouseInputHandler.mouseEntered): Do not raise
13768         popup menu if this menu is already selected.
13769         (MouseInputHandler.mousePressed): Do not fire
13770         MenuEvents.
13771         (MenuHandler): Implemented.
13773 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
13775         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
13776         (getSelectedObjects): Implemented.
13777         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
13778         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
13779         Added javadoc for few methods.
13780         (processMouseEvent): Made public.
13781         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
13782         (processMouseEvent): Likewise.
13784 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
13786         * javax/swing/AbstractButton.java:
13787         (init): Set display mnemonic index to -1.
13788         (setMnemonic(char)): Use setMnemonic(int).
13789         (setMnemonic(int)): Set display mnemonic index.
13790         (getDisplayedMnemonicIndex): Change method signature
13791         by removing 'index' parameter.
13792         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13793         Added default for Menu.selectionBackground.
13794         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13795         (paintMenuItem): Change background color of the selected
13796         menu item.
13797         (paintText): Paint differently when menu item is disabled.
13798         Also paint mnemonic if it appears in the menu item's label.
13799         (paintAccelerator): Paint accelerator differently
13800         if menu item is disabled.
13801         * javax/swing/plaf/basic/BasicMenuUI.java:
13802         (installDefaults): Install defaults for
13803         selectionForeground and selectionBackground.
13804         (uninstallDefaults): Uninstall defauls for
13805         selectionForeground and selectionBackground.
13807 2004-07-21  Michael Koch  <konqueror@gmx.de>
13809         * javax/swing/text/AbstractDocument.java
13810         (BranchElement): Implemented.
13811         (LeafElement): Implemented.
13812         * javax/swing/text/DefaultCaret.java:
13813         Import used classes.
13814         (serialVersionUID): New constant.
13815         * javax/swing/text/JTextComponent.java
13816         (AccessibleJTextComponent): Removed dead declaration.
13817         (caretPos): Removed.
13818         (setCaret): New method.
13819         * javax/swing/text/PlainDocument.java
13820         (rootElement): New field.
13821         (PlainDocument): Initialize rootElement.
13822         (createDefaultRoot): New method.
13823         (getDefaultRootElement): Implemented.
13824         * javax/swing/text/View.java: Reformatted.
13825         * javax/swing/text/ViewFactory.java
13826         (create): Added javadoc.
13828 2004-07-21  Michael Koch  <konqueror@gmx.de>
13830         * javax/swing/ToolTipManager.java: Reformatted.
13832 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
13834         * javax/swing/AbstractButton.java
13835         (changeEvent): New field.
13836         (fireItemStateChanged): Change source of the event
13837         to 'this' before firing it to button listeners.
13838         (fireActionPerformed): Likewise.
13839         (fireStateChanged): Likewise.
13840         (createActionListener): Do not set source
13841         of the event to AbstractButton.
13842         * javax/swing/plaf/basic/BasicMenuBarUI.java:
13843         (ContainerHandler.componentAdded): Removed
13844         print out statement.
13845         (ContainerHandler.componentRemoved): Likewise.
13847 2004-07-21  Michael Koch  <konqueror@gmx.de>
13849         * javax/swing/text/Highlighter.java: New file.
13850         * Makefile.am: Added javax/swing/text/Highlighter.java.
13851         * Makefile.in: Regenerated.
13853 2004-07-21  Michael Koch  <konqueror@gmx.de>
13855         * javax/swing/ToolTipManager.java
13856         (stillInsideTimerAction): Fixed constructor arguments.
13857         (outsideTimerAction): Likewise.
13858         (insideTimerAction): Likewise.
13860 2004-07-21  Michael Koch  <konqueror@gmx.de>
13862         * javax/swing/JButton.java: Reformatted.
13863         * javax/swing/JFormattedTextField.java
13864         (getUIClassID): Implemented.
13865         * javax/swing/JRootPane.java
13866         (serialVersionUID): New constant.
13867         * javax/swing/JTextField.java
13868         (align): New field.
13869         (JTextField): Simplified.
13870         (getUIClassID): New method.
13871         (getActionListeners): Added @since tag.
13872         (setColumns): Invalidate layout and repaint.
13873         (getHorizontalAlignment): New method.
13874         (setHorizontalAlignment): New method.
13875         (selectAll): Removed.
13876         * javax/swing/SwingUtilities.java
13877         (getAncestorOfClass): Removed redundant @see tag.
13878         (isLeftMouseButton): Fixed implementation.
13879         (isMiddleMouseButton): Likewise.
13880         (isRightMouseButton): Likewise.
13881         * javax/swing/text/AbstractDocument.java
13882         (AttributeContext.addAttribute): New method.
13883         (AttributeContext.addAttributes): New method.
13884         (AttributeContext.getEmptySet): New method.
13885         (AttributeContext.reclaim): New method.
13886         (AttributeContext.removeAttribute): New method.
13887         (AttributeContext.removeAttributes): New method.
13888         * javax/swing/text/Document.java
13889         (createPosition): Throws BadLocationException.
13890         (getText): Likewise.
13891         (remove): Likewise.
13892         * javax/swing/text/JTextComponent.java
13893         (getText): Return null if no document is set. Catch
13894         BadLocationException.
13895         (getUI): Return ui.
13896         (updateUI): Simplified.
13898 2004-07-21  Michael Koch  <konqueror@gmx.de>
13900         * javax/swing/JButton.java
13901         (removeNotify): Fixed javadoc.
13902         (updateUI): Simplified.
13904 2004-07-21  David Jee  <djee@redhat.com>
13906         * gnu/java/awt/image/ImageDecoder.java
13907         (startProduction): Only add consumer if it's not added yet.
13908         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
13909         (GdkPixbufDecoder): Don't call initState() here.
13910         (produce): Call initState() here, to ensure area_prepared and
13911         area_updated signals are properly connected.
13912         * gnu/java/awt/peer/gtk/GtkImage.java
13913         (setColorModel): Use equals() to compare ColorModel objects.
13914         (setPixels): Likewise.
13915         * java/awt/image/ColorModel.java
13916         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
13917         * java/awt/image/RGBImageFilter.java
13918         (setColorModel): Set consumer's color model.
13919         (setPixels): Use equals() to compare ColorModel objects.
13921 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
13923         * java/net/URLConnection.java (position): New field.
13924         (dateFormat1, dateFormat2, dateFormat3): Removed.
13925         (dateFormats): New field.
13926         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
13927         each time instead of re-allocating.
13928         (initializeDateFormats): Initialize 'dateFormats'.
13930 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
13932         PR libgcj/16591
13933         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
13934         is defined.
13936 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
13938         * java/net/Socket.java (getImpl): Now private. Remove comment.
13940 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
13942         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
13943         of chained Writer when calling super-constructor.
13944         * java/io/FilterWriter.java (FilterWriter): Likewise.
13945         * java/io/PrintWriter.java (PrintWriter): Likewise.
13947 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
13949         * prims.cc (process_gcj_properties): Don't increment i within LHS
13950         of assignment.
13952 2004-07-19  Per Bothner  <per@bothner.com>
13954         Print -verbose:message on "loading", not initialization.
13955         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
13956         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
13957         gcj::verbose_class_flag.
13958         * java/lang/natClass.cc (initializeClass):  Don't print message here.
13959         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
13960         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
13961         (_Jv_PrepareCompiledClass):  Likewise.
13963 2004-07-18  Matthias Klose  <doko@debian.org>
13965         * configure.in: Substitute target_noncanonical.
13966         * configure: Regenerate
13968 2004-07-17  Michael Koch  <konqueror@gmx.de>
13970         * java/lang/String.java: Fixed javadocs all over.
13972 2004-07-17  Mark Wielaard  <mark@klomp.org>
13974         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
13975         when size is smaller.
13976         * java/io/RandomAccessFile.java (setLength): Use truncate for
13977         shrinking the file and seek plus write for expanding the file.
13979 2004-07-17  Michael Koch  <konqueror@gmx.de>
13981         * gnu/java/nio/channels/natFileChannelPosix.cc
13982         (implTruncate): Always save current position. Only reposition file
13983         pointer to where we started if not beyond new lenght. Reposition file
13984         pointer to file length if it points beyond the end of file.
13986 2004-07-17  Mark Wielaard  <mark@klomp.org>
13988         * javax/swing/Box.java: Put FIXME comment above class declaration.
13989         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
13990         * javax/swing/JCheckBox.java: Likewise.
13991         * javax/swing/JDialog.java: Likewise.
13992         * javax/swing/JRadioButton.java: Likewise.
13993         * javax/swing/JToggleButton.java: Likewise.
13994         * javax/swing/UIManager.java: Likewise.
13995         * javax/swing/border/TitledBorder.java: Likewise.
13996         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
13997         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
13998         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
13999         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
14000         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
14001         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
14002         * javax/swing/text/JTextComponent.java: Likewise.
14004 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
14006         * java/net/DatagramPacket.java (setAddress): Removed check for
14007         null address.
14009 2004-07-17  Michael Koch  <konqueror@gmx.de>
14011         * java/net/DatagramSocket.java
14012         (getLocalAddress): Check if socket is bound or not.
14013         * java/net/Socket.java
14014         (getLocalAddrss): Check if socket is bound or not.
14015         (getPort): Return -1 when not connected. Dont check getImpl() for
14016         null.
14017         (setReuseAddress): Check if socket is closed.
14018         (isConnected): Check if getImpl() returns null.
14020 2004-07-17  Mark Wielaard  <mark@klomp.org>
14022         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
14023         on notifier object before calling notifyAll().
14025 2004-07-17  Michael Koch  <konqueror@gmx.de>
14027         * gnu/java/nio/channels/FileChannelImpl.java
14028         (finalize): Added javadoc.
14030 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
14032         * java/text/CollationElementIterator.java
14033         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
14034         (setText): Use ArrayList instead of Vector.
14036 2004-07-17  Michael Koch  <konqueror@gmx.de>
14038         * java/nio/ByteOrder.java
14039         (static): Removed. Not needed.
14040         Thanks to Patrick Reali for noticing.
14041         * java/nio/charset/CharsetDecoder.java
14042         (decode): Fix for classpath bug #9177: Reset state before flipping.
14044 2004-07-17  Michael Koch  <konqueror@gmx.de>
14046         * java/security/Security.java: Fixed javadocs all over.
14048 2004-07-17  Michael Koch  <konqueror@gmx.de>
14050         * gnu/java/awt/EmbeddedWindow.java
14051         (static): Removed.
14052         (addNotify): Set peer via reflection.
14053         (setWindowPeer): Removed.
14054         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
14055         * Makefile.am (nat_source_files):
14056         Removed gnu/java/awt/natEmbeddedWindow.cc.
14057         * Makefile.in: Regenerated.
14059 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
14061         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
14062         assignment.
14063         * configure: Regenerated.
14065 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
14067         * configure.in: Use build_noncanonical rather than build_alias.
14068         * configure: Rebuild.
14070         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
14071         by logic refactoring.  Move default definition of NATIVE closer
14072         to first alternate definition.
14073         * configure: Regenerate.
14075         * Makefile.am: Set ZIP and GCJH directly using autoconf.
14076         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
14077         gcj/Makefile.in: Regenerate.
14078         * configure.in: Set ZIP and GCJH.  Remove redundant condition
14079         in AM_CONDITIONAL(NATIVE,...)
14080         * configure: Regenerate.
14082 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
14084         * configure.in: Use target_noncanonical rather than
14085         target_alias for forward-compatibility with autoconf 2.59.
14086         * configure: Regenerate.
14087         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
14088         testsuite/Makefile.am: Substitute target_noncanonical.
14089         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
14090         testsuite/Makefile.in: Regenerate.
14092         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
14093         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
14094         * acinclude.m4: Include acx.m4.
14095         * aclocal.m4: Regenerate.
14096         * configure: Regenerate.
14098 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
14100         PR libgcj/16574
14101         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
14102         (decimalFormat): New static variable.
14103         (sbuf): Likewise.
14104         (getTime): New. Override Date.getTime().
14105         (toString): Synchronize. Use decimalFormat to format nanos value
14106         correctly. Truncate extra zeros.
14107         (before): Compare getNanos() only if getTime() is equal.
14108         (after): Likewise.
14110 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
14112         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
14113         * configure.in: ...here.
14114         * aclocal.m4: Regenerate.
14115         * configure: Regenerate.
14117         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
14118         * configure: Rebuilt with autoconf 2.13.
14119         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
14120         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
14122 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
14124         PR libgcj/16204
14125         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
14126         large file support.
14127         * Makefile.in: Rebuilt.
14128         * testsuite/libjava.lang/LargeFile.java: New test case.
14129         * testsuite/libjava.lang/LargeFile.out: New file.
14131 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
14133         * java/beans/EventHandler.java: Remove debugging statements.
14135 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
14137         * java/beans/EventHandler.java: New file.
14138         * Makefile.am (awt_java_source_files): Add EventHandler.java.
14139         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
14140         testsuite/Makefile.in: Regenerate.
14142 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
14144         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
14145         flag to the gcj_setup.
14146         (gcj_jacks_run): Check tclsh version and launch jacks directly with
14147         the tclsh.
14148         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
14149         deprecation flag change. 58 XFAILS removed.
14151 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
14153         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
14154         -fno-use-divide-subroutine.
14155         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
14156         (HANDLE_FPE): Define.
14157         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
14158         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
14159         (HANDLE_DIVIDE_OVERFLOW): Define.
14161 2004-07-14  Michael Koch  <konqueror@gmx.de>
14162             Matthias Klose  <doko@debian.org>
14164         * java/awt/im/InputContext.java: Initialize in, line.
14166 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
14168         * interpret.cc (run): Correctly access libffi return values of
14169         integral smaller-than-int type; these are implicitly promoted.
14171 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
14173         PR libgcj/7587
14174         * interpret.cc (compile_mutex): New.
14175         (_Jv_InitInterpreter): New. Initialize compile_mutex.
14176         (run): Lock compile_mutex before calling compile() if compilation is
14177         required.
14178         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
14179         * include/java-interp.h (_Jv_InitInterpreter): Declare.
14181 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
14183         PR libgcj/15713
14184         * include/jvm.h (_Jv_value): New union type.
14185         * gcj/field.h (_Jv_Field): Add new _addr union field variants
14186         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
14187         union members.
14189 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
14191         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
14192         * gnu/awt/xlib/XOffScreenImage.java
14193           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
14194           constructor argument. Add constructor using ImageProducer.
14195           (getSource): Implement.
14196           (imageComplete): New method.
14197           (setColorModel): New method.
14198           (setDimensions): New method.
14199           (setHints): New method.
14200           (setPixels): New method.
14201           (setProperties): New method.
14202         * gnu/gcj/xlib/GC.java (drawPoint): New native method.
14203         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
14205 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
14207         PR libgcj/16478
14208         * prims.cc (_Jv_CreateJavaVM): Fix comment.
14209         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
14210         (finalizerReady): Now native.
14211         (run): Likewise.
14212         (runFinalizers): Removed.
14213         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
14214         a primitive lock, and don't hold it while running the finalizers.
14215         (runFinalizers): Implement. Don't aquire any Java lock.
14216         (finalizerReady): Use lock primitives to signal finalizer thread.
14218 2004-07-11  Mark Wielaard  <mark@klomp.org>
14220         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
14221         * java/net/URLStreamHandler.java (parseURL): When url file part
14222         doesn't contain a '/' just ignore context.
14224 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
14226         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
14227         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
14228         (MAKE_THROW_FRAME): Do not modify PSW address.
14229         (INIT_SEGV): Install SIGINFO-style signal handler.
14230         (INIT_FPE): Likewise.
14232 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
14234         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
14235         status. 21 xfail's removed, 1 added.
14237 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
14239         * gcj/javaprims.h: Regenerate CNI namespace definitions.
14241 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
14243         * java/text/MessageFormat.java
14244         (formatInternal): Append "{n}" if argument n is unavailable.
14245         (format(Object, StringBuffer, FieldPosition)): This
14246         should be equivalent to format(Object[],
14247         StringBuffer, FieldPosition).
14249 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
14251         * java.util.Calendar.java (cache): New private static field. Cached
14252         mappings of locales->calendar classes.
14253         (ctorArgTypes): New private static field. Singleton argument for
14254         calendar class constructor lookup.
14255         (getInstance): Cache Locale->Calendar class mappings using HashMap.
14256         Optimize by bypassing reflection instantiation for the
14257         GregorianCalendar case.
14259 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
14261         * java/util/Calendar.java: Use getSystemClassLoader as argument for
14262         ResourceBundle.getBundle() calls.
14263         * java/util/GregorianCalendar.java: Likewise.
14264         * java/util/Currency.java: Likewise.
14265         * java/text/BreakIterator.java: Likewise.
14266         * java/text/Collator.java: Likewise.
14267         * java/text/DateFormat.java: Likewise.
14268         * java/text/DateFormatSymbols.java: Likewise.
14269         * java/text/DecimalFormatSymbols.java: Likewise.
14270         * java/text/NumberFormat.java: Likewise.
14271         * java/awt/Window.java: Likewise.
14273 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
14275         * java/util/ResourceBundle.java (bundleCache): Renamed from
14276         resourceBundleCache. Update comments.
14277         (getObject): Don't catch MissingResourceException.
14278         (getBundle(String)): Remove 'final'. Use system classloader if
14279         getCallingClassLoader returned null.
14280         (getBundle(String, Locale)): Likewise.
14281         (BundleKey): New private class. HashMap key for bundle cache lookup.
14282         (lookupKey): New. Singleton instance of BundleKey.
14283         (nullEntry): New. Cache entry to represent failed lookups.
14284         (getBundle(String, Locale, ClassLoader)): Re-written to use new
14285         caching strategy, no-allocation lookup, and new tryBundle methods.
14286         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
14287         name using given classloader.
14288         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
14289         baseName for given Locale and attempt to load bundle.
14291 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
14293         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
14294         illegal protected method calls.
14296 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
14298         Fix or remove some bogus test cases.
14299         * testsuite/libjava.compile/pr10459_2.java: Removed.
14300         * testsuite/libjava.compile/pr10459.java: Test using its own method,
14301         not Object.clone().
14302         * testsuite/libjava.compile/inner_data.java: Test against its own
14303         protected field.
14305 2004-07-09  Michael Koch  <konqueror@gmx.de>
14307         * scripts/unicode-muncher.pl: Updated to version 2.1
14308         from GNU classpath. Added some clarifications on where to find the
14309         needed files from www.unicode.org.
14310         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
14311         gnu/gcj/convert/UnicodeData-3.0.0.txt:
14312         Removed, these can directly be downloaded from www.unicode.org if
14313         needed.
14314         * gnu/java/lang/CharData.java: Regenerated.
14315         * include/java-chartables.h: Regenerated.
14316         * Makefile.am (ordinary_java_source_files):
14317         Removed gnu/java/lang/CharData.java.
14318         * Makefile.in: Regenerated.
14320 2004-07-09  Michael Koch  <konqueror@gmx.de>
14322         * java/security/AccessControlContext.java,
14323         java/security/SecureClassLoader.java:
14324         Fixed javadocs.
14326 2004-07-09  Michael Koch  <konqueror@gmx.de>
14328         * java/io/ObjectInputStream.java (readFields): Use long datatype
14329         when shifting byte values more then 24 bits left.
14331 2004-07-09  Michael Koch  <konqueror@gmx.de>
14333         * java/util/zip/DeflaterOutputStream.java,
14334         java/util/zip/GZIPInputStream.java,
14335         java/util/zip/GZIPOutputStream.java,
14336         java/util/zip/InflaterInputStream.java:
14337         Reformatted. Added javadocs. Reordered all stuff.
14338         Renamed variables to be more clear.
14340 2004-07-09  Michael Koch  <konqueror@gmx.de>
14342         * javax/imageio/IIOException.java,
14343         javax/imageio/event/IIOReadProgressListener.java,
14344         javax/imageio/event/IIOReadUpdateListener.java,
14345         javax/imageio/event/IIOReadWarningListener.java,
14346         javax/imageio/event/IIOWriteProgressListener.java,
14347         javax/imageio/event/IIOWriteWarningListener.java:
14348         New files.
14349         * Makefile.am: Added new files.
14350         * Makefile.in: Regenerated.
14352 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
14354         * java/text/RuleBasedCollator.java
14355         (mergeRules): Use ArrayList instead of Vector.
14356         (subParseString): likewise.
14357         (parseString): likewise.
14358         (buildCollationVector): likewise.
14359         (getCollationKey): likewise.
14361 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
14363         * java/text/DateFormat.java (parse):
14364         Improved javadoc. Improved exception message.
14366 2004-07-09  Mark Wielaard  <mark@klomp.org>
14368         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
14369         interrupted() method to clear interupt flag of our Thread.
14371 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
14373         * java/nio/Buffer.java,
14374         java/nio/ByteBuffer.java,
14375         java/nio/ByteBufferHelper.java,
14376         java/nio/ByteBufferImpl.java,
14377         java/nio/CharBuffer.java,
14378         java/nio/CharBufferImpl.java,
14379         java/nio/CharViewBufferImpl.java,
14380         java/nio/DirectByteBufferImpl.java,
14381         java/nio/DoubleBuffer.java,
14382         java/nio/DoubleBufferImpl.java,
14383         java/nio/DoubleViewBufferImpl.java,
14384         java/nio/FloatBuffer.java,
14385         java/nio/FloatBufferImpl.java,
14386         java/nio/FloatViewBufferImpl.java,
14387         java/nio/IntBuffer.java,
14388         java/nio/IntBufferImpl.java,
14389         java/nio/IntViewBufferImpl.java,
14390         java/nio/LongBuffer.java,
14391         java/nio/LongBufferImpl.java,
14392         java/nio/LongViewBufferImpl.java,
14393         java/nio/MappedByteBufferImpl.java,
14394         java/nio/ShortBuffer.java,
14395         java/nio/ShortBufferImpl.java,
14396         java/nio/ShortViewBufferImpl.java:
14397         Fixed javadocs all over. Improved input error
14398         checking.
14400         * java/nio/Buffer.java
14401         (checkForUnderflow, checkForOverflow, checkIndex,
14402         checkIfReadOnly, checkArraySize): New helper methods
14403         for error checking.
14405         * java/nio/ByteBufferHelper.java
14406         (checkRemainingForRead, checkRemainingForWrite,
14407         checkAvailableForRead, checkAvailableForWrite): Removed
14408         no longer needed methods.
14410 2004-07-09  Michael Koch  <konqueror@gmx.de>
14412         * gnu/regexp/CharIndexedInputStream.java:
14413         Reordered imports to match classpath.
14415 2004-07-09  Michael Koch  <konqueror@gmx.de>
14417         * gnu/java/awt/EmbeddedWindow.java:
14418         Load native library for setWindowPeer method.
14420 2004-07-08  Randolph Chung  <tausq@debian.org>
14422         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
14423         * configure: Regenerate.
14424         * configure.host: Set can_unwind_signal for hppa*-linux.
14425         * include/pa-signal.h: New file.
14427 2004-07-07  Per Bothner  <per@bothner.com>
14429         * Makefile.am:  Add rules to build libgij from just gij.cc.
14431         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
14432         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
14433         (initializeClass):  If verbose_class_flag, print message.
14434         * gij.cc (main):  Handle -verbose:class flag.
14436 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
14438         * configure.host: Enable hash synchronization on Darwin.
14439         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
14440         ';', since this is a comment on Darwin.
14441         (compare_and_swap_release): Likewise.
14443 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
14445         * java/net/URLStreamHandler.java (parseURL): Canonicalize
14446         file portion of URL in addition to spec for file: protocol.
14448 2004-07-05  Anthony Green  <green@redhat.com>
14450         * java/io/File.java (toURI): Merge from Classpath.
14452 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
14454         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
14455         before passing to URL constructor. Rethrow any MalformedURLException
14456         as a RuntimeException. Catch MalformedURLException specifically, not
14457         all exceptions.
14459 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
14461         * java/util/Locale.java (readObject): Intern strings read from object
14462         stream.
14464 2004-07-04  Michael Koch  <konqueror@gmx.de>
14466         * gnu/gcj/runtime/FirstThread.java,
14467         gnu/gcj/runtime/natFirstThread.cc: Removed.
14468         * gnu/java/lang/MainThread.java,
14469         gnu/java/lang/natMainThread.cc: New files.
14470         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
14471         * Makefile.am: Added new files and removed deleted ones.
14472         * Makefile.in: Regenerated.
14474 2004-07-03  Mark Wielaard  <mark@klomp.org>
14475             Anthony Green  <green@redhat.com>
14477         * java/net/URL.java (getFile): Clarify return value doc.
14478         (getPath): Return null if file is empty - not empty String.
14479         (set): Convert protocol to lower case before doing anything.
14480         Only change the protocol handler if it's different.
14482 2004-07-03  Anthony Green  <green@redhat.com>
14484         * java/net/URL.java (URL): Convert protocol to lower case before
14485         doing anything, so we getURLStreamHandler() with the proper value.
14487 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
14489         * java/util/Locale.java (hashcode): Made transient.
14490         (hashCode): No longer synchronized.
14491         (equals): Remove comment.
14492         (writeObject): No longer synchronized. Implement using writeObject
14493         calls instead of tweaking hashCode field. Update doc.
14494         (readObject): Implement using readObject calls.
14496 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
14497             Andreas Tobler  <a.tobler@schweiz.ch>
14499         * configure.host (powerpc-*-darwin*): New case, define
14500         can_unwind_signal.
14501         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
14502         * configure: Regenerate.
14503         * include/darwin-signal.h: New.
14505 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
14507         * java/beans/Statement.java (doExecute): Fix formatting.
14509 2004-06-29  Per Bothner  <per@bothner.com>
14511         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
14512         etc etc):  Remove needless parenthesis, which causes __stdcall__
14513         attribute on MinGW to get ignored.
14515 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
14517         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
14519 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
14521         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
14523 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
14525         * java/beans/Expression.java: New file.
14526         * java/beans/Statement.java: New file.
14527         * Makefile.am: Added new files.
14528         * Makefile.in: Re-generate.
14530 2004-06-27 Mark Wielaard  <mark@klomp.org>
14532         * java/io/FilePermission.java (usingPerms): Removed.
14533         (actionsString): Made final.
14534         (cachePerms): Renamed to checkPerms.
14535         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
14536         on action String.
14537         (FilePermission): Check arguments, call checkPerms().
14538         (equals): Remove cachePerms() call.
14539         (implies): Likewise.
14541 2004-06-27  Mark Wielaard  <mark@klomp.org>
14543         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
14544         final field.
14545         (sendRequest): Use new field in user-agent http agent.
14547 2004-06-27  Mark Wielaard  <mark@klomp.org>
14549         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
14550         when argument is null.
14552 2004-06-26  Mark Wielaard  <mark@klomp.org>
14554         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
14555         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
14556         GetMethodID call.
14557         (cancel_clicked): Likewise.
14559 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
14561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
14562         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
14563         can not calculate the right value.
14564         (dpi_changed_cb): Likewise. Mark *pspec as unused.
14566 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
14568         * testsuite/libjava.jacks/jacks.xfail: Remove
14569         15.9.1-qualified-concrete-20.
14571 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
14573         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
14574         encoding name to iconv.
14575         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
14577 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
14579         PR libgcj/16134:
14580         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
14581         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
14582         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
14584 2004-06-21  Andrew Haley  <aph@redhat.com>
14586         * java/io/ObjectOutputStream.java: Add DEBUG statements
14587         everywhere.
14588         (dumpElementln): New method.
14589         (depth): New field.
14590         * java/io/ObjectInputStream.java
14591         (currentClassLoader): Make native.
14592         (callersClassLoader): New field.
14593         (depth): New field.
14594         (readObject): ENDBLOCKDATA is generated if the class has a write
14595         method, not if it has a read method.
14596         (readObject): Save and restore this.currentObject and
14597         this.currentObjectStreamClass around calls to callReadMethod().
14598         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
14599         method.
14601 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
14603         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
14604         darwin.
14606 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
14608         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
14609         if desired, before the default class loader is initialised.
14610         Call INIT_SEGV only if HANDLE_SEGV is defined.
14612 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
14614         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
14615         directory only if it actually exists.
14617 2004-06-18  Graydon Hoare  <graydon@redhat.com>
14619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
14620         Fix up non-ansi comments.
14622 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
14624         * javax/swing/text/AbstractDocument.java: Adding missing import
14625         for javax.swing.event.EventListenerList.
14626         * javax/swing/text/DefaultCaret.java: Likewise.
14628 2004-06-17  Michael Koch  <konqueror@gmx.de>
14630         * javax/swing/JToolBar.java
14631         (name): Removed.
14632         (JToolBar): Use Component.setName(String) instead of doing it all
14633         alone.
14634         * javax/swing/Timer.java
14635         (queueEvent): Added missing modifier.
14637 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
14639         * Makefile.am: Added new file.
14640         * Makefile.in: Re-generate.
14641         * javax/swing/JMenu.java:
14642         (insertSeparator): Implemented.
14643         * javax/swing/JPopupMenu.java:
14644         (JPopupMenu.Separator): Implemented.
14645         * javax/swing/MenuSelectionManager.java:
14646         (processMouseEvent): Use java.awt.Component
14647         for event source instead of javax.swing.JComponent.
14648         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
14649         New File. Implemented.
14651 2004-06-16  David Jee  <djee@redhat.com>
14653         * java/awt/GridBagLayout.java
14654         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
14655         Make sure pos_x and pos_y are never negative.
14657 2004-04-16  Andrew Overholt  <overholt@redhat.com>
14659         * Makefile.am: Add new file.
14660         * Makefile.in: Re-generate.
14661         * javax/swing/JToolBar.java
14662         Partially implemented.
14663         * javax/swing/plaf/basic/BasicToolBarUI.java
14664         New file. Partially implemented.
14666 2004-06-16  Graydon Hoare  <graydon@redhat.com>
14668         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14669         (setComposite): Accept AlphaComposite arguments.
14670         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
14671         (createBufferedImage): Add new overloads.
14672         * gnu/java/awt/peer/gtk/GtkToolkit.java
14673         (createImage): Use GdkPixbufDecoder.createBufferedImage
14674         when useGraphics2D() is true.
14675         (getImage): Delegate to createImage.
14676         * javax/swing/JList.java
14677         (isSelectionEmpty):
14678         (getFirstVisibleIndex):
14679         (getLastVisibleIndex):
14680         (setSelectedValue):
14681         (ensureIndexIsVisible): New methods.
14682         * javax/swing/Timer.java: Reimplement.
14684 2004-06-16  Michael Koch  <konqueror@gmx.de>
14686         * javax/swing/text/AbstractDocument.java
14687         (AbstracElement): Made public, implements java.io.Serializable.
14688         (AttributeContext): Made public.
14689         (BranchElement): Likewise.
14690         (Content): Likewise.
14691         (DefaultDocumentEvent): Made public, extends
14692         javax.swing.undo.CompoundEdit.
14693         (ElementEdit): Made public, extends
14694         javax.swing.undo.AbstractUndoableEdit.
14695         (LeafElement): Made public.
14696         (LeafElement.LeafElement): Made public.
14698 2004-06-16  Michael Koch  <konqueror@gmx.de>
14700         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
14701         methods (that were obviously never be intended to get included hi this
14702         class. Added some methods too.
14704 2004-06-16  Michael Koch  <konqueror@gmx.de>
14706         * javax/swing/text/PlainDocument.java
14707         (serialVersionUID): New constant.
14708         (lineLimitAttribute): Likewise.
14709         (tabSizeAttribute): Likewise.
14710         (tabSize): New field.
14711         (PlainDocument): Made public.
14712         (PlainDocument): New constructor.
14714 2004-06-16  Michael Koch  <konqueror@gmx.de>
14716         * javax/swing/text/AbstractDocument.java
14717         (insertString): Throws BadLocationException.
14718         * javax/swing/text/Document.java
14719         (insertString): Likewise.
14720         * javax/swing/text/JTextComponent.java:
14721         Javadocs and comments cleaned up.
14723 2004-06-16  Michael Koch  <konqueror@gmx.de>
14725         * javax/swing/event/UndoableEditListener.java: Reformatted.
14726         * javax/swing/text/AbstractDocument.java
14727         (AbstractDocument): Implements java.io.Serializable.
14728         (doc_list): Removed.
14729         (undo_list): Removed.
14730         (AbstractElement.serialVerionUID): New field.
14731         (BranchElement.serialVerionUID): Likewise.
14732         (DefaultDocumentEvent.serialVerionUID): Likewise.
14733         (ElementEdit.serialVerionUID): Likewise.
14734         (LeafElement.serialVerionUID): Likewise.
14735         (serialVerionUID): Likewise.
14736         (BAD_LOCATION): New constant.
14737         (BidiElementName): Likewise.
14738         (ContentElementName): Likewise.
14739         (ParagraphElementName): Likewise.
14740         (SectionElementName): Likewise.
14741         (ElementNameAttribute): Likewise.
14742         (AbstractDocument): Made protected.
14743         (AbstractDocument): New construtor.
14744         (listenerList): New field.
14745         (fireChangedUpdate): Implemented.
14746         (fireInsertUpdate): Likewise.
14747         (fireRemoveUpdate): Likewise.
14748         (fireUndoableEditUpdate): Likewise.
14749         (getListeners): Likewise.
14750         (addDocumentListener): Likewise.
14751         (removeDocumentListener): Likewise.
14752         (addUndoableEditListener): Likewise.
14753         (removeUndoableEditListener): Likewise.
14754         (getDocumentListeners): New method.
14755         (getUndoableEditListeners): Likewise.
14756         (getAsynchronousLoadPriority): Made public.
14757         (getBidiRootElement): Likewise.
14758         (setAsynchronousLoadPriority): Likewise.
14759         (setDocumentProperties): Likewise.
14760         * javax/swing/text/BadLocationException.java
14761         (serialVerionUID): New field.
14762         * javax/swing/text/DefaultCaret.java
14763         (changeEvent): New field.
14764         (listenerList): Likewise.
14765         (changes): Removed.
14766         (addChangeListener): Reimplemented.
14767         (removeChangeListener): Likewise.
14768         (getListeners): New method.
14769         (getChangeListeners): Likwise.
14770         (getComponent): Likewise.
14771         * javax/swing/text/GapContent.java
14772         (GapContent): Implements java.io.Serializable.
14773         (serialVerionUID): New field.
14775 2004-06-16  Michael Koch  <konqueror@gmx.de>
14777         * javax/swing/JTree.java
14778         (treeModel): New field.
14779         (JTree): New constructors, one existing one made public.
14780         (createTreeModel): New method.
14781         (addTreeExpansionListener): Likewise.
14782         (removeTreeExpansionListener): Likewise.
14783         (getTreeExpansionListeners): Likewise.
14784         (fireTreeCollapsed): Likewise.
14785         (fireTreeExpanded): Likewise.
14786         (addTreeSelectionListener): Likewise.
14787         (removeTreeSelectionListener): Likewise.
14788         (getTreeSelectionListeners): Likewise.
14789         (fireValueChanged): Likewise.
14790         (addTreeWillExpandListener): Likewise.
14791         (removeTreeWillExpandListener): Likewise.
14792         (getTreeWillExpandListeners): Likewise.
14793         (fireTreeWillCollapse): Likewise.
14794         (fireTreeWillExpand): Likewise.
14796 2004-06-16  Michael Koch  <konqueror@gmx.de>
14798         * javax/swing/JTree.java: Reformatted.
14800 2004-06-16  Michael Koch  <konqueror@gmx.de>
14802         * javax/swing/JTextArea.java: New file.
14803         * javax/swing/JTextField.java
14804         (actions): Removed.
14805         (notifyAction): New constant.
14806         (columns): New field.
14807         (JTextField): New constructors.
14808         (createDefaultModel): New method.
14809         (addActionListener): Reimplmemented.
14810         (removeActionListener): Reimplemented.
14811         (getActionListeners): New method.
14812         (fireActionPerformed): New method.
14813         (getColumns): New method.
14814         (setColumne): New method.
14815         * javax/swing/text/JTextComponent.java
14816         (AccessibleJTextComponent.serialVersionUID): New field.
14817         (serialVersionUID): Likewise.
14818         (DEFAULT_KEYMAP): Likewise.
14819         (FOCUS_ACCELERATOR_KEY): Likewise.
14820         (doc): Made private.
14821         (icon_gap): Likewise.
14822         (icon): Likewise.
14823         (align): Likewise.
14824         (JTextComponent): Some constructors removed.
14825         (getScrollableTracksViewportHeight): New method.
14826         (getScrollableTracksViewportWidth): Likewise.
14827         * Makefile.am: Added javax/swing/JTextArea.java.
14828         * Makefile.in: Regenerated.
14830 2004-06-15  Graydon Hoare  <graydon@redhat.com>
14832         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
14833         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
14834         * javax/swing/JViewport.java
14835         (getExtentSize): Return size rather than preferred size.
14836         (toViewCoordinates): New methods.
14837         (getViewSize): Return size rather than preferred size.
14838         (setViewSize): Note view size as set.
14839         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
14840         * javax/swing/plaf/basic/BasicScrollBarUI.java
14841         (getPreferredSize): Don't redo layout.
14842         * javax/swing/plaf/basic/BasicViewportUI.java
14843         (paint): Translate image properly and eat exceptions.
14845 2004-06-15  Kim Ho  <kho@redhat.com>
14847         * javax/swing/JTabbedPane.java
14848         (setComponent): Remove old component and
14849         add new component.
14850         (setSelectedIndex): Don't operate on the
14851         components if they're null. Don't set index
14852         on the model if the index is the same.
14853         (insertTab): Don't add or hide the component
14854         if it's null. Repaint the container.
14855         * javax/swing/plaf/basic/BasicLookAndFeel.java
14856         Change colors for TabbedPane.
14857         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
14858         (mousePressed): Re-layout and paint the component.
14859         (layoutContainer): Don't set location on the view.
14860         (ScrollingViewport::paint): Remove.
14862 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
14864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14865         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
14867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
14868         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
14869         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
14870         critical region.
14871         (drawLine): Call gdk_flush before leaving GDK critical region.
14872         (fillRect): Likewise.
14873         (drawRect): Likewise.
14874         (copyArea): Likewise.
14875         (copyPixmap): Likewise.
14876         (clearRect): Likewise.
14877         (drawArc): Likewise.
14878         (drawPolyline): Likewise.
14879         (drawPolygon): Likewise.
14880         (fillPolygon): Likewise.
14881         (fillArc): Likewise.
14882         (drawOval): Likewise.
14883         (fillOval): Likewise.
14885         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
14886         style parameter.
14887         (GdkFontMetrics): Add style argument to initState call.
14888         (stringWidth(String,int,int,String)): Add style parameter.
14889         (stringWidth(String)): Add style argument to stringWidth call.
14890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
14891         (initState): Set pango font style and weight based on AWT style
14892         parameter.  Pass default GTK language to
14893         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
14894         simply dividing by PANGO_SCALE.
14895         (stringWidth): Set pango font style and weight based on AWT style
14896         parameter.
14898         * java/awt/Button.java (next_button_number): New field.
14899         (paramString): Change output.
14900         (generateName): New method.
14901         (getUniqueLong): New method.
14903 2004-06-14  Kim Ho  <kho@redhat.com>
14905         * javax/swing/JTabbedPane.java:
14906         (setComponentAt): Set the component, not
14907         the enabled status.
14908         * javax/swing/plaf/basic/BasicDesktopIconUI.java
14909         (actionPerformed): Let deiconize catch exception.
14911 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
14913         * javax/swing/JPopupMenu.java:
14914         (setVisible): Corrected location of a
14915         heavyweight popup menu.
14917 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
14919         * javax/swing/MenuSelectionManager.java:
14920         Ran through jalopy to fix formatting style.
14922 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
14924         * javax/swing/JLayeredPane.java:
14925         (remove): Revalidate and repaint layered pane after
14926         the component was removed.
14927         javax/swing/JMenu.java:
14928         (setVisible): Display popup menu at the user location,
14929         if one was set by the user.
14930         (setMenuLocation): Reimplemented. Fixed javadoc.
14931         * javax/swing/JMenuBar.java: Added javadoc.
14932         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
14933         (MODEL_CHANGED_PROPERTY): New Property.
14934         (isSelected): Implemented.
14935         (setBorderPainted): Fire PropertyChangeEvent
14936         if paintBorder property changes.
14937         (setSelected): Implemented.
14938         (setSelectionModel): Implemented.
14939         * javax/swing/JPopupMenu.java: Added Javadoc
14940         (pack): Implemented.
14941         (setVisible): Reimplemented.
14942         (show): Fixed location.
14943         (JPopupMenu.LigthWeightPopup): Reimplemented to use
14944         Container instead of JPanel.
14945         * javax/swing/MenuSelectionManager.java: Added Javadocs.
14946         (clearSelectedPath): Reimplemented to clear selectedPath
14947         in reverse order.
14948         (processMouseEvent): Reimplemented.
14949         (setSelectedPath): Fire stateChange event indicating that
14950         selected menu path has changed.
14951         (getPath): Change to use ArrayList instead of Vector.
14952         * javax/swing/plaf/basic/BasicMenuBarUI.java:
14953         (installUI): call installKeyboardActions().
14954         (uninstallUI): call uninstallKeyboardActions().
14956 2004-06-13  Michael Koch  <konqueror@gmx.de>
14958         * javax/swing/text/DefaultCaret.java,
14959         javax/swing/text/BadLocationException.java:
14960         Reformatted.
14962 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
14964         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
14965         DEFAULT_COLS): New variables.
14966         (create): Don't allow 0 rows or 0 columns.  Instead, set the
14967         values to DEFAULT_ROWS or DEFAULT_COLS.
14968         (getMinimumSize): Likewise.
14969         (getPreferredSize): Likewise.
14970         (minimumSize): Likewise.
14971         (preferredSize): Likewise.
14972         (create): Set peer's editable state.
14973         * java/awt/TextArea.java (TextArea()): Set rows and columns to
14974         zero.  Update javadocs.
14975         (TextArea(String)): Likewise.
14976         (TextArea(int,int)): Fix javadocs.
14977         (TextArea(String,int,int,int)): Only throw exception if one of
14978         rows or columns is zero.  Fix javadocs.
14980 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
14982         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
14983         addition to Components.
14985         * java/awt/MenuItem.java (dispatchEventImpl): If the event
14986         wasn't consumed by normal processing, send it to the parent
14987         menu.
14989         * gnu/java/awt/peer/gtk/GtkImagePainter.java
14990         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
14991         translation.
14993 2004-06-11  David Jee  <djee@redhat.com>
14995         * java/awt/MediaTracker.java
14996         (addImage(Image,int)): Call imageUpdate() to udpate image status.
14997         (addImage(Image,int,int,int)): Likewise.
14999 2004-06-11  Michael Koch  <konqueror@gmx.de>
15001         * javax/swing/text/AbstractDocument.java,
15002         javax/swing/text/Document.java,
15003         javax/swing/text/GapContent.java,
15004         javax/swing/text/JTextComponent.java,
15005         javax/swing/text/PlainDocument.java:
15006         Reformatted.
15008 2004-06-11  Michael Koch  <konqueror@gmx.de>
15010         * javax/swing/JRootPane.java
15011         (AccessibleJRootPane.serialVersionUID): New field.
15012         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
15013         (AccessibleJRootPane.getAccessibleRole): New method.
15014         (RootLayout): Implements Serializable.
15015         (RootLayout.serialVersionUID): New field.
15016         (RootLayout.RootLayout): New constructor.
15017         (setJMenuBar): Made public.
15018         (getJMenuBar): Likewise.
15019         (JRootPane): Likewise.
15020         (createContentPane): Likewise.
15021         (createGlassPane): Likewise.
15022         (createLayeredPane): Likewise.
15024 2004-06-11  Michael Koch  <konqueror@gmx.de>
15026         * javax/swing/SwingUtilities.java
15027         (isLeftMouseButton): Fixed javadoc.
15028         (isMiddleMouseButton): Likewise.
15029         (isRightMouseButton): Likewise.
15031 2004-06-11  Michael Koch  <konqueror@gmx.de>
15033         * javax/swing/JScrollPane.java
15034         (serialVersionUID): New field.
15035         (columnHeader): Made protected.
15036         (rowHeader): Likewise.
15037         (lowerLeft): Likewise.
15038         (lowerRight): Likewise.
15039         (upperLeft): Likewise.
15040         (upperRight): Likewise.
15041         (horizontalScrollBar): Likewise.
15042         (horizontalScrollBarPolicy): Likewise.
15043         (verticalScrollBar): Likewise.
15044         (verticalScrollBarPolicy): Likewise.
15045         (viewport): Likewise.
15047 2004-06-11  Michael Koch  <konqueror@gmx.de>
15049         * javax/swing/LookAndFeel.java: Fixed javadocs.
15051 2004-06-11  Michael Koch  <konqueror@gmx.de>
15053         * javax/swing/JEditorPane.java: Fixed javadocs.
15054         (JEditorPane): Removed redundant call to to this().
15055         (fireHyperlinkUpdate): Implemented.
15057 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
15059         * javax/swing/JMenu.java: Fixed file name
15060         in the file comment.
15062 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
15064         * javax/swing/JMenu.java: Added javadoc.
15065         (JMenu): Added MenuChangeListener to listen to
15066         ChangeEvents occuring in menu's model.
15067         (insert): Throw IllegalArgumentException if
15068         index is less than 0
15069         (setSelected): Reimplement.
15070         (setPopupMenuVisible): Call menu's model isEnabled()
15071         (setDelay): Throw IllegalArgumentException if
15072         given amount of delay is less than 0.
15073         (createActionComponent): Implemented.
15074         (createActionChangeListener): Implemented.
15075         (addSeparator): Implemented.
15076         (getItem): Throw IllegalArgumentException if index is
15077         less than 0.
15078         (getItemCount): Implemented.
15079         (fireMenuSelected): Changed to use menuEvent.
15080         (fireMenuDeselected): Likewise.
15081         (fireMenuCanceled): Likewise.
15082         (setAccelerator): Changed to throw an error if this
15083         method is used.
15084         (doClick): Implemented.
15085         (JMenu.ActionChangedListener): New inner class to handle
15086         PropertyChangeEvents occuring in the actions associated with menu.
15087         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
15088         (BasicMenuUI): Added PropertyChangeListener to the menu.
15089         (createChangeListener): Implemented.
15090         (createMenuDragMouseListener): Likewise.
15091         (createMenuKeyListener): Likewise.
15092         (createPropertyChangeListener): Likewise.
15093         (uninstallListeners): Likewise.
15094         (BasicMenuUI.MouseInputHandler): Reimplemented.
15095         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
15096         (BasicMenuUI.ChangeHandler): Likewise.
15097         (BasicMenuUI.MenuDragMouseHandler): Likewise.
15098         (BasicMenuUI.MenuKeyHandler): Likewise.
15100 2004-06-10  David Jee  <djee@redhat.com>
15102         * java/awt/MediaTracker.java
15103         (imageUpdate): Only do notifyAll() if the image is complete.
15105 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
15107         * javax/swing/JApplet.java:
15108         (getJMenuBar): Made public.
15109         (setJMenuBar): Likewise.
15110         * javax/swing/JFrame.java:
15111         (getJMenuBar): Made public.
15112         (setJMenuBar): Likewise.
15113         * javax/swing/JWindow.java:
15114         (getJMenuBar): Removed.
15115         (setJMenuBar): Removed.
15117 2004-06-10  Michael Koch  <konqueror@gmx.de>
15119         * javax/swing/JEditorPane.java
15120         (createEditorKitForContentType): Fixed visibility.
15121         (fireHyperlinkUpdate): Likewise.
15122         (getContentType): Likewise.
15123         (getEditorKit): Likewise.
15124         (getEditorKitForContentType): Likewise.
15125         (getPage): Likewise.
15126         (read): Likewise.
15127         (registerEditorKitForContentTyoe): Likewise.
15128         (replaceSelection): Likewise.
15129         (setContentType): Likewise.
15130         (setEditorKit): Likewise.
15131         (setPage): Likewise.
15133 2004-06-10  Michael Koch  <konqueror@gmx.de>
15135         * javax/swing/Timer.java
15136         (Timer): New constructor.
15137         * javax/swing/plaf/basic/BasicProgressBarUI.java
15138         (animationTimer): Don't initialize at construction.
15139         (startAnimationTimer): Added since tag.
15140         (stopAnimationTimer): Likewise.
15141         (installUI): Use new Timer constructor.
15142         * javax/swing/plaf/basic/BasicScrollBarUI.java
15143         (installUI): Likewise.
15144         * javax/swing/plaf/basic/BasicSliderUI.java
15145         (installUI): Likewise.
15147 2004-06-10  Michael Koch  <konqueror@gmx.de>
15149         * javax/swing/ButtonGroup.java
15150         (serialVersionUID): Made private.
15151         (buttons): Renamed from v, added javadoc.
15152         (sel): Added javadoc.
15153         (ButtonGroup): Likewise.
15154         (add): Likewise.
15155         (remove): Likewise.
15156         (getElements): Likewise.
15157         (getSelection): Likewise.
15158         (setSelected): Likewise.
15159         (isSelected): Likewise.
15160         (getButtonCount): Likewise.
15162 2004-06-10  Michael Koch  <konqueror@gmx.de>
15164         * javax/swing/ButtonGroup.java,
15165         javax/swing/ImageIcon.java,
15166         javax/swing/JEditorPane.java,
15167         javax/swing/JRootPane.java,
15168         javax/swing/JTextField.java,
15169         javax/swing/LookAndFeel.java,
15170         javax/swing/plaf/basic/BasicTextUI.java:
15171         Reindented.
15173 2004-06-10  Michael Koch  <konqueror@gmx.de>
15175         * javax/swing/text/Style.java: Added javadocs.
15177 2004-06-10  Michael Koch  <konqueror@gmx.de>
15179         * javax/swing/JComponent.java
15180         (fireVetoableChange): Removed redundant cast.
15181         * javax/swing/JLabel.java
15182         (getDisabledIcon): Save icon for next call.
15184 2004-06-10  Michael Koch  <konqueror@gmx.de>
15186         * javax/swing/KeyStroke.java
15187         (getKeyStroke(char,boolean)): Marked deprecated.
15189 2004-06-10  Michael Koch  <konqueror@gmx.de>
15191         * javax/swing/DefaultCellEditor.java,
15192         javax/swing/GrayFilter.java,
15193         javax/swing/event/DocumentEvent.java,
15194         javax/swing/text/JTextComponent.java,
15195         javax/swing/text/MutableAttributeSet.java:
15196         Reindented.
15198 2004-06-10  Michael Koch  <konqueror@gmx.de>
15200         * javax/swing/plaf/BorderUIResource.java:
15201         Added serialVersionUID all over.
15203 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
15205         * javax/swing/undo/UndoManager.java: Re-written from scratch.
15207 2004-06-10  Michael Koch  <konqueror@gmx.de>
15209         * javax/swing/table/DefaultTableCellRenderer.java
15210         (noFocusBorder): Initialize directly.
15212 2004-06-10  Michael Koch  <konqueror@gmx.de>
15214         * javax/swing/plaf/basic/BasicArrowButton.java
15215         (setDirection): Use method argument.
15217 2004-06-10  Michael Koch  <konqueror@gmx.de>
15219         * javax/swing/plaf/BorderUIResource.java,
15220         javax/swing/plaf/ComponentUI.java,
15221         javax/swing/undo/CompoundEdit.java,
15222         javax/swing/undo/StateEdit.java:
15223         Fixed javadocs all over.
15225 2004-06-10  Michael Koch  <konqueror@gmx.de>
15227         * javax/swing/DefaultButtonModel.java
15228         (ARMED): Made public final, fixed value.
15229         (ENABLED): Likewise.
15230         (PRESSED): Likewise.
15231         (ROLLOVER): Likewise.
15232         (SELECTED): Likewise.
15233         (stateMask): Initialize directly.
15234         (listenerList): Likewise.
15235         (mnemonic): Likewise.
15236         (fireStateChanged): Removed argument, use changeEvent as event.
15237         All places where this method is called are fixed too.
15238         (getActionCommant): Fixed javadoc.
15239         (setGroup): Fixed javadoc.
15240         (getGroup): New method.
15242 2004-06-09  Olga Rodimina <rodimina@redhat.com>
15244         * javax/swing/AbstractButton.java
15245         (AbstractButton): Use init() to initialize the button.
15246         (init): New Method. Initializes AbstractButton.
15247         * javax/swing/JMenuItem.java: Documented.
15248         (JMenuItem): Reimplemented.
15249         (init): Implemented.
15250         (setEnabled): Changed to call super.setEnabled()
15251         (processMouseEvent): Reimplemented.
15252         (fireMenuKeyPressed): Implemented.
15253         (fireMenuKeyReleased): Implemented.
15254         (fireMenuKeyTyped): Implemented.
15255         (menuSelectionChanged): disarm the model if the menu item was
15256         deselected.
15257         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
15258         (getPath): Change to use ArrayList instead of Vector.
15259         (getPreferredSize): Renamed variable.
15260         (paintMenuItem): Paint margin area of menu item.
15261         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
15262         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
15263         menu item's bounds before clearing the selection.
15265 2004-06-09  David Jee  <djee@redhat.com>
15267         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
15268         (GtkTextComponentPeer): Set caret position to 0.
15269         * java/awt/TextComponent.java
15270         (setText): Set caret position to 0.
15271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15272         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
15273         Handle GtkScrolledWindow separately. Fix signal handler blocking.
15274         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
15275         Likewise.
15276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15277         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
15278         visible.
15280 2004-06-09  Kim Ho  <kho@redhat.com>
15282         * Makefile.am: New files
15283         * Makefile.in: Regenerated
15284         * java/awt/Container.java
15285         (getComponentAt): Removed.
15286         * javax/swing/AbstractAction.java
15287         (ENABLED_PROPERTY): New property.
15288         (putValue): Fire PropertyChangeEvents.
15289         (setEnabled): ditto.
15290         (firePropertyChange): Javadoc and implement
15291         convenience method.
15292         * javax/swing/AbstractButton.java
15293         (setAction): Don't create PropertyChangeListener
15294         if new Action is null.
15295         (setIcon): Don't set icon till after comparing
15296         it.
15297         (configurePropertiesFromAction): Check mnemonic
15298         key before calling intValue().
15299         (createActionPropertyChangeListener): Check
15300         properties rather than bulk change.
15301         * javax/swing/DefaultDesktopManager.java:
15302         Implement.
15303         * javax/swing/DesktopManager.java:
15304         Jalopy and javadoc.
15305         * javax/swing/JComponent.java
15306         (fireVetoableChange): Implement.
15307         (paintImmediately): Use root component.
15308         * javax/swing/JDesktopPane.java: Implement
15309         * javax/swing/JInternalFrame.java: Implement
15310         * javax/swing/JLabel.java
15311         (getDisabledIcon): Return grayscaled icon if
15312         no disabled icon specified.
15313         * javax/swing/JMenuBar.java
15314         (getComponentAtIndex): Use getComponent
15315         * javax/swing/JOptionPane.java
15316         (getDesktopPaneForComponent): Use SwingUtilities'
15317         getAncestorOfClass
15318         (getFrameForComponent): ditto.
15319         * javax/swing/JSplitPane.java
15320         (remove): Use getComponent.
15321         * javax/swing/SwingUtilities.java
15322         (convertPoint): Implement.
15323         * javax/swing/plaf/basic/BasicButtonUI.java
15324         (paintButtonNormal): Check opaqueness before
15325         filling background.
15326         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
15327         Implement
15328         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
15329         Implement.
15330         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
15331         Implement.
15332         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
15333         Implement.
15334         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15335         Change InternalFrame and Desktop colors.
15337 2004-06-09  David Jee  <djee@redhat.com>
15339         * java/awt/Container.java
15340         (remove): Do not set component to invisible.
15342 2004-06-09  Michael Koch  <konqueror@gmx.de>
15344         * javax/swing/tree/DefaultMutableTreeNode.java
15345         (getLeafCount): Renamed enum to e.
15347 2004-06-09  Michael Koch  <konqueror@gmx.de>
15349         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
15350         (positionForMouseEvent): Removed redundant semicolon.
15351         (continueDrag): Use method arguments.
15353 2004-06-09  Michael Koch  <konqueror@gmx.de>
15355         * javax/swing/border/TitledBorder.java,
15356         javax/swing/filechooser/FileSystemView.java,
15357         javax/swing/plaf/basic/BasicButtonListener.java,
15358         javax/swing/plaf/basic/BasicGraphicsUtils.java,
15359         javax/swing/plaf/basic/BasicLabelUI.java,
15360         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
15361         javax/swing/plaf/basic/BasicScrollBarUI.java,
15362         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15363         javax/swing/plaf/basic/BasicSliderUI.java,
15364         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
15365         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15366         javax/swing/table/JTableHeader.java,
15367         javax/swing/text/AbstractDocument.java,
15368         javax/swing/text/DefaultCaret.java,
15369         javax/swing/text/StyledEditorKit.java,
15370         javax/swing/tree/DefaultTreeCellEditor.java:
15371         Reworked import statements.
15373 2004-06-08  Graydon Hoare  <graydon@redhat.com>
15375         * javax/swing/Box.java: Temporarily comment out code
15376         broken due to visibility bug.
15378 2004-06-09  Michael Koch  <konqueror@gmx.de>
15380         * javax/swing/ImageIcon.java
15381         (ImageIcon): Added missing constructor.
15383 2004-06-08  Michael Koch  <konqueror@gmx.de>
15385         * javax/swing/JToggleButton.java
15386         (JToggleButton): New constructor.
15387         (getAccessibleContext): Moved documentation into javadoc.
15388         (getUIClassID): Likewise.
15390 2004-06-08  Michael Koch  <konqueror@gmx.de>
15392         * javax/swing/AbstractButton.java
15393         (getDisabledIcon): Create disabled icon if none exists yet.
15395 2004-06-08  Michael Koch  <konqueror@gmx.de>
15397         * javax/swing/plaf/basic/BasicLookAndFeel.java
15398         (initClassDefaults): Added FormattedTextFieldUI.
15399         (loadResourceBundle): Renamed enum to e.
15401 2004-06-08  Michael Koch  <konqueror@gmx.de>
15403         * javax/swing/plaf/basic/BasicButtonUI.java
15404         (paintIcon): Simplified.
15405         (paintText): Paint disabled button correctly.
15407 2004-06-08  Michael Koch  <konqueror@gmx.de>
15409         * javax/swing/JComponent.java
15410         (createToolTip): Use official JToolTip API.
15412 2004-06-08  Michael Koch  <konqueror@gmx.de>
15414         * javax/swing/JToolTip.java
15415         (JToolTip): No arguments in API.
15416         (setTipText): New method.
15418 2004-06-08  Michael Koch  <konqueror@gmx.de>
15420         * javax/swing/SwingUtilities.java
15421         (isLeftMouseButton): New method.
15422         (isMiddleMouseButton): New method.
15423         (isRightMouseButton): New method.
15425 2004-06-08  Michael Koch  <konqueror@gmx.de>
15427         * javax/swing/AbstractButton.java,
15428         javax/swing/CellRendererPane.java,
15429         javax/swing/JCheckBoxMenuItem.java,
15430         javax/swing/JColorChooser.java,
15431         javax/swing/JComboBox.java,
15432         javax/swing/JComponent.java,
15433         javax/swing/JDesktopPane.java,
15434         javax/swing/JFileChooser.java,
15435         javax/swing/JMenu.java,
15436         javax/swing/JMenuItem.java,
15437         javax/swing/JOptionPane.java,
15438         javax/swing/JPasswordField.java,
15439         javax/swing/JPopupMenu.java,
15440         javax/swing/JProgressBar.java,
15441         javax/swing/JRadioButtonMenuItem.java,
15442         javax/swing/JScrollBar.java,
15443         javax/swing/JSeparator.java,
15444         javax/swing/JSlider.java,
15445         javax/swing/JSplitPane.java,
15446         javax/swing/JTabbedPane.java,
15447         javax/swing/JTextField.java,
15448         javax/swing/JToolBar.java,
15449         javax/swing/text/JTextComponent.java:
15450         Fixed all constructors of accessibility classes.
15452 2004-06-08  Michael Koch  <konqueror@gmx.de>
15454         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
15455         over.
15457 2004-06-08  Michael Koch  <konqueror@gmx.de>
15459         * javax/swing/Box.java
15460         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
15461         (AccessibleBoxFiller.serialVersionUID): New member variable.
15462         * javax/swing/DefaultButtonModel.java
15463         (stateMask): Made protected.
15464         (listenerList): Likewise.
15465         (changeEvent): Likewise.
15466         (group): Likewise.
15467         (mnemonic): Likewise.
15468         (actionCommand): Likewise.
15469         (getListeners): New method.
15470         (getActionListeners): New method.
15471         (getItemListeners): New method.
15472         (getChangeListeners): New method.
15473         (fireItemStateChanged): Simplified.
15474         (fireActionPerformed): Simplified.
15475         (fireStateChanged): Simplified.
15476         * javax/swing/JFrame.java
15477         (JFrame): Implements WindowContants.
15478         (HIDE_ON_CLOSE): Removed.
15479         (EXIT_ON_CLOSE): Removed.
15480         (DISPOSE_ON_CLOSE): Removed.
15481         (DO_NOTHING_ON_CLOSE): Removed.
15482         (processWindowEvent): Exit with code 0.
15483         (setDefaultCloseOperation): Do security check before setting value.
15484         * javax/swing/JOptionPane.java
15485         (message): Initialize only in constructor.
15486         * javax/swing/JToolTip.java: Removed unused imports.
15487         * javax/swing/JViewport.java
15488         (serialVersionUID): New member variable.
15489         (SIMPLE_SCROLL_MODE): Made final, fixed value.
15490         (BLIT_SCROLL_MODE): Likewise.
15491         (BACKINGSTORE_SCROLL_MODE): Likewise.
15492         (scrollUnderway): Made protected.
15493         (isViewSizeSet): Likewise.
15494         * javax/swing/ListModel.java: Fixed javadoc.
15495         * javax/swing/Popup.java: Likewise.
15496         * javax/swing/RepaintManager.java
15497         (paintDirtyRegions): Don't use internal classes of
15498         java.util.AbstractMap.
15499         * javax/swing/ScrollPaneConstants.java: Reindented.
15500         * javax/swing/ScrollPaneLayout.java
15501         (viewport): Made protected.
15502         (verticalScrollBar): Made protected, renamed to vsb.
15503         (horizontalScrollBar): Made protected, renamed to hsb.
15504         (rowHeader): Made protected, renamed to rowHead.
15505         (columnHeader): Made protected, renamed to colHead.
15506         (lowerLeft): Made protected.
15507         (lowerRight): Made protected.
15508         (upperLeft): Made protected.
15509         (upperRight): Made protected.
15510         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
15511         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
15513 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
15515         * java/awt/MediaTracker.java (imageUpdate): Only set status to
15516         LOADING if flags has SOMEBITS set.
15518 2004-06-07  Michael Koch  <konqueror@gmx.de>
15520         * javax/swing/AbstractButton.java: Reorganized imports.
15521         * javax/swing/ActionMap.java: Likewise.
15522         * javax/swing/DefaultButtonModel.java: Likewise.
15523         * javax/swing/DefaultListModel.java: Likewise.
15524         * javax/swing/ImageIcon.java: Likewise.
15525         (serialVersionUID): New member variable.
15526         * javax/swing/JComboBox.java: Reorganized imports.
15527         * javax/swing/JComponent.java: Likewise.
15528         (ui): Made protected.
15529         (listenerList): Made protected.
15530         (TOOL_TIP_TEXT_KEY): New constant.
15531         (scrollRectToVisible): Removed redundant null check.
15532         * javax/swing/JFrame.java: Reorganized imports.
15533         * javax/swing/JInternalFrame.java: Reorganized imports.
15534         * javax/swing/JProgressBar.java: Likewise.
15535         * javax/swing/JRootPane.java: Likewise.
15536         * javax/swing/JScrollBar.java: Likewise.
15537         * javax/swing/JSeparator.java: Likewise.
15538         * javax/swing/JSlider.java: Likewise.
15539         * javax/swing/JTabbedPane.java: Likewise.
15540         * javax/swing/JTextField.java: Likewise.
15541         * javax/swing/JToolBar.java: Likewise.
15542         * javax/swing/JTree.java: Likewise.
15543         * javax/swing/JViewport.java: Likewise.
15544         * javax/swing/JWindow.java: Likewise.
15545         * javax/swing/KeyStroke.java: Likewise.
15546         * javax/swing/LookAndFeel.java: Likewise.
15547         * javax/swing/MenuSelectionManager.java: Likewise.
15548         * javax/swing/SwingUtilities.java: Likewise.
15549         * javax/swing/Timer.java: Likewise.
15550         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
15551         * javax/swing/JList.java
15552         (HORIZONTAL_WRAP): Made final, fixed value.
15553         (VERTICAL): Likewise.
15554         (VERTICAL_WRAP): Likewise.
15556 2004-06-07  Michael Koch  <konqueror@gmx.de>
15558         * javax/swing/AbstractButton.java
15559         (serialVersionUID): New member variable.
15560         (AccessibleAbstractButton.serialVersionUID): Likewise.
15561         (AbstractButton): Made public.
15562         * javax/swing/Box.java
15563         (AccessibleBox.serialVersionUID): New member variable.
15564         (Filler.serialVersionUID): Likewise.
15565         * javax/swing/DefaultListSelectionModel.java
15566         (serialVersionUID): Likewise.
15567         * javax/swing/JApplet.java
15568         (serialVersionUID): Likewise.
15569         * javax/swing/JCheckBox.java
15570         (serialVersionUID): Likewise.
15571         * javax/swing/JCheckBoxMenuItem.java
15572         (serialVersionUID): Likewise.
15573         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
15574         * javax/swing/JColorChooser.java
15575         (serialVersionUID): Likewise.
15576         (AccessibleJColorChooser.serialVersionUID): Likewise.
15577         * javax/swing/JComponent.java
15578         (serialVersionUID): Made private.
15579         (AccessibleJComponent.serialVersionUID): New member variable.
15580         * javax/swing/JDesktopPane.java
15581         (serialVersionUID): Likewise.
15582         * javax/swing/JDialog.java
15583         (serialVersionUID): Likewise.
15584         * javax/swing/JFormattedTextField.java
15585         (serialVersionUID): Fixed value.
15586         * javax/swing/JFrame.java
15587         (serialVersionUID): New member variable.
15588         (getDefaultCloseOpertation): Made public.
15589         * javax/swing/JLayeredPane.java
15590         (serialVersionUID): Likewise.
15591         (LAYER_PROPERTY): Made final, fixed value.
15592         (JLayeredPane): Made public.
15593         * javax/swing/JMenu.java
15594         (AccessibleJMenu.serialVersionUID): New member variable.
15595         (WinListener.serialVersionUID): Likewise.
15596         * javax/swing/JMenuBar.java
15597         (serialVersionUID): Likewise.
15598         (getComponentAtIndex): Added @deprecated tag.
15599         * javax/swing/JMenuItem.java
15600         (serialVersionUID): New member variable.
15601         (AccessibleJMenuItem.serialVersionUID): Likewise.
15602         * javax/swing/JOptionPane.java
15603         (serialVersionUID): Likewise.
15604         (AccessibleJOptionPane.serialVersionUID): Likewise.
15605         * javax/swing/JPopupMenu.java
15606         (serialVersionUID): Likewise.
15607         (AccessibleJPopupMenu.serialVersionUID): Likewise.
15608         (getPopupMenuListeners): New method.
15609         (getComponentAtIndex): Added @deprecated tag.
15610         * javax/swing/JProgressBar.java
15611         (serialVersionUID): New member variable.
15612         (AccessibleJProgressBar.serialVersionUID): Likewise.
15613         * javax/swing/JRadioButton.java
15614         (serialVersionUID): Likewise.
15615         * javax/swing/JRadioButtonMenuItem.java
15616         (serialVersionUID): Likewise.
15617         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
15618         * javax/swing/JScrollBar.java
15619         (serialVersionUID): Likewise.
15620         (AccessibleJScrollBar.serialVersionUID): Likewise.
15621         * javax/swing/JSeparator.java
15622         (serialVersionUID): Likewise.
15623         (AccessibleJSeparator.serialVersionUID): Likewise.
15624         * javax/swing/JSlider.java: Fixed javadocs.
15625         (AccessibleJSlider.serialVersionUID): New member variable.
15626         * javax/swing/JSplitPane.java: Added copyright statement.
15627         (serialVersionUID): New member variable.
15628         (AccessibleJSplitPane.serialVersionUID): Likewise.
15629         * javax/swing/JTabbedPane.java
15630         (serialVersionUID): Likewise.
15631         (AccessibleJTabbedPane.serialVersionUID): Likewise.
15632         (ModelListener.serialVersionUID): Likewise.
15633         (ModelListener.ModelListener): New constructor.
15634         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
15635         (WRAP_TAB_LAYOUT): Likewise.
15636         * javax/swing/JTable.java
15637         (serialVersionUID): New member variable.
15638         * javax/swing/JToggleButton.java
15639         (serialVersionUID): Likewise.
15640         (ToggleButtonModel): Made static.
15641         (ToggleButtonModel.serialVersionUID): New member variable.
15642         * javax/swing/JToolTip.java
15643         (serialVersionUID): Likewise.
15644         * javax/swing/JTree.java
15645         (serialVersionUID): Likewise.
15646         * javax/swing/JWindow.java
15647         (serialVersionUID): Likewise.
15648         * javax/swing/Timer.java
15649         (serialVersionUID): Likewise.
15651 2004-06-06  Michael Koch  <konqueror@gmx.de>
15653         * javax/swing/SwingConstants.java
15654         (NEXT): New constant.
15655         (PREVIOUS): Likewise.
15656         * javax/swing/UIManager.java
15657         (LookAndFeel): Made public.
15658         (LookAndFeel.getClassName): Likewise.
15659         (LookAndFeel.getName): Likewise.
15661 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
15663         * javax/swing/JCheckBoxMenuItem.java:
15664         Removed CVS tags.
15665         * javax/swing/JMenu.java: Likewise.
15666         * javax/swing/JMenuBar.java: Likewise.
15667         * javax/swing/JMenuItem.java: Likewise.
15668         * javax/swing/JPopupMenu.java: Likewise.
15669         * javax/swing/JRadioButtonMenuItem.java: Likewise.
15670         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
15671         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
15672         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15673         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
15674         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
15675         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
15677 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
15679         * javax/swing/plaf/basic/BasicMenuUI.java:
15680         (MouseEntered): Do not call getPath() from MenuSelectionManager.
15681         Call getPath() from super class instead.
15683 2004-05-31  David Jee  <djee@redhat.com>
15685         * java/awt/Container.java
15686         (remove): Set component visibility to false after removing it.
15688 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
15690         * java/awt/Component.java (getForeground): Return SystemColor if
15691         parent is null.
15692         (getBackground): Likewise.
15694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
15695         (item_highlighted): New function.
15696         (connectSignals): Set item_highlighted as list's select
15697         function.
15699         * java/applet/Applet.java: Revert changes from 2004-04-29,
15700         2004-03-15 and 2004-03-14.
15702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
15703         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
15704         factor.
15706         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
15707         "Dialog" as the default font.
15708         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
15709         Likewise.
15710         * java/awt/Component.java (getFont): Return "Dialog" font by
15711         default.
15712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
15713         Multiply size argument to pango_font_description_set_size by the
15714         DPI conversion factor rather than by PANGO_SCALE.
15715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
15716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
15717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
15718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
15719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
15720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
15721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
15722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
15723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
15724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
15725         Divide baseline y coordinate by DPI conversion factor rather
15726         than by PANGO_SCALE.
15727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15728         (area_prepared): Fix typo.
15729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15730         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
15731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
15732         (dpi_conversion_factor): New global variable.
15733         (init_dpi_conversion_factor): New function to calculate and
15734         track DPI conversion factor.
15735         (dpi_changed_cb): New callback.
15736         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
15738 2004-05-27  David Jee  <djee@redhat.com>
15740         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15741         (getGraphics): Return a new GdkGraphics instance.
15742         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15743         (getGraphics): Call super.getGraphics().
15745 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
15747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15748         (setNativeBounds): Clamp width and height values to >= 0.
15750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15751         (find_fg_color_widget): Handle GtkOptionMenu specially.
15753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15754         (pre_event_handler): Only post configure events to visible
15755         top-level windows.
15757 2004-05-26  David Jee  <djee@redhat.com>
15759         * java/awt/BorderLayout.java
15760         (layoutContainer): Fix size calculations.
15762 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
15764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15765         (window_wm_protocols_filter): Remove function.
15766         (create): Remove filter that removes WM_TAKE_FOCUS client
15767         messages.
15769 2004-06-17  Anthony Green  <green@redhat.com>
15771         * java/util/zip/ZipFile.java (getInputStream): Return null if
15772         entry not found.
15774         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
15775         directory contents to the class path.
15777 2004-06-15  Andrew Haley  <aph@redhat.com>
15779         * java/lang/natSystem.cc (getenv0): Don't assume environment
15780         variable is Latin 1 coded.
15782 2004-06-14  Andreas Jaeger  <aj@suse.de>
15784         * configure.in: Support --enable-version-specific-runtime-libs.
15785         * configure: Regenerated.
15787 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
15789         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
15790         to pass ClassLoader argument.
15791         * java/util/GregorianCalendar.java: Likewise.
15792         * java/util/Currency.java: Likewise.
15793         * java/text/BreakIterator.java: Likewise.
15794         * java/text/Collator.java: Likewise.
15795         * java/text/DateFormat.java: Likewise.
15796         * java/text/DateFormatSymbols.java: Likewise.
15797         * java/text/DecimalFormatSymbols.java: Likewise.
15798         * java/text/NumberFormat.java: Likewise.
15799         * java/awt/Window.java: Likewise.
15801 2004-06-14  Andrew Haley  <aph@redhat.com>
15803         * java/lang/System.java: (getenv0): New method.
15804         (getenv): Add security check.  Do the right thing.
15805         * java/lang/natSystem.cc (getenv0): New method.
15807 2004-06-12  Mark Wielaard  <mark@klomp.org>
15809         * javax/swing/RepaintManager.java
15810         (paintDirtyRegions): Use entrySet(), not values().
15812 2004-06-10  Mark Wielaard  <mark@klomp.org>
15814         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
15815         NoSuchMethodError.
15817 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
15819         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
15820         when we already know the answer.
15821         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
15822         (setStartRule,setEndRule): Don't take abs of day number.
15823         (getOffset): Clarify docs.  Add argument checks.
15824         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
15825         (equals,hasSameRules,toString,readObject): Use startTimeMode and
15826         endTimeMode.
15828 2004-06-10  Tom Tromey  <tromey@redhat.com>
15830         * interpret.cc (run): Handle wide fload.
15832 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
15834         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
15836 2004-06-05  Michael Koch  <konqueror@gmx.de>
15838         * javax/swing/SwingConstants.java
15839         (NEXT): New constant.
15840         (PREVIOUS): Likewise.
15842 2004-06-05  Michael Koch  <konqueror@gmx.de>
15844         * javax/swing/UIManager.java
15845         (LookAndFeel): Made public.
15846         (LookAndFeel.getName): Likewise.
15847         (LookAndFeel.getClassName): Likewise.
15849 2004-06-03  Michael Koch  <konqueror@gmx.de>
15851         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15852         (requestFocus): Revert last changes.
15853         (gtkRequestFocus): Removed.
15854         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15855         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15856         Renamed to ...
15857         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
15858         Reverted last patch.
15859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15860         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
15861         Reverted comment change.
15863 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
15865         * javax/swing/JCheckBoxMenuItem.java:
15866         Removed CVS tags.
15867         * javax/swing/JMenu.java: Likewise.
15868         * javax/swing/JMenuBar.java: Likewise.
15869         * javax/swing/JMenuItem.java: Likewise.
15870         * javax/swing/JPopupMenu.java: Likewise.
15871         * javax/swing/JRadioButtonMenuItem.java: Likewise.
15872         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
15873         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
15874         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15875         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
15876         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
15877         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
15879 2004-06-01  Tom Tromey  <tromey@redhat.com>
15881         * java/io/ObjectStreamField.java: Cleaned up imports.
15883 2004-06-01  Michael Koch  <konqueror@gmx.de>
15885         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
15887 2004-06-01  Mark Wielaard  <mark@klomp.org>
15889         * java/io/Writer.java (Writer(Object)): Fixed API doc.
15891 2004-06-01  Michael Koch  <konqueror@gmx.de>
15893         * java/security/Security.java
15894         (insertProviderAt): Use equals() instead of ==.
15895         (removeProvicer): Likewise.
15896         (getProvider): Likewise.
15897         * java/security/Signature.java
15898         (sign): Don't set state to UNINITIALIZED.
15899         (verify): Likewise.
15901 2004-06-01  Mark Wielaard  <mark@klomp.org>
15903         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
15904         Implement by calling gtkRequestFocus.
15905         (gtkRequestFocus): New native method.
15906         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15907         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
15908         Renamed to ...
15909         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15910         New function name.
15911         (filter_expose_event_handler):
15912         Mark static.
15913         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15914         (menu_pos): Mark static.
15916 2004-06-01  Michael Koch  <konqueror@gmx.de>
15918         * java/text/CollationElementIterator.java,
15919         java/text/CollationKey.java,
15920         java/text/RuleBasedCollator.java: New versions from GNU classpath.
15921         * testsuite/libjava.mauve/xfails: Removed all
15922         java.text.CollationElementIterator tests.
15924 2004-06-01  Michael Koch  <konqueror@gmx.de>
15926         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
15927         version.
15928         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
15929         Java 1.5 keyword usage.
15931 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
15933         * javax/swing/plaf/basic/BasicMenuUI.java:
15934         (MouseEntered): Do not call getPath() from MenuSelectionManager.
15935         Call getPath() from super class instead.
15937 2004-05-31  Michael Koch  <konqueror@gmx.de>
15939         * java/io/SequenceInputStream.java:
15940         Rename enum to e because enum is a keyword in Java 1.5.
15942 2004-05-31  Michael Koch  <konqueror@gmx.de>
15944         * gnu/java/rmi/rmic/CompilerProcess.java:
15945         Fixed javadoc to by XHTML compliant.
15947 2004-05-30  Mark Wielaard  <mark@klomp.org>
15949         * java/awt/Toolkit.java (loadSystemColors): Implement.
15951 2004-05-30  Michael Koch  <konqueror@gmx.de>
15953         * java/lang/System.java: Reordered imports.
15955 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
15957         * java/text/DecimalFormat.java
15958         (parse): Fixed parsing of decimal strings. Number of maximum
15959         digits to be read should now work.
15960         * java/text/SimpleDateFormat.java
15961         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
15962         formatter. This fixes DateFormatTest.
15964 2004-05-30  Michael Koch  <konqueror@gmx.de>
15966         * java/nio/Buffer.java
15967         (limit): Fixed off by one error.
15968         * java/nio/CharBuffer.java
15969         (wrap): Fixed arguments, added javadocs.
15971 2004-05-30  Michael Koch  <konqueror@gmx.de>
15973         * gnu/java/beans/BeanInfoEmbryo.java,
15974         java/awt/im/InputContext.java,
15975         javax/swing/tree/DefaultMutableTreeNode.java:
15976         Rename enum to e because enum is a keyword in Java 1.5.
15978 2004-05-30  Michael Koch  <konqueror@gmx.de>
15980         * gnu/java/math/MPN.java,
15981         java/awt/geom/Arc2D.java:
15982         Fixed javadocs all over.
15984 2004-05-30  Michael Koch  <konqueror@gmx.de>
15986         * java/awt/DefaultKeyboardFocusManager.java
15987         (dispatchEvent): Call method to get key event dispatchers.
15988         (dispatchKeyEvent): Call method to get key event post processors.
15989         * javax/swing/JComponent.java
15990         (listenerList): Made protected.
15991         * javax/swing/JOptionPane.java
15992         (message): Don't initialize.
15993         (JOptionPane): Set message text.
15994         * javax/swing/JPopupMenu.java
15995         (show): Fixed typo in argument name.
15996         * javax/swing/RepaintManager.java
15997         (paintDirtyRegions): Use public API of java.util.Map.
15998         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
15999         (positionForMouseEvent): Removed redundant ';'.
16000         (continueDrag): Use method arguments.
16002 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
16004         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
16005         results.
16007 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
16009         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
16010         _Jv_AllocBytes.
16011         * gnu/gcj/RawDataManaged.java: New file.
16012         * java/lang/Thread.java (data): Declare as RawDataManaged.
16013         * java/lang/natThread.cc (init_native): Cast natThread data to
16014         RawDataManaged, not jobject.
16015         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
16016         * Makefile.in: Rebuilt.
16018 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
16020         * java/util/SimpleTimeZone.java: Reverting my last change until I
16021         can fix it properly.
16023 2004-05-27  Michael Koch  <konqueror@gmx.de>
16025         * javax/swing/JPopupMenu.java
16026         (isVisible): Do not use visible directly.
16027         (setVisible): Likewise.
16028         * javax/swing/JWindow.java
16029         (JWindow): call accessible constructor.
16030         * javax/swing/RepaintManager.java
16031         (paintDirtyRegions): Use public methods to obtain iterator.
16033 2004-05-25  David Jee  <djee@redhat.com>
16035         * java/awt/Container.java
16036         (remove): Set component's parent to null only after we removed the
16037         component from its parent's layout manager.
16039 2004-05-25  David Jee  <djee@redhat.com>
16041         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16042         (GtkComponentPeer): Set bounds regardless of whether awtComponent
16043         is valid.
16044         * gnu/java/awt/peer/gtk/GtkListPeer.java
16045         (getSize): Change native method declaration.
16046         (minimumSize): Pass visible row count into getSize().
16047         (preferredSize): Likewise.
16048         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
16049         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
16050         natural size. Use visible row count to determine the final height
16051         value to return.
16053 2004-05-21  Graydon Hoare  <graydon@redhat.com>
16055         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
16056         (setClip): Minor correction to order of operations.
16058         * javax/swing/JScrollPane.java: Extend sketchy implementation.
16059         * javax/swing/ScrollPaneLayout.java: Likewise.
16060         * javax/swing/JViewPort.java: Likewise.
16061         * javax/swing/ViewportLayout.java: Likewise.
16063         * javax/swing/JComponent.java: Rewrite.
16064         * javax/swing/RepaintManager.java: Likewise.
16066         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
16067         * javax/swing/JList.java
16068         (setSelectedIndices):
16069         (getSelectedIndices):
16070         (getSelectedValues): New functions.
16071         (getPreferredScrollableViewportSize): Return preferred size.
16072         (getScrollableUnitIncrement):
16073         (getScrollableBlockIncrement): Initial implementations.
16074         * javax/swing/JRootPane.java: Clean up slightly.
16075         (getUI):
16076         (setUI):
16077         (updateUI):
16078         (getUIClassID):
16079         (isValidateRoot): Add overrides from JComponent.
16080         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
16081         * javax/swing/UIManager.java (getDimension): Return the dimension.
16083         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
16084         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
16085         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
16086         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
16087         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
16088         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
16089         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
16090         * javax/swing/plaf/basic/BasicRootPaneUI.java:
16091         Likewise, and set background.
16092         * javax/swing/plaf/basic/BasicListUI.java:
16093         Likewise, and improve a bit.
16094         * javax/swing/plaf/basic/BasicScrollBarUI.java:
16095         Likewise, and adjust calculations.
16096         * javax/swing/plaf/basic/BasicViewportUI.java:
16097         Likewise, and improve a bit.
16098         * javax/swing/plaf/basic/BasicLookAndFeel.java
16099         (Button.margin): Shrink.
16101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
16102         Hack to set horizontal always, workaround pango.
16104         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
16105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
16106         Synchronize more often, check cairo status after ops,
16107         handle changes to cairo pattern API, check for disposal.
16109 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
16111         * javax/swing/plaf/basic/BasicMenuItemUI.java:
16112         (BasicMenuItemUI): Create propertyChangeListener.
16113         (getPath):Implemented.
16114         (installListeners): Add propertyChangeListener to menuItem.
16115         (uninstallListeners): Remove propertyChangeListener from menuItem.
16116         (update): Implemented.
16117         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
16118         (mouseEntered): Take insets of popup menu into account when
16119         calculating position of popup menu.
16121 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
16123         * Makefile.am: Added new file.
16124         * Makefile.in: Regenerate.
16125         * javax/swing/JMenuBar.java:
16126         Started implementation.
16127         * javax/swing/JPopupMenu.java:
16128         (setVisible): Fixed location of lightweight/mediumweight
16129         popup menu.
16130         (show): Fixed location of PopupMenu.
16131         * javax/swing/plaf/basic/BasicMenuBarUI.java:
16132         New file. UI Delegate for JMenuBar.
16133         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
16134         (mouseEntered): Corrected position of the submenu.
16136 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
16138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
16139         to _gtk_accel_group_attach.
16140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
16141         Likewise.
16143         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
16144         package access.  Don't override setFont.
16145         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
16146         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
16147         gtkWidgetRequestFocus package access.
16148         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
16149         setFont.
16150         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
16151         Give gtkWidgetRequestFocus package access.
16152         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
16153         gtkWidgetRequestFocus package access.  Don't override setFont.
16154         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
16155         setFont.
16156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
16157         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
16158         region.
16159         (gtkSetFont): Likewise.
16160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
16161         Implement.
16162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16163         (gtkSetFont): Whitespace fix.
16165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16166         (gtkWidgetSetUsize): Remove method.
16168 2004-05-18  David Jee  <djee@redhat.com>
16170         * java/awt/image/MemoryImageSource.java
16171         (newPixels(int,int,int,int,boolean)): Set only the specified
16172         rectangle of pixels.
16173         (newPixels(byte[],ColorModel,int,int)): Implement.
16174         (newPixels(int[],ColorModel,int,int)): Implement.
16176 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
16178         * Makefile.am: Added new file.
16179         * Makefile.in: Regenerate.
16180         * javax/swing/JMenu.java: Started
16181         implementation.
16182         * javax/swing/JPopupMenu.java:
16183         (insert): If specified index is -1, then
16184         add component at the end.
16185         (isPopupTrigger): Reimplemented.
16186         (JPopupMenu.LightWeightPopup): setBounds
16187         of the lightWeightPopup before adding it
16188         to the layeredPane.
16189         (javax/swing/plaf/basic/BasicIconFactory.java):
16190         (getMenuArrowIcon): Implemented.
16191         * javax/swing/plaf/basic/BasicMenuItemUI.java:
16192         (getPreferredSize): Add size of the arrow icon
16193         if this menu item is instance of JMenu.
16194         (paintMenuItem): Paint arrow icon if this
16195         menu item is a submenu.
16196         * javax/swing/plaf/basic/BasicMenuUI.java:
16197         New File. UI Delegate for JMenu.
16199 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
16201         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
16202         Post KEY_TYPED events.
16203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16204         (generates_key_typed_event): Remove function.
16206 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
16208         * javax/swing/JRootPane.java
16209         (JRootPane.RootLayout): Reimplemented to
16210         set bounds of contentPane and menuBar.
16211         (setJMenuBar): Add menu bar to the layered pane.
16212         (createLayeredPane): Set layout of layeredPane
16213         to null.
16214         * javax/swing/JLayeredPane.java:
16215         (addImpl): Calculate index of the component in the
16216         layeredPane according to the specified position within
16217         the layer.
16219 2004-05-17  David Jee  <djee@redhat.com>
16221         * gnu/java/awt/peer/gtk/GtkImagePainter.java
16222         (setPixels): Change color model to the default model after
16223         converting pixels.
16224         * java/awt/image/MemoryImageSource.java
16225         (newPixels): Set only the specified rectangle of pixels.
16227 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
16229         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
16230         -l-java-beans -l-javax-accessibility -l-javax-swing.
16232         * java/awt/AWTEvent.java (toString): Print source's name rather
16233         than the source itself.
16235 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
16237         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
16238         native.
16239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
16240         (gdk_color_to_java_color): New function.
16241         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
16243 2004-05-12  David Jee  <djee@redhat.com>
16245         * java/awt/image/RGBImageFilter.java:
16246         Initialize origmodel as null.
16247         (makeColor): Fix pixel component order.
16248         (filterRGBPixels): Fix pixel iteration.
16249         (setPixels): Add extra checks for index color model. Convert pixels
16250         to default color model if necessary.
16251         (convertColorModelToDefault): New override method for byte pixels.
16252         (convertColorModelToDefault): For int pixels, fix pixel iteration.
16253         (makeColorbyDefaultCM): New override method for byte pixels.
16254         (makeColorbyDefaultCM): For int pixel, add color model as argument.
16255         (makeColor): Fix pixel component order.
16257 2004-05-11  Kim Ho  <kho@redhat.com>
16259         * javax/swing/Box.java:
16260         Comment out more parts of Box.Filler.
16262 2004-05-11  Kim Ho  <kho@redhat.com>
16264         * javax/swing/Box.java:
16265         Remove reference to AccessibleAWTComponent so
16266         it compiles again.
16268 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
16270         * gnu/java/awt/peer/gtk/GtkListPeer.java,
16271         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
16272         implementation of list peer to use GtkTreeView instead of
16273         deprecated GtkCList.
16275 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16277         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16278         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
16279         (handleEvent): Remove keyChar argument to
16280         gtkWidgetDispatchKeyEvent calls.
16281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
16282         compiler warnings.
16283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
16284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
16285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
16286         Likewise.
16288 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
16290         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16291         (gtkWidgetRequestFocus): Mark protected.
16292         (GtkComponentPeer): Only set the peer's bounds if its component
16293         is valid.
16294         * java/awt/Component.java (static): Set the default keyboard
16295         focus manager.
16296         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
16297         requestFocusInWindow(temporary)): Don't request focus if the
16298         component is not showing.  Get tree lock before traversing
16299         component hierarchy.
16300         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
16301         Only set the global focus owner if it is not a Window.
16302         (processKeyEvent): Consume keystrokes associated with the focus
16303         traversal keystroke.
16304         (focusPreviousComponent, focusNextComponent, upFocusCycle,
16305         downFocusCycle): Call requestFocusInWindow instead of
16306         requestFocus.
16307         * java/awt/EventDispatchThread.java (run): Move setting of
16308         default keyboard focus manager to Component.java.
16309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16310         (awt_keycode_to_keysym): New function.
16311         (gtkWidgetDispatchKeyEvent): Finish implementation.
16312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16313         (pre_event_handler): Add FIXME comment.
16315         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
16316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16317         (gtkWidgetRequestFocus): New method.
16318         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
16319         disable Tab and Shift-Tab keystrokes.
16320         (addNotify, appendText, insertText, replaceText): Simplify peer
16321         retrieval code.
16322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
16323         (connectSignals): Remove connections to "commit" signals.
16324         Remove C++-style comments.
16326         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
16327         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
16328         (handleEvent): Activate GTK button when the space bar key is
16329         pressed.
16330         (gtkActivate): New method.
16332 2004-05-06  David Jee  <djee@redhat.com>
16334         * java/awt/image/CropImageFilter.java
16335         (setPixels): Implement for byte array pixels.
16336         * java/awt/image/ReplicateScaleFilter.java
16337         (setPixels): Implement for byte array pixels.
16338         (replicatePixels): Overload for byte array pixels.
16340 2004-05-06  Kim Ho  <kho@redhat.com>
16342         * javax/swing/Box.java:
16343         (getAccessibleContext): Return an instance of the
16344         correct class.
16346 2004-05-05  David Jee  <djee@redhat.com>
16348         * gnu/java/awt/peer/gtk/GdkGraphics.java
16349         (drawImage): When component is null, use SystemColor.window as
16350         the default bgcolor.
16351         * gnu/java/awt/peer/gtk/GtkImage.java
16352         (setPixels): We can avoid iterating through the pixel rows only
16353         when height is 1.
16354         * java/awt/Image.java
16355         (getScaledInstance): Partially implement.
16356         * java/awt/image/CropImageFilter.java
16357         (setProperties): Fix "filter" property.
16358         (setPixels): Implement.
16359         * java/awt/image/ReplicateScaleFilter.java
16360         (setDimensions): Use scaled dimensions.
16361         (setPixels): Implement.
16362         (replicatePixels): New method.
16364 2004-05-05  David Jee  <djee@redhat.com>
16366         * gnu/java/awt/peer/gtk/GtkImagePainter.java
16367         (convertPixels): If either pixels or model is null, return null.
16368         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
16369         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
16370         is null, do nothing and return.
16372 2004-05-03  Kim Ho  <kho@redhat.com>
16374         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
16375         (getGraphics): Like GtkFramePeer, the Graphics
16376         object needs to be translate to account for
16377         window decorations.
16378         (postMouseEvent): New method. Account for
16379         translation.
16380         (postExposeEvent): ditto.
16381         * javax/swing/Box.java: Stubbed.
16382         * javax/swing/JDialog.java: Ran through jalopy
16383         to fix indentation.
16384         (JDialog): Call SwingUtilities' getOwnerFrame
16385         for null owners.
16386         (setLayout): Check isRootPaneCheckingEnabled
16387         * javax/swing/JOptionPane.java: Re-implemented.
16388         * javax/swing/SwingUtilities.java:
16389         (getOwnerFrame): Static method to grab a default
16390         owner frame for Dialogs that don't specify owners.
16391         * javax/swing/event/SwingPropertyChangeSupport.java:
16392         (firePropertyChange): Fix early exit condition.
16393         * javax/swing/plaf/basic/BasicLabelUI.java:
16394         (paint): Avoid painting text if it is null
16395         or empty.
16396         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
16397         Implement.
16399 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
16401         * Makefile.am: Added new file.
16402         * Makefile.in: Regenerate.
16403         * javax/swing/JPopupMenu.java:
16404         Started implementation.
16405         * javax/swing/JWindow.java
16406         (JWindow): call super() if parent for window
16407         is not specified.
16408         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
16409         New File. UI Delegate for JPopupMenu.
16411 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
16413         * javax/swing/JApplet.java: Indicated that JApplet
16414         implements RootPaneContainer and made method of this
16415         interface public.
16416         * javax/swing/JFrame.java: Ditto.
16417         * javax/swing/JWindow.java: Ditto.
16419 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
16421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16422         (nativeSetBounds): Call gdk_window_move in addition to
16423         gtk_window_move.
16425         * java/applet/Applet.java (preferredSize): Call parent's
16426         preferredSize if the applet stub is null.
16427         (minimumSize): Likewise for parent's minimumSize.
16429 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
16431         * javax/swing/JMenuItem.java
16432         (createActionPropertyChangeListener): Implemented.
16433         (processMouseEvent): Ditto.
16434         (fireMenuDragMouseEntered): Ditto.
16435         (fireMenuDragMouseExited): Ditto.
16436         (fireMenuDragMouseDragged): Ditto.
16437         (fireMenuDragMouseReleased): Ditto.
16438         (menuSelectionChanged): Ditto.
16439         (getSubElements): Ditto.
16440         (getComponent): Ditto.
16441         (addMenuDragMouseListener): Ditto.
16442         (removeMenuDragMouseListener):Ditto.
16443         (addMenuKeyListener): Ditto.
16444         (removeMenuKeyListener): Ditto.
16445         * javax/swing/plaf/basic/BasicMenuItemUI.java
16446         (doClick): Imlemented.
16447         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
16448         Don't handle mouse events here. Pass them to
16449         MenuSelectionManager.
16451 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
16452         Used correct version of jalopy configuration
16453         file to fix style in the files below.
16455 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
16457         * javax/swing/JCheckBoxMenuItem.java:
16458         Fixed style and removed unnecessary comments.
16459         * javax/swing/JMenuItem.java: Ditto.
16460         * javax/swing/JRadioButtonMenuItem.java: Ditto.
16461         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
16462         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
16463         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
16465 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
16467         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
16468         C-style.
16470         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
16472         * java/awt/ContainerOrderFocusTraversalPolicy.java
16473         (getComponentAfter): Start from current component and work up
16474         the component hierarchy until an acceptable component is found.
16475         Synchronize on tree lock.
16476         (getComponentBefore): Likewise.
16478 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
16480         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
16481         focus-related debugging messages.
16482         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
16483         * java/awt/EventDispatchThread.java: Likewise.
16484         * java/awt/KeyboardFocusManager.java: Likewise.
16485         * java/awt/Window.java: Likewise.
16486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
16487         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
16489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
16490         new C++-style comments to C-style comments.
16491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
16493         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
16494         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16495         (handleEvent): Dispatch key press and key release events to
16496         backing widget.
16497         (requestFocus): Post a FOCUS_GAINED event to the event queue.
16498         (gtkWidgetRequestFocus): New method.
16499         (gtkWidgetDispatchKeyEvent): Likewise.
16500         * java/awt/Component.java (requestFocus, requestFocus(boolean),
16501         requestFocusInWindow, requestFocusInWindow(boolean),
16502         getFocusCycleRootAncestor, nextFocus, transferFocus,
16503         transferFocusBackward, transferFocusUpCycle, hasFocus,
16504         isFocusOwner): Implement and document focus-handling methods.
16505         (setFocusTraversalKeys): Inherit focus traversal keys when
16506         keystrokes argument is null.  Fix focus-handling documentation
16507         throughout class.
16508         * java/awt/Container.java (setFocusTraversalKeys,
16509         getFocusTraversalKeys, areFocusTraversalKeysSet,
16510         isFocusCycleRoot, setFocusTraversalPolicy,
16511         getFocusTraversalPolicy, isFocusTraversalPolicySet,
16512         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
16513         Implement and document focus-handling methods.
16514         (transferFocusBackward): Remove method.
16515         (readObject, writeObject): Implement and document serialization
16516         methods.
16517         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
16518         and document.
16519         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
16520         document.
16521         * java/awt/DefaultKeyboardFocusManager.java: Implement and
16522         partially document.
16523         * java/awt/EventDispatchThread.java (run): Set default keyboard
16524         focus manager.  Attempt to dispatch each event to the keyboard
16525         focus manager before normal dispatch.
16526         * java/awt/KeyboardFocusManager.java: Implement and partially
16527         document.
16528         * java/awt/Window.java (Window): Set focusCycleRoot to true.
16529         (show): Focus initial component when window is shown for the
16530         first time.
16531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16532         (pre_event_handler): Replace complex key press and key release
16533         logic with simple callbacks into GtkComponentPeer.
16534         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
16536 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
16538         * javax/swing/MenuSelectionManager.java
16539         (componentForPoint): Added new method.
16540         (defaultManager): New Method. Implemented.
16541         (getSelectedPath): Ditto.
16542         (isComponentPartOfCurrentMenu): Ditto.
16543         (processKeyEvent): Added new method.
16544         (processMouseEvent): New Method. Implemented.
16545         (setSelectedPath): Ditto.
16546         (getPath): Ditto.
16548 2004-04-19  Kim Ho  <kho@redhat.com>
16550         * java/awt/Container.java:
16551         (remove): Set the component's parent to null.
16552         (getComponentAt): Implement.
16553         * javax/swing/JComponent.java:
16554         (JComponent): Initialize defaultLocale
16555         (getDefaultLocale): Implement.
16556         (setDefaultLocale): ditto.
16557         * javax/swing/JSlider.java:
16558         (JSlider): Fix calculation of value.
16559         * javax/swing/JSplitPane.java: Implement.
16560         * javax/swing/plaf/basic/BasicLookAndFeel.java:
16561         Change SplitPane's default divider size.
16562         * javax/swing/plaf/basic/BasicScrollBarUI.java:
16563         (paint): Remove unused code.
16564         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
16565         Added comments and ran through jalopy.
16566         (setBasicSplitPaneUI): Get reference to hidden divider
16567         and set up one touch buttons if necessary.
16568         (setBorder): Fire propertyChangeEvent only if
16569         borders are different.
16570         (getPreferredSize): Defer to layout manager.
16571         (propertyChange): Implement.
16572         (oneTouchExpandableChanged): ditto.
16573         (createLeftOneTouchButton): Use BasicArrowButton.
16574         (createRightOneTouchButton): ditto.
16575         (moveDividerTo): New method. Moves the divider
16576         to a set location based on the last divider location.
16577         (BasicSplitPaneDivider::MouseHandler): Implement.
16578         (BasicSplitPaneDivider::OneTouchButton): Removed.
16579         (BasicSplitPaneDivider::DragController): Implement.
16580         (BasicSplitPaneDivider::VerticalDragController):
16581         ditto.
16582         (BasicSplitPaneDivider::DividerLayout): ditto.
16583         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
16584         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
16585         (calculateLayoutInfo): Don't show component if it's
16586         null.
16587         (paintTab): Fix title paint logic.
16589 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
16591         PR libgcj/8321
16592         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
16593         (setStartRule,setEndRule): Don't take abs of day number.
16594         (getOffset): Clarify docs.  Add argument checks.
16595         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
16596         (equals,hasSameRules,toString,readObject): Use startTimeMode and
16597         endTimeMode.
16598         * testsuite/libjava.mauve/xfails
16599         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
16601 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
16603         Layout interfaces during preparation, not initialization.
16604         * java/lang/natClass.cc (initializeClass): Move
16605         _Jv_LayoutInterfaceMethods call...
16606         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
16608 2004-05-19  Anthony Green  <green@localhost.localdomain>
16610         * Makefile.am (awt_java_source_files): Remove javax.rmi and
16611         gnu.javax.rmi code.
16612         * Makefile.in: Rebuilt.
16613         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
16614         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
16615         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
16616         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
16617         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
16618         gnu/javax/rmi/CORBA/DelegateFactory.java,
16619         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
16620         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
16621         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
16622         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
16623         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
16624         gnu/javax/rmi/PortableServer.java: Remove files.
16626 2004-05-19  Anthony Green  <green@redhat.com>
16628         * Makefile.am: Define JAVA_EXT_DIRS.
16629         * Makefile.in: Rebuilt.
16630         * java/lang/natRuntime.cc (insertSystemProperties): Set
16631         java.ext.dirs property.
16633 2004-05-16  Mark Wielaard  <mark@klomp.org>
16635         * java/io/Writer.java (Writer(Object)): Check for null lock object.
16637 2004-05-15  Mark Wielaard  <mark@klomp.org>
16639         * doc/cni.sgml: Removed, merged into gcj.texi.
16641 2004-05-15  Mark Wielaard  <mark@klomp.org>
16643         * Makefile.am (ordinary_java_source_files): Add new javax.print
16644         classes.
16645         * Makefile.in: Regenerated.
16647 2004-05-15  Michael Koch  <konqueror@gmx.de>
16649         * javax/print/attribute/standard/DateTimeAtCompleted.java,
16650         javax/print/attribute/standard/DateTimeAtCreation.java,
16651         javax/print/attribute/standard/DateTimeAtProcessing.java,
16652         javax/print/attribute/standard/DocumentName.java,
16653         javax/print/attribute/standard/JobHoldUntil.java,
16654         javax/print/attribute/standard/JobImpressionsCompleted.java,
16655         javax/print/attribute/standard/JobMessageFromOperator.java,
16656         javax/print/attribute/standard/JobName.java,
16657         javax/print/attribute/standard/JobOriginatingUserName.java,
16658         javax/print/attribute/standard/JobPriority.java,
16659         javax/print/attribute/standard/JobPrioritySupported.java,
16660         javax/print/attribute/standard/NumberOfInterveningJobs.java,
16661         javax/print/attribute/standard/OutputDeviceAssigned.java,
16662         javax/print/attribute/standard/PrinterInfo.java,
16663         javax/print/attribute/standard/PrinterLocation.java,
16664         javax/print/attribute/standard/PrinterMakeAndModel.java,
16665         javax/print/attribute/standard/PrinterMessageFromOperator.java,
16666         javax/print/attribute/standard/PrinterName.java,
16667         javax/print/attribute/standard/QueuedJobCount.java,
16668         javax/print/attribute/standard/RequestingUserName.java:
16669         Fixed javadocs all over.
16671 2004-05-15  Michael Koch  <konqueror@gmx.de>
16673         * javax/print/DocFlavor.java,
16674         javax/print/attribute/standard/ColorSupported.java,
16675         javax/print/attribute/standard/Compression.java,
16676         javax/print/attribute/standard/CopiesSupported.java,
16677         javax/print/attribute/standard/Fidelity.java,
16678         javax/print/attribute/standard/Finishings.java,
16679         javax/print/attribute/standard/JobImpressionsSupported.java,
16680         javax/print/attribute/standard/JobKOctetsSupported.java,
16681         javax/print/attribute/standard/JobMediaSheetsSupported.java,
16682         javax/print/attribute/standard/JobSheets.java,
16683         javax/print/attribute/standard/JobState.java,
16684         javax/print/attribute/standard/JobStateReason.java,
16685         javax/print/attribute/standard/JobStateReasons.java,
16686         javax/print/attribute/standard/Media.java,
16687         javax/print/attribute/standard/MediaSizeName.java,
16688         javax/print/attribute/standard/MultipleDocumentHandling.java,
16689         javax/print/attribute/standard/NumberUpSupported.java,
16690         javax/print/attribute/standard/OrientationRequested.java,
16691         javax/print/attribute/standard/PDLOverrideSupported.java,
16692         javax/print/attribute/standard/PageRanges.java,
16693         javax/print/attribute/standard/PresentationDirection.java,
16694         javax/print/attribute/standard/PrintQuality.java,
16695         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
16696         javax/print/attribute/standard/PrinterMoreInfo.java,
16697         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
16698         javax/print/attribute/standard/PrinterResolution.java,
16699         javax/print/attribute/standard/PrinterState.java,
16700         javax/print/attribute/standard/PrinterStateReason.java,
16701         javax/print/attribute/standard/PrinterStateReasons.java,
16702         javax/print/attribute/standard/PrinterURI.java,
16703         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
16704         javax/print/attribute/standard/Severity.java,
16705         javax/print/attribute/standard/SheetCollate.java,
16706         javax/print/attribute/standard/Sides.java:
16707         Added serialVersionUID and removed final keyword where it doenst
16708         belong.
16710 2004-05-15  Michael Koch  <konqueror@gmx.de>
16712         * javax/print/PrintServiceLookup.java: New file.
16714 2004-05-15  Michael Koch  <konqueror@gmx.de>
16716         * javax/print/DocFlavor.java:
16717         Implemented all flavor classes.
16719 2004-05-15  Michael Koch  <konqueror@gmx.de>
16721         * javax/print/attribute/standard/ColorSupported.java,
16722         javax/print/attribute/standard/Compression.java,
16723         javax/print/attribute/standard/CopiesSupported.java,
16724         javax/print/attribute/standard/Fidelity.java,
16725         javax/print/attribute/standard/Finishings.java,
16726         javax/print/attribute/standard/JobImpressionsSupported.java,
16727         javax/print/attribute/standard/JobKOctetsSupported.java,
16728         javax/print/attribute/standard/JobMediaSheetsSupported.java,
16729         javax/print/attribute/standard/JobSheets.java,
16730         javax/print/attribute/standard/JobState.java,
16731         javax/print/attribute/standard/JobStateReason.java,
16732         javax/print/attribute/standard/JobStateReasons.java,
16733         javax/print/attribute/standard/Media.java,
16734         javax/print/attribute/standard/MediaSizeName.java,
16735         javax/print/attribute/standard/MultipleDocumentHandling.java,
16736         javax/print/attribute/standard/NumberUpSupported.java,
16737         javax/print/attribute/standard/OrientationRequested.java,
16738         javax/print/attribute/standard/PDLOverrideSupported.java,
16739         javax/print/attribute/standard/PageRanges.java,
16740         javax/print/attribute/standard/PresentationDirection.java,
16741         javax/print/attribute/standard/PrintQuality.java,
16742         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
16743         javax/print/attribute/standard/PrinterMoreInfo.java,
16744         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
16745         javax/print/attribute/standard/PrinterResolution.java,
16746         javax/print/attribute/standard/PrinterState.java,
16747         javax/print/attribute/standard/PrinterStateReason.java,
16748         javax/print/attribute/standard/PrinterStateReasons.java,
16749         javax/print/attribute/standard/PrinterURI.java,
16750         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
16751         javax/print/attribute/standard/Severity.java,
16752         javax/print/attribute/standard/SheetCollate.java,
16753         javax/print/attribute/standard/Sides.java: New files.
16755 2004-05-15  Michael Koch  <konqueror@gmx.de>
16757         * javax/print/Doc.java
16758         (getPrintData): Throws IOException.
16759         (getReaderForText): Likewise.
16760         (getStreamForBytes): Likewise.
16761         * javax/print/DocFlavor.java:
16762         Fixed filename in copyright.
16763         (serialVersionUID): New field.
16764         * javax/print/ServiceUIFactory.java:
16765         Made all constants final.
16766         * javax/print/AttributeException.java
16767         javax/print/MultiDoc.java
16768         javax/print/MultiDocPrintJob.java
16769         javax/print/MultiDocPrintService.java
16770         javax/print/StreamPrintService.java
16771         javax/print/URIException.java: New files.
16772         * javax/print/Makefile.am
16773         (EXTRA_DIST): Added all new files.
16775 2004-05-15  Michael Koch  <konqueror@gmx.de>
16777         * javax/print/attribute/standard/Copies.java,
16778         javax/print/attribute/standard/DateTimeAtCompleted.java,
16779         javax/print/attribute/standard/DateTimeAtCreation.java,
16780         javax/print/attribute/standard/DateTimeAtProcessing.java,
16781         javax/print/attribute/standard/DocumentName.java,
16782         javax/print/attribute/standard/JobHoldUntil.java,
16783         javax/print/attribute/standard/JobImpressions.java,
16784         javax/print/attribute/standard/JobImpressionsCompleted.java,
16785         javax/print/attribute/standard/JobKOctets.java,
16786         javax/print/attribute/standard/JobKOctetsProcessed.java,
16787         javax/print/attribute/standard/JobMediaSheets.java,
16788         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16789         javax/print/attribute/standard/JobMessageFromOperator.java,
16790         javax/print/attribute/standard/JobName.java,
16791         javax/print/attribute/standard/JobOriginatingUserName.java,
16792         javax/print/attribute/standard/JobPriority.java,
16793         javax/print/attribute/standard/JobPrioritySupported.java,
16794         javax/print/attribute/standard/NumberOfDocuments.java,
16795         javax/print/attribute/standard/NumberOfInterveningJobs.java,
16796         javax/print/attribute/standard/NumberUp.java,
16797         javax/print/attribute/standard/OutputDeviceAssigned.java,
16798         javax/print/attribute/standard/PagesPerMinute.java,
16799         javax/print/attribute/standard/PagesPerMinuteColor.java:
16800         Fixed @return tag all over.
16802 2004-05-15  Michael Koch  <konqueror@gmx.de>
16804         * javax/print/attribute/AttributeSetUtilities.java
16805         (verifyCategoryForValue): Fixed typo in javadoc.
16806         * javax/print/attribute/HashAttributeSet.java
16807         (containsKey): Fixed @return tag.
16808         (comtainsValue): Likewise.
16809         (equals): Likewise.
16810         * javax/print/attribute/IntegerSyntax.java
16811         (equals): Likewise.
16812         * javax/print/attribute/ResolutionSyntax.java
16813         (equals): Likewise.
16814         (getCrossFeedResolution): Removed unused code.
16815         (getFeedResolution): Likewise.
16816         * javax/print/attribute/SetOfIntegerSyntax.java
16817         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
16818         (equals): Fixed @return tag.
16819         * javax/print/attribute/TextSyntax.java
16820         (TextSyntax): Take locale into account.
16821         (hashCode): Better implementation.
16823 2004-05-15  Michael Koch  <konqueror@gmx.de>
16825         * javax/print/CancelablePrintJob.java,
16826         javax/print/Doc.java,
16827         javax/print/DocFlavor.java,
16828         javax/print/DocPrintJob.java,
16829         javax/print/FlavorException.java,
16830         javax/print/PrintException.java,
16831         javax/print/PrintService.java,
16832         javax/print/ServiceUIFactory.java: New files.
16834 2004-05-15  Mark Wielaard  <mark@klomp.org>
16836         * gnu/regexp/CharIndexedReader.java: Removed.
16837         * gnu/regexp/REFilterReader.java: Likewise.
16838         * gnu/regexp/RETokenLookAhead.java: Likewise.
16839         * Makefile.am (ordinary_java_source_files): Remove above classes.
16840         * Makefile.in: Regenerated.
16842 2004-05-14  Tom Tromey  <tromey@redhat.com>
16844         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
16845         not `XGraphicsConfiguration.XOffScreenImage'.
16847 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
16849         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
16851 2004-05-14  Steven Augart  <augart@watson.ibm.com>
16853         * include/jni.h (_Jv_func): Removed.
16854         (struct JNINativeInterface): Use `void *' for reserved slots.
16855         (struct JNIInvokeInterface): Likewise.
16857 2004-05-11  Michael Koch  <konqueror@gmx.de>
16859         * gnu/java/net/natPlainSocketImplPosix.cc
16860         (read): Fixed typo in expression.
16862 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
16864         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
16865         ld_library_additions. Adjust all calls to libjava_invoke to match
16866         the new argument.
16868         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
16869         path to cxxflagslist.
16870         Pass path of libstdc++ to libjava_invoke.
16872         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
16873         libjava_invoke arguments.
16875 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
16877         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
16878         reality.
16880 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
16882         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
16883         main binary against the JNI shared library.
16885 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
16887         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
16888         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
16889         (SimpleTimeZone): Tweak docs.  Add new variation.
16890         (setStartRule,setEndRule): Add new variations.  Use
16891         startTimeMode and endTimeMode.
16893 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
16895         * java/util/Calendar.java (getActualMinimum,
16896         getActualMaximum):  Remove abstract.  Implement.
16898 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
16900         Run the jni tests using the interpreter.
16901         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
16902         options_cxx to shared lib compile command.
16903         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
16904         they are used to link the shared lib, not the main binary.
16905         Use libjava_invoke to run gij.
16907 2004-05-06  Michael Koch  <konqueror@gmx.de>
16909         * java/util/logging/Level.java
16910         (parse): Use == instead of String.equals().
16912 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
16914         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
16915         verify_field_signature and verify_method_signature, not
16916         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
16917         (_Jv_ClassReader::handleField): Likewise.
16918         (_Jv_ClassReader::handleMethod): Likewise.
16920 2004-05-06  Michael Koch  <konqueror@gmx.de>
16922         * javax/swing/table/TableColumn.java:
16923         Reformated.
16925 2004-05-06  Michael Koch  <konqueror@gmx.de>
16927         * javax/imageio/spi/ImageReaderWriterSpi.java
16928         (ImageReaderWriterSpi): Made it public.
16929         * javax/imageio/stream/ImageInputStream.java:
16930         Clean up imports.
16932 2004-05-06  Michael Koch  <konqueror@gmx.de>
16934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16935         Removed empty line.
16937 2004-05-06  Michael Koch  <konqueror@gmx.de>
16939         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
16940         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
16941         New files.
16942         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
16943         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
16944         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
16945         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
16946         their own source file.
16947         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16948         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
16949         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
16950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
16951         (create): Define variable on top of function.
16952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
16953         (menu_pos): Prototyped.
16954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16955         (setTitle): Removed.
16956         * jni/gtk-peer/gthread-jni.c
16957         (gdk_threads_wake): Removed.
16958         * Makefile.am (gtk_c_source_files): Added new files
16959         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
16960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
16961         * Makefile.in: Regenerated.
16963 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
16965         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
16966         call.
16968 2004-05-05  Mark Wielaard  <mark@klomp.org>
16970         * javax/swing/AbstractButton.java: Replace special HTML entities with
16971         ASCII equivalent.
16972         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
16973         * javax/swing/DefaultButtonModel.java: Likewise.
16974         * javax/swing/DefaultListModel.java: Likewise.
16975         * javax/swing/JList.java: Likewise.
16976         * javax/swing/JSlider.java: Likewise.
16977         * javax/swing/ListModel.java: Likewise.
16978         * javax/swing/Popup.java: Likewise.
16979         * javax/swing/SwingUtilities.java: Likewise.
16981 2004-05-05  Michael Koch  <konqueror@gmx.de>
16983         * javax/swing/AbstractButton.java,
16984         javax/swing/ActionMap.java,
16985         javax/swing/DefaultButtonModel.java,
16986         javax/swing/DefaultListModel.java,
16987         javax/swing/ImageIcon.java,
16988         javax/swing/JComboBox.java,
16989         javax/swing/JComponent.java,
16990         javax/swing/JFrame.java,
16991         javax/swing/JInternalFrame.java,
16992         javax/swing/JMenuBar.java,
16993         javax/swing/JMenuItem.java,
16994         javax/swing/JOptionPane.java,
16995         javax/swing/JProgressBar.java,
16996         javax/swing/JRootPane.java,
16997         javax/swing/JScrollBar.java,
16998         javax/swing/JScrollPane.java,
16999         javax/swing/JSeparator.java,
17000         javax/swing/JSlider.java,
17001         javax/swing/JTabbedPane.java,
17002         javax/swing/JTable.java,
17003         javax/swing/JTextField.java,
17004         javax/swing/JToolBar.java,
17005         javax/swing/JToolTip.java,
17006         javax/swing/JTree.java,
17007         javax/swing/JViewport.java,
17008         javax/swing/JWindow.java,
17009         javax/swing/KeyStroke.java,
17010         javax/swing/LookAndFeel.java,
17011         javax/swing/SwingUtilities.java,
17012         javax/swing/Timer.java,
17013         javax/swing/ToolTipManager.java,
17014         javax/swing/UIDefaults.java,
17015         javax/swing/border/TitledBorder.java,
17016         javax/swing/filechooser/FileSystemView.java,
17017         javax/swing/plaf/basic/BasicButtonListener.java,
17018         javax/swing/plaf/basic/BasicButtonUI.java,
17019         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
17020         javax/swing/plaf/basic/BasicGraphicsUtils.java,
17021         javax/swing/plaf/basic/BasicLabelUI.java,
17022         javax/swing/plaf/basic/BasicMenuItemUI.java,
17023         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
17024         javax/swing/plaf/basic/BasicRootPaneUI.java,
17025         javax/swing/plaf/basic/BasicScrollBarUI.java,
17026         javax/swing/plaf/basic/BasicScrollPaneUI.java,
17027         javax/swing/plaf/basic/BasicSliderUI.java,
17028         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
17029         javax/swing/plaf/basic/BasicToggleButtonUI.java,
17030         javax/swing/table/JTableHeader.java,
17031         javax/swing/text/AbstractDocument.java,
17032         javax/swing/text/DefaultCaret.java,
17033         javax/swing/text/StyledEditorKit.java,
17034         javax/swing/tree/DefaultTreeCellEditor.java:
17035         Cleaned up imports.
17037 2004-05-05  Michael Koch  <konqueror@gmx.de>
17039         * java/util/prefs/AbstractPreferences.java
17040         (AbstractPreferences): Added parenthesis for clarity.
17041         Closes classpath bug #7940.
17043 2004-05-05  Tom Tromey  <tromey@redhat.com>
17045         * javax/naming/CompoundName.java (endsWith): Look at correct
17046         element of source name.
17048 2004-05-05  Mark Wielaard  <mark@klomp.org>
17050         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
17051         * java/util/HashMap.java (rehash): Add entry at start of bucket.
17053 2004-05-05  Tom Tromey  <tromey@redhat.com>
17055         * java/io/BufferedReader.java (skip): Removed unused
17056         variable.
17058 2004-05-05  Michael Koch  <konqueror@gmx.de>
17060         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
17062 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
17064         * java/text/AttributedString.java,
17065         java/text/AttributedStringIterator.java,
17066         java/text/Collator.java,
17067         java/text/DecimalFormatSymbols.java,
17068         java/text/NumberFormat.java,
17069         java/text/RuleBasedCollator.java:
17070         Cleaned up imports.
17072 2004-05-05  Tom Tromey  <tromey@redhat.com>
17074         * java/text/Format.java: Cleaned up imports.
17075         * java/text/DecimalFormat.java: Cleaned up imports.
17076         * java/security/SecureRandom.java: Cleaned up imports.
17077         (SecureRandom): Removed unused variable.
17078         * java/security/UnresolvedPermission.java: Cleaned up imports.
17079         * java/util/Date.java (parse): Removed unused variable.
17080         * java/util/ResourceBundle.java: Cleaned up imports.
17081         (getBundle): Removed unused variable.
17082         (tryBundle): Likewise.
17083         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
17085 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
17087         * java/text/SimpleDateFormat.java:
17088         (formatWithAttribute): New method. It implements
17089         the formatting process with attributes.
17090         (format): Use formatWithAttribute.
17091         (formatToCharacterIterator): New method. Use
17092         formatWithAttribute.
17094 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
17096         * java/text/MessageFormat.java:
17097         (class Field): New class.
17098         (formatToCharacterIterator): New method.
17099         (format): Use formatInternal now.
17100         (formatInternal): New method. String formatter should
17101         be done here (with attributes). Attributes merging supported.
17102         (parse): More documentation.
17103         (getFormatsByArgumentIndex): New method.
17104         (setFormatByArgumentIndex): New method.
17105         (setFormatsByArgumentIndex): New method.
17107 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
17109         * java/text/DecimalFormat.java
17110         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
17111         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
17112         (parse): Fixed handling of exponentiation notation and grouping.
17114 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
17116         * java/text/DecimalFormat.java
17117         (scanFix): Build attribute array. Fixed error reporting.
17118         (applyPatternWithSymbols): Store attributes for the prefix and
17119         suffix.
17120         (formatInternal): New method. Changed the way the string is
17121         computed. Implemented attributes. Cleant up rounding in
17122         exponential notation.
17123         (format): Use formatInternal.
17124         (formatToCharacterIterator): New method.
17125         (exponentRound, negativePrefixRanges, positivePrefixRanges,
17126         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
17127         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
17128         New fields.
17130 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
17132         * java/security/interfaces/DSAKeyPairGenerator.java,
17133         java/security/interfaces/DSAPrivateKey.java,
17134         java/security/interfaces/DSAPublicKey.java,
17135         java/security/interfaces/RSAPrivateKey.java,
17136         java/security/interfaces/RSAPublicKey.java:
17137         Cleaned up imports.
17139 2004-05-04  Michael Koch  <konqueror@gmx.de>
17141         * java/nio/ByteBuffer.java,
17142         java/nio/CharBuffer.java,
17143         java/nio/DoubleBuffer.java,
17144         java/nio/FloatBuffer.java,
17145         java/nio/IntBuffer.java,
17146         java/nio/LongBuffer.java,
17147         java/nio/ShortBuffer.java:
17148         (compareTo): Fixed bogus implementation in all buffer classes.
17150 2004-05-04  Ingo Proetel  <proetel@aicas.com>
17152         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
17153         32 bit pixels not 8 bit pixels.
17154         (isCompatibleRaster): Added javadoc comment.
17156 2004-05-04  Ingo Proetel  <proetel@aicas.com>
17158         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
17159         scanline stride.
17161 2004-05-04  Ingo Proetel  <proetel@aicas.com>
17163         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
17164         (getColorModel): Return the actual color model.
17165         (getRaster): Implemented.
17166         (ColorRaster): New inner class.
17167         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
17168         a PaintContext.
17169         * java/awt/Color.java (<init>): Make exception more verbose.
17170         (createContext): Use ColorModel when creating a PaintContext.
17172 2004-05-04  Michael Koch  <konqueror@gmx.de>
17174         * gnu/java/text/CharacterBreakIterator.java
17175         (previous): Removed unused variable.
17177 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
17179         * gnu/java/text/FormatBuffer.java,
17180         gnu/java/text/AttributedFormatBuffer.java,
17181         gnu/java/text/StringFormatBuffer.java: New classes to implement
17182         attributed iterators in java.text.
17183         * gnu/java/text/FormatCharacterIterator.java: Moved
17184         from java/text as it is an internal class.
17185         * java/text/FormatCharacterIterator.java: Removed.
17186         * java/text/Format.java:
17187         Import gnu.java.text.FormatCharacterIterator.
17188         * Makefile.am (java_source_files): Added new files.
17189         * Makefile.in: Regenerated.
17192 2004-05-04  Mark Wielaard  <mark@klomp.org>
17194         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
17196 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
17198         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
17199         * Makefile.in: Rebuilt.
17201 2004-05-03  Mark Wielaard  <mark@klomp.org>
17203         * gnu/java/security/der/DERReader.java: Call static methods staticly.
17204         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
17205         * java/net/URL.java
17206         (set(String, String, int, String, String, String, String, String)):
17207         Assign this.file to path or path + "?" + query.
17208         * java/util/Arrays.java: Call static methods staticly.
17209         * java/util/zip/ZipEntry.java: Likewise.
17210         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
17211         dir to this.direction.
17212         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
17213         Assign static field only once.
17214         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
17216 2004-05-03  Mark Wielaard  <mark@klomp.org>
17218         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
17219         unused variables hScrollbarHeight and vScrollbarWidth.
17220         (preferredSize): Likewise.
17221         * gnu/java/security/provider/DSAParameters.java (engineToString):
17222         Removed unused call to System.getProperty("line.seperator");
17223         * java/security/Security.java (loadProviders): Return result.
17225 2004-05-03  Tom Tromey  <tromey@redhat.com>
17227         * java/net/URLStreamHandler.java (toExternalForm): Removed
17228         unused variables.
17229         unused constructor.
17230         * java/math/BigDecimal.java (divide): Removed unused variable.
17231         * java/lang/Throwable.java: Cleaned up imports.
17232         * java/lang/ClassLoader.java: Cleaned up imports.
17233         * java/io/FilePermission.java (implies): Removed unused
17234         variable.
17235         * java/awt/TextComponent.java: Removed unused import.
17236         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
17237         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
17238         * gnu/java/text/WordBreakIterator.java: Removed unused import.
17239         * gnu/java/text/SentenceBreakIterator.java: Removed unused
17240         import.
17241         * gnu/java/text/LineBreakIterator.java: Removed unused import.
17242         * gnu/java/text/CharacterBreakIterator.java: Removed
17243         unused import.
17244         * gnu/java/security/provider/DSAKeyPairGenerator.java:
17245         Cleaned up imports.
17246         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
17247         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
17248         unused method.
17249         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
17250         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
17251         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
17252         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
17253         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
17254         (lookupProviders): Removed unused variable.
17255         (loadNextServiceProvider): Likewise.
17256         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
17258 2004-05-03  Michael Koch  <konqueror@gmx.de>
17260         Fixes PR libgcj/14695:
17261         * java/net/NetworkInterface.java
17262         (getByName): Return null when no interface was found.
17264 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
17265             Tom Tromey  <tromey@redhat.com>
17267         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
17268         additional option "-Wmissing-prototypes" for compiling C sources.
17269         Print actual filename for pass/fail rather than $name.c.
17270         * testsuite/libjava.jni/PR15133.java: New testcase file.
17271         * testsuite/libjava.jni/PR15133.c: Likewise.
17272         * testsuite/libjava.jni/PR15133.out: Likewise.
17274 2004-04-30  Roger Sayle  <roger@eyesopen.com>
17276         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
17277         ceil and floor.
17279 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
17281         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
17282         limit the maximum heap size to avoid unnecessary thrashing.
17284 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
17286         * java/text/CollationElementIterator.java (reset): Reset
17287         lookahead variables.
17289 2004-04-23  Mark Wielaard  <mark@klomp.org>
17291         * jni/classpath/jcl.c: Changed C++ comments into C comments.
17293 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17295         * java/sql/DriverManager.java:
17296         Cleaned up imports.
17298 2004-04-23  Michael Koch  <konqueror@gmx.de>
17300         * java/net/URL.java
17301         (hashcode): Don't initialize with default value explicitely.
17302         (getContent): Removed redundant "final" keyword.
17303         (openStream): Likewise.
17304         (getURLStreamHandler): Fixed coding style.
17305         * java/net/URLConnection.java
17306         (defaultAllowUserInteraction): Don't initialize with default value
17307         explicitely.
17308         (connected): Likewise.
17309         (doOutput): Likewise.
17310         (ifModifiedSince): Likewise.
17311         (dateformats_initialized): Likewise.
17312         (setURLStreamHander): Use StreamTokenizer where it belongs to.
17314 2004-04-23  Michael Koch  <konqueror@gmx.de>
17316         * gnu/java/nio/channels/FileChannelImpl.java
17317         (SET, CUR): Unused, removed.
17318         (read): Implement here directly.
17319         (implRead): Removed.
17320         (write): Implement here directly.
17321         (implWrite): Removed.
17323 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
17325         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
17326         javax/rmi/CORBA/Stub.java,
17327         javax/rmi/CORBA/Util.java,
17328         javax/rmi/CORBA/ValueHandler.java,
17329         javax/rmi/CORBA/ValueHandler.java,
17330         javax/rmi/PortableRemoteObject.java:
17331         Cleaned up imports.
17333 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17335         * java/util/jar/JarFile.java,
17336         java/util/jar/JarInputStream.java,
17337         java/util/jar/JarOutputStream.java,
17338         java/util/jar/Manifest.java:
17339         Cleaned up imports.
17341 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17343         * java/util/ArrayList.java,
17344         java/util/Calendar.java,
17345         java/util/Currency.java,
17346         java/util/HashMap.java,
17347         java/util/HashSet.java,
17348         java/util/Hashtable.java,
17349         java/util/LinkedList.java,
17350         java/util/Properties.java,
17351         java/util/PropertyPermission.java,
17352         java/util/TimeZone.java,
17353         java/util/TreeMap.java,
17354         java/util/TreeSet.java,
17355         java/util/Vector.java,
17356         java/util/WeakHashMap.java:
17357         Cleaned up imports.
17359 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
17361         * java/util/logging/FileHandler.java,
17362         java/util/logging/Formatter.java,
17363         java/util/logging/Handler.java,
17364         java/util/logging/Logger.java,
17365         java/util/logging/SimpleFormatter.java,
17366         java/util/logging/XMLFormatter.java:
17367         Cleaned up imports.
17369 2004-04-22  Mark Wielaard  <mark@klomp.org>
17371         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
17372         -Wno-long-long flags variable.
17373         (gtk_c_files): Use PEDANTIC_CFLAGS.
17374         * Makefile.in: Regenerated.
17376 2004-04-22  Mark Wielaard  <mark@klomp.org>
17378         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
17379         Changed C++ comments into C comments.
17380         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
17381         Likewise.
17383 2004-04-22  Michael Koch  <konqueror@gmx.de>
17385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
17386         Merged copyright year with GNU classpath.
17388 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
17390         * javax/security/auth/x500/X500Principal.java:
17391         Cleaned up imports.
17393 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
17395         * javax/swing/JSlider.java:
17396         Fixed HTML tags in comments.
17398 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
17400         * javax/accessibility/AccessibleText.java:
17401         Cleaned up imports.
17403 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
17405         * java/net/URLStreamHandler.java
17406         (parseURL): Convert the file path to using '/' instead of native
17407         file separator.
17409 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
17411         * java/net/URL.java
17412         (userInfo): New field.
17413         (URL): Set authority to the right value.
17414         (setURL): Fixed authority and file initialization.
17415         * java/net/URLStreamHandler.java
17416         (parseURL): Take care of the query tag. Build authority.
17417         (toExternalForm): Fixed URL building using authority.
17419 2004-04-22  Michael Koch  <konqueror@gmx.de>
17421         * java/net/Socket.java
17422         (impl): Made package-private.
17423         * java/net/ServerSocket.java
17424         (implAccept): Access Socket.impl field directly.
17426 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
17428         * java/util/prefs/Preferences.java,
17429         java/util/prefs/InvalidPreferencesFormatException.java,
17430         java/util/prefs/BackingStoreException.java,
17431         java/util/prefs/AbstractPreferences.java:
17432         Cleaned up imports.
17434 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
17436         * java/util/regex/Matcher.java,
17437         java/util/regex/Pattern.java:
17438         Cleaned up imports.
17440 2004-04-22  Michael Koch  <konqueror@gmx.de>
17442         * java/nio/charset/IllegalCharsetNameException.java
17443         (charsetName): Made private.
17444         (IllegalCharsetNameException): Added @param tag to javadoc.
17445         (getCharsetName): Added @return tag to javadoc.
17446         * java/nio/charset/MalformedInputException.java
17447         (MalformedInputException): Added @param tag to javadoc.
17448         (getInputLength): Revised method description, added @return tag.
17449         (getMessage): Added @return tag.
17451 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
17453         * java/awt/Font.java (deriveFont): Implement missing variants.
17454         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
17455         missing variants.
17457 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
17459         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
17460         Set method->index values for interface methods to their itable index.
17461         (initializeClass): Call _Jv_LayoutInterfaceMethods.
17463 2004-04-21  Michael Koch  <konqueror@gmx.de>
17465         * java/nio/DirectByteBufferImpl.java
17466         (shiftDown): Made static, give address as argument and
17467         provide a convenience method that overwrites shiftDown in
17468         ByteBufferImpl and calls the native shiftDown.
17469         * java/nio/MappedByteBufferImpl.java
17470         (): Use optimized method in DirectByteBufferImpl.
17471         * java/nio/natDirectByteBufferImpl.cc
17472         (shiftDown): Changed method signature. Removed usage of array_offset.
17474 2004-04-21  Michael Koch  <konqueror@gmx.de>
17476         * gnu/java/net/natPlainSocketImplPosix.cc
17477         (SocketInputStream::read): Make sure returned data is a byte value.
17479 2004-04-21  Michael Koch  <konqueror@gmx.de>
17481         * gnu/classpath/ServiceFactory.java,
17482         gnu/classpath/ServiceProviderLoadingAction.java,
17483         javax/imageio/ImageReader.java,
17484         javax/imageio/ImageTranscoder.java,
17485         javax/imageio/ImageWriter.java,
17486         javax/imageio/package.html,
17487         javax/imageio/spi/IIOServiceProvider.java,
17488         javax/imageio/spi/ImageInputStreamSpi.java,
17489         javax/imageio/spi/ImageOutputStreamSpi.java,
17490         javax/imageio/spi/ImageReaderWriterSpi.java,
17491         javax/imageio/spi/ImageTranscoderSpi.java,
17492         javax/imageio/spi/RegisterableService.java,
17493         javax/imageio/spi/ServiceRegistry.java,
17494         javax/imageio/spi/package.html,
17495         javax/imageio/stream/IIOByteBuffer.java,
17496         javax/imageio/stream/ImageInputStream.java,
17497         javax/imageio/stream/ImageOutputStream.java,
17498         javax/imageio/stream/package.html:
17499         New files.
17500         * Makefile.am
17501         (ordinary_java_source_files): Added
17502         gnu/classpath/ServiceFactory.java and
17503         gnu/classpath/ServiceProviderLoadingAction.java.
17504         (javax_source_files): Added
17505         javax/imageio/ImageReader.java,
17506         javax/imageio/ImageTranscoder.java,
17507         javax/imageio/ImageWriter.java,
17508         javax/imageio/spi/IIOServiceProvider.java,
17509         javax/imageio/spi/ImageInputStreamSpi.java,
17510         javax/imageio/spi/ImageOutputStreamSpi.java,
17511         javax/imageio/spi/ImageReaderWriterSpi.java,
17512         javax/imageio/spi/ImageTranscoderSpi.java,
17513         javax/imageio/spi/RegisterableService.java,
17514         javax/imageio/spi/ServiceRegistry.java,
17515         javax/imageio/stream/IIOByteBuffer.java,
17516         javax/imageio/stream/ImageInputStream.java and
17517         javax/imageio/stream/ImageOutputStream.java.
17518         * Makefile.in: Regenerated.
17520 2004-04-21  Michael Koch  <konqueror@gmx.de>
17522         * java/util/Properties.java
17523         (load): Fix wrongly merged fix.
17525 2004-04-21  Mark Wielaard  <mark@klomp.org>
17527         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
17528         malloc and free buf.
17530 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
17532         * javax/naming/AuthenticationException.java,
17533         javax/naming/AuthenticationNotSupportedException.java,
17534         javax/naming/CannotProceedException.java,
17535         javax/naming/CommunicationException.java,
17536         javax/naming/CompoundName.java,
17537         javax/naming/ConfigurationException.java,
17538         javax/naming/ContextNotEmptyException.java,
17539         javax/naming/InitialContext.java,
17540         javax/naming/InsufficientResourcesException.java,
17541         javax/naming/InterruptedNamingException.java,
17542         javax/naming/LimitExceededException.java,
17543         javax/naming/LinkException.java,
17544         javax/naming/LinkLoopException.java,
17545         javax/naming/LinkRef.java,
17546         javax/naming/MalformedLinkException.java,
17547         javax/naming/Name.java,
17548         javax/naming/NameAlreadyBoundException.java,
17549         javax/naming/NameNotFoundException.java,
17550         javax/naming/NamingSecurityException.java,
17551         javax/naming/NoInitialContextException.java,
17552         javax/naming/NoPermissionException.java,
17553         javax/naming/NotContextException.java,
17554         javax/naming/PartialResultException.java,
17555         javax/naming/ReferralException.java,
17556         javax/naming/ServiceUnavailableException.java,
17557         javax/naming/SizeLimitExceededException.java,
17558         javax/naming/TimeLimitExceededException.java,
17559         javax/naming/directory/Attribute.java,
17560         javax/naming/directory/Attributes.java,
17561         javax/naming/directory/SearchResult.java,
17562         javax/naming/event/NamingExceptionEvent.java,
17563         javax/naming/spi/ResolveResult.java:
17564         Cleaned up imports.
17566 2004-04-21  Mark Wielaard  <mark@klomp.org>
17568         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
17569         Changed C++ comments into C comments. Removed commented out code.
17570         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
17571         Likewise.
17572         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
17573         Likewise.
17574         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
17575         Likewise.
17576         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
17577         Likewise.
17578         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
17579         Likewise.
17580         * native/jni/gtk-peer/gthread-jni.c:
17581         Likewise.
17583 2004-04-21  Mark Wielaard  <mark@klomp.org>
17585         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
17586         static fields defined in interface.
17587         * javax/awt/JDialog.java: Likewise.
17588         (JDialog): Make constructors public.
17589         (getDefaultCloseOperation): Make public.
17590         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
17591         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
17592         * javax/swing/JViewport.java (JViewport): Make constructor public.
17594 2004-04-21  Michael Koch  <konqueror@gmx.de>
17596         * java/util/Map.java
17597         (Entry): Removed redundant "static" modifier.
17598         * java/text/AttributedCharacterIterator.java:
17599         Updated copyright year.
17601 2004-04-20  Michael Koch  <konqueror@gmx.de>
17603         * javax/naming/directory/SearchControls.java:
17604         Don't explicitely extend java.lang.Object.
17605         * javax/naming/spi/DirStateFactory.java:
17606         Merged copyright year with GNU classpath.
17608 2004-04-20  Michael Koch  <konqueror@gmx.de>
17610         * java/nio/channels/Channels.java:
17611         Merged coding style with GNU classpath.
17613 2004-04-20  Michael Koch  <konqueror@gmx.de>
17615         * java/net/ServerSocket.java
17616         Merged coding style from GNU classpath.
17618 2004-04-20  Michael Koch  <konqueror@gmx.de>
17620         * java/io/BufferedWriter.java:
17621         Reordered variables to be at top of the class.
17622         (localFlush): Removed redundant final keyword.
17624 2004-04-20  Ingo Proetel  <proetel@aicas.com>
17626         * java/awt/event/MouseEvent.java (<init>): fixed field assignment
17628 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
17630         * java/text/DecimalFormat.java (scanFix): Removed suffix check
17631         for percent and permill check.
17633 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
17635         * java/text/FieldPosition.java
17636         (FieldPosition) Constructor now behaves as it should according
17637         to the java documentation.
17639 2004-04-20  Mark Wielaard  <mark@klomp.org>
17641         * java/util/Properties.java: Use the word umlaut, not &auml; in api
17642         documentation.
17644 2004-04-20  Michael Koch  <konqueror@gmx.de>
17646         * java/nio/Buffer.java,
17647         java/nio/channels/AlreadyConnectedException.java,
17648         java/nio/channels/AsynchronousCloseException.java,
17649         java/nio/channels/ByteChannel.java,
17650         java/nio/channels/CancelledKeyException.java,
17651         java/nio/channels/Channel.java,
17652         java/nio/channels/Channels.java,
17653         java/nio/channels/ClosedByInterruptException.java,
17654         java/nio/channels/ClosedChannelException.java,
17655         java/nio/channels/ClosedSelectorException.java,
17656         java/nio/channels/ConnectionPendingException.java,
17657         java/nio/channels/DatagramChannel.java,
17658         java/nio/channels/FileChannel.java,
17659         java/nio/channels/FileLock.java,
17660         java/nio/channels/FileLockInterruptionException.java,
17661         java/nio/channels/GatheringByteChannel.java,
17662         java/nio/channels/IllegalBlockingModeException.java,
17663         java/nio/channels/IllegalSelectorException.java,
17664         java/nio/channels/InterruptibleChannel.java,
17665         java/nio/channels/NoConnectionPendingException.java,
17666         java/nio/channels/NonReadableChannelException.java,
17667         java/nio/channels/NonWritableChannelException.java,
17668         java/nio/channels/NotYetBoundException.java,
17669         java/nio/channels/NotYetConnectedException.java,
17670         java/nio/channels/OverlappingFileLockException.java,
17671         java/nio/channels/Pipe.java,
17672         java/nio/channels/ReadableByteChannel.java,
17673         java/nio/channels/ScatteringByteChannel.java,
17674         java/nio/channels/SelectableChannel.java,
17675         java/nio/channels/SelectionKey.java,
17676         java/nio/channels/Selector.java,
17677         java/nio/channels/ServerSocketChannel.java,
17678         java/nio/channels/SocketChannel.java,
17679         java/nio/channels/UnresolvedAddressException.java,
17680         java/nio/channels/UnsupportedAddressTypeException.java,
17681         java/nio/channels/WritableByteChannel.java,
17682         java/nio/channels/spi/AbstractInterruptibleChannel.java,
17683         java/nio/channels/spi/AbstractSelectableChannel.java,
17684         java/nio/channels/spi/AbstractSelectionKey.java,
17685         java/nio/channels/spi/AbstractSelector.java,
17686         java/nio/channels/spi/SelectorProvider.java,
17687         java/nio/charset/spi/CharsetProvider.java:
17688         Fixed javadocs and jalopied all over java.nio.
17690 2004-04-20  Michael Koch  <konqueror@gmx.de>
17692         * java/nio/ByteBufferImpl.java,
17693         java/nio/CharBufferImpl.java,
17694         java/nio/DirectByteBufferImpl.java,
17695         java/nio/DoubleBufferImpl.java,
17696         java/nio/DoubleViewBufferImpl.java,
17697         java/nio/FloatBufferImpl.java,
17698         java/nio/FloatViewBufferImpl.java,
17699         java/nio/IntBufferImpl.java,
17700         java/nio/IntViewBufferImpl.java,
17701         java/nio/LongBufferImpl.java,
17702         java/nio/LongViewBufferImpl.java,
17703         java/nio/MappedByteBufferImpl.java,
17704         java/nio/ShortBufferImpl.java,
17705         java/nio/ShortViewBufferImpl.java:
17706         Made sure all classes are final and removed final keyword from all
17707         methods.
17709 2004-04-20  Michael Koch  <konqueror@gmx.de>
17711         * java/rmi/MarshalledObject.java,
17712         java/rmi/Naming.java,
17713         java/rmi/RemoteException.java,
17714         java/rmi/activation/ActivationException.java,
17715         java/rmi/server/ServerCloneException.java,
17716         java/security/AccessController.java,
17717         java/security/AlgorithmParameterGenerator.java,
17718         java/security/AlgorithmParameters.java,
17719         java/security/CodeSource.java,
17720         java/security/Identity.java,
17721         java/security/IdentityScope.java,
17722         java/security/KeyPairGenerator.java,
17723         java/security/KeyStore.java,
17724         java/security/Security.java,
17725         java/security/Signature.java,
17726         java/security/SignatureSpi.java,
17727         java/security/SignedObject.java,
17728         java/security/spec/DSAParameterSpec.java,
17729         java/security/spec/DSAPrivateKeySpec.java,
17730         java/security/spec/DSAPublicKeySpec.java,
17731         java/sql/Array.java,
17732         java/sql/DatabaseMetaData.java,
17733         java/sql/ResultSet.java,
17734         java/text/ChoiceFormat.java,
17735         java/text/CollationElementIterator.java,
17736         java/text/CollationKey.java,
17737         java/text/Collator.java,
17738         java/text/DateFormat.java,
17739         java/text/DateFormatSymbols.java,
17740         java/text/DecimalFormatSymbols.java,
17741         java/text/Format.java,
17742         java/text/ParsePosition.java,
17743         java/text/RuleBasedCollator.java,
17744         java/text/SimpleDateFormat.java,
17745         java/text/StringCharacterIterator.java,
17746         java/util/Collections.java,
17747         java/util/PropertyResourceBundle.java,
17748         java/util/ResourceBundle.java,
17749         java/util/StringTokenizer.java,
17750         java/util/jar/Attributes.java,
17751         java/util/logging/ConsoleHandler.java,
17752         java/util/logging/LogManager.java,
17753         java/util/logging/MemoryHandler.java,
17754         java/util/logging/SocketHandler.java,
17755         javax/naming/NamingException.java:
17756         Fixed javadoc, coding style and argument names all over.
17758 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
17760         * java/io/FileDescriptor.java: (FileDescriptor) Added public
17761         constructor. (valid) Added null check.
17763 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
17765         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
17766         * java/io/FileOutputStream.java
17767         (FileOutputStream) Reorganized constructors. Constructors now
17768         check whether the given path is directory.
17770 2004-04-20  Michael Koch  <konqueror@gmx.de>
17772         * java/net/Authenticator.java,
17773         java/net/BindException.java,
17774         java/net/ConnectException.java,
17775         java/net/ContentHandler.java,
17776         java/net/ContentHandlerFactory.java,
17777         java/net/DatagramPacket.java,
17778         java/net/DatagramSocket.java,
17779         java/net/DatagramSocketImpl.java,
17780         java/net/DatagramSocketImplFactory.java,
17781         java/net/FileNameMap.java,
17782         java/net/HttpURLConnection.java,
17783         java/net/Inet4Address.java,
17784         java/net/Inet6Address.java,
17785         java/net/InetAddress.java,
17786         java/net/InetSocketAddress.java,
17787         java/net/JarURLConnection.java,
17788         java/net/MalformedURLException.java,
17789         java/net/MulticastSocket.java,
17790         java/net/NetPermission.java,
17791         java/net/NetworkInterface.java,
17792         java/net/NoRouteToHostException.java,
17793         java/net/PasswordAuthentication.java,
17794         java/net/PortUnreachableException.java,
17795         java/net/ProtocolException.java,
17796         java/net/ServerSocket.java,
17797         java/net/Socket.java,
17798         java/net/SocketAddress.java,
17799         java/net/SocketException.java,
17800         java/net/SocketImpl.java,
17801         java/net/SocketImplFactory.java,
17802         java/net/SocketOptions.java,
17803         java/net/SocketPermission.java,
17804         java/net/SocketTimeoutException.java,
17805         java/net/URI.java,
17806         java/net/URISyntaxException.java,
17807         java/net/URL.java,
17808         java/net/URLClassLoader.java,
17809         java/net/URLConnection.java,
17810         java/net/URLDecoder.java,
17811         java/net/URLEncoder.java,
17812         java/net/URLStreamHandler.java,
17813         java/net/URLStreamHandlerFactory.java,
17814         java/net/UnknownHostException.java,
17815         java/net/UnknownServiceException.java:
17816         Fixed javadocs, coding style and argument names all over.
17818 2004-04-20  Michael Koch  <konqueror@gmx.de>
17820         * java/lang/Byte.java,
17821         java/lang/CharSequence.java,
17822         java/lang/ClassLoader.java,
17823         java/lang/Compiler.java,
17824         java/lang/Double.java,
17825         java/lang/Float.java,
17826         java/lang/Integer.java,
17827         java/lang/Long.java,
17828         java/lang/Math.java,
17829         java/lang/Number.java,
17830         java/lang/Package.java,
17831         java/lang/Runtime.java,
17832         java/lang/RuntimePermission.java,
17833         java/lang/SecurityManager.java,
17834         java/lang/Short.java,
17835         java/lang/StringBuffer.java,
17836         java/lang/System.java,
17837         java/lang/ThreadGroup.java,
17838         java/lang/Throwable.java,
17839         java/lang/reflect/InvocationHandler.java,
17840         java/lang/reflect/Proxy.java:
17841         Fixed javadocs, coding style and argument names all over.
17843 2004-04-20  Michael Koch  <konqueror@gmx.de>
17845         * java/io/BufferedWriter.java,
17846         java/io/ByteArrayInputStream.java,
17847         java/io/CharArrayWriter.java,
17848         java/io/DataInput.java,
17849         java/io/DataInputStream.java,
17850         java/io/File.java,
17851         java/io/FilterInputStream.java,
17852         java/io/InputStream.java,
17853         java/io/InputStreamReader.java,
17854         java/io/ObjectInputStream.java,
17855         java/io/ObjectStreamClass.java,
17856         java/io/PipedInputStream.java,
17857         java/io/PipedReader.java,
17858         java/io/PushbackInputStream.java,
17859         java/io/PushbackReader.java,
17860         java/io/RandomAccessFile.java,
17861         java/io/SerializablePermission.java,
17862         java/io/StreamTokenizer.java,
17863         java/io/StringWriter.java,
17864         java/io/WriteAbortedException.java,
17865         java/io/Writer.java:
17866         Fixed javadocs all over, rename arguments to match javadocs,
17867         fixed coding style.
17869 2004-04-20  Ingo Proetel  <proetel@aicas.com>
17871         * java/awt/FontMetrics.java:
17872         (charsWidth): fixed accumulation of total_width
17873         (getWidth): simple default implementation
17874         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
17875         in Rectangle constructor.
17876         * java/awt/image/Raster.java (toString): Added method.
17877         * java/awt/image/SampleModel.java (<init>): Added error cause
17878         information to thrown exception.
17879         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
17880         New method.
17881         (setDataElements): New method.
17882         (setPixels): New method.
17883         (toString): New method.
17885 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
17887         * java/awt/image/ComponentColorModel.java
17888         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
17889         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
17890         Mauve tests on this method. Improved documentation.
17892 2004-04-20  Michael Koch  <konqueror@gmx.de>
17894         * javax/swing/JLayeredPane.java,
17895         javax/swing/plaf/BorderUIResource.java,
17896         javax/swing/plaf/ComponentUI.java,
17897         javax/swing/undo/CompoundEdit.java,
17898         javax/swing/undo/StateEdit.java:
17899         Fixed HTML tags in javadocs all over.
17901 2004-04-20  Michael Koch  <konqueror@gmx.de>
17903         * javax/print/attribute/EnumSyntax.java
17904         (getOffset): Made protected.
17905         * javax/print/attribute/HashAttributeSet.java
17906         (HashAttributeSet): Likewise.
17907         * javax/print/attribute/ResolutionSyntax.java
17908         (getFeedResolution): Fixed typo in exception name.
17909         (getCrossFeedResolution): Likewise.
17910         * javax/print/attribute/SetOfIntegerSyntax.java
17911         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
17912         * javax/print/attribute/TextSyntax.java
17913         (TextSyntax): Handle locale correctly.
17914         (hashCode): Calc better hashcode value.
17915         (equals): Fixed @return tag.
17916         (toString): New method.
17918 2004-04-20  Michael Koch  <konqueror@gmx.de>
17920         * gnu/java/nio/FileLockImpl.java
17921         (static): Removed, not needed anymore.
17922         * gnu/java/nio/channels/FileChannelImpl.java
17923         (FileChannelImpl): Made final.
17924         (mode): Made private.
17925         (READ, WRITE, APPEND): Made public.
17926         (EXCL, SYNC, DSYNC): Likewise.
17927         (static): Load native JNI library, when needed.
17928         (length): Unused, removed.
17929         (available): Made public.
17930         (implPosition): Throws IOException.
17931         (seek): Likewise.
17932         (implTruncate): Likewise.
17933         (unlock): Likewise.
17934         (lock): Likewise.
17936 2004-04-20  Michael Koch  <konqueror@gmx.de>
17938         * java/awt/AWTPermission.java,
17939         java/awt/Component.java,
17940         java/awt/ComponentOrientation.java,,
17941         java/awt/Dialog.java,
17942         java/awt/FontMetrics.java,
17943         java/awt/Graphics.java,
17944         java/awt/datatransfer/DataFlavor.java,
17945         java/beans/Introspector.java,
17946         java/beans/PropertyEditor.java,
17947         java/beans/PropertyEditorManager.java,
17948         java/beans/beancontext/BeanContextServiceProvider.java:
17949         Fixed HTML tags in javadocs all over.
17951 2004-04-20  Mark Wielaard  <mark@klomp.org>
17953         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
17954         MissingResourceException is thrown.
17955         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
17956         null when a MissingResourceException is thrown. Should never happen.
17958 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
17960         * java/awt/image/DataBufferShort.java,
17961         java/awt/image/DataBufferFloat.java,
17962         java/awt/image/DataBufferDouble.java,
17963         java/awt/image/PixelInterleavedSampleModel.java: New files.
17964         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
17965         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
17967 2004-04-20  Michael Koch  <konqueror@gmx.de>
17969         * Makefile.am (java_source_files): Added
17970         java/awt/image/DataBufferDouble.java,
17971         java/awt/image/DataBufferFloat.java,
17972         java/awt/image/DataBufferShort.java and
17973         java/awt/image/PixelInterleavedSampleModel.java.
17974         * Makefile.in: Regenerated.
17976 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
17978         * gcj/cni.h (JvAllocObject): Remove these obsolete,
17979         undocumented CNI calls.
17980         * include/java-interp.h (_Jv_InterpClass): No longer
17981         extends java.lang.Class.
17982         * java/lang/Class.h (Class): Add new field `aux_info'.
17983         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
17984         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
17985         Use Class->aux_info instead.
17986         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
17987         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
17988         Use Class->aux_info instead.
17989         * java/io/natObjectInputStream.cc (allocateObject): Use
17990         _Jv_AllocObject.
17991         * java/lang/natClass.cc (newInstance): Likewise.
17992         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
17993         * java/lang/natObject.cc (clone): Likewise.
17994         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
17995         * java/lang/natVMClassLoader.cc (defineClass): Don't use
17996         JvAllocObject. Allocate klass->aux_info here for interpreted
17997         class.
17999 2004-04-17  Mark Wielaard  <mark@klomp.org>
18001         * javax/swing/JToggleButton.java (ToggleButtonModel):
18002         Make public static inner class.
18003         * javax/swing/JTabbedPane.java (setComponentAt):
18004         Call Page.setComponent().
18005         (SCROLL_TAB_LAYOUT): Make public, value is 1.
18006         (WRAP_TAB_LAYOUT): Make public, value is 0.
18007         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
18008         Make private static inner class.
18010 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
18012         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
18013         arguments to match new signature. Remove FIXME comments.
18015 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
18017         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
18018         Remove method.
18019         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
18020         unused code.
18022 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
18024         * Makefile.am: Added new file.
18025         * Makefile.in: Regenerate.
18026         * javax/swing/ImageIcon.java:
18027         (ImageIcon(file)): set description of the icon
18028         to the file name
18029         * javax/swing/JCheckBoxMenuItem.java:
18030         Mostly Implemented. Work in progress.
18031         * javax/swing/JRadioButtonMenuItem.java:
18032         Reimplement constructors to use JToggleButtonModel.
18033         * javax/swing/plaf/basic/BasicIconFactory.java:
18034         (getCheckBoxMenuItemIcon): return check box
18035         icon.
18036         * javax/swing/plaf/basic/BasicMenuItemUI.java:
18037         paint menu item selected only when it is armed and
18038         pressed.
18040 2004-04-02  David Jee  <djee@redhat.com>
18042         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
18043         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
18044         * java/awt/Component.java
18045         (add): Set the parent of the popup as this component.
18046         * java/awt/PopupMenu.java
18047         (addNotify): Create popup menu when peer is null.
18048         (show): Call addNotify() if peer is null.
18049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
18050         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
18051         argument for gtk_menu_popup() as zero. This causes the popup menu to
18052         respond to any mouse button.
18054 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
18056         * Makefile.am: Added new file.
18057         * Makefile.in: Regenerate.
18058         * javax/swing/JRadioButtonMenuItem.java:
18059         Implemented.
18060         * javax/swing/plaf/basic/BasicIconFactory.java:
18061         (getRadioButtonMenuItemIcon): Return
18062         radio button icon.
18063         * javax/swing/plaf/basic/BasicMenuItemUI.java:
18064         (getPreferredSize): Add size of checkIcon if it
18065         exists.
18066         (installDefaults): Don't initialize checkIcon.
18067         It's value will be set in subclasses.
18068         (uninstallDefaults): remove uninstallation of
18069         checkIcon.
18070         (paint): Moved code to paintMenuItem().
18071         (paintMenuItem): Implemented.
18072         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
18073         UI delegate for JRadioButtonMenuItem.
18075 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
18077         * javax/swing/plaf/basic/BasicMenuItemUI.java:
18078         Corrected position of the accelerator.
18080 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
18082         * Makefile.am: Added new file.
18083         * Makefile.in: Regenerate.
18084         * javax/swing/JMenuItem.java: Partly
18085         implemented. Work in progress
18086         * javax/swing/plaf/basic/BasicLookAndFeel.java:
18087         Changed default value of acceleratorDelimiter.
18088         * javax/swing/plaf/basic/BasicMenuItemUI.java:
18089         New class. Partly implemented.
18091 2004-03-26  Mark Wielaard  <mark@klomp.org>
18093         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
18094         (item_activate): Declare label before use.
18095         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18096         (gtkSetFont): Removed unused variable label.
18097         (addExposeFilter): Declare variables before use.
18098         (removeExposeFilter): Likewise.
18099         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
18100         (ok_clicked): Declare str_fileName before use.
18102 2004-03-26  David Jee  <djee@redhat.com>
18104         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
18105         (addSeparator): Remove.
18106         * java/awt/Menu.java
18107         (separator): Remove static final MenuItem field.
18108         (separatorLabel): New static final String field.
18109         (addSeparator): Do not use peer method; use add(MenuItem) instead.
18110         Use separatorLabel to denote that it is a separator.
18111         (insertSeparator): Create a new MenuItem with separatorLabel, instead
18112         of reusing the static separator instance, because a MenuItem instance
18113         can't be added more than once without being cloned.
18114         * java/awt/peer/MenuPeer.java
18115         (addSeparator): Remove from interface.
18117 2004-03-26  David Jee  <djee@redhat.com>
18119         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
18120         (connectSignals): New native method declaration.
18121         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
18122         * java/awt/MenuItem.java
18123         (getActionCommand): Return the label if the action command is not set.
18124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
18125         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
18126         gtk_menu_shell_append().
18127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
18128         (item_activate): Fix argument type.
18129         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
18130         signal here.
18131         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
18132         method.
18133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
18134         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
18135         given. Add the menu widget's top-level GtkWindow to the global window
18136         group, so it can grab the pointer.
18137         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
18138         gtk_menu_shell_append().
18140 2004-03-23  Graydon Hoare  <graydon@redhat.com>
18142         * java/text/AttributedString.java
18143         (addAttribute): Fix off-by-one.
18144         (getIterator): Likewise.
18145         * java/text/AttributedStringIterator.java
18146         (getRunLimit): Correct logic.
18147         (getRunStart): Likewise.
18148         (getAttribute): Fix inequality.
18149         (getAttributes): Likewise.
18150         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
18152 2004-03-23  Kim Ho  <kho@redhat.com>
18154         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
18155         (calculateSizes): Return real width and height.
18157 2004-03-23  Kim Ho  <kho@redhat.com>
18159         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
18160         (calculateTabRects): Set the selectedRun before
18161         trying to rotate tabs.
18163 2004-03-23  Kim Ho  <kho@redhat.com>
18165         * Makefile.am: New file
18166         * Makefile.in: Regenerate
18167         * java/awt/Graphics.java: (drawRect):
18168         Draw to the correct point.
18169         * javax/swing/DefaultSingleSelectionModel.java
18170         (isSelected): Return true if the selected index
18171         is not -1.
18172         * javax/swing/JLabel.java: Do not change mnemonic
18173         index if text is null.
18174         * javax/swing/JProgressBar.java: Use JComponent's
18175         EventListenerList.
18176         * javax/swing/JScrollBar.java: Ditto.
18177         * javax/swing/JSlider.java: Ditto.
18178         * javax/swing/JTabbedPane.java: Reimplement.
18179         * javax/swing/plaf/basic/BasicLookAndFeel.java:
18180         Add defaults for TabbedPane.
18181         * javax/swing/plaf/basic/BasicArrowButton.java:
18182         Implement
18183         * javax/swing/plaf/basic/BasicProgressBarUI.java:
18184         (paintDeterminate): Don't paint String if it's
18185         empty.
18186         (paintIndeterminate): ditto.
18187         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
18188         Reimplement.
18190 2004-03-19  Michael Koch  <konqueror@gmx.de>
18192         * java/awt/image/AffineTransformOp.java
18193         (AffineTransformOp): Made public.
18194         * javax/swing/JComponent.java
18195         (listenerList): Made protected.
18196         (accessibleContext): Likewise.
18197         * javax/swing/JList.java
18198         (valueChanged): Dont use internal fields of ListSelectionEvent.
18199         * javax/swing/JViewport.java
18200         (getView): Dont use internal fields of Component.
18201         (addImpl): Likewise.
18202         * javax/swing/Timer.java
18203         (isRunning): Made public.
18204         (start): Likewise.
18205         (stop): Likewise.
18206         * javax/swing/UIDefaults.java
18207         (getInt): Made public.
18208         * javax/swing/plaf/basic/BasicListUI.java
18209         (mousePressed): Dont use internal fields of MouseEvent.
18210         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
18211         * javax/swing/plaf/basic/BasicScrollBarUI.java
18212         (arrowIcon): Made static.
18213         * javax/swing/plaf/basic/BasicViewportUI.java
18214         (stateChanged): Dont use internal field on ChangeEvent.
18215         * javax/swing/text/JTextComponent.java
18216         (getUI): Call UIManager.getUI().
18217         (updateUI): Use getUI().
18219 2004-03-19  Graydon Hoare  <graydon@redhat.com>
18221         * javax/swing/JComponent.java: Turn off double buffer by default.
18222         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
18223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18224         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
18225         Use cairo to copy areas.
18226         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
18227         Initialize and set clip region.
18229 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
18231         * java/applet/Applet.java (preferredSize): Override deprecated
18232         variant of getPreferredSize.
18233         (minimumSize): Override deprecated variant of getMinimumSize.
18235 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
18237         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18238         (drawImage(img,xform,bgcolor,obs)): New Method.
18239         Helper function that every drawImage method will
18240         use.
18241         (drawRaster): Added new parameter, bgcolor. All
18242         transparent pixels are changed to bgcolor before
18243         image is drawn.
18244         (drawRenderedImage): Fixed to use changed drawRaster().
18245         (drawImage(image,xform,obs): Fixed to use new helper function
18246         (drawImage(image,op,x,y)): Ditto.
18247         (drawImage (img,x,y,observer)): Ditto.
18248         ((PainterThread) bgcolor): New Field.
18249         ((PainterThread) (setPixels)): Changed all transparent pixels
18250         to bgcolor.
18251         (drawImage(img,x,y,width,height,bgcolor,observer)):
18252         Fixed FIXME - all the transparent pixels are
18253         changed to the specified bgcolor.
18254         (drawImage(img, x, y, width, height, observer): Changed to
18255         use function above.
18256         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
18257         Fixed FIXME- changed all transparent pixels to bgcolor.
18258         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
18259         Changed to use function above.
18261 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
18263         * java/applet/Applet.java (dimensions): New field.
18264         (getDimensions): New method.
18265         (getPreferredSize): Call getDimensions.
18266         (getMinimumSize): Likewise.
18268 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
18270         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
18271         * jni/classpath/jnilink.c: Likewise.
18273         * java/applet/Applet.java (getPreferredSize): New method.
18274         (getMinimumSize): New method.
18276 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
18278         * prims.cc (_Jv_AllocObject): Remove `size' argument.
18279         (_Jv_AllocObjectNoFinalizer): Likewise.
18280         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
18281         (_Jv_AllocPtrFreeObject): Likewise.
18282         (_Jv_AllocString): Moved from natString.cc. Call collector interface
18283         directly even in the JVMPI case.
18284         * gcj/cni.h (JvAllocObject): Remove `size' argument from
18285         _Jv_AllocObject calls.
18286         * gcj/javaprims.h: Update prototypes.
18287         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
18288         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
18289         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
18291 2004-04-14  Andrew Haley  <aph@redhat.com>
18292             Bryce McKinlay  <mckinlay@redhat.com>
18294         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
18295         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
18296         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
18298         * testsuite/libjava.lang/InvokeInterface.java: New file.
18299         * testsuite/libjava.lang/InvokeInterface.out: New file.
18301 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
18303         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
18304         modified lookup().
18305         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
18306         StackTraceElement directly.
18307         (newElement): New native helper method to create StackTraceElement
18308         bypassing Java access control.
18309         (createStackTraceElement): Use newElement() instead of directly
18310         calling StackTraceElement's constructor.
18311         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
18313 2004-04-01  Michael Koch  <konqueror@gmx.de>
18315         * java/lang/SecurityManager.java
18316         (checkAwtEventQueueAccess): Implemented.
18318 2004-04-01  Gary Benson  <gbenson@redhat.com>
18320         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
18321         (_Jv_SearchMethodInClass): Likewise.
18323 2004-03-26  Peter Moon  <peterm@miraculum.com>
18325         * java/text/NumberFormat.java: Fix spelling of setCurrency
18326         method.
18328 2004-03-21  Anthony Green  <green@redhat.com>
18330         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
18331         recursion when searching for the system ClassLoader.
18333 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
18335         * java/net/ServerSocket.java
18336         (accept): Close the socket when error occured.
18338 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
18340         * java/net/URI.java (parseURI): Added unquoting.
18341         (unquote): New method.
18342         (quoteAuthority): Implemented.
18343         (quote(String,String)): New method.
18344         (quotePath): Implemented.
18345         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
18346         (getSchemeSpecificPart): Removed FIXME comment.
18347         (getRawAuthority): Return new rawAuthority field.
18348         (getAuthority): Removed FIXME comment.
18349         (getRawUserInfo): Return new rawUserInfo field.
18350         (getUserInfo): Removed FIXME comment.
18351         (getRawPath): Return new rawPath field.
18352         (getPath): Removed FIXME comment.
18353         (getRawQuery): Return new rawQuery field.
18354         (getQuery): Removed FIXME comment.
18355         (getRawFragment): Return new rawFragment field.
18356         (getFragment): Removed FIXME comment.
18358 2004-03-20  Michael Koch  <konqueror@gmx.de>
18360         * java/net/URLConnection.java: Merged copyright year with classpath.
18362 2004-03-20  Norbert Frese  <postfach@nfrese.net>
18364         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
18365         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
18366         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
18367         rmi-message.
18368         (getObjectInputStream): Return object reference, throw IOException if null.
18369         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
18370         (getObjectOutputStream): Return object reference, throw IOException if null.
18371         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
18372         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
18373         (UnicastConnectionManager): Throw RemoteException if port is not available.
18374         (getInstance): Throw RemoteException.
18375         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
18376         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
18377         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
18378         Collect Exceptions which are returned by a rmi-call and fix void returns.
18379         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
18380         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
18381         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
18382         (dispatch): Answer ping messages which are sent by other java implementions.
18383         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
18384         for every rmi-message and fix void return problems.
18385         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
18386         (UnicastServerRef): Throw RemoteException.
18387         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
18388         In some situations it is necessary to export a subclass of the class which has the _Stub.
18389         For instance when the class with has the _Stub is abstract.
18390         (findStubSkelClass): New method which looks for the class which has the _Stub.
18391         (getClientHost): Implementated.
18392         * gcc/libjava/java/rmi/server/RemoteServer.java
18393         (getClientHost): Implementated.
18394         * gcc/libjava/Makefile.am (rmi_java_source_files):
18395         Added gnu/java/rmi/server/RMIIncomingThread.java.
18396         * Makefile.in: Regenerated.
18398 2004-03-20  Michael Koch  <konqueror@gmx.de>
18400         * java/net/InetAddress.java
18401         (getLocalHostname): Added javadoc.
18403 2004-03-19  Per Bothner  <per@bothner.com>
18405         * configure.in: FILE variable  overrides FLATFORM when linking
18406         natFileChannelXXX.cc.
18408         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
18409         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
18411 2004-03-19  Per Bothner  <per@bothner.com>
18413         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
18414         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
18415         * Makefile.am:  Update accordingly.
18416         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
18417         as aliases for UnicodeLittle and UnicodeBig.
18419 2004-03-20  Mark Wielaard  <mark@klomp.org>
18421         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
18422         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
18423         Don't access ws when it is null.
18424         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
18425         Likewise.
18427 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
18429         * java/lang/ThreadGroup.java (list): Changed print to println.
18431 2004-03-19  Mark Wielaard  <mark@klomp.org>
18433         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
18434         happy.
18436 2004-02-10  Randolph Chung  <tausq@debian.org>
18438         * configure.in: Build java for hppa target.
18439         * configure: Regenerate.
18440         * libjava/configure.host (hppa-*): Add target.
18441         * libjava/sysdeps/pa/lock.h: New file.
18443 2004-03-19  Mark Wielaard  <mark@klomp.org>
18445         Reported by Stephen Crawley
18446         * java/io/FilePermission.java (implies): Use String.length() -1 to
18447         access last char of String.
18449 2004-03-19  Michael Koch  <konqueror@gmx.de>
18451         * java/awt/image/AffineTransformOp.java
18452         (AffineTransformOp): Made public.
18453         * javax/swing/JComponent.java
18454         (listenerList): Made protected.
18455         (accessibleContext): Likewise.
18456         * javax/swing/JList.java
18457         (valueChanged): Dont use internal fields of ListSelectionEvent.
18458         * javax/swing/JViewport.java
18459         (getView): Dont use internal fields of Component.
18460         (addImpl): Likewise.
18461         * javax/swing/Timer.java
18462         (isRunning): Made public.
18463         (start): Likewise.
18464         (stop): Likewise.
18465         * javax/swing/UIDefaults.java
18466         (getInt): Made public.
18467         * javax/swing/plaf/basic/BasicListUI.java
18468         (mousePressed): Dont use internal fields of MouseEvent.
18469         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
18470         * javax/swing/plaf/basic/BasicScrollBarUI.java
18471         (arrowIcon): Made static.
18472         * javax/swing/plaf/basic/BasicViewportUI.java
18473         (stateChanged): Dont use internal field on ChangeEvent.
18474         * javax/swing/text/JTextComponent.java
18475         (getUI): Call UIManager.getUI().
18476         (updateUI): Use getUI().
18478 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18480         * verify.cc: Undef PC.
18482 2004-03-18  Michael Koch  <konqueror@gmx.de>
18484         * java/nio/channels/spi/AbstractSelectableChannel.java
18485         (keys): Initialize at declaration.
18486         (locate): keys cant be null.
18487         (add): Removed.
18488         (addSelectionKey): New method.
18489         (removeSelectionKey): New method.
18490         * java/nio/channels/spi/AbstractSelectionKey.java
18491         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
18492         * java/nio/channels/spi/AbstractSelector.java
18493         (provider): Javadoc added.
18494         (cancelledKeys): Javadoc added.
18495         (cancelKey): Javadoc added, add key to cancelledKeys.
18496         (deregister): Implemented.
18498 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18500         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
18501         MAP_FAILED to void *.
18503 2004-03-12  Graydon Hoare  <graydon@redhat.com>
18505         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
18506         * javax/swing/JComponent.java (paint): Use persistent double buffer.
18507         * javax/swing/JList.java (ListListener): Revalidate on changes.
18508         * javax/swing/JScrollPane.java: Reimplement.
18509         * javax/swing/JViewport.java: Reimplement.
18510         * javax/swing/ScrollPaneLayout.java: Reimplement.
18511         * javax/swing/ViewportLayout.java: Tidy up.
18512         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
18513         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
18514         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
18515         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
18516         backing store only.
18518 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
18520         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
18521         (window_wm_protocols_filter): New function.
18522         (window_focus_in_cb): Remove function.
18523         (window_focus_out_cb): Likewise.
18524         (window_focus_or_active_state_change_cb): New function.
18525         (create): Add filter that removes WM_TAKE_FOCUS client messages.
18526         (connectSignals): Don't attach handlers to focus-in-event or
18527         focus-out-event signals.  Handle notify signal.
18529 2004-03-11  David Jee  <djee@redhat.com>
18531         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
18532         (gtkSetLabel): New native method declaration.
18533         (setLabel): Use gtkSetLabel.
18534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18535         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
18537 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
18539         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
18540         black when color argument is null.
18542 2004-03-10  Kim Ho  <kho@redhat.com>
18544         * java/awt/Container.java: Remove check
18545         for drag events.
18547 2004-03-10  Kim Ho  <kho@redhat.com>
18549         * java/awt/Container.java: (visitChild):
18550         Remove candidate clip. Use the component
18551         clip to intersect.
18552         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
18553         (handleEvent): Use the PaintEvent's clip.
18555 2004-03-10  Kim Ho  <kho@redhat.com>
18557         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
18558         (handleEvent): Don't set the clip for the
18559         Graphics object.
18561 2004-03-09  Graydon Hoare  <graydon@redhat.com>
18563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
18564         Fix double <-> fixed macros, reset font transform.
18565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
18566         Likewise.
18568 2004-03-09  Kim Ho  <kho@redhat.com>
18570         * java/awt/Container.java: (visitChild): Move
18571         the x and y coordinate of the component rectangle
18572         to correct position.
18573         (handleEvent): Forward drag events to the pressed
18574         component.
18575         * javax/swing/plaf/basic/BasicScrollBarUI.java:
18576         Fix comments.
18577         (ArrowButtonListener::mousePressed): Stop the
18578         existing timer.
18579         (mouseDragged): Implement.
18580         (TrackListener::mousePressed): Only react if
18581         the press doesn't occur on the thumb, otherwise
18582         just set the offset.
18583         (TrackListener::mouseReleased): Unset the isAdjusting
18584         value.
18585         (createIncreaseIcon): Switch icon.
18586         (createDecreaseIcon): Switch icon.
18587         (calculatePreferredSize): Use width.
18588         (getThumbBounds): Use the top as the lower value.
18589         (layoutVScrollBar): Switch the button locations.
18590         (paintIncreaseHighlight): Paint correct side of thumb.
18591         (paintDecreaseHighlight): ditto.
18592         (valueForYPosition): Use top as the lower value.
18593         * javax/swing/plaf/basic/BasicSliderUI.java:
18594         Fix comments.
18595         (mouseDragged): Implement.
18596         (mousePressed): Only react when the thumb isn't
18597         pressed, otherwise just set offset.
18598         (mouseReleased): Handle a release of the thumb.
18599         (scrollDueToClickInTrack): Stop the timer first.
18600         * javax/swing/JProgressBar.java:
18601         (setString): Fix change condition.
18602         * javax/swing/JSeparator.java:
18603         Remove println's.
18605 2004-03-08  David Jee  <djee@redhat.com>
18607         * java/awt/image/AffineTransformOp.java:
18608         (filter): Use Graphics2D interface instead of directly using the
18609         GdkGraphics2D peer.
18611 2004-03-05  David Jee  <djee@redhat.com>
18613         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
18614         (handleEvent): Action events are generated upon MOUSE_RELEASED.
18615         * java/awt/Container.java
18616         (acquireComponentForMouseEvent): Fixed.
18617         (handleEvent): Fixed.
18618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
18619         (state_to_awt_mods_with_button_states): New method.
18620         (pre_event_handler): Fixed mouse event generation.
18622 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
18624         gnu/java/awt/peer/gtk/GdkGraphics2D.java
18625         (GdkGraphics2D (BufferedImage)): Initialize
18626         pixmap associated with specified BufferedImage.
18627         (setPaint): Changed implementation of Texture
18628         Paint to use AffineTransformOp.
18629         * java/awt/image/AffineTransformOp.java
18630         (createCompatibleDestRaster): Throw RasterFormatException
18631         if resulting width or height of raster is 0.
18633 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
18635         * java/awt/image/AffineTransformOp.java:
18636         Removed unnecessary field interpolationType.
18637         Formatted some of the lines to be consistent with
18638         the GNU style.
18639         (AffineTransformOp): Create new RenderingHints
18640         containing specified interpolation type.
18641         (createCompatibleDestImage): Implemented.
18642         (createCompatibleDestRaster): Implemented.
18643         (filter): Implemented.
18644         (getBounds2D(BufferedImage)): Implemented.
18645         (getBounds2D(Raster)): Implemented.
18646         (getInterpolationType): Get interpolation value from
18647         rendering hints.
18649 2004-03-04  David Jee  <djee@redhat.com>
18651         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
18652         (setFont): Check if child peers are null.
18654 2004-03-04  Graydon Hoare  <graydon@redhat.com>
18656         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
18657         .libs in -L option.
18658         (libjava_arguments): Add new libraries to argument list.
18660 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
18662         * Makefile.am: Added java/awt/image/AffineTransformOp.java
18663         * Makefile.in: Re-generated.
18664         * java/awt/image/AffineTransformOp.java: New Class.
18666 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
18668         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18669         (setPaint): Interpret correctly TexturePaint's
18670         anchor rectangle.
18671         (drawImage): Fixed scale factors of the affine
18672         transform.
18674 2004-02-27  David Jee  <djee@redhat.com>
18676         * gnu/java/awt/peer/gtk/GdkGraphics.java
18677         (GdkGraphics(Component)): Inherit font from component.
18678         (drawString): Use font style.
18679         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
18680         (gtkSetFont): New native method declaration.
18681         (setFont): New method.
18682         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18683         (gtkSetFont): New native method declaration.
18684         (setFont): Call new native method gtkSetFont.
18685         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
18686         (setFont): For all child components who do not their fonts set,
18687         set their peers' fonts with this container's font.
18688         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
18689         Move all native method declarations to the top for readability.
18690         (gtkSetFont): New native method declaration.
18691         (setFont): New method.
18692         * java/awt/Component.java
18693         (setFont): Invalidate after setting the font.
18694         * java/awt/Container.java
18695         (invalidateTree): New method.
18696         (setFont): Invalidate the container tree after setting the font.
18697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
18698         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
18699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18700         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
18701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18702         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
18703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
18704         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
18706 2004-02-27  Olga Rodimina <rodimina@redhat.com>
18708         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18709         (updateBufferedImage): New helper function.
18710         Updates BufferedImage in memory if it was changed.
18711         (draw): changed to update BufferedImage in memory after
18712         this drawing operation
18713         (fill): Ditto.
18714         (draw3DRect): Ditto.
18715         (fill3DRect): Ditto.
18716         (clearRect): Ditto.
18717         (drawRaster): Ditto.
18718         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
18719         no affine transformation.
18720         (drawGlyphVector): Ditto.
18722 2004-02-26  Olga Rodimina <rodimina@redhat.com>
18724         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18725         (isBufferedImageGraphics): New Helper function.
18726         Returns true if this graphics2d can be used to draw
18727         into buffered image and false otherwise.
18728         (updateImagePixels): New Helper function.
18729         Updates pixels in the BufferedImage.
18730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18731         (getImagePixels): New function. Returns pixels
18732         of the buffered image associated with
18733         this Graphics2D.
18735 2004-02-26  David Jee  <djee@redhat.com>
18737         * java/awt/BorderLayout.java
18738         (layoutContainer): Fix width and height calculations to ensure
18739         that they're non-negative.
18740         * java/awt/Component.java
18741         (setBackground): If c is null, inherit from closest ancestor whose
18742         background color is set.
18744 2004-02-26  Kim Ho  <kho@redhat.com>
18746         * Makefile.am: Add new files.
18747         * Makefile.in: Re-generate.
18748         * javax/swing/JProgressBar.java:
18749         (JProgressBar(int, int int)): Throw
18750         IllegalArgumentException if orientation is
18751         invalid.
18752         (JProgressBar(BoundedRangeModel)): Create
18753         ChangeListener and register it. UpdateUI.
18754         (getChangeListeners): Implement.
18755         (setModel): Reset ChangeListener.
18756         * javax/swing/JScrollBar.java: Implement.
18757         * javax/swing/JSeparator.java: Implement.
18758         * javax/swing/JSlider.java:
18759         (JSlider(int, int, int, int)): Throw
18760         IllegalArgumentException if orientation
18761         is invalid.
18762         (getChangeListeners): Fix method name.
18763         * javax/swing/SwingUtilities.java:
18764         (layoutCompoundLabel): If there is no text,
18765         set the text rectangle dimensions to 0.
18766         * javax/swing/plaf/basic/BasicButtonUI.java:
18767         (paint): If there is no text, don't paint it.
18768         * javax/swing/plaf/basic/BasicScrollBarUI.java:
18769         Implement.
18770         * javax/swing/plaf/basic/BasicSeparatorUI.java:
18771         Implement.
18772         * javax/swing/plaf/basic/BasicSliderUI.java:
18773         (propertyChange): If the model changes, change
18774         the listeners accordingly.
18776 2004-02-25  Graydon Hoare  <graydon@redhat.com>
18778         * javax/swing/AbstractButton.java: Add "final" qualifiers.
18779         * javax/swing/JList.java: Reimplement.
18780         * javax/swing/DefaultListSelectionModel.java: Reimplement.
18781         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
18782         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
18783         * javax/swing/ListModel.java: Javadoc.
18784         * javax/swing/ListSelectionModel.java: Add missing methods.
18785         * javax/swing/AbstractListModel.java: Javadoc and corrections.
18786         * javax/swing/DefaultListModel.java: Javadoc and corrections.
18787         * javax/swing/ListModel.java: Javadoc and corrections.
18788         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
18790 2004-02-25  David Jee  <djee@redhat.com>
18792         * gnu/java/awt/peer/gtk/GtkFontPeer.java
18793         (GtkFontPeer): Change default size to 12.
18794         * gnu/java/awt/peer/gtk/GtkToolkit.java
18795         (getFontPeer): Change default size to 12.
18796         (getClasspathFontPeer): Likewise. Set default name to "Default".
18797         * java/awt/Font.java
18798         (Font(Map)): Call Font(String,Map).
18799         (Font(String,Map)): If attrs is null, initialize it as an empty
18800         HashMap, which will ensure that the Font will get default attributes.
18802 2004-02-25  David Jee  <djee@redhat.com>
18804         * gnu/java/awt/peer/gtk/GtkFontPeer.java
18805         (GtkFontPeer(String,int)): Call the new constructor with size 1.
18806         (GtkFontPeer(String,int,int)): New constructor with size attribute.
18807         * gnu/java/awt/peer/gtk/GtkToolkit.java
18808         (getFontPeer(String,int)): Call the new overload method with size 1.
18809         (getFontPeer(String,int,int)): New method. Overloaded with size
18810         attribute.
18811         (getClasspathFontPeer): Set the size of the font.
18813 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
18815         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18816         (bimage): New field.
18817         (GdkGraphics2D): New Constructor. Constructs Graphics
18818         object that can be used to draw into the Buffered Image.
18819         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
18820         (GdkGraphicsEnvironment): Fixed to include public
18821         keyword.
18822         (createGraphics): Implemented.
18823         * gnu/java/awt/peer/gtk/GtkToolkit.java
18824         (getLocalGraphicsEnvironment): Implemented.
18825         * java/awt/GraphicsEnvironment.java:
18826         (getLocalGraphicsEnvironment): Implemented.
18827         * java/awt/image/BufferedImage.java:
18828         (createGraphics): Implemented.
18830 2004-02-24  David Jee  <djee@redhat.com>
18832         * java/awt/Component.java
18833         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
18834         * java/awt/Container.java
18835         (addNotifyContainerChildren): Fix event enabling.
18837 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
18839         * Makefile.am: Added
18840         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18841         * Makefile.in: Re-generated.
18842         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
18843         New Class.
18845 2004-02-19  Kim Ho  <kho@redhat.com>
18847         * Makefile.am: Add BasicProgressBarUI
18848         * Makefile.in: Regenerate.
18849         * javax/swing/JProgressBar.java:
18850         Re-implement.
18851         * javax/swing/plaf/basic/BasicLookAndFeel.java
18852         Add constants for JProgressBar.
18853         * javax/swing/plaf/basic/BasicProgressBarUI.java
18854         Implement.
18855         * javax/swing/plaf/basic/BasicSliderUI.java
18856         Change comments.
18857         (calculateGeometry): New method
18858         (paint): Remove unnecessary size calculations.
18860 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
18862         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18863         (drawRaster): Fixed small error that caused
18864         imageToUser transformation to be set incorrectly.
18865         (toString): Implemented.
18867 2004-02-18  David Jee  <djee@redhat.com>
18869         * java/awt/CardLayout.java
18870         (addLayoutComponent): Show the first component added as the default.
18871         (removeLayoutComponent): After removing, show the next component.
18872         (gotoComponent): If there is only one component, show it and return.
18874 2004-02-18  Kim Ho  <kho@redhat.com>
18876         * javax/swing/JSlider.java: Re-order
18877         modifiers.
18878         * javax/swing/JLabel.java: Re-order
18879         modifiers.
18880         * javax/swing/JComponent.java:
18881         (addPropertyChangeListener):
18882         Implement.
18883         (removePropertyChangeListener):
18884         ditto.
18885         (firePropertyChangeEvent):
18886         ditto.
18888 2004-02-17  David Jee  <djee@redhat.com>
18890         * java/awt/Component.java
18891         (show): Dispatch ComponentEvent via system event queue.
18892         (hide): Likewise.
18893         (move): Likewise.
18894         (resize): Likewise.
18895         (reshape): Likewise.
18896         * java/awt/Window.java
18897         (setBoundsCallback): Likewise.
18899 2004-02-17  David Jee  <djee@redhat.com>
18901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18902         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
18903         Use gtk_widget_set_size_request() instead of the deprecated
18904         gtk_widget_set_usize().
18906 2004-02-17  Kim Ho  <kho@redhat.com>
18908         * javax/swing/JSlider.java: Fix comments and
18909         make property strings constants.
18910         (createStandardLabels): Use the labels
18911         preferred size as bounds.
18912         * javax/swing/plaf/basic/BasicSliderUI.java
18913         Fix comments.
18914         (ScrollHandler::actionPerformed): Don't
18915         calculate the timer stop value. Let the
18916         MouseListeners find the stop location.
18917         (getPreferredHorizontalSize): Re-implement.
18918         (getPreferredVerticalSize): ditto.
18919         (getMinimumHorizontalSize): ditto.
18920         (getMinimumVerticalSize): ditto.
18921         (getPreferredSize): ditto.
18922         (getMinimumSize): ditto.
18923         (getMaximumSize): ditto.
18924         (paintTicks): Use doubles to find the
18925         tick location.
18926         (paintHorizontalLabel):  Use preferredSize
18927         as initial width and height.
18928         (paintVerticalLabel): ditto.
18930 2004-02-17  Kim Ho  <kho@redhat.com>
18932         * javax/swing/JLabel.java: Changed
18933         property strings to constants.
18934         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
18935         New property.
18936         (setText): Change mnemonic index if
18937         text is too short.
18938         (setDisplayedMnemonicIndex): Fire property
18939         change event.
18940         (getDisplayedMnemonicIndex): Remove check
18941         against short text.
18943 2004-02-17 Olga Rodimina <rodimina@redhat.com>
18945         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
18946         (drawImage(img,xform,obs)): Invert xform before
18947         passing the xform to cairo.
18948         (drawImage(img,x,y,bgcolor,obs)): Implemented.
18949         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
18950         implemented.
18951         (drawImage (img,x,y,w,h,obs)): Implemented.
18952         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
18953         bgcolor,obs)): Partly implemented.
18954         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
18955         Implemented.
18956         * java/awt/image/BufferedImage.java:
18957         (copyData): if dest is null, create raster with same
18958         dimensions as the current image.
18960 2004-02-16  Graydon Hoare  <graydon@redhat.com>
18962         * javax/swing/plaf/basic/BasicLabelUI.java
18963         (getPreferredSize): Use layoutCL.
18964         * javax/swing/plaf/basic/BasicGraphicsUtils.java
18965         (getPreferredButtonSize): Start with empty view rect, layout using
18966         component's preferred alignment.
18967         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
18968         List defaults.
18970 2004-02-16  David Jee  <djee@redhat.com>
18972         * java/awt/Component.java
18973         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
18974         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
18975         (move): Erase old bounds and repaint new bounds. Dispatch
18976         COMPONENT_MOVED ComponentEvent.
18977         (resize): Erase old bounds and repaint new bounds. Dispatch
18978         COMPONENT_RESIZED ComponentEvent.
18979         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
18980         ComponentEvents.
18981         * java/awt/Window.java
18982         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
18983         ComponentEvents.
18985 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
18987         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
18988         (setRenderingHint): Added implementation of
18989         Interpolation rendering hints.
18990         (setRenderingHints): Ditto.
18991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
18992         (drawPixels): fixed to allow user to choose type
18993         of filtering that should be used when displaying images.
18994         (cairoSurfaceSetFilter): New method. Sets filter type for
18995         interpolation of pixel values.
18997 2004-02-16  David Jee  <djee@redhat.com>
18999         * java/awt/GridBagLayout.java
19000         (calcCellSizes): Rows or columns with zero sizes should still be
19001         considered for extra space distribution.
19003 2004-02-16  Kim Ho  <kho@redhat.com>
19005         * javax/swing/JLabel.java: Re-implement.
19006         * javax/swing/plaf/basic/BasicLabelUI.java
19007         Re-implement.
19008         * javax/swing/plaf/basic/BasicLookAndFeel.java:
19009         Added constant.
19011 2004-02-16  Kim Ho  <kho@redhat.com>
19013         * javax/swing/JSlider.java: Fix indentation and comments.
19014         (setModel): Remove null check to conform with Sun's.
19015         (setOrientation): Throw exception if not
19016         HORIZONTAL or VERTICAL.
19017         (getInverted): Use private variable instead of
19018         ComponentOrientation.
19019         (setInverted): ditto.
19020         * javax/swing/plaf/basic/BasicSliderUI.java:
19021         Fix indentation and comments.
19022         (propertyChange): Remove check for inverted slider, handle
19023         in main paint.
19024         (getMinimumSize): Return preferred size.
19025         (getMaximumSize): ditto.
19026         (calculateFocusRect): Don't relocate rectangle.
19027         (drawInverted): Return XOR of the slider's inversion and
19028         the component's orientation.
19029         (paint): Update leftToRightCache
19031 2004-02-13  David Jee  <djee@redhat.com>
19033         * java/awt/GridBagLayout.java
19034         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
19035         code to helper methods.
19036         (sortBySpan): New helper method.
19037         (distributeSizeAndWeight): Likewise.
19038         (calcCellWeights): Likewise.
19039         (calcCellSizes): Add comments.
19041 2004-02-13  David Jee  <djee@redhat.com>
19043         * java/awt/Component.java
19044         (show): Only do something if component is invisible at the moment.
19045         (hide): Only do something if component is visible at the moment.
19046         (reshape): If lightweight, erase old bounds and repaint new bounds.
19048 2004-02-13  Kim Ho  <kho@redhat.com>
19050         * Makefile.am: Updated for new file.
19051         * Makefile.in: Regenerated.
19052         * javax/swing/JSlider.java: Reimplement.
19053         * javax/swing/SwingUtilities.java
19054         (layoutCompoundLabel): Use icon height
19055         instead of width.
19056         (paintComponent): Implement.
19057         * javax/swing/plaf/basic/BasicLookAndFeel.java:
19058         Add JSlider defaults.
19059         * javax/swing/plaf/basic/BasicSliderUI.java:
19060         Implement. New file.
19062 2004-03-17  Michael Koch  <konqueror@gmx.de>
19064         * gnu/java/net/PlainDatagramSocketImpl.java
19065         (RECEIVE_LOCK): New member field.
19066         (SEND_LOCK): New member field.
19067         (send0): New method.
19068         (send): Synchronize on SEND_LOCK.
19069         (receive0): New method.
19070         (receive): Synchronize on RECEIVE_LOCK.
19071         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
19072         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
19073         gnu/java/net/natPlainDatagramSocketImplWin32.cc
19074         (send0): Renamed from send.
19075         (receive0): Renamed from receive.
19076 2004-03-17  Michael Koch  <konqueror@gmx.de>
19078         * gnu/java/net/natPlainSocketImplPosix.cc
19079         (write): Just call write(jbyteArray, offset, len).
19080         (read): Just call read(jbyteArray, offset, len).
19082 2004-03-16  Michael Koch  <konqueror@gmx.de>
19084         * javax/swing/JTabbedPane.java
19085         (serialVersionUID): New field.
19087 2004-03-16  Norbert Frese  <postfach@nfrese.net>
19089         * java/net/InetAddress.java
19090         (getByName): Handle hostname == "" case.
19092 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
19094         Reported by: Adam Heath <doogie@debian.org>
19095         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
19096         class loader.
19098 2004-03-15  Michael Koch  <konqueror@gmx.de>
19100         * java/util/Locale.java: Reverting my last patch
19101         and add a comment why the original version was okay.
19103 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
19105         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
19106         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
19107         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
19108         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
19110 2004-03-12  Michael Koch  <konqueror@gmx.de>
19112         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
19114 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
19116         * java/net/URI.java (toURL): Implemented.
19118 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
19120         * java/net/URI.java
19121         (URI_REGEXP) updated to contain scheme specific part.
19122         (SCHEME_SPEC_PART_GROUP) new constant.
19123         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
19124         updated to make room for SCHEME_SPEC_PART_GROUP.
19125         (parseURI) parse scheme specific part.
19126         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
19127         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
19128         getQuery, getFragment) implemented.
19130 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
19132         * libraries/javalib/java/net/URI.java
19133         partially implemented using java.util.regex.
19134         (URI_REGEXP) new constant. Used to parse URIs.
19135         (SCHEME_GROUP) new constant representing index of scheme group
19136         in parsed URI.
19137         (AUTHORITY_GROUP) new constant representing index of authority
19138         group in parsed URI.
19139         (PATH_GROUP) new constant representing index of path group in
19140         parsed URI.
19141         (QUERY_GROUP) new constant representing index of query group in
19142         parsed URI.
19143         (FRAGMENT_GROUP) new constant representing index of fragment
19144         group in parsed URI.
19145         (getURIGroup) new static utility method.
19146         (parseURI) implemented.
19147         (quote) stub for new static utility method.
19148         (quoteAuthority) stub for new static utility method.
19149         (quoteHost) stub for new static utility method.
19150         (quotePath) stub for new static utility method.
19151         (quoteUserInfo) stub for new static utility method.
19152         (URI) implemented.
19153         (create) don't throw URISyntaxException. Implemented.
19154         (toString) implemented.
19156 2004-03-12  Michael Koch  <konqueror@gmx.de>
19158         * java/net/HttpURLConnection.java
19159         (getResponseCode): Fix another typo in javadoc.
19161 2004-03-11  Michael Koch  <konqueror@gmx.de>
19163         * java/util/logging/Level.java
19164         (parse): Use String.equals() instead of ==.
19166 2004-03-11  Michael Koch  <konqueror@gmx.de>
19168         * gnu/java/net/protocol/jar/Connection.java
19169         (getContentLength): New method.
19171 2004-03-11  Michael Koch  <konqueror@gmx.de>
19173         * gnu/java/net/PlainSocketImpl.java:
19174         Reformated to merge better with classpath's version.
19176 2004-03-11  Michael Koch  <konqueror@gmx.de>
19178         * java/util/Locale.java
19179         (getISO3Language): Use String.equals() instead of ==.
19180         (getISO3Country): Likewise.
19182 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
19184         * java/text/AttributedString.java
19185         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
19186         Use HashMap instead of Hashtable since value can be null, and
19187         you can not store a null value in a Hashtable.
19189 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
19191         * java/text/AttributedStringIterator.java
19192         (getAllAttributesKey): Return only keys concerned
19193         by the current iterator.
19194         (getAttributes): Use strict inequality for
19195         end_index.
19197 2004-03-11  Michael Koch  <konqueror@gmx.de>
19199         * java/net/HttpURLConnection.java:
19200         Fixed typo in javadoc.
19202 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
19204         * java/io/BufferedInputStream.java (marktarget): New field for max
19205         mark limit.
19206         (CHUNKSIZE): New constant for incremental mark buffer allocation.
19207         (mark): Use new fields.
19208         (read): Likewise.
19209         (read(byte[],int,int)): Likewise.
19210         (skip): Likewise.
19211         (refill): Likewise.
19213 2004-03-11  Mark Wielaard  <mark@klomp.org>
19215         * java/beans/BeanDescriptor.java (BeanDescriptor):
19216         Set the FeatureDescriptor programmatic name.
19218 2004-03-11  Michael Koch  <konqueror@gmx.de>
19220         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
19221         This file was was just copied form java/io/natFileDescriptorEcos.cc
19222         and never changed to compile correctly.
19224 2004-03-11  Michael Koch  <konqueror@gmx.de>
19226         * gnu/java/nio/PipeImpl.java
19227         (SourceChannelImpl): Made final.
19228         (read): Implemented.
19229         (SinkChannelImpl): Made final.
19230         (write): Implemented.
19232 2004-03-11  Michael Koch  <konqueror@gmx.de>
19234         * gnu/java/net/PlainDatagramSocketImpl.java:
19235         Reformated to match classpath's version more.
19237 2004-03-11  Michael Koch  <konqueror@gmx.de>
19239         * gnu/java/awt/peer/ClasspathFontPeer.java:
19240         Fixed javadoc to be correct xhtml.
19241         * gnu/java/awt/peer/gtk/GtkArgList.java
19242         (add): Use Boolean.valueOf() instead of new Boolean().
19244 2004-03-09  Michael Koch  <konqueror@gmx.de>
19246         * java/lang/Thread.java
19247         (runnable): Moved around.
19248         (daemon): Renamed from daemon_flag.
19249         (contextClassLoader): Renamed from context_class_loader.
19250         (Thread): Reordered constructors.
19251         (activeCount): Use group directly.
19252         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
19253         (holdsLock): Reworked javadoc.
19254         (setDaemon): Reworked.
19255         * java/lang/natThread.cc
19256         (destroy): Removed.
19258 2004-03-08  Anthony Green  <green@redhat.com>
19260         * Makefile.am: Build property resource files into libgcj.
19261         * Makefile.in: Rebuilt.
19262         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
19263         java/util/regex/PatternSyntaxException.java,
19264         gnu/regexp/CharIndexed.java,
19265         gnu/regexp/CharIndexedCharArray.java,
19266         gnu/regexp/CharIndexedInputStream.java,
19267         gnu/regexp/CharIndexedReader.java,
19268         gnu/regexp/CharIndexedString.java,
19269         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
19270         gnu/regexp/REException.java,
19271         gnu/regexp/REFilterInputStream.java,
19272         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
19273         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
19274         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
19275         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
19276         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
19277         gnu/regexp/RETokenLookAhead.java,
19278         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
19279         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
19280         gnu/regexp/RETokenStart.java,
19281         gnu/regexp/RETokenWordBoundary.java,
19282         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
19284 2004-03-03  Per Bothner  <per@bothner.com>
19286         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
19287         Optimize when argument is a FileChannelImpl.
19288         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
19289         New native methods.
19290         * java/nio/channels/natChannels.cc:  New file for new native methods.
19291         * Makefile.am:  Update accordingly.
19293 2004-03-02  Jan Hubicka  <jh@suse.cz>
19295         * configure.host: Pass -fno-omit-frame-pointer for i386.
19296         * configure.in: Likewise.
19297         * configure: Regenerate.
19299 2004-03-01  Per Bothner  <per@bothner.com>
19301         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
19303 2004-02-29  Per Bothner  <per@bothner.com>
19305         * java/nio/channels/FileChannelImpl.java:  Moved to package
19306         gnu/java/nio/channels, since we need to refer to it from java.io.
19307         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
19308         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
19309         from java/nio/channels.  Don't depend on FileDescriptor.
19310         (in, out, err):  New static fields.
19311         (mode):  New field.
19312         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
19313         from FileDescriptor.
19314         (by):  Removed MappedByteBuffer field.
19315         (map):  New working implementation.
19316         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
19317         some code "ported" from natFileDescriptoPosix.cc.
19318         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
19319         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
19320         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
19321         Remove native methods.
19322         * Makefile.am, configure.in:  Updated accordingly.
19324         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
19325         (ch):  New FileChannelImpl field.  Update constructor to match.
19326         (releaseImpl):  Remove native method.  Instead ...
19327         (release):  Call unlock on channel.
19328         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
19330         * java/io/natFileDescriptorEcos.cc:  Remove file.
19331         * java/io/natFileDescriptorPosix.cc:  Remove file.
19332         * java/io/natFileDescriptorWin32.cc:  Remove file.
19333         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
19334         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
19335         (<init>(FileChannelImpl)):  New package-private constructor.
19336         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
19337         (available, close, read, skip):  Implement using FileChannelImpl.
19338         (getFD):  Allocate FileDescriptor if needed.
19339         (getChannel):  Is now trivial.
19340         * java/io/FileOutputStream.java:  Corresponding changes.
19341         * java/io/RandomAccessFile.java:  Corresponding changes.
19343         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
19344         unmapImpl):  New dummy methods, to be overridden by subclass.
19345         (finalize, isLoaded, load, force):  New methods.
19346         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
19347         Now works, at least for read mapping.
19349         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
19350         streams using FileChannelImpl, not FileDescriptor.
19351         * java/lang/natWin32Process.cc (startProcess):  Likewise.
19353 2004-02-28  Michael Koch  <konqueror@gmx.de>
19355         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
19356         wrong code.
19358 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
19360         * java/io/ObjectInputStream.java
19361         (readClassDescriptor): Keep elements of the mapping non null.
19362         (checkTypeConsistency): New method.
19363         (readFields): Fixed main loop and base logic. Small reindentation.
19364         * java/io/ObjectStreamField.java
19365         (lookupField): New method to update the field reference.
19366         (checkFieldType): New method.
19367         * java/io/ObjectStreamClass.java
19368         (setClass, setFields): Call lookupField when building the field
19369         database. Check the real field type.
19371 2004-02-28  Michael Koch  <konqueror@gmx.de>
19373         * java/nio/ByteOrder.java
19374         (nativeOrder): Use equals() to compare strings.
19376 2004-02-26  Michael Koch  <konqueror@gmx.de>
19378         * gnu/java/nio/FileLockImpl.java
19379         (finalize): Made protected.
19380         * java/nio/channels/FileChannel.java
19381         (MapMode.READ_ONLY): Made final.
19382         (MapMode.READ_WRITE): Made final.
19383         (MapMode.PRIVATE): Made final.
19384         * java/nio/channels/SocketChannel.java
19385         (open): Simplified code.
19386         * java/nio/channels/spi/AbstractSelectableChannel.java
19387         (registered): Unused, removed.
19388         (keyFor): Check channel is open, only locate key
19389         and not add a new one.
19390         (register): Don't delete attachments.
19392 2004-02-26  Michael Koch  <konqueror@gmx.de>
19394         * gnu/java/awt/ComponentDataBlitOp.java
19395         (INSTANCE): Made final.
19396         * gnu/java/awt/image/ImageDecoder.java:
19397         Reworked imports.
19398         (cm): Unused, removed.
19400 2004-02-26  Michael Koch  <konqueror@gmx.de>
19402         * gnu/java/nio/DatagramChannelImpl.java
19403         (send): Check if target address is resolved.
19405 2004-02-26  Michael Koch  <konqueror@gmx.de>
19407         * Makefile.am: Generate and install headers for inner classes in
19408         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
19409         * Makefile.in: Regenerated.
19411 2004-02-24  Anthony Green  <green@redhat.com>
19413         * java/lang/StringBuffer.java: No need to NULL out remainder of
19414         buffer since ensureCapacity_unsynchronized will have done this for
19415         us.
19417 2004-02-20  Michael Koch  <konqueror@gmx.de>
19419         * gnu/java/net/protocol/jar/Handler.java
19420         (): Removed unneeded check for file != null. java.net.URL.getFile()
19421         returns an empty string but never null.
19423 2004-02-20  Michael Koch  <konqueror@gmx.de>
19425         * gnu/gcj/convert/Convert.java
19426         (main): Use equals() to compare strings.
19428 2004-02-20  Michael Koch  <konqueror@gmx.de>
19430         * javax/swing/AbstractButton.java: Made several constants final.
19431         (getRolloverSelectedIcon): Made public.
19432         (getSelectedIcon): Made public.
19434 2004-02-16  Per Bothner  <per@bothner.com>
19436         * java/nio/CharBufferImpl.java:  Inline super constructor.
19437         * java/nio/DoubleBufferImpl.java:  Likewise.
19438         * java/nio/FloatBufferImpl.java:  Likewise.
19439         * java/nio/IntBufferImpl.java:  Likewise.
19440         * java/nio/LongBufferImpl.java:  Likewise.
19441         * java/nio/ShortBufferImpl.java:  Likewise.
19442         * java/nio/CharBuffer.java:  Remove unused constructor.
19443         * java/nio/DoubleBuffer.java:  Likewise.
19444         * java/nio/FloatBuffer.java:  Likewise.
19445         * java/nio/IntBuffer.java:  Likewise.
19446         * java/nio/LongBuffer.java:  Likewise.
19447         * java/nio/ShortBuffer.java:  Likewise.
19448         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
19449         Fix buggy call to super constructor.
19450         * java/nio/DoubleViewBufferImpl.java:  Likewise.
19451         * java/nio/FloatViewBufferImpl.java:  Likewise.
19452         * java/nio/IntViewBufferImpl.java:  Likewise.
19453         * java/nio/LongViewBufferImpl.java:  Likewise.
19454         * java/nio/ShortViewBufferImpl.java:  Likewise.
19456         * java/nio/ByteBuffer.java (endian):  Make non-private so other
19457         java.nio classes can inherit it.
19458         (<init>):  Don't bother clearing array_offset.
19459         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
19460         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
19461         Remove redundant test.
19463         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
19464         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
19465         Use new XxxViewBufferImpl constructors.
19466         * java/nio/MappedByteBufferImpl.java:  Likewise.
19467         * java/nio/DirectByteBufferImpl.java:  Likewise.
19469         * java/nio/ByteBufferImpl.java:  Remove one constructor.
19470         Inline super in remaining constructor.
19471         * java/nio/ByteBuffer.java:  Remove unused constructor.
19473         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
19475         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
19476         * java/nio/DirectByteBufferImpl.java (owner):  New field.
19477         (offset):  Remove unused field.
19478         (<init>):  Modify one and add another constructor.  Change callers.
19479         (allocateDirect):  Removed - not used.
19480         (getImpl, putImpl):  Make static and pass address explicitly,
19481         to make them useful for MappedByteBufferImpl.
19482         (get, put):  Check for underflow.  Modify for new getImpl.
19483         (getImpl):  New native method where target is array.
19484         (get(byte[],int,int)):  Use the above.
19485         (adjustAddress):  New static native method.
19486         (slice, duplicate, asReadOnly):  New implementations.
19487         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
19488         adjustAddress):  New or updated native methods.
19490 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
19492         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
19493         overflow of fieldmapping.
19495 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
19497         * javax/swing/undo/UndoManager.java: Re-written from scratch.
19499 2004-02-14  Per Bothner  <per@bothner.com>
19501         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
19502         Set closed before calling implCloseChannel, as in the spec.
19504 2004-02-09  Graydon Hoare  <graydon@redhat.com>
19506         * javax/swing/ToggleButtonModel.java: Remove dead class.
19507         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
19508         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
19509         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
19510         * Makefile.am: Update for new and removed files.
19511         * Makefile.in: Regenerate.
19513         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
19514         * javax/swing/AbstractButton.java
19515         (AbstractButton): Initialize fields correctly in ctor.
19516         * javax/swing/JCheckbox.java
19517         (JCheckBox): Override painting flags.
19518         * javax/swing/DefaultButtonModel.java: Conform to sun.
19519         * javax/swing/JComponent.java (paint): Fill with background color
19520         if available.
19521         (processComponentKeyEvent)
19522         (processFocusEvent)
19523         (processKeyEvent)
19524         (processMouseMotionEvent): Remove event-consuming empty methods.
19525         (getUIClassID): Return "ComponentUI" not "JComponent"
19526         * javax/swing/JFrame.java: Remove some debugging chatter.
19527         (JFrame): Subscribe to window events.
19528         * javax/swing/JRadioButton.java
19529         (JRadioButton): Override painting flags.
19530         * javax/swing/JRootPane.java
19531         (JRootPane): Set background from UIDefaults.
19532         * javax/swing/JToggleButton.java
19533         (ToggleButtonModel): New inner class.
19534         (JToggleButton): Override layout alighment.
19535         * javax/swing/SwingUtilities.java:
19536         (getLocalBounds): Return width and height, not x and y.
19537         (calculateInnerArea): Use local bounds, not bounds.
19538         (layoutCompoundLabel): Provide overridden form.
19539         (layoutCompoundLabel): Correct bugs.
19540         * javax/swing/UIDefaults.java: Correct comment.
19541         * javax/swing/plaf/basic/BasicButtonUI.java:
19542         Move most logic into defaults, external listener.
19543         (paintIcon): Implement icon painting.
19544         (paint): Fix state painting to conform to changes in model.
19545         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
19546         Remove most dead/wrong methods.
19547         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
19548         * javax/swing/plaf/basic/BasicIconFactory.java:
19549         (DummyIcon): New class.
19550         (getMenuItemCheckIcon)
19551         (getMenuItemArrowIcon)
19552         (getMenuArrowIcon)
19553         (getCheckBoxMenuItemIcon)
19554         (getRadioButtonMenuItemIcon)
19555         (createEmptyFrameIcon): Return DummyIcons, not null.
19556         (getCheckBoxIcon): Implement an icon that looks like sun's.
19557         (getRadioButtonIcon): Implement an icon that looks like sun's.
19558         * javax/swing/plaf/basic/BasicLookAndFeel.java
19559         (initComponentDefaults): Fix impossible values, add some missing.
19560         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
19561         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
19562         Remove most dead/wrong methods.
19563         (icon): New field.
19564         (getDefaultIcon): New method.
19565         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
19566         Remove most dead/wrong methods.
19567         * javax/swing/plaf/metal/MetalLookAndFeel.java
19568         (getDefaults): Return super.getDefaults(), not BasicDefaults.
19569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
19570         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
19571         Implement "clearing" as drawing, when on pixmap drawables.
19573         * javax/swing/JButton.java (getUIClassID):
19574         * javax/swing/JCheckBox.java (getUIClassID):
19575         * javax/swing/JEditorPane.java (getUIClassID):
19576         * javax/swing/JLabel.java (getUIClassID):
19577         * javax/swing/JList.java (getUIClassID):
19578         * javax/swing/JOptionPane.java (getUIClassID):
19579         * javax/swing/JPanel.java (getUIClassID):
19580         * javax/swing/JPasswordField.java (uiClassID):
19581         * javax/swing/JRadioButton.java (getUIClassID):
19582         * javax/swing/JRootPane.java (getUIClassID):
19583         * javax/swing/JScrollPane.java (getUIClassID):
19584         * javax/swing/JTabbedPane.java (getUIClassID):
19585         * javax/swing/JToggleButton.java (getUIClassID):
19586         * javax/swing/JTree.java (getUIClassID):
19587         * javax/swing/JViewport.java (getUIClassID):
19588         * javax/swing/text/JTextComponent.java (getUIClassID):
19589         Return "fooUI" not "Jfoo"
19591 2004-02-11  Michael Koch  <konqueror@gmx.de>
19593         * java/net/DatagramSocket.java
19594         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
19595         Boolean object.
19596         (setBroadcast): Likewise.
19597         * java/net/MulticastSocket.java
19598         (setLoopbackMode): Likewise.
19599         * java/net/ServerSocket.java
19600         (setReuseAddress): Likewise.
19601         * java/net/Socket.java
19602         (setTcpNoDelay): Likewise.
19603         (setSoLinger): Likewise.
19604         (setOOBInline): Likewise.
19605         (setKeepAlive): Likewise.
19606         (setReuseAddress): Likewise.
19607         * java/net/URLConnection.java
19608         (setContentHandler): Replace == with equals().
19609         * java/net/URLStreamHandler.java
19610         (hostSEquals): Fix checking host addresses.
19611         (toExternalForm): Dont check protocol for null. We know already its
19612         not null.
19614 2004-02-10  David Jee  <djee@redhat.com>
19616         * java/awt/BorderLayout.java
19617         (calcCompSize): Invisible components get zero dimensions.
19618         * java/awt/Button.java
19619         (setLabel): Set actionCommand.
19620         * java/awt/Component.java
19621         (show): Invalidate component and parent container.
19622         (hide): Likewise.
19624 2004-02-10  David Jee  <djee@redhat.com>
19626         * java/awt/GridBagLayout.java
19627         (GridBagLayout): New private field, internalcomptable.
19628         (lookupInternalConstraints): New method.
19629         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
19630         (GetLayoutInfo): Reimplement.
19631         (calcCellSizes): Ignore rows/columns with size 0.
19633 2004-02-10  Michael Koch  <konqueror@gmx.de>
19635         * gnu/java/awt/EmbeddedWindow.java
19636         (setHandle): Use java.awt.Component.getPeer() instead of
19637         java.awt.Component.peer directly.
19639 2004-02-10  David Jee  <djee@redhat.com>
19641         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
19642         (gtkSetLabel): New native method definition.
19643         (setLabel): Use gtkSetLabel.
19644         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
19645         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
19647 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
19649         * include/powerpc-signal.h: Revert 2004-01-21 change.
19650         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
19651         from syscall for ppc32 versions.
19653 2004-02-08  Per Bothner  <per@bothner.com>
19655         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
19656         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
19657         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
19658         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
19659         Pass ByteOrder parameter to most methods, since the underlying
19660         ByteBuffer's order isn't always what we should use.
19661         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
19662         * java/nio/DirectByteBufferImpl.java:  Likewise.
19663         Use ByteBufferHelper methods.
19664         * java/nio/MappedByteBufferImpl.java:  Likewise.
19665         (compact):  Use shiftDown.
19666         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
19667         (get, put):  Use ByteBufferHelper.
19668         (compact):  Use new shiftDown method.
19669         (duplicate(boolean)):  New helper method.
19670         (duplicate, asReadOnlyBuffer):  Use it.
19671         (order):  Return endian field.
19672         * java/nio/DoubleViewBufferImpl.java:  Likewise.
19673         * java/nio/FloatViewBufferImpl.java:  Likewise.
19674         * java/nio/IntViewBufferImpl.java:  Likewise.
19675         * java/nio/LongViewBufferImpl.java:  Likewise.
19676         * java/nio/ShortViewBufferImpl.java:  Likewise.
19677         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
19678         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
19679         (compact):  Re-implement using shiftDown.
19681 2004-02-08  Andreas Jaeger  <aj@suse.de>
19683         * include/x86_64-signal.h: Fix typo.
19685 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
19687         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
19688         qualifier to _regs.
19689         (HANDLE_DIVIDE_OVERFLOW): Likewise.
19691 2004-02-06  Michael Koch  <konqueror@gmx.de>
19693         * java/io/ObjectInputStream.java
19694         (currentClassLoader): Reverted to old version of this method.
19696 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
19698         * java/io/ObjectInputStream.java: Made all calls
19699         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
19700         use cached info from ObjectStreamClass. (readClassDescriptor):
19701         Cache more information in ObjectStreamClass. (processResolution,
19702         readFields): Use cached info from ObjectStreamClass.
19703         (newObject): Throw exception instead of returning null for failure.
19704         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
19705         setCharField, setDoubleField, setFloatField, setIntField,
19706         setLongField, setShortField, setObjectField, readObjectParams):
19707         Removed. (dumpElement, dumpElementln): Removed dump flag condition
19708         check.
19709         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
19710         (setClass): Added call to cacheMethods() (findMethod): New method.
19711         (cacheMethods): New method. (ObjectStreamClass): Added call to
19712         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
19713         AccessController.doPrivileged to invoke setAccessible.
19714         (readObjectMethod, readResolveMethod, realClassIsSerializable,
19715         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
19716         New fields.
19717         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
19718         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
19719         isPrimitive): Made safe for cases where type == null.
19720         (setBooleanField, setByteField, setCharField, setShortField,
19721         setIntField, setLongField, setFloatField, setDoubleField,
19722         setObjectField): New methods.
19724 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
19726         * java/awt/Component.java (getFont): Return a default font
19727         instead of null.
19729         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
19730         (Scrollbar (int, int, int, int, int)): Make default page
19731         increment 10.
19732         (setValues): Only call peer.setValues if one of the values has
19733         changed.
19734         (generateName): New method.
19735         (getUniqueLong): New method.
19736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
19737         (range_scrollbar): Remove structure.
19738         (post_adjustment_event): Remove function.
19739         (post_change_event): Accept jobject argument.
19740         (create): Cast jints to gdoubles.  Round scrollbar values to the
19741         nearest integer.  Clamp min, max and value settings.
19742         (connectJObject): Connect hook to widget->window.
19743         (connectSignals): Remove range_scrollbar structure variables.
19744         Remove "move-slider" connection.  Pass global peer reference to
19745         "value-changed" callback.
19746         (setLineIncrement): Cast jint value to gdouble.
19747         (setPageIncrement): Likewise.
19748         (setValues): Likewise.  Clamp min, max and value settings.
19750 2004-02-05  Michael Koch  <konqueror@gmx.de>
19752         * javax/swing/AbstractCellEditor.java
19753         (getCellEditorValue): Removed.
19754         * javax/swing/Box.java: Reformated.
19755         (serialVersionUID): New field.
19756         * javax/swing/ButtonGroup.java:
19757         Removed some weird whitespace.
19758         * javax/swing/CellEditor.java: Reformated.
19759         * javax/swing/CellRendererPane.java
19760         (serialVersionUID): New field.
19761         (AccessibleCellRendererPaneserialVersionUID): New field.
19762         * javax/swing/DefaultListModel.java
19763         (serialVersionUID): New field.
19764         * javax/swing/JEditorPane.java
19765         (serialVersionUID): New field.
19766         (setPage): Throws IOException.
19767         (addHyperlinkListener): Implemented.
19768         (removeHyperlinkListener): Implemented.
19769         (getHyperlinkListener): New method.
19770         * javax/swing/JFileChooser.java
19771         (serialVersionUID): New field.
19772         (AccessibleJFileChooser.serialVersionUID): New field.
19773         (addActionListener): Implemented.
19774         (removeActionListener): Implemented.
19775         (getActionListeners): New method.
19776         * javax/swing/JFormattedTextField.java
19777         (serialVersionUID): New field.
19778         (AbstractFormatter.serialVersionUID): New field.
19779         (clone): Throws CloneNotSupportedException
19780         (setEditValid): Add missing argument.
19781         (stringToValue): Throws ParseExcpetion.
19782         (valueToString): Throws ParseException.
19783         (commitEdit): Throws ParseException.
19784         * javax/swing/JLabel.java
19785         (serialVersionUID): New field.
19786         * javax/swing/JList.java
19787         (serialVersionUID): New field.
19788         (addListSelectionListener): Reformated.
19789         (removeListSelectionListener): Reformated.
19790         (getListSelectionListeners): New method.
19791         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
19792         Reformated.
19793         (serialVersionUID): New field.
19794         * javax/swing/table/AbstractTableModel.java
19795         (getValueAt): Removed.
19796         (getColumnCount): Removed.
19797         (getRowCount): Removed.
19799 2004-02-05  Michael Koch  <konqueror@gmx.de>
19801         * java/awt/datatransfer/DataFlavor.java
19802         (imageFlavor): Javadoc added.
19803         (javaJVMLocalObjectType): Fixed.
19805 2004-02-05  Michael Koch  <konqueror@gmx.de>
19807         * java/lang/Thread.java
19808         (Thread): Reordered.
19809         (setContextClassLoader): Fixed javadoc comment.
19810         (setPriority): Reordered.
19811         (yield): Reordered.
19812         (initialize_native): Reordered.
19813         (gen_name): Reordered.
19815 2004-02-05  Michael Koch  <konqueror@gmx.de>
19817         * java/lang/Thread.java: Reordered fields, reformated much code,
19818         no functional changes, some variables renamed, javadoc comments
19819         merged.
19821 2004-02-05  Michael Koch  <konqueror@gmx.de>
19823         * java/util/zip/Deflater.java,
19824         java/util/zip/DeflaterOutputStream.java,
19825         java/util/zip/GZIPInputStream.java:
19826         Reformated and javadoc comments merged from classpath.
19828 2004-02-05  Michael Koch  <konqueror@gmx.de>
19830         * gnu/java/nio/NIOServerSocket.java
19831         (impl): Unused, removed.
19832         * gnu/java/nio/SocketChannelImpl.java
19833         (finnishConnect): Don't throw NoConnectionPendingException if not
19834         connected or no connection pending.
19836 2004-02-02  Graydon Hoare  <graydon@redhat.com>
19838         * javax/swing/SwingUtilities.java: Many new functions.
19839         * java/awt/Container.java (LightweightDispatcher): Reimplement.
19840         * javax/swing/basic/BasicGraphicsUtils.java
19841         (getPreferredButtonSize): Start layout from top-left corner.
19843 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
19845         * java/awt/geom/AffineTransform.java:
19846         Corrected comments on the field definitions for
19847         m11 and m10.
19848         (shear): Fixed few errors that caused shear
19849         transformation to be performed incorrectly.
19850         (createInverse): Fixed to return correct
19851         inverse of the given matrix.
19853 2004-02-03  Tom Tromey  <tromey@redhat.com>
19855         * java/lang/natPosixProcess.cc (startProcess): Handle case where
19856         PATH or LD_LIBRARY_PATH is not set in parent environment.
19858 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
19860         * gnu/java/awt/peer/gtk/GtkListPeer.java,
19861         java/awt/BorderLayout.java, java/awt/CardLayout.java,
19862         java/awt/CheckboxGroup.java, java/awt/Choice.java,
19863         java/awt/Component.java, java/awt/Container.java,
19864         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
19865         java/awt/LayoutManager2.java, java/awt/List.java,
19866         java/awt/Menu.java, java/awt/MenuBar.java,
19867         java/awt/MenuItem.java, java/awt/Polygon.java,
19868         java/awt/Rectangle.java, java/awt/ScrollPane.java,
19869         java/awt/Scrollbar.java, java/awt/TextArea.java,
19870         java/awt/TextField.java,
19871         java/awt/image/renderable/RenderContext.java,
19872         javax/swing/JApplet.java: Fix handling of alias methods, where a
19873         method has been deprecated in favour of a new one with the same
19874         funtion but a different name.  Put the method implementation in
19875         the deprecated method and have the new method call the
19876         deprecated one.  Make all other code call the new method.
19878 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
19880         * gnu/java/nio/DatagramChannelImpl.java
19881         (inChannelOperation): New field.
19882         (isInChannelOperation): New accessor.
19883         (setInChannelOperation): New modifier.
19884         (receive): Use capacity() - position() of destination
19885         buffer instead of remaining(). Set and reset our "in
19886         channel operation indicator" before and after delegating
19887         the receive to our datagram socket. Removed testing code.
19888         Update destination buffer's current position if it is
19889         backed by a byte array (hasArray() is true).
19890         (send): Set and reset our "in channel operation indicator"
19891         before and after delegating the send to our datagram socket.
19892         Removed testing code. Update source buffer's current position
19893         if it is backed by a byte array (hasArray() is true).
19894         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
19895         Use capacity() - position() of destination buffer instead
19896         of remaining().
19897         * java/net/DatagramSocket.java (receive): Don't throw an
19898         IllegalBlockingModeException if we have a non-blocking
19899         channel which initiated this operation.
19900         (send): Likewise.
19902 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
19904         * configure.in: Add pkgconfig check for glib and gthread.
19905         * configure: Regenerate.
19907 2004-02-01  Michael Koch  <konqueror@gmx.de>
19909         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
19910         arguments.
19911         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
19912         * verify.cc (debug_print): Mark 'fmt' unused.
19914 2004-01-30  Michael Koch  <konqueror@gmx.de>
19916         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
19917         * configure: Regenerated.
19918         * glib-2.0.m4: Removed.
19919         * gtk-2.0.m4: Removed.
19920         * libart.m4: Removed.
19921         * pkg.m4: New file.
19923 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
19925         * gnu/java/net/PlainSocketImpl.java
19926         (inChannelOperation): New field.
19927         (isInChannelOperation): New accessor.
19928         (setInChannelOperation): New modifier.
19929         * gnu/java/nio/ServerSocketChannelImpl.java
19930         (accept): Set and reset our server socket's PlainSocketImpl's
19931         "in channel operation" indicator before and after delegating
19932         the accept to our server socket.
19933         * gnu/java/nio/SocketChannelImpl.java
19934         (connect): Set and reset our socket's PlainSocketImpl's "in channel
19935         operation" indicator before and after delegating the operation to
19936         our socket.
19937         (read): Likewise.
19938         (write): Likewise.
19939         * java/net/ServerSocket.java (implAccept): Don't throw an
19940         IllegalBlockingModeException if we have a non-blocking
19941         channel which initiated this accept operation.
19942         * java/net/Socket.java (connect): Don't throw an
19943         IllegalBlockingModeException if we have a non-blocking
19944         channel which initiated this connect operation.
19945         * java/nio/channels/spi/AbstractSelectableChannel.java
19946         (configureBlocking): Only call implConfigureBlocking() if
19947         the desired blocking mode is different from our current one.
19949 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
19951         * java/io/BufferedReader.java (sbuf): New field.
19952         (readLine): Use String.valueOf instead of new String() as per
19953         Per Bothner's suggestion. Use instance sbuf field instead of a
19954         local StringBuffer instance.
19955         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
19956         caller's buffer to refill().
19957         (read(void)): Pass our internal work buffer to refill if our
19958         input queue is empty.
19959         (refill): Changed return type to int. Use the specified buffer
19960         instead of our work buffer as per Bryce McKinlay's suggestion.
19961         Return the number of characters read or -1 for EOF.
19963 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
19965         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
19967 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
19969         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
19970         * Makefile.in: Re-generated.
19971         * gnu/awt/xlib/XFontPeer.java: New file.
19972         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
19973         (setClip): Commented out debug printout.
19974         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
19975         (getFontPeer): Return XFontPeer.
19976         (getLocalGraphicsEnvironment): New method.
19977         (getClasspathFontPeer): New method.
19978         (createFont): New method.
19980 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
19982         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
19983         return null.
19985 2004-01-29  Kim Ho  <kho@redhat.com>
19987         * gnu/java/awt/peer/gtk/GtkFramePeer.java
19988         (gtkLayoutSetVisible): New method
19989         (setMenuBar): Hide layout before setting MenuBar
19990         and reshow it after.
19991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19992         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
19994 2004-01-28  Michael Koch  <konqueror@gmx.de>
19996         * gnu/java/lang/ClassHelper.java
19997         (getPackagePortion): Removed.
19999 2004-01-28  Michael Koch  <konqueror@gmx.de>
20001         * javax/swing/JComponent.java
20002         (listenerList): Initalize globally.
20003         (ancestor_list): Removed.
20004         (veto_list): Removed.
20005         (change_list): Removed.
20006         (get_veto_list): Removed.
20007         (get_change_list): Removed.
20008         (get_ancestor_list): Removed.
20009         (removeAncestorListener): Reimplemented.
20010         (removePropertyChangeListener): Likewise.
20011         (removeVetoableChangeListener): Likewise.
20012         (addAncestorListener): Likewise.
20013         (addPropertyChangeListener): Likewise.
20014         (addVetoableChangeListener): Likewise.
20015         (getListeners): New method.
20016         (getAncestorListeners): Likewise.
20017         (getVetoableChangeListeners): Likewise.
20018         (fireVetoableChange): Throws PropertyVetoException.
20019         * javax/swing/JEditorPane.java
20020         (JEditorPane): Throws IOException.
20022 2004-01-28  David Jee  <djee@redhat.com>
20024         * gnu/java/awt/peer/gtk/GtkFramePeer.java
20025         (create): Set the default foreground color to
20026         java.awt.SystemColor.windowText.
20028 2004-01-27  Michael Koch  <konqueror@gmx.de>
20030         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
20031         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
20032         Reindented to merge with classpath.
20034 2004-01-27  David Jee  <djee@redhat.com>
20036         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20037         (addExposeFilter): Handle GtkFramePeer separately.
20038         (removeExposeFilter): Likewise.
20040 2004-01-27  Michael Koch  <konqueror@gmx.de>
20042         * gnu/java/net/protocol/http/Connection.java
20043         (getOutputStream): Fixed typo.
20045 2004-01-27  Michael Koch  <konqueror@gmx.de>
20047         * java/lang/Class.java
20048         (getConstructor): Removed SecurityException from throws clause.
20049         (_getConstructors): Likewise.
20050         (getConstructors): Likewise.
20051         (getDeclaredConstructor): Likewise.
20052         (getDeclaredClasses): Likewise.
20053         (getDeclaredConstructors): Likewise.
20054         (getDeclaredField): Likewise.
20055         (getDeclaredMethod): Likewise.
20056         (getDeclaredMethods): Likewise.
20057         (getField): Likewise.
20058         (getMethod): Likewise.
20059         (getMethods): Likewise.
20061 2004-01-27  Kim Ho  <kho@redhat.com>
20063         * gnu/java/awt/peer/gtk/GtkFramePeer.java
20064         (removeMenuBarPeer): Remove MenuBarPeer argument.
20065         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
20066         (dispose): Call native method.
20067         * java/awt/Frame.java (setMenuBar): Create and remove
20068         MenuBar peers only if the Frame has a peer.
20069         (addNotify): Create the MenuBar peer if one exists.
20070         (removeNotify): Remove MenuBar peer if one exists.
20071         * java/awt/Menu.java: Fix imports.
20072         (addNotify): Don't use full class name.
20073         (removeNotify): Call removeNotify on all children.
20074         * java/awt/MenuBar.java (removeNotify): Call
20075         removeNotify on all children.
20076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20077         (removeMenuBarPeer): Remove MenuBarPeer argument.
20078         Iterate through children to find the Frame's MenuBar.
20079         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
20080         New file.
20081         (dispose): Remove references to the MenuComponent.
20083 2004-01-27  Michael Koch  <konqueror@gmx.de>
20085         * javax/swing/AbstractCellEditor.java: Reformated.
20086         * javax/swing/DefaultListSelectionModel.java
20087         (listenerList): Made protected.
20088         (addListSelectionListener): Javadoc added.
20089         (removeListSelectionListener): Likewise.
20090         (getListeners): Likewise.
20091         (getListSelectionListeners): Likewise.
20092         * javax/swing/JComboBox.java: Merged copyright year.
20093         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
20095 2004-01-26  Andrew Haley  <aph@redhat.com>
20097         * javax/swing/table/JTableHeader.java: Extend JComponent
20099 2004-01-26  Kim Ho  <kho@redhat.com>
20101         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
20102         Fix spacing.
20104 2004-01-26  Kim Ho  <kho@redhat.com>
20106         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
20107         method.
20108         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
20109         height and let the Layout Managers readjust anything that
20110         needs to move.
20111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20112         (moveLayout): New method. Shift everything in the Gtk
20113         layout in the Y direction by an offset.
20115 2004-01-26  David Jee  <djee@redhat.com>
20117         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20118         (handleEvent): Implemented. Handles PaintEvents.
20119         (paint): Implemented. Use GTK native methods to queue updates
20120         for this heavyweight peer.
20121         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
20122         (handleEvent): Removed.
20123         * java/awt/Component.java
20124         (paint): Implemented. Explictly paint the heavyweight peer.
20125         (update): Clear the background for heavyweight components.
20126         (paintAll): No need to call peer.paint() anymore.
20127         (processEvent): Don't process PaintEvents here. It's now done in
20128         the peer's handleEvent().
20129         (processPaintEvent): Removed.
20130         * java/awt/Container.java
20131         (paint): No need to call super.paint(). Visit heavyweight
20132         children as well.
20133         (update): Don't clear the background here.  It's done in
20134         Component.update().
20135         (visitChildren): Added check to not recurse into Containers.
20136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20137         (filter_expose_event_handler): New method.  Filter unwanted
20138         expose events while painting heavyweight peers.
20139         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
20140         New method. Connect filter and block pre_event_handler.
20141         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
20142         New method. Disconnect filter and unblock pre_event_handler.
20143         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
20144         New method. Invalidate and update given area.
20145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20146         (pre_event_handler): Add checks for unwanted expose events.
20148 2004-01-26  David Jee  <djee@redhat.com>
20150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20151         (find_bg_color_widget): For GtkButton, return its child.
20153 2004-01-26  Kim Ho  <kho@redhat.com>
20155         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
20156         private.
20157         (setMenuBar): Grab MenuBar height and change insets.
20158         (setBounds): Account for MenuBar height.
20159         (postInsetsChangedEvent): Ditto.
20160         (postSizeAllocateEvent): Remove.
20161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20162         (menubar_resize_cb): Remove
20163         (setMenuBarPeer): Remove callback.
20164         (getMenuBarHeight): Use size requisition instead of
20165         allocation.
20167 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
20169         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
20170         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
20171         when peer is null.
20172         (setColumns): Remove FIXME -- peer will retrieve number of
20173         columns by calling getColumns.
20174         (setRows): Likewise for number of rows.
20175         (next_text_number): New field.
20176         (paramString): Fix param string.
20177         (generateName): New method.
20178         (getUniqueLong): New method.
20180 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
20182         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
20183         image observer of image loading status.
20184         (getImage (String)): Start image production.
20185         (getImage (URL)): Likewise.
20187 2004-01-25  Michael Koch  <konqueror@gmx.de>
20189         * java/lang/Class.java: Imports reworked, reformated.
20190         (Class): Javadoc added.
20191         (forName): Likewise.
20192         (getClasses): Likewise.
20193         (getClassLoader): Likewise.
20194         (getComponentType): Likewise.
20195         (getConstructor): Likewise.
20196         (getConstructors): Likewise.
20197         (getDeclaredConstructor): Likewise.
20198         (getDeclaredClasses): Likewise.
20199         (getDeclaredConstructors): Likewise.
20200         (getDeclaredField): Likewise.
20201         (getDeclaredMethod): Likewise.
20202         (getDeclaredMethods): Likewise.
20203         (getDeclaringClass): Likewise.
20204         (getField): Likewise.
20205         (getInterfaces): Likewise.
20206         (getMethod): Likewise.
20207         (getMethods): Likewise.
20208         (getModifiers): Likewise.
20209         (getName): Likewise.
20210         (getResource): Likewise.
20211         (getResourceAsStream): Likewise.
20212         (getSigners): Likewise.
20213         (setSigners): Likewise.
20214         (getSuperclass): Likewise.
20215         (isArray): Likewise.
20216         (isAssignableFrom): Likewise.
20217         (isInstance): Likewise.
20218         (isInterface): Likewise.
20219         (isPrimitive): Likewise.
20220         (newInstance): Likewise.
20221         (getProtectionDomain): Likewise.
20222         (toString): Likewise.
20223         (Class): Moved.
20224         (initializeClass): Likewise.
20225         (finalize): Likewise.
20227 2004-01-24  Michael Koch  <konqueror@gmx.de>
20229         * gnu/java/net/protocol/jar/Connection.java
20230         (hdrHash): Removed.
20231         (hdrVec): Removed.
20232         (gotHeaders): Removed.
20233         (getHeaderField): Removed.
20234         (getHeaderFields): Removed.
20235         (getHeaderFieldKey): Removed.
20236         (getKey): Removed.
20237         (getField): Removed.
20238         (getHeaders): Removed.
20240 2004-01-24  Michael Koch  <konqueror@gmx.de>
20242         * Makefile.am: Added library version to gtk peer lib.
20243         * Makefile.in: Regenerated.
20245 2004-01-24  Michael Koch  <konqueror@gmx.de>
20247         * java/util/zip/InflaterInputStream.java: Merged class documentation
20248         with classpath.
20250 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
20252         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
20253         header.  For __powerpc64__ provide the default-signal.h definitions
20254         for now.
20255         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
20256         instead of the dummy definitions.
20257         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
20258         (powerpc64*-*): Remove with_libffi_default.
20259         Only add -mminimal-toc for 64-bit compilations.
20260         * configure.in: Use powerpc-signal.h on powerpc64 as well.
20261         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
20262         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
20263         * configure: Rebuilt.
20265 2004-01-23  Michael Koch  <konqueror@gmx.de>
20267         * gnu/java/nio/FileLockImpl.java: Compile fixes.
20269 2004-01-23  Michael Koch  <konqueror@gmx.de>
20271         * java/lang/VMClassLoader.java: Reworked imports.
20273 2004-01-23  Michael Koch  <konqueror@gmx.de>
20275         * javax/swing/AbstractAction.java: Reformated.
20277 2004-01-23  Michael Koch  <konqueror@gmx.de>
20279         * java/text/CollationElementIterator.java:
20280         (setText): New method.
20282 2004-01-23  Michael Koch  <konqueror@gmx.de>
20284         * gnu/java/nio/FileLockImpl.java:
20285         Fixed filename in copyright.
20286         (released): Removed.
20287         (finalize): New method.
20288         * gnu/java/nio/natFileLockImpl.cc
20289         (releaseImpl): Implemented.
20290         * java/nio/channels/FileChannelImpl.java:
20291         Reworked imports.
20292         (lock): Implemented.
20293         (lockImpl): New method.
20294         (tryLock): Implemented.
20295         (tryLockImpl): New method.
20296         * java/nio/channels/natFileChannelImpl.cc
20297         (lockImpl): New method.
20298         (tryLockImpl): New method.
20300 2004-01-23  Michael Koch  <konqueror@gmx.de>
20302         * java/io/FileDescriptor.java
20303         (lock): New method.
20304         (tryLock): New method.
20305         (unlock): New method.
20306         * java/io/natFileDescriptorEcos.cc
20307         (lock): New method.
20308         (tryLock): New method.
20309         (unlock): New method.
20310         * java/io/natFileDescriptorPosix.cc
20311         (lock): New method.
20312         (tryLock): New method.
20313         (unlock): New method.
20314         * java/io/natFileDescriptorWin32.cc
20315         (lock): New method.
20316         (tryLock): New method.
20317         (unlock): New method.
20319 2004-01-23  Michael Koch  <konqueror@gmx.de>
20321         * java/io/FileDescriptor.java
20322         (sync): Moved around, added javadoc.
20323         (valid): Likewise.
20324         (open): Likewise.
20325         (write): Likewise.
20326         (close): Likewise.
20327         (setLength): Likewise.
20328         (seek): Likewise.
20329         (getLength): Likewise.
20330         (getFilePointer): Likewise.
20331         (read): Likewise.
20332         (available): Likewise.
20333         (finalize): Likewise.
20335 2004-01-23  Michael Koch  <konqueror@gmx.de>
20337         * javax/swing/AbstractAction.java: Reformated.
20338         (getPropertyChangeListeners): New method.
20339         * javax/swing/AbstractCellEditor.java: Reformated.
20340         (getCellEditorListeners): New method.
20341         * javax/swing/DefaultListSelectionModel.java
20342         (listenerList): New field.
20343         (listeners): Removed.
20344         (get_listeners): Removed.
20345         (addListSelectionListener): Rewritten.
20346         (removeListSelectionListener): Rewritten.
20347         (getListSelectionListeners): New method.
20348         (getListeners): New method.
20349         * javax/swing/JComboBox.java: Imports reworked.
20350         (addActionListener): Implemented.
20351         (removeActionListener): Implemented.
20352         (addItemListener): Implemented.
20353         (removeItemListener): Implemented.
20354         (addPopupMenuListener): Implemented.
20355         (removePopupMenuListener): Implemented.
20356         (getActionListeners): New method.
20357         (getItemListeners): New method.
20358         (getPopupMenuListeners): New method.
20360 2004-01-23  Michael Koch  <konqueror@gmx.de>
20362         * gnu/java/net/protocol/http/Connection.java
20363         (connect): Don't initialize bufferedOutputStream if not needed.
20364         (sendRequest): Set property for content length if content is present.
20365         Write content only if present.
20366         (getOutputStream): Check if already connected, dont connect,
20367         initalize bufferedOutputStream if needed.
20369 2004-01-23  Michael Koch  <konqueror@gmx.de>
20371         * java/io/FileDescriptor.java
20372         (in, out, err): Added javadoc.
20373         (static): Merged loading code.
20374         (fd, position): Moved around.
20376 2004-01-23  Michael Koch  <konqueror@gmx.de>
20378         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
20379         New file.
20381 2004-01-23  Michael Koch  <konqueror@gmx.de>
20383         * java/lang/Class.java,
20384         java/lang/Object.java,
20385         java/lang/Thread.java: Merged copyright with classpath.
20387 2004-01-23  Michael Koch  <konqueror@gmx.de>
20389         * java/io/FileDescriptor.java: Merged copyright with classpath to
20390         start merging this class.
20392 2004-01-22  Tom Tromey  <tromey@redhat.com>
20394         PR libgcj/13107:
20395         * testsuite/libjava.lang/pr13107_2.xfail: New file.
20396         * testsuite/libjava.lang/pr13107_3.xfail: New file.
20397         * testsuite/libjava.lang/pr13107_3.java: New file.
20398         * testsuite/libjava.lang/pr13107_3.out: New file.
20399         * testsuite/libjava.lang/pr13107_2.java: New file.
20400         * testsuite/libjava.lang/pr13107_2.out: New file.
20401         * testsuite/libjava.lang/pr13107.java: New file.
20402         * testsuite/libjava.lang/pr13107.out: New file.
20403         * verify.cc (jsr_ptrs): Removed.
20404         (entry_points): Likewise.
20405         (struct subr_info): Likewise.
20406         (struct subr_entry_info): Likewise.
20407         (type_val::unused_by_subroutine_type): Likewise.
20408         (type::merge): Don't handle unused_by_subroutine_type.
20409         (type::print): Likewise.
20410         (state::flags): Removed.
20411         (state::subroutine): Likewise.
20412         (state::seen_subrs): Likewise.
20413         (state::NO_STACK): Likewise.
20414         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
20415         (state): Updated all methods.
20416         (state::clean_subrs): Removed.
20417         (state::state): Removed `ret_semantics' flag.
20418         (state::copy): Likewise.
20419         (state::add_subr): Removed.
20420         (state::enter_subroutine): Likewise.
20421         (type::set_return_address): New method.
20422         (handle_jsr_insn): Set return address on the type.  Always
20423         invalidate PC after call.
20424         (check_nonrecursive_call): Removed.
20425         (~_Jv_BytecodeVerifier): Updated.
20426         (branch_prepass): Removed special handling of jsr.
20427         (note_branch_target): Likewise.
20428         (get_subroutine): Removed.
20429         (state::merge): Don't merge subroutines and don't handle
20430         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
20431         (state::note_variable): Removed.
20432         (state::is_unmerged_ret_state): Likewise.
20433         (state::print): Updated.
20434         (set_variable): Likewise.
20435         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
20436         and jsr_semantics arguments.  Updated for new reverification
20437         list.
20438         (pop_jump): Rewrote.
20439         (construct_primitive_array_type): Updated.
20440         (state::next): Removed.
20441         (INVALID_STATE): New define.
20442         (state::INVALID): Removed.
20443         (state::NO_NEXT): New value.
20444         (state::pc, state::next): New fields.
20445         (state::get_pc): New method.
20446         (next_verify_pc): Removed.
20447         (next_verify_state): New field.
20448         (verify_instructions_0): Always check for falling off end.
20449         (linked): New type.
20450         (linked_utf8): Removed.
20451         (states): Changed type.
20452         (type::state_mergeable_p): New method.
20453         (state::state_mergeable_p): Likewise.
20454         (handle_ret_insn): Removed most code.
20455         (state::reverify): New method.
20456         (add_new_state): Likewise.
20457         (state::set_pc): Likewise.
20459 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
20461         PR java/13733
20462         * testsuite/libjava.compile/PR13733.java: New file.
20463         * testsuite/libjava.compile/PR13733.xfail: New file.
20465 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
20466             Michael Koch  <konqueror@gmx.de>
20468         * javax/swing/table/DefaultTableCellRenderer.java
20469         (DefaultTableCellRenderer): Added javadoc for the class and for
20470         the constructor, Border instance, create an EmptyBorder.
20471         (UIResource): Removed the comment at the end of the class
20472         (setForeground): New method.
20473         (setBackground): New method.
20474         (updateUI): New method.
20475         (getTableCellRendererComponent): Rewritten with the help of
20476         dvholten and Stephane Meslin-Weber.
20477         (validate): New method.
20478         (repaint): New method.
20479         (firePropertyChange): New method.
20480         (setValue): New method.
20482 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
20484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20485         (connectJObject): Replace printf calls with g_assert statements.
20486         Move property-notify-event signal connection to ...
20487         (connectSignals): Connect property-notify-event signal.  Iterate
20488         through the vbox's children to find layout.
20490 2004-01-22  Graydon Hoare  <graydon@redhat.com>
20492         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
20493         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
20494         Predicate static initialization on GtkToolkit.useGraphics2D().
20495         * java/awt/Component.java (processPaintEvent): Consume event.
20496         * javax/swing/AbstractButton.java: Reimplement, document.
20497         * javax/swing/DefaultButtonModel.java: Reimplement, document.
20498         * javax/swing/JComponent.java (paint): Use double buffer.
20499         (listenerList): Enable member.
20500         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
20501         * javax/swing/JToggleButton.java
20502         (JToggleButton): Modify model constructor.
20503         * javax/swing/SwingUtilities.java
20504         (layoutCompoundLabel): Adjust arithmetic.
20505         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
20506         * javax/swing/plaf/basic/BasicGraphicsUtils.java
20507         (getPreferredButtonSize): Include margins in calculation.
20508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20509         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
20510         Receive up events from subordinate layout component.
20512 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
20514         * java/awt/Component.java (show): Set visible to true before
20515         showing the peer.
20517 2004-01-21  Kim Ho  <kho@redhat.com>
20519         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
20520         Fix comments.
20521         (removeMenuBarPeer): Make package private.
20522         (setMenuBarPeer): Make package private.
20523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20524         (menubar_resize_cb): Mark attributes unused.
20525         (getMenuBarHeight): ditto.
20527 2004-01-21  David Jee  <djee@redhat.com>
20529         * java/awt/Container.java
20530         (LightweightDispatcher.handleEvent): Add an extra check to avoid
20531         dispatching MOUSE_ENTERED event twice. Translate the point for
20532         the mouse event target before dispatching the event.
20534 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
20536         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
20537         lib_org_w3c_dom_la_LDFLAGS): New.
20538         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
20539         * Makefile.in: Rebuilt.
20541 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
20543         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
20544         Calculate proper offsets for heavyweight components packed in
20545         lightweight containers.
20547         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
20548         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
20549         (native create): Add width parameter.
20550         (create): Calculate text entry width based on current font's
20551         metrics and number of columns.  Set TextField's font if not
20552         already set.  Call native create.
20553         (gtkEntryGetBorderWidth): New native method.
20554         (gtkEntryGetSize): Remove method.
20555         (getMinimumSize): Call minimumSize.
20556         (getPreferredSize): Call preferredSize.
20557         (minimumSize): Calculate minimum size based on backing
20558         GtkEntry's borders, font metrics and number of columns.
20559         (preferredSize): Likewise for preferred size.
20560         (get_border_width): New static function.
20562         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
20563         Override GtkWindowPeer's setResizable method to account for menu
20564         bar height when setting the frame's size.
20566 2004-01-19  Matthias Klose  <doko@debian.org>
20568         * libtool-version: Increased `current' to 6.
20570 2004-01-19  Kim Ho  <kho@redhat.com>
20572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20573         (connectJObject): Iterate through the vbox's children to find layout.
20575 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
20577         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
20578         isDispatchThread method to replace wrong test condition.
20580 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
20582         * java/awt/EventQueue.java (pop): Prevent racing condition to add
20583         events to the queue out of order by acquiring locks in the proper
20584         order and not by releasing one before acquiring the other.
20586 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
20588         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
20589         visible so that dialog can be reused.
20591 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
20593         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
20594         events may be handled by any queue in the stack.
20596 2004-01-19  Kim Ho  <kho@redhat.com>
20598         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
20599         MenuBarPeer parameter.
20600         (removeMenuBarPeer): New native method.
20601         (setMenuBar): Call remove if menu bar is null. Adjust insets
20602         appropriately.
20603         (postSizeAllocateEvent): New method. Called when menu bar size is
20604         allocated. Adjust insets and redo layout.
20605         (GtkFramePeer): Set menu bar during frame creation.
20606         (postConfigureEvent): Adjust position and size to accomodate
20607         menu bar.
20608         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
20609         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
20610         (addNotify): Create the peer if it doesn't exist and call addNotify
20611         for the menu's items.
20612         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
20613         * java/awt/MenuItem.java (addNotify): Create the peer if it
20614         doesn't exist.
20615         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20616         (removeMenuBarPeer): New method. Remove menu bar on the current
20617         frame.
20618         (setMenuBarPeer): Add the menu bar to the current frame and the
20619         callback for size-allocate events on the menu bar.
20620         (getMenuBarHeight): Add menu bar parameter.
20621         (menubar_resize_cb): New callback method for postSizeAllocate events.
20623         Also: Fix indentation on last ChangeLog entry.
20625 2004-01-16  Kim Ho  <kho@redhat.com>
20627         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
20628         (gtkWidgetGetDimensions): Remove.
20629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20630         (gtkWidgetGetDimensions): Remove.
20632 2004-01-16  Tom Tromey  <tromey@redhat.com>
20634         * java/awt/Container.java: Typo and indentation fixes.
20636         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
20637         * java/lang/natVMClassLoader.cc: ...here.  New file.
20638         * Makefile.in: Rebuilt.
20639         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
20641 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
20643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
20644         Discard GDK_ENTER_NOTIFY related to ungrabs.
20646 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
20648         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
20649         is called for an intermediate queue.
20651 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
20653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20654         (window_property_changed_cb): Set id_set.
20656 2004-01-16  Kim Ho  <kho@redhat.com>
20658         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
20659         it is a FileDialog and has dimensions of 0 by 0, then the initial
20660         size is set to size request plus insets.
20661         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
20662         (gtkWidgetGetDimensions): Override method.
20663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20664         (gtkWidgetGetDimensions): Override method. Returns size request plus
20665         insets.
20667 2004-01-16  Andrew Haley  <aph@redhat.com>
20669         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
20670         * sysdep/i386/locks.h: Likewise.
20672 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
20674         * java/awt/EventDispatchThread.java (run): Stop running when
20675         interrupted.
20676         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
20677         Reset the queue after transferring its contents.
20678         (push): Start a new dispatch thread if none is running.
20680 2004-01-16  Olga Rodimina <rodimina@redhat.com>
20682         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20683         (doPolygon): set fill rule of polygon to
20684         WIND_EVEN_ODD by default.
20686 2004-01-15  Olga Rodimina <rodimina@redhat.com>
20688         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20689         Implemented rendering hints related methods.
20690         (getDefaultHints): New helper method. Returns
20691         default rendering hints.
20692         (walkPath): changed to normalize path if
20693         the KEY_STROKE_CONTROL key is in "normalize" mode.
20694         (draw3DRect): changed coordinates of rectangle by +0.5
20695         if in "normalize" mode.
20697 2004-01-15  Tom Tromey  <tromey@redhat.com>
20699         * Makefile.in: Rebuilt.
20700         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
20701         (%.lo: %.java) Filter out StackTrace.lo.
20703 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
20705         * configure.in: Add in AC_PREREQ(2.13)
20706         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete
20707         FIXME comment.
20709 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
20710             Tom Tromey  <tromey@redhat.com>
20712         PR libgcj/12001:
20713         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
20714         array to superclass.
20715         (init): Changed interface; add URLs here.
20716         (initialize): New static method.
20717         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
20718         (_Jv_RunMain): ... not here.
20720 2004-01-14  Michael Koch  <konqueror@gmx.de>
20722         * java/text/MessageFormat.java:
20723         Added descriptions to exceptions.
20724         This fixes PR libgcj/2429.
20726 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
20728         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
20729         (push): Make sure push is performed at the top of the thread stack.
20731 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
20733         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
20734         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
20735         (native create): Add width and height parameters.  Set text
20736         view's size request according to new parameters.
20737         (create): Calculate text view size based on current font's
20738         metrics and number of rows and columns.  Set TextArea's font if
20739         not already set.  Call native create.
20740         (getMinimumSize): Call minimumSize.
20741         (getPreferredSize): Call preferredSize.
20742         (getHScrollbarHeight): New method.
20743         (getVScrollbarWidth): New method.
20744         (minimumSize): Calculate minimum size based on scrollbar
20745         visibility, scrollbar sizes, font metrics and number of rows and
20746         columns.
20747         (preferredSize): Likewise for preferred size.
20748         (gtkTextGetSize): Remove method.
20750 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
20752         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20753         (initializeInsets): Remove method.
20754         (GtkComponentPeer): Initialize insets field.  Remove call to
20755         initializeInsets.
20756         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
20757         Remove method.
20758         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
20759         Remove method.
20760         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
20761         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
20762         (latestInsets): Remove field.
20763         (native create): Add insets parameter.  Call
20764         window_get_frame_extents.  Set the window's default size and
20765         size request based on its frame extents.
20766         (create): Initialize insets.
20767         (postInsetsChangedEvent): New method.
20768         (postConfigureEvent): Remove parameters top, left, bottom,
20769         right.  Remove insets-related logic.
20770         (connectJObject): Handle property-notify-event.
20771         (window_get_frame_extents, request_frame_extents,
20772         property_notify_predicate, window_property_changed_cb): New
20773         static functions.
20774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20775         (pre_event_handler): Remove insets-related logic for configure
20776         events.
20777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
20778         Update postConfigureEvent signature.
20780 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
20782         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
20783         to handle Window "Closing" events.
20785 2004-01-13  David Jee  <djee@redhat.com>
20787         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
20788         (setBackground): New method. Children with no explicitly-set
20789         background will be repainted with the parent container's new
20790         background color.
20792 2004-01-13  David Jee  <djee@redhat.com>
20794         * Makefile.am: Add BitwiseXORComposite.java.
20795         * Makefile.in: Regenerated.
20796         * gcj/Makefile.in: Regenerated.
20797         * include/Makefile.in: Regenerated.
20798         * testsuite/Makefile.in: Regenerated.
20800 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
20802         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
20803         not show modal dialogs twice and so that it allows showing a modal
20804         dialog from another modal dialog.
20806 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
20808         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
20809         and run secondary dispatch thread to process event queue while this
20810         thread is blocked.
20812 2004-01-12  Graydon Hoare  <graydon@redhat.com>
20814         * gnu/java/awt/gtk/GdkGraphics2D.java
20815         (static): Check GtkToolkit before initializing static state.
20816         (Graphics2D): Don't construct transform with 0.5 unit offset.
20818 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
20820         * gnu/java/awt/BitwiseXORComposite.java: Add.
20821         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20822         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
20823         (BitwiseXORComposite): Remove inner class.
20825 2004-01-11  Michael Koch  <konqueror@gmx.de>
20827         * gnu/java/lang/reflect/TypeSignature.java
20828         (getEncodingOfClass): Documentation fixed.
20829         (getClassForEncoding): Give class loader to Class.forName().
20830         Documentation fixed.
20832 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
20834         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
20836 2004-01-11  Michael Koch  <konqueror@gmx.de>
20838         * javax/swing/undo/StateEditable.java
20839         (RCSID): Removed redundant modifiers.
20841 2004-01-10  Michael Koch  <konqueror@gmx.de>
20843         * javax/print/attribute/EnumSyntax.java
20844         (getStringTable): Made protected.
20845         (getEnumValueTable): Likewise.
20846         * javax/print/attribute/standard/JobKOctetsProcessed.java
20847         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
20848         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
20849         (JobMediaSheetsCompleted): Made class final.
20850         * javax/print/attribute/standard/OutputDeviceAssigned.java
20851         (getName): Fixed typo.
20852         * javax/print/attribute/standard/RequestingUserName.java
20853         (serialVersionUID): Fixed value.
20855 2004-01-10  Michael Koch  <konqueror@gmx.de>
20857         * javax/swing/plaf/basic/BasicButtonUI.java,
20858         javax/swing/plaf/basic/BasicCheckBoxUI.java,
20859         javax/swing/plaf/basic/BasicListUI.java,
20860         javax/swing/plaf/basic/BasicOptionPaneUI.java,
20861         javax/swing/plaf/basic/BasicPanelUI.java,
20862         javax/swing/plaf/basic/BasicRadioButtonUI.java,
20863         javax/swing/plaf/basic/BasicScrollPaneUI.java,
20864         javax/swing/plaf/basic/BasicToggleButtonUI.java,
20865         javax/swing/plaf/basic/BasicViewportUI.java:
20866         Fixed import statements.
20868 2004-01-10  Michael Koch  <konqueror@gmx.de>
20870         * gnu/java/awt/image/ImageDecoder.java
20871         (produce): Made public.
20872         * gnu/java/awt/peer/GLightweightPeer.java,
20873         gnu/java/awt/peer/gtk/GtkToolkit.java:
20874         Reformated.
20876 2004-01-10  Michael Koch  <konqueror@gmx.de>
20878         * javax/swing/JRadioButtonMenuItem.java,
20879         javax/swing/JSeparator.java,
20880         javax/swing/JSplitPane.java,
20881         javax/swing/JTextPane.java,
20882         javax/swing/JToolBar.java,
20883         javax/swing/ListCellRenderer.java,
20884         javax/swing/ListModel.java,
20885         javax/swing/MenuElement.java,
20886         javax/swing/OverlayLayout.java,
20887         javax/swing/ProgressMonitor.java,
20888         javax/swing/ProgressMonitorInputStream.java,
20889         javax/swing/Renderer.java,
20890         javax/swing/RootPaneContainer.java,
20891         javax/swing/Scrollable.java,
20892         javax/swing/SingleSelectionModel.java,
20893         javax/swing/ToolTipManager.java,
20894         javax/swing/ViewportLayout.java,
20895         javax/swing/event/DocumentEvent.java,
20896         javax/swing/event/SwingPropertyChangeSupport.java,
20897         javax/swing/event/TreeSelectionEvent.java,
20898         javax/swing/event/UndoableEditEvent.java,
20899         javax/swing/text/AbstractDocument.java,
20900         javax/swing/text/AttributeSet.java,
20901         javax/swing/text/Caret.java,
20902         javax/swing/text/ComponentView.java,
20903         javax/swing/text/DefaultCaret.java,
20904         javax/swing/text/DefaultEditorKit.java,
20905         javax/swing/text/Document.java,
20906         javax/swing/text/EditorKit.java,
20907         javax/swing/text/GapContent.java,
20908         javax/swing/text/Keymap.java,
20909         javax/swing/text/MutableAttributeSet.java,
20910         javax/swing/text/PlainEditorKit.java,
20911         javax/swing/text/Segment.java,
20912         javax/swing/text/Style.java,
20913         javax/swing/text/StyledDocument.java,
20914         javax/swing/text/StyledEditorKit.java,
20915         javax/swing/text/TextAction.java,
20916         javax/swing/text/View.java: Fixed import statements.
20918 2004-01-08  Graydon Hoare  <graydon@redhat.com>
20920         * javax/swing/JLayeredPane.java: Rewrite to accomodate
20921         djee@redhat.com's recent inverse ordering of Container elements.
20923 2004-01-09  Michael Koch  <konqueror@gmx.de>
20925         * gnu/java/lang/ArrayHelper.java
20926         (equalsArray): Removed.
20928 2004-01-09  Andrew Haley  <aph@redhat.com>
20930         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
20931         a Utf8Const field before looking at its class.
20933 2004-01-09  Michael Koch  <konqueror@gmx.de>
20935         * javax/print/attribute/standard/DocumentName.java,
20936         javax/print/attribute/standard/JobHoldUntil.java,
20937         javax/print/attribute/standard/JobMessageFromOperator.java,
20938         javax/print/attribute/standard/JobName.java,
20939         javax/print/attribute/standard/JobOriginatingUserName.java,
20940         javax/print/attribute/standard/OutputDeviceAssigned.java,
20941         javax/print/attribute/standard/PrinterInfo.java,
20942         javax/print/attribute/standard/PrinterLocation.java,
20943         javax/print/attribute/standard/PrinterMakeAndModel.java,
20944         javax/print/attribute/standard/PrinterMessageFromOperator.java,
20945         javax/print/attribute/standard/PrinterName.java,
20946         javax/print/attribute/standard/RequestingUserName.java: New files.
20947         * Makefile.am (javax_source_files): Added new files.
20948         * Makefile.in: Regenerated.
20950 2004-01-09  Michael Koch  <konqueror@gmx.de>
20952         * javax/swing/AbstractAction.java,
20953         javax/swing/AbstractSet.java,
20954         javax/swing/Action.java,
20955         javax/swing/ActionMap.java,
20956         javax/swing/BoundedRangeModel.java,
20957         javax/swing/ButtonModel.java,
20958         javax/swing/CellEditor.java,
20959         javax/swing/CellRendererPane.java,
20960         javax/swing/ComboBoxEditor.java,
20961         javax/swing/DebugGraphics.java,
20962         javax/swing/DefaultCellEditor.java,
20963         javax/swing/DefaultCellRenderer.java,
20964         javax/swing/DefaultComboBoxModel.java,
20965         javax/swing/DefaultDesktopManager.java,
20966         javax/swing/DefaultFocusManager.java,
20967         javax/swing/DefaultListCellRenderer.java,
20968         javax/swing/Icon.java,
20969         javax/swing/JButton.java,
20970         javax/swing/JCheckBoxMenuItem.java,
20971         javax/swing/JDesktopPane.java,
20972         javax/swing/JEditorPane.java,
20973         javax/swing/JMenu.java,
20974         javax/swing/JPanel.java,
20975         javax/swing/JPasswordField.java,
20976         javax/swing/JPopupMenu.java,
20977         javax/swing/JProgressBar.java: Reworked imports.
20979 2004-01-09  Michael Koch  <konqueror@gmx.de>
20981         * java/awt/geom/PathIterator.java
20982         (WIND_EVEN_ODD): Removed redundant modifiers.
20983         (WIND_NON_ZERO): Likewise.
20984         (SEG_MOVETO): Likewise.
20985         (SEG_LINETO): Likewise.
20986         (SEG_QUADTO): Likewise.
20987         (SEG_CUBICTO): Likewise.
20988         (SEG_CLOSE): Likewise.
20989         * java/awt/image/SinglePixelPackedSampleModel.java:
20990         Removed redundant semicolon.
20991         * java/io/ObjectInputStream.java
20992         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
20993         * java/util/logging/Filter.java
20994         (isLoggable): Removed redundant modifier.
20995         * java/util/logging/LogManager.java:
20996         Removed redundant semicolon.
20997         * java/util/logging/XMLFormatter.java
20998         (format): Removed unused variable "key".
21000 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
21002         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
21003         New name for the former setFile native method.
21004         (setFile): New method.
21005         (setDirectory): Implemented.
21006         (connectSignals): New native method.
21007         (setFilenameFilter): Improve comment.
21008         (getGraphics): Comment.
21009         (gtkHideFileDialog): New method.
21010         (gtkDisposeFileDialog): New method.
21011         (gtkSetFilename): New method.
21012         * java/awt/Dialog.java (show): Block on modal dialogs, but only
21013         for FileDialog for now.
21014         (hide): New method.
21015         (dispose): New method.
21016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
21017         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
21018         deprecated creation functions.  Make dialog modal.  Add it to the
21019         window group.
21020         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
21021         function.
21022         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
21023         Rename to...
21024         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
21025         name.
21026         (window_closed): New function.
21027         (ok_clicked): New function.
21028         (cancel_clicked): New function.
21030 2004-01-08  Michael Koch  <konqueror@gmx.de>
21032         * javax/swing/JLayeredPane.java: Revert changes to standard
21033         boilerplate, reworked imports.
21035 2004-01-07  Tom Tromey  <tromey@redhat.com>
21037         PR libgcj/13439:
21038         * verify.cc (state::merge): Copy changed locals out of subroutine
21039         in NO_STACK case.
21040         (state::FLAG_CHANGED): New const.
21041         (state::FLAG_UNUSED): Likewise.
21042         (state::local_changed): Removed.  Updated all users.
21043         (state::flags): New field.
21044         (state::merge): Added jsr_semantics argument, more logic.
21045         (push_jump_merge): Added jsr_semantics argument.
21046         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
21047         merging through the jsr instruction.
21049 2004-01-07  Tom Tromey  <tromey@redhat.com>
21051         * scripts/MakeDefaultMimeTypes.java: Use \n, not
21052         backslash-newline.
21054 2004-01-07  Graydon Hoare  <graydon@redhat.com>
21056         * java/awt/Container.java (LightweightDispatcher): Implement.
21057         (visitChild): Reuse graphics object.
21058         (dispatchEventImpl): Optionally dispatch to lightweight.
21059         (addNotifyContainerChildren): Build LightweightDispatcher.
21061 2004-01-07  David Jee  <djee@redhat.com>
21063         * java/awt/Container.java
21064         (update): Clear only the clipped region, instead of clearing the
21065         entire Container.
21066         (visitChildren): Visit children in descending order.
21068 2004-01-07  Michael Koch  <konqueror@gmx.de>
21070         * java/lang/reflect/Array.java: Merged documentation with classpath.
21072 2004-01-07  Michael Koch  <konqueror@gmx.de>
21074         * java/text/CollationElementIterator.java
21075         (textIndex): Renamed from index.
21076         * java/text/CollationKey.java
21077         (collator): New member.
21078         (CollationKey): New argument for parent collator.
21079         (equals): Check for same collator, source string and key array.
21080         * java/text/RuleBasedCollator.java:
21081         Reformated.
21082         (RuleBasedCollator): Don't re-initialize frenchAccents with default
21083         value.
21084         (getCollationElementIterator): Rewritten.
21085         (getCollationKey): Added new argument to CollationKey constructor.
21087 2004-01-07  Michael Koch  <konqueror@gmx.de>
21089         * gnu/java/nio/DatagramChannelImpl.java
21090         (blocking): Removed.
21091         (DatagramChannelImpl): Call configureBlocking().
21092         (implConfigureBlocking): Dont initialize blocking.
21093         * gnu/java/nio/ServerSocketChannelImpl.java
21094         (blocking): Removed.
21095         (ServerSocketChannelImpl): Call configureBlocking().
21096         (implConfigureBlocking): Dont initialize blocking.
21097         * gnu/java/nio/SocketChannelImpl.java
21098         (blocking): Removed.
21099         (SocketChannelImpl): Call configureBlocking().
21100         (implConfigureBlocking): Dont initialize blocking.
21101         (connect): Use isBlocking().
21102         * java/nio/channels/spi/AbstractSelectableChannel.java
21103         (configureBlocking): Use blockingLock() instead of LOCK.
21104         Set blocking after successfully called implConfigureBlocking().
21105         (register): Use blockingLock() instead of LOCK.
21107 2004-01-07  Michael Koch  <konqueror@gmx.de>
21109         * java/net/ServerSocket.java (isBound): Fixed documentation.
21111 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
21113         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
21114         (changeEvent): Create event object on demand.
21115         (DefaultBoundedRangeModel, toString, setValue, setExtent,
21116         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
21117         fireStateChanged): Re-written.
21118         * javax/swing/event/EventListenerList.java: Reformatted, document
21119         typical usage.
21120         (toString): Implemented.
21121         (getListeners): Re-written.
21122         (remove): Re-written.
21123         (add): Re-written.
21124         (NO_LISTENERS): New singleton field.
21125         (listenerList): Declare as transient; document.
21126         (serialVersionUID): Document.
21127         (getListenerCount(Class)): More efficient implementation,
21128         also accepts null argument.  Improve Javadoc.
21129         (getListenerCount()): Remove unnecessary cast; docfix.
21130         * javax/swing/undo/UndoableEditSupport.java:
21131         Re-format, document.
21132         (UndoableEditSupport): Set realSource field. Improve documentation.
21133         (_postEdit): Iterate over cloned listener vector.
21134         (toString): Don't emit realSource.
21135         (beginUpdate, endUpdate): Support nested updates.
21136         (postEdit): Use compound edit if present.
21138 2004-01-06  Graydon Hoare  <graydon@redhat.com>
21140         * java/awt/Container.java (swapComponents): Add forgotten
21141         function, required for JLayeredPane change.
21143 2004-01-06  Michael Koch  <konqueror@gmx.de>
21145         * java/text/CollationElementIterator.java: Reformated.
21146         (CollationElementIterator): Changed order of arguments.
21147         * java/text/RuleBasedCollator.java
21148         (RuleBasedCollator): Merged class documentation.
21149         (CollationElement): Added documentation.
21150         (compare): Reformated, renamed arguments.
21151         (equals): Likewise.
21152         (getCollationElementIterator): Likewise.
21153         (getCollationKey): Likewise.
21155 2004-01-06  Graydon Hoare  <graydon@redhat.com>
21157         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
21159 2004-01-06  Michael Koch  <konqueror@gmx.de>
21161         * gnu/java/net/protocol/file/Connection.java:
21162         Reformated copyright.
21163         (hdrHash): Removed.
21164         (hdrVec): Removed.
21165         (gotHeaders): Removed.
21166         (getHeaderField): Removed.
21167         (getHeaderField): Removed.
21168         (getHeaderFieldKey): Removed.
21169         (getKey): Removed.
21170         (getField): Removed.
21171         (getHeaders): Removed.
21173 2004-01-06  Michael Koch  <konqueror@gmx.de>
21175         * javax/print/attribute/standard/DateTimeAtCompleted.java,
21176         javax/print/attribute/standard/DateTimeAtCreation.java,
21177         javax/print/attribute/standard/DateTimeAtProcessing.java,
21178         javax/print/attribute/standard/JobImpressionsCompleted.java,
21179         javax/print/attribute/standard/JobKOctets.java,
21180         javax/print/attribute/standard/JobKOctetsProcessed.java,
21181         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
21182         javax/print/attribute/standard/JobPrioritySupported.java: New files.
21183         * Makefile.am (javax_source_files): Added new files.
21184         * Makefile.in: Regenerated.
21186 2004-01-06  Michael Koch  <konqueror@gmx.de>
21188         * java/net/URLConnection.java
21189         (contentHandler): Removed.
21190         (locale): Removed.
21191         (getHeaderFields): Return an empty map instead of null.
21192         (getContent): Connect if needed, renamed "cType" to "type" and
21193         "contentHandler" to "ch" and made it a local variable.
21194         (getPermission): Don't use package in class name.
21195         (setDefaultRequestProperty): Fixed typo in documentation.
21196         (initializeDateFormats): Made locale a local variable.
21198 2004-01-06  Michael Koch  <konqueror@gmx.de>
21200         * java/lang/Package.java
21201         (getPackage): Get the current class loader directly.
21202         * java/lang/SecurityManager.java
21203         (currentLoadedClass): Dont iterate over class contexts.
21204         (classLoaderDepth): Don't check class loaders if everything is allowed.
21206 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
21208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
21209         (pre_event_handler): Set all insets to 0 when a Configure event
21210         is received for a GtkPlug.
21211         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
21212         Make handle long, not int.
21213         (EmbeddedWindow()): New constructor.
21214         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
21215         long, not int.
21216         (setHandle): New method.
21217         (getHandle): Return long, not int.
21218         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
21219         declaration.
21220         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
21221         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
21222         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
21223         argument to GdkNativeWindow.
21224         (construct): New method.
21225         (embed): New method.
21227         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
21228         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
21229         (create(int, int)): New method.
21230         (create): Call new create method.
21231         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
21232         methods.
21233         (childResized): Remove native implementation.  Implement in
21234         Java.
21235         (getHScrollbarHeight, getVScrollbarWidth): Call
21236         gtk_widget_size_request to get scrollbar dimensions.
21237         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
21238         call getVScrollbarWidth and getHScrollbarHeight when vertical
21239         and horizontal scrollbars respectively are needed.
21240         (doLayout): Enlarge child if it is smaller than the viewport.
21242 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
21244         * java/awt/Dialog.java (constructor): Accept null title as per spec.
21245         * java/awt/FileDialog.java (constructor): Throw exception on invalid
21246         argument as per spec.
21248 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
21250         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
21251         (insert): Ditto.
21252         (remove): Ditto.  Also, Check for valid argument.
21253         (removeAll): Use peer interface method.
21254         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
21255         native add function.
21256         (nativeRemove): New name for native remove function.
21257         (getHistory): New native function.
21258         (constructor): Generate ItemEvent.
21259         (add): Ditto, if selection is changed.
21260         (remove): Ditto, ditto.
21261         (removeAll): Add implementation.
21262         (handleEvent): Remove.  Dead code.
21263         (choicePostItemEvent): Add comment.
21264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
21265         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
21266         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
21267         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
21268         comments and fix condition to change selection.
21269         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
21270         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
21271         remove all capability.
21272         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
21273         (item_activate): Add cast to remove compiler warning.
21275 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
21277         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
21278         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
21279         (getPreferredSize): Call preferredSize.
21280         (preferredSize): Call gtkWidgetGetPreferredDimensions.
21281         (getMinimumSize): Call minimumSize.
21282         (minimumSize): Call gtkWidgetGetPreferredDimensions.
21283         (gtkWidgetGetDimensions): Return the peer widget's current size
21284         request.
21285         (gtkWidgetGetPreferredDimensions): Return the peer widget's
21286         natural size request.
21288 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
21290         Thanks to Brian Gough <bjg@network-theory.com>
21291         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
21292         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
21294 2004-01-04  Matthias Klose  <doko@debian.org>
21296         * aclocal.m4: Rebuilt using "aclocal -I .".
21297         * configure: Rebuilt.
21299 2004-01-03  Per Bothner  <per@bothner.com>
21301         * java/util/Date.java (parse):  Fix a number of problems.
21302         (skipParens):  Remove no-longer-needed method.