OSDN Git Service

* configure: Regenerate.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-04-07  Mike Stump  <mrs@apple.com>
2
3         * configure: Regenerate.
4
5 2005-04-06  Andrew Haley  <aph@redhat.com>
6
7         * testsuite/libjava.lang/bytearray.java: New file.
8         * testsuite/libjava.lang/bytearray.out: New file.
9         * java/lang/ClassLoader.java (loadClassFromSig): Declare
10         (loadClass): Use it.
11         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
12
13 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
14
15         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
16         gcj-dbtool dependency
17         * Makefile.in: Regenerated
18
19 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
20
21         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
22         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
23
24 2005-04-05  Andrew Haley  <aph@redhat.com>
25
26         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
27         (Tokenizer): New class.
28         (getFiles): New method.
29         (main): Add "-" argument.
30         Add "-0" argument.
31         Read list of files from stdin when merging map databases.
32         (usage):  Add "-" argument.
33         Add "-0" argument.
34         Minor corrections.
35
36 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
37
38         PR libgcj/20750
39         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
40         * Makefile.in: Regenerate.
41         * configure.ac: Add --with-java-home option.
42         * configure: Regenerate.
43         * external/Makefile.in: Regenerate.
44         * external/sax/Makefile.in: Regenerate.
45         * external/w3c_dom/Makefile.in: Regenerate.
46         * gcj/Makefile.in: Regenerate.
47         * include/Makefile.in: Regenerate.
48         * testsuite/Makefile.in: Regenerate.
49         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
50         to JAVA_HOME macro.
51
52 2005-04-05  Tom Tromey  <tromey@redhat.com>
53
54         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
55         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
56         Rewrote to use _Jv_FindClassFromSignature.
57         * verify.cc (resolve): throw NoClassDefFoundError.
58         * link.cc (resolve_field): Throw NoClassDefFoundError.
59         (find_field): Likewise.
60         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
61         Handle error cases.  Added 'endp' argument.
62         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
63
64 2005-04-05  Tom Tromey  <tromey@redhat.com>
65
66         * Makefile.in: Rebuilt.
67         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
68         gtk_awt_peer_sources.
69         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
70         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
71         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
72         (gtk-awt-peer.lo): New target.
73
74 2005-04-04  Steve Pribyl <steve@netfuel.com>
75
76         PR libgcj/20761
77         * configure.ac: Fix fastjar definition for cross builds.
78         * configure: Rebuilt.
79
80 2005-04-04  Tom Tromey  <tromey@redhat.com>
81
82         * java/lang/ClassLoader.java (loadClass): Resolve class even if
83         it was already found.
84
85 2005-04-04  Tom Tromey  <tromey@redhat.com>
86
87         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
88         org.metastatic.jessie.
89
90 2005-04-02  Anthony Green  <green@redhat.com>
91
92         PR libgcj/20727
93         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
94
95 2005-04-02  Mark Wielaard  <mark@klomp.org>
96
97         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
98         Attributes and attribute order doesn't matter.
99         (BasicAttributesEnumeration.where): Initialize to zero.
100         (BasicAttributesEnumeration.nextElement): Update and compare where
101         appropriately (zero based).
102
103 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
104
105         PR libgcj/20090, PR libgcj/20526
106         * gij.cc (nonstandard_opts_help): New function.
107         (add_option): New function.
108         (main): Support java options.  Set java.class.path.  Don't set
109         _Jv_Jar_Class_Path.
110         * prims.cc (parse_x_arg): New function.
111         (parse_init_args): Call parse_x_arg for -X and _ options, when
112         ignoreUnrecognized is true.
113         (new _Jv_RunMain): New vm_args variant.
114         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
115         (_Jv_Jar_Class_Path): Remove variable.
116         * include/java-props.h: Likewise.
117         * include/cni.h (JvRealloc): New function.
118         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
119         * java/lang/natRuntime.cc (insertSystemProperties): Remove
120         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
121         macros.
122         * configure.ac (JV_VERSION): Define.
123         (JV_API_VERSION): Likewise.
124         * configure: Regenerate.
125         * include/config.h.in: Regenerate.
126
127 2005-04-01 Mark Anderson <mark@panonet.net>
128
129         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
130         -Infinity as parameters.
131
132 2005-04-01  Michael Koch  <konqueror@gmx.de>
133
134         * java/io/PipedInputStream.java
135         (read): Make sure a positive byte value is returned. Revised javadoc.
136         Thanks to Olafur Bragason for reporting these bugs.
137
138 2005-04-01  Tom Tromey  <tromey@redhat.com>
139
140         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
141         Updated for name change.
142         (nativeFindClass): New method.
143         (loadClass): Use nativeFindClass.
144         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
145         form of loadClass.
146         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
147         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
148         VMClassLoader.
149         (initialize): New method.
150         (nativeFindClass): Declare.
151         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
152         * gnu/gcj/runtime/VMClassLoader.java: Removed.
153         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
154         VMClassLoader.java.
155         (definePackageForNative): Removed.
156         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
157         Moved to VMClassLoader.java.
158         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
159         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
160         (ordinary_java_source_files): Added ExtensionClassLoader.java,
161         removed VMClassLoader.java.
162         (nat_source_files): Removed natVMClassLoader.cc.
163
164 2005-04-01  Tom Tromey  <tromey@redhat.com>
165
166         * Makefile.in: Rebuilt.
167         * Makefile.am (db_pathtail): Use $(gcc_version), not
168         @gcc_version@.
169
170 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
171
172         * java/util/Timer.java
173         (run): Stop the queue if a task throws an exception.
174
175 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
176
177         * javax/swing/text/JTextComponent.java (viewToModel): New method.
178
179 2005-03-29  Ian Lance Taylor  <ian@airs.com>
180
181         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
182         * external/sax/Makefile.in: Rebuild.
183         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
184         "-fclasspath=".
185         * external/w3c_dom/Makefile.in: Rebuild.
186
187 2005-03-29  Tom Tromey  <tromey@redhat.com>
188
189         * java/lang/natRuntime.cc (insertSystemProperties): Set
190         gnu.gcj.runtime.endorsed.dirs.
191         * Makefile.in: Rebuilt.
192         * Makefile.am (ordinary_java_source_files): Added
193         HelperClassLoader.java.
194         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
195         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
196         HelperClassLoader.
197         (init): Use addDirectoriesFromProperty.
198         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
199         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
200         gnu.gcj.runtime.endorsed.dirs.
201         * gnu/gcj/runtime/HelperClassLoader.java: New file.
202
203 2005-03-26  Chris Burdess  <dog@gnu.org>
204
205         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
206         required.
207
208 2005-03-13  Michael Koch  <konqueror@gmx.de>
209
210         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
211
212 2005-03-11  Chris Burdess  <dog@gnu.org>
213
214         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
215         warnings.
216
217 2005-02-27  Chris Burdess  <dog@gnu.org>
218
219         * gnu/xml/aelfred2/JAXPFactory.java,
220         gnu/xml/aelfred2/SAXDriver.java,
221         gnu/xml/aelfred2/XmlParser.java,
222         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
223         formatting conventions. Replaced arrays of Object with struct-like
224         classes for easier maintainability. Made SAXDriver.stringInterning
225         package private to allow access from XmlParser inside the loop without
226         a method call overhead.
227
228 2005-03-11  Chris Burdess  <dog@gnu.org>
229
230         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
231         warnings.
232
233 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
234
235         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
236         settings to sub Makefiles.
237         (GCJH, ZIP): Prefix with top_builddir.
238         * configure: Rebuild.
239         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
240         * external/w3c_dom/Makefile.in: Rebuild.
241         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
242         * external/sax/Makefile.in: Rebuild.
243
244 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
245
246         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
247         libsocket to the libraries to link for Solaris.
248
249 2005-03-28  Per Bothner  <per@bothner.com>
250
251         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
252         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
253
254 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
255
256         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
257         to fix a ONESTEP fallout.
258         * Makefile.in: Regenerate.
259
260 2005-03-25  Mike Stump  <mrs@apple.com>
261
262         * configure.ac: Fix ZIP and GCJH at configure time to absolute
263         paths like we do for the compiler, as we use it in external/sax
264         and it doesn't get MULTIBUILDTOP right when multilibing.
265
266 2005-03-24  Anthony Green  <green@redhat.com>
267
268         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
269         -p option.
270         (usage): Add [LIBDIR] to help output.
271         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
272         * Makefile.am (AM_CXXFLAGS): Define
273         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
274         (db_pathtail): New macro.
275
276 2005-03-24  Tom Tromey  <tromey@redhat.com>
277
278         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
279         add sax and w3c libraries.
280         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
281         libw3c-gcj.la.
282         * external/w3c_dom/Makefile.in: Rebuilt.
283         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
284         AM_GCJFLAGS.
285         (libw3c_gcj_la_LDFLAGS): New variable.
286         (noinst_LTLIBRARIES): Renamed.
287         * external/sax/Makefile.in: Rebuilt.
288         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
289         AM_GCJFLAGS.
290         (libsax_gcj_la_LDFLAGS): New variable.
291         (noinst_LTLIBRARIES): Renamed.
292
293 2005-03-23  Tom Tromey  <tromey@redhat.com>
294
295         * Makefile.in: Rebuilt.
296         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
297         (libgcj0_convenience_la_SOURCES): Don't include
298         gnu_xml_source_files.
299         (libgcj0_convenience_la_LIBADD): New variable.
300         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
301         (all_java_source_files): javax_imageio_source_files,
302         javax_xml_source_files, and gnu_java_beans_source_files.
303         ($(gnu_xml_source_files:.java=.lo)): Removed target.
304         (gnu-xml.lo): New target.
305         (javax-imageio.lo): Likewise.
306         (javax-xml.lo): Likewise.
307         (gnu-java-beans.lo): Likewise.
308         (gnu_java_beans_source_files): New variable.
309         (javax_imageio_source_files): Likewise.
310         (javax_xml_source_files): Likewise.
311         (javax_source_files): Moved files to other variable.
312         (awt_java_source_files): Likewise.
313         (ordinary_java_source_files): Added BootClassLoader.java.
314         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
315         not system class loader.
316         (initBootLoader): New method.
317         (loadClass): Search bootLoader.
318         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
319         boot loader, not system class loader.
320         (_Jv_UnregisterInitiatingLoader): Likewise.
321         (_Jv_FindClass): Likewise.  Ensure entries in
322         bootstrap_class_list are unique.
323         * java/lang/natClass.cc (getClassLoader): Don't special case
324         system class loader.
325         * java/lang/VMClassLoader.java (bootLoader): New field.
326         (getResource): Use bootLoader.
327         (getResources): Likewise.
328         (initBootLoader): Declare.
329         * gnu/gcj/runtime/BootClassLoader.java: New file.
330         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
331         (EMPTY_ENUMERATION): Now package-private.
332         * external/w3c_com/Makefile.in: Rebuilt.
333         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
334         (w3c.jar): New target.
335         (classes.stamp): Updated.
336         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
337         Changed name of library.
338         (libw3c_gcj_la_SOURCES): New variable.
339         (libw3c_gcj_la_GCJFLAGS): Likewise.
340         (source_files): Renamed from lib3c_convenience_la_SOURCES.
341         * external/sax/Makefile.in: Rebuilt.
342         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
343         (sax.jar): New target.
344         (classes.stamp): Updated.
345         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
346         Changed name of library.
347         (libsax_gcj_la_SOURCES): New variable.
348         (libsax_gcj_la_GCJFLAGS): Likewise.
349         (source_files): Renamed from libsax_convenience_la_SOURCES.
350         * stacktrace.cc (non_system_trace_fn): Don't look at system class
351         loader.
352         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
353         loader.
354         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
355
356 2005-03-23  Sven de Marothy  <sven@physto.se>
357
358         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
359         PR libgcj/11085:
360         * java/util/Calendar.java
361         (set): Use starting day of week when one is needed if none is given.
362         * java/text/SimpleDateFormat.java
363         (parse): Handle 1-12 and 1-24 timestamps correctly.
364         * java/util/GregorianCalendar.java
365         (computeTime, computeFields): HOUR should be in 0-11 format.
366         (nonLeniencyCheck): Adjust leniency checking to that fact.
367         (getLinearDay): Should be private.
368
369 2005-03-23  Tom Tromey  <tromey@redhat.com>
370  
371         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
372         (_Jv_CheckABIVersion): Use it.
373
374 2005-03-22  Mike Stump  <mrs@apple.com>
375
376         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
377
378         * include/posix.h: .dylib is used on all Apple MACH platforms.
379         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
380
381 2005-03-22  Tom Tromey  <tromey@redhat.com>
382
383         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
384
385 2005-03-21  Tom Tromey  <tromey@redhat.com>
386
387         * java/lang/VMCompiler.java (static block): Also catch
388         BufferUnderflowException.
389
390 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
391
392         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
393         set tool_include_dir.  In all substitutions, leave $(gcc_version)
394         to be expanded by the Makefile.
395         * aclocal.m4, configure: Regenerate.
396         * Makefile.am: Set gcc_version.  Replace all uses of
397         @gcc_version@ with $(gcc_version).
398         * external/Makefile.am, external/sax/Makefile.am
399         * external/w3c_dom/Makefile.am, gcj/Makefile.am
400         * testsuite/Makefile.am: Set gcc_version.
401         * include/Makefile.am: Set gcc_version and tool_include_dir.
402         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
403         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
404         * testsuite/Makefile.in: Regenerate.
405
406 2005-03-17  Andrew Haley  <aph@redhat.com>
407
408         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
409         arg: klass.
410         Pass klass to _Jv_StackTrace::GetClassContext().
411         * java/lang/ClassLoader.java (getParent): Pass class to
412         VMSecurityManager.getClassContext()
413         (getSystemClassLoader): Likewise.
414         * java/lang/Package.java (getPackage): Likewise.
415         (getPackages): Likewise.
416         * java/lang/SecurityManager.java (getClassContext): Likewise.
417         (currentClassLoader): Likewise.
418         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
419         (currentClassLoader) Add new arg: caller.
420         Pass caller to VMSecurityManager.getClassContext.
421
422         * stacktrace.cc (GetClassContext): Correct calculation of
423         jframe_count.
424
425         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
426         im->source_file_name.
427
428 2005-03-16  Andrew Haley  <aph@redhat.com>
429
430         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
431
432 2005-03-16  Tom Tromey  <tromey@redhat.com>
433
434         * link.cc (ensure_class_linked): Removed #ifdef.
435         (print_class_loaded): Likewise.
436         (wait_for_state): Likewise.
437         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
438         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
439         * include/java-interp.h: ... here.
440
441 2005-03-16  Tom Tromey  <tromey@redhat.com>
442
443         * gnu/java/lang/MainThread.java (run): Load main class using
444         system class loader.
445
446 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
447
448         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
449         lgcc_s to the libraries to link for Darwin.
450
451 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
452
453         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
454         interpreter-specific code with #ifdef INTERPRETER.
455         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
456         (_Jv_StackTrace::FillInFrameInfo): Likewise.
457         (_Jv_StackTrace::non_system_trace_fn): Likewise.
458         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
459         #ifdef INTERPRETER. Also protect declarations that use it.
460         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
461         #ifdef INTERPRETER block.
462
463 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
464
465         PR libgcj/20251
466         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
467         * Makefile.in: Rebuilt.
468
469 2005-03-15  David Daney  <ddaney@avtrex.com>
470
471         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
472         count == 0 case.
473
474 2005-03-15  David Daney  <ddaney@avtrex.com>
475
476         * java/io/BufferedInputStream.java (available): Use 'in' instead
477         of 'super' for underlying stream access.
478         (close): Ditto.
479         (read(byte[], int, int)): Ditto.
480         (refill): Ditto.
481         (skip): Call skip on underlying stream when possible.
482
483 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
484
485         * stacktrace.cc (GetCallerInfo): Return nothing in case of
486         SJLJ_EXCEPTIONS is defined.
487
488 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
489
490         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
491         tests.
492
493 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
494
495         * testsuite/lib/libjava.exp (libjava_init): Use the same target
496         check for Darwin.
497         (libjava_arguments): Likewise.
498
499         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
500         (gcj_jni_test_one): Likewise.
501         (gcj_jni_invocation_compile_c_to_binary): Likewise.
502         Add flags to keep the Darwin linker quiet.
503         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
504         Add -liconv for Darwin.
505
506 2005-03-11  Tom Tromey  <tromey@redhat.com>
507
508         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
509         (_Jv_CheckABIVersion): Use it.
510
511 2005-03-11  Tom Tromey  <tromey@redhat.com>
512
513         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
514         (usage): Document '-p'.
515         * Makefile.in: Rebuilt.
516         * Makefile.am (dbexecdir): New variable.
517         (db_name): Likewise.
518         (dbexec_DATA): Likewise.
519         ($(db_name)): New target.
520         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
521         * java/lang/natRuntime.cc (insertSystemProperties): Set default
522         system database.
523
524 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
525
526         * exception.cc: Remove stray MethodRef.h include.
527         * java/lang/natClass.cc: Likewise.
528         * gnu/gcj/runtime/MethodRef.java: Removed.
529         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
530         gnu/gcj/runtime/natStackTrace.cc: Really removed.
531         * java/lang/natRuntime.cc (_load): Remove unsed variable.
532         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
533         * Makefile.in: Rebuilt.
534
535 2005-03-10  Tom Tromey  <tromey@redhat.com>
536
537         * Makefile.in: Rebuilt.
538         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
539
540 2005-03-10  Chris Burdess  <dog@bluezoo.org>
541
542         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
543         not currently parsing the DTD.
544
545 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
546
547         New Stack Trace infrastructure.
548         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
549         (gnu/gcj/runtime/StackTrace.java): Removed.
550         (ordinary_java_source_files): Remove obsolete files.
551         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
552         * configure.host (fallback_backtrace_h): Set backtrace header
553         for mingw and cygwin targets.
554         * configure.ac: Make symlink for fallback backtrace headers.
555         * Makefile.in, configure: Rebuilt.
556         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
557         Read 'LineNumberTable' attribute.
558         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
559         attribute.
560         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
561         table fields.
562         * exception.cc: Remove unused include.
563         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
564         (SAVE_PC): New macro. Save current PC in the interpreter frame.
565         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
566         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
567         table to direct threaded instruction values.
568         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
569         (_Jv_InterpMethod::run): No longer member function. All
570         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
571         is made or where an instruction could throw.
572         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
573         in line_table.
574         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
575         (catch_fpe): Likewise.
576         * stacktrace.cc: New file. Stack trace code now here.
577         * gnu/gcj/runtime/MethodRef.java:
578         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
579         calls addr2line to look up PC addresses in a given binary or shared
580         library.
581         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
582         gnu/gcj/runtime/natStackTrace.cc: Removed.
583         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
584         this function name is specially recognised by the stack trace code
585         and shouldn't be changed.
586         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
587         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
588         (_Jv_InterpMethod::run): Update declaration.
589         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
590         friends.
591         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
592         * include/java-stack.h: New file. Declarations for stack tracing.
593         * include/jvm.h (_Jv_Frame_info): Removed.
594         * java/lang/Class.h: Update friend declarations.
595         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
596         exception message.
597         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
598         (getStackTrace): Now native.
599         (data): New RawDataManaged field.
600         * java/lang/natClass.cc: Update includes.
601         (forName): Use _Jv_StackTrace::GetCallingClass for
602         calling-classloader check.
603         (getClassLoader): Likewise.
604         * java/lang/natRuntime.cc: Update includes.
605         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
606         * java/lang/natVMSecurityManager.cc: Update includes.
607         (getClassContext): Use _Jv_StackTrace::GetClassContext.
608         * java/lang/natVMThrowable.cc: New file. Native methods for
609         VMThrowable.
610         * java/lang/reflect/natArray.cc: Update includes.
611         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
612         accessibility check.
613         * java/lang/reflect/natConstructor.cc: Update includes.
614         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
615         accessibility check.
616         * java/lang/reflect/natField.cc: Update includes.
617         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
618         accessibility check.
619         * java/lang/reflect/natMethod.cc: Update includes.
620         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
621         accessibility check.
622         * java/util/natResourceBundle.cc: Update includes.
623         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
624         * java/util/logging/natLogger.cc: Update includes. Use
625         _Jv_StackTrace::GetCallerInfo to get call-site info.
626         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
627         implementation.
628         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
629         implementation.
630
631 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
632
633         * testsuite/libjava.compile/PR20312.java: New file.
634         * testsuite/libjava.compile/PR20312.xfail: Likewise.
635         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
636
637 2005-03-09  Andrew Haley  <aph@redhat.com>
638
639         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
640         New.
641         (smallTransferTo): New.
642         (transferFrom): Loop around smallTransferFrom, copying pageSize
643         bytes each time.
644         (transferTo): Likewise.
645
646 2005-03-09  David Daney  <ddaney@avtrex.com>
647
648         PR libgcj/20389
649         Merge BufferedInputStream from GNU Classpath.
650         * java/io/BufferedInputStream.java (marktarget): Field removed.
651         (CHUNKSIZE): Field removed.
652         (bufferSize): New field.
653         (BufferedInputStream): Initialize fields.
654         (close): Invalidate mark and buffer indexes.
655         (mark):  Rewritten.
656         (read()): Move mark handling code to refill.
657         (read(byte[], int, int)): Ditto.
658         (skip): Ditto and simplify EOF testing.
659         (refill): Rewritten.
660         * java/io/InputStreamReader.java (refill): Removed mark and reset
661         of internal BufferedInputStream.
662
663 2005-03-09  Tom Tromey  <tromey@redhat.com>
664
665         * java/lang/natVMClassLoader.cc (defineClass): Reference
666         'systemClassLoader' field directly.
667         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
668         field directly.
669         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
670         Reference 'systemClassLoader' field directly.
671         (_Jv_UnregisterInitiatingLoader): Likewise.
672         (_Jv_FindClass): Likewise.
673
674 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
675
676         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
677
678         * java/lang/mprec.h: Remove commented headers. Fix comment to match
679         the file in GNU Classpath style.
680
681 2005-03-09  Tom Tromey  <tromey@redhat.com>
682
683         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
684         (toString): Synchronize.
685
686 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
687
688         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
689         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
690
691 2005-03-07  Tom Tromey  <tromey@redhat.com>
692
693         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
694         (usage): Document '-f'.
695
696 2005-03-07  Tom Tromey  <tromey@redhat.com>
697
698         * java/lang/VMCompiler.java (md5Digest): New field.
699         (compileClass): Clone md5Digest instead of looking up a new one.
700
701 2005-03-07  Tom Tromey  <tromey@redhat.com>
702
703         PR java/20215:
704         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
705         * link.cc (find_field_helper): Added 'type' argument.
706         (find_field): Updated.
707
708 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
709         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
710         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
711         throw UnsupportedOperationException, fixed comments.
712         (setFont, setForeground): Fixed comments.
713         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
714         return type to boolean.
715         (getNextEvent): Fixed javadocs.
716         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
717         (nativeQueueEmpty): Removed unused code.
718         (iterateNativeQueue): Removed outer loop.
719
720 2005-03-06  Roger Sayle  <roger@eyesopen.com>
721
722         PR libgcj/20155
723         * Makefile.am (libgcj0_convenience.la): Revert last change.
724         * Makefile.in: Regenerate.
725
726 2005-03-05  Anthony Green  <green@redhat.com>
727
728         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
729         classpath_jawt_lock, classpath_jawt_unlock): New functions.
730         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
731         (_Jv_GetDrawingSurface): Set visualID.
732         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
733         (JAWT_GetAWT): Set Lock and Unlock.
734         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
735         visualID.
736         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
737         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
738         JAWT_LOCK_SURFACE_CHANGED): New macros.
739         (struct _JAWT): Add Lock and Unlock.
740
741 2005-03-05  Roger Sayle  <roger@eyesopen.com>
742             Alexandre Oliva  <aoliva@redhat.com>
743             Kelley Cook  <kcook@gcc.gnu.org>
744
745         PR libgcj/20155
746         * Makefile.am (libgcj0_convenience.la): New rule to create a file
747         of the object files to link to avoid exceeding the command line
748         length limits on some platforms.
749         (clean-local): Clean up objectlist files.
750         * Makefile.in: Regenerate.
751
752 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
753
754         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
755         spec_case. Initialize pointer mlo.
756
757         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
758         delta.
759
760         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
761
762         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
763         and k.
764
765         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
766         uninitialized variable z.
767
768         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
769         possible unused variables.
770
771         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
772
773         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
774
775 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
776
777         PR libgcj/20292
778         * testsuite/libjava.jni/jni.exp
779         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
780         flags.
781         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
782
783 2005-02-23  David Daney  <ddaney@avtrex.com>
784
785         * configure.host: Don't use -mxgot for MIPS builds.
786
787 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
788
789         PR bootstrap/17383
790         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
791         (COMPPATH): Removed.
792         (ZIP, GCJH): Replace it with ../$(host_subdir).
793         (built_gcc_dir): Add $(host_subdir).
794         * configure: Regenerate.
795         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
796         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
797         external/w3c_dom/Makefile.in: Regenerate.
798
799 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
800
801         * java/awt/font/TextAttribute.java: changed names to lower case;
802         (readResolve): implemented.
803         Added doc comments all over.
804
805 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
806
807         PR libgcj/16923
808         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
809         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
810         value.  Move argument parsing code to prims.cc.
811         * prims.cc (no_properties): Remove.
812         (_Jv_Compiler_Properties): Initialize to NULL.
813         (_Jv_Properties_Count): Initialize to 0.
814         (parse_verbose_args): New function.
815         (parse_init_args): New function.
816         (_Jv_CreateJavaVM): Call parse_init_args.
817         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
818         * gcj/cni.h (JvVMOption): New struct.
819         (JvVMInitArgs): Likewise.
820         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
821         void*.
822         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
823         (_Jv_VMInitArgs): Likewise.
824         * include/java-props.h (_Jv_Properties_Count): Declare.
825         * java/lang/natRuntime.cc (insertSystemProperties): Use
826         _Jv_Properties_Count in for loop exit condition.
827         * testsuite/libjava.jni/jni.exp
828         (gcj_invocation_compile_c_to_binary): New procedure.
829         (gcj_invocation_test_one): Likewise.
830         (gcj_jni_run): Run JNI invocation API tests.
831         * testsuite/libjava.jni/invocation/PR16923.c,
832         testsuite/libjava.jni/invocation/PR16923.java,
833         testsuite/libjava.jni/invocation/PR16923.out: New test.
834
835 2005-02-23  Michael Koch  <konqueror@gmx.de>
836
837         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
838         * Makefile.in: Regenerated.
839
840 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
841
842         * gnu/java/nio/ChannelReader: Fixed comments.
843
844 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
845
846         * java/nio/channels/Channels: Added FIXMEs about
847         stub method implementation.
848         (newReader): Implemented.
849         * gnu/java/nio/ChannelReader: New class.
850
851 2005-02-23  Michael Koch  <konqueror@gmx.de>
852
853         * java/text/SimpleDateFormat.java:
854         Removed unused import.
855
856 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
857
858         PR libgcj/20029:
859         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
860         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
861         * Makefile.in: Regenerate.
862         * configure.ac: Check for libXtst.
863         * configure: Regenerate.
864
865 2005-02-22  Mark Wielaard  <address@bogus.example.com>
866
867         * java/security/AlgorithmParameterGenerator.java (getInstance):
868         Mention provider when throwing NoSuchProviderException.
869         * java/security/AlgorithmParameters.java (getInstance): Likewise.
870         * java/security/KeyFactory.java (getInstance): Likewise.
871         * java/security/KeyStore.java (getInstance): Likewise.
872         * java/security/SecureRandom.java (getInstance): Likewise.
873         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
874
875 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
876
877         * java/lang/reflect/Proxy.java,
878         java/net/URL.java,
879         java/security/SecureRandom.java,
880         java/util/Timer.java,
881         java/util/prefs/AbstractPreferences.java:
882         Don't catch java.lang.ThreadDeath.
883
884 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
885
886         * java/awt/font/TransformAttribute.java,
887         (TransformAttribute(AffineTransform)): throw
888         IllegalArgumentException for null transform.
889         (getTransform): return a copy of transform.
890         Added doc comments to all.
891
892 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
893
894         * java/io/Externalizable.java,
895         java/io/Serializable.java
896         (serialVersionUID): Removed.
897         * java/rmi/server/RemoteObject.java,
898         java/rmi/server/UID.java
899         (serialVersionUID): Made private.
900         * java/rmi/server/RemoteRef.java,
901         java/rmi/server/ServerRef.java
902         (serialVersionUID): Set proper value.
903         * java/security/interfaces/DSAPrivateKey.java,
904         java/security/interfaces/DSAPublicKey.java,
905         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
906         java/security/interfaces/RSAPrivateCrtKey.java,
907         java/security/interfaces/RSAPrivateKey.java,
908         java/security/interfaces/RSAPublicKey.java,
909         javax/crypto/SecretKey.java
910         (serialVersionUID): Added.
911
912 2005-02-22  Tom Tromey  <tromey@redhat.com>
913
914         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
915
916 2005-02-22  Tom Tromey  <tromey@redhat.com>
917
918         PR java/20056:
919         * verify.cc (type::EITHER): New constant.
920         (check_field_constant): Use it.
921         (type::compatible): Handle it.
922
923 2005-02-22  Michael Koch  <konqueror@gmx.de>
924
925         * gnu/java/security/PolicyFile.java,
926         gnu/java/security/pkcs/PKCS7SignedData.java,
927         gnu/java/security/pkcs/SignerInfo.java:
928         Fixed copyright header.
929
930 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
931
932         * java/beans/PropertyDescriptor.java
933         (PropertyDescriptor,setReadMethod): Set propertyType.
934
935 2005-02-22  Michael Koch  <konqueror@gmx.de>
936
937         * java/nio/DirectByteBufferImpl.java
938         (owner): Fixed formatting of javadoc.
939         * java/text/DateFormat.java
940         (getAvailableLocales): Fixed formatting.
941         * java/text/SimpleDateFormat.java:
942         Fixed formatting and import statement order.
943         * java/util/Calendar.java
944         (Calendar): Fixed javadoc to be HTML compliant.
945         * java/util/SimpleTimeZone.java:
946         Fixed javadocs.
947
948 2005-02-22  Roman Kennke <roman@ontographics.com>
949
950         * javax/swing/plaf/basic/BasicLookAndFeel.java
951         (initComponentDefaults): Fixed Button left and right margin.
952
953 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
954
955         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
956         empty Runnable.
957
958         PR libgcj/17952:
959         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
961         (getWidth): New method.
962         (getHeight): Likewise.
963         (create): Remove width, height and insets parameters.  Move size
964         setup ...
965         (realize_cb): ... here.  New function.
966         (connectSignals): Connect realize_cb.
967         (request_frame_extents): Remove FIXME.  Move
968         postInsetsChangedEvent lookup ...
969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
970         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
971         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
972         jmethodID.
973         (windowGetWidthID): Likewise.
974         (windowGetHeightID): Likewise.
975
976 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
977
978         PR libgcj/19842
979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
980         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
981
982 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
983
984         Merge serialization from GNU Classpath.
985         * gcj/method.h: Add missing #includes.
986         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
987         primitive class IDs on the stream here...
988         (resolveClass): ...not here.
989         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
990         fields.
991         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
992         setLongNative, setIntNative, setShortNative, setCharNative,
993         setByteNative, setBooleanNative, setObjectNative): New native methods.
994         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
995         setLongNative, setIntNative, setShortNative, setCharNative,
996         setByteNative, setBooleanNative, setObjectNative): Implement them.
997         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
998         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
999         the constructor here.
1000         (callConstructor): Removed.
1001         (getCallersClassLoader): Removed.
1002         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
1003         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
1004         to control whether setting final field values is permitted. Call
1005         getAddr() with checkFinal parameter instead of setAddr().
1006         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
1007         only if not done already.
1008         (getAddr): Add checkFinal parameter. Do the final field check only if
1009         checkFinal is set.
1010         (setAddr): Removed.
1011
1012 2005-02-21  Mark Wielaard  <mark@klomp.org>
1013
1014         # Fixes bug #11957
1015         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
1016         twice.
1017
1018 2005-02-21  Mark Wielaard  <mark@klomp.org>
1019
1020         Fixes bug #11618.
1021         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
1022         without a super class and us ObjectStreamClass.lookupForClassObject().
1023         (resolveClass): Check for primitive types.
1024         (lookupClass): Return null when argument is null.
1025
1026 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
1027
1028         * java/io/ObjectInputStream.java
1029         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
1030
1031 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
1032
1033         * java/io/ObjectOutputStream.java
1034         (writeObject, callWriteMethod): Replaced reflection with accessing
1035         cached info in ObjectStreamClass.
1036         (getMethod): Removed.
1037         * java/io/ObjectStreamClass.java
1038         (findMethod): Added check to make sure the method found has the
1039         right modifiers.
1040         (cacheMethods): Added writeReplace and writeObject methods.
1041         (setFlags): Look at new writeObjectMethod field instead of doing
1042         reflection again.
1043         (writeReplaceMethod): New field.
1044         (writeObjectMethod): New field.
1045
1046 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
1047         Jeroen Frijters  <jeroen@frijters.net>
1048
1049         * java/io/ObjectInputStream.java
1050         (newObject): Changed prototype. Get a constructor reflect object
1051         directly.
1052         (callConstructor): Removed.
1053         (allocateObject): Changed prototype.
1054         (readClassDescriptor): Build the constructor reflection directly.
1055         (readObject): Invoke newObject using the new prototype.
1056
1057         * java/io/ObjectStreamClass.java
1058         (firstNonSerializableParent): Removed.
1059         (firstNonSerializableParentConstructor): Added.
1060
1061 2005-02-21  Mark Wielaard  <mark@klomp.org>
1062
1063         * gnu/java/locale/LocaleInformation_en.java: Extend
1064         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
1065
1066 2005-02-21  Mark Wielaard  <mark@klomp.org>
1067
1068         * java/text/SimpleDateFormat.java
1069         (SimpleDateFormat(String, DateFormatSymbols)): Throw
1070         NullPointerException when formatData is null.
1071
1072 2005-02-21  Mark Wielaard  <mark@klomp.org>
1073
1074         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
1075         taking dstSavings into account.
1076
1077 2005-02-21  Sven de Marothy <sven@physto.se>
1078
1079         * java/text/SimpleDateFormat.java,
1080         (parse): Set correct DST_OFFSET to the correct value.
1081
1082 2005-02-21  Mark Wielaard  <mark@klomp.org>
1083
1084         * java/util/SimpleTimeZone.java (checkRule): Throw
1085         IllegalArgumentException when month out of range.
1086
1087 2005-02-21  Sven de Marothy  <sven@physto.se>
1088
1089         * java/util/GregorianCalendar.java,
1090         (add): Don't set fields directly anymore. Use set()
1091
1092 2005-02-21  Mark Wielaard  <mark@klomp.org>
1093
1094         * java/text/SimpleDateFormat.java (CompiledField.toString):
1095         Use StringBuffer, not StringBuilder.
1096         (toString): Likewise.
1097
1098 2005-02-21  Sven de Marothy  <sven@physto.se>
1099
1100         * java/util/Calendar.java
1101         (clear): Dates should clear to local time.
1102         * java/util/GregorianCalendar.java
1103         (computeTime): Fix priority problem with DAY_OF_WEEK,
1104         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
1105
1106 2005-02-21  Sven de Marothy  <sven@physto.se>
1107
1108         * java/util/Calendar.java
1109         (Calendar): Constructor should clear fields.
1110
1111 2005-02-21  Sven de Marothy  <sven@physto.se>
1112
1113         * java/text/SimpleDateFormat.java
1114         (parse): Tweak handling of 2-year dates
1115         * java/util/Calendar.java
1116         (clear): Clear fields to correct value.
1117         * java/util/GregorianCalendar.java
1118         (computeTime): Correct handling of time zones.
1119         Correct field minimum values.
1120
1121 2005-02-21  Sven de Marothy  <sven@physto.se>
1122
1123         * java/util/Calendar.java
1124         (set) Invalidate all fields on first call to set().
1125
1126 2005-02-21  Sven de Marothy  <sven@physto.se>
1127
1128         * java/util/GregorianCalendar.java
1129         (computeTime): Fixed handling of time zones.
1130
1131 2005-02-21  Sven de Marothy  <sven@physto.se>
1132
1133         * java/util/Calendar.java
1134         (clear): Set values to Epoch instead of zero.
1135         (set): Set isSet to the relevant field pattern instead of just
1136         the field.
1137         * java/util/GregorianCalendar.java
1138         (getBundle): Removed.
1139         (getDayOfYear): Removed.
1140         (getFirstDayOfMonth): New private method.
1141         (nonLeniencyCheck): New private method.
1142         (computeTime): Correct handling of insufficient data.
1143
1144 2005-02-21  Sven de Marothy <sven@physto.se>
1145
1146         * java/util/Calendar.java: Invalidate ERA field on setting
1147         the YEAR.
1148         * java/util/SimpleTimeZone.java:
1149         (getDaysInMonth): Reimplemented.
1150         * java/util/GregorianCalendar.java:
1151         (getLinearTime): Removed.
1152         (isLeapYear(int,boolean)): Removed.
1153         (before(), after()): Removed.
1154         (computeTime): Reimplemented.
1155
1156 2005-02-21  Sven de Marothy <sven@physto.se>
1157
1158         * java/util/Calendar.java: Reformatted.
1159         * java/util/GregorianCalendar.java: Reformatted.
1160         * java/util/SimpleTimeZone.java: Reformatted.
1161
1162 2005-02-21  Sven de Marothy <sven@physto.se>
1163
1164         * java/util/GregorianCalendar.java
1165         (GregorianCalendar): Update fields in the constructor
1166
1167 2005-02-21  Noa Resare  <noa@resare.com>
1168
1169         * java/util/Calendar.java (explicitDSTOffset): New instance field.
1170         (set(int,int)): Set and use new field.
1171         (set(int,int,int)): Check new field.
1172
1173 2005-02-21  Noa Resare  <address@hidden>
1174
1175         * java/util/Calendar.java(set):
1176         Fix for DST related regression.
1177
1178 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
1179
1180         * java/util/Calendar.java
1181         (setTimeInMillis): Added call to clear, removed computeFields call.
1182         * java/util/Date.java
1183         (Date(int,int,int,int,int,int)): Removed workaround for
1184         GregorianCalendar bug.
1185         * java/util/GregorianCalendar.java
1186         (GregorianCalendar): Chained all constructors to a (new)
1187         common constructor.
1188         (computeTime): Fixed support for lenient month treatment.
1189         (getLinearDay): Return long instead of int.
1190         (calculateDay): Added fields argument and changed day argument
1191         to long.
1192
1193 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1194
1195         * java/text/SimpleDateFormat.java
1196         Lots of documentation updates.
1197         (readObject(java.io.ObjectInputStream)): Wraps
1198         IllegalArgumentException as specified.
1199         (compileFormat(String)): Uses standardChars
1200         rather than the local pattern characters.
1201         Throws IllegalArgumentException rather than
1202         storing a -1 field.
1203         (toString()): Extended to include all variables
1204         in a better format.
1205         (translateLocalizedPattern(String, String, String)):
1206         Renamed to better define the use of this method.
1207
1208 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1209
1210         * java/text/DateFormat.java:
1211         Documented pattern character offset constants and
1212         added new ones.
1213         (Field): Added new static fields for new pattern chars.
1214         * java/text/SimpleDateFormat.java:
1215         (CompiledField): Changed name of FieldSizePair class
1216         to CompiledField after adding the character as an
1217         attribute.  Changed fields to private and added
1218         accessors to give encapsulation.
1219         (CompiledField.CompiledField(int,int,char)): Extended
1220         with character field.
1221         (CompiledField.getField()): New accessor method.
1222         (CompiledField.getSize()): New acceessor method.
1223         (CompiledField.getCharacter()): New accessor method.
1224         (CompiledField.toString()): Added primarily for debugging.
1225         (standardChars): Now uses extended 24 character sequence.
1226         (compileFormat(String)): Changed to use CompiledField.
1227         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
1228         java.text.FieldPosition)): Changed to use CompiledField.
1229         New handler for RFC 822 timezones added.
1230
1231 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1232
1233         * java/text/SimpleDateFormat.java:
1234         (parse(String, java.text.ParsePosition)):
1235         Changed 'E' and 'M' cases to use both
1236         short and long names.  Extended 'z'
1237         case to also handle 'Z', and deal
1238         with simple GMT offsets such as +0100.
1239         (computeOffset(String)): New private method,
1240         which converts a GMT offset specification,
1241         such as GMT-0500 to a numeric offset in
1242         milliseconds.
1243         * java/util/TimeZone.java:
1244         (timezones()): Added "CEST", the daylight
1245         savings time version of "CET", or Central
1246         European Time.
1247
1248 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1249
1250         * java/text/SimpleDateFormat.java:
1251         (parse): Set the DST offset to 0 when parsing
1252         GMT offset timezones.
1253
1254 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1255
1256         * java/text/SimpleDateFormat.java:
1257         (parse): Use offset to set ZONE_OFFSET
1258         rather than the DST_OFFSET, so that
1259         GMT offset timezones change the right
1260         one.
1261
1262 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1263
1264         * java/text/SimpleDateFormat.java:
1265         (getDateFormatSymbols()): return a copy
1266         (setDateFormatSymbols(java.text.DateFormatSymbols)):
1267         throw exception on null input
1268         (clone()): implemented to clone
1269         internal fields
1270
1271 2005-02-21  Sven de Marothy <sven@physto.se>
1272
1273         * java/text/SimpleDateFormat.java
1274         (parse): comparison should be case-insensitive, ignore null
1275         strings.
1276
1277 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
1278
1279         * gnu/java/beans/IntrospectionIncubator.java
1280         (addMethod) Reverts the patch that ntroduced a regression (see bug
1281         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
1282
1283 2005-02-21  Michael Koch  <konqueror@gmx.de>
1284
1285         * java/awt/Checkbox.java
1286         (next_checkbox_number): New static variable.
1287         (generateName): New method.
1288         (getUniqueLong): Likewise.
1289         * java/awt/Window.java
1290         (next_window_number): New static variable.
1291         (generateName): New method.
1292         (getUniqueLong): Likewise.
1293
1294 2005-02-21  Mark Wielaard  <mark@klomp.org>
1295
1296         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
1297         exists.
1298
1299 2005-02-21  Andrew Haley  <aph@redhat.com>
1300
1301         * Makefile.in: Rebuilt.
1302         * Makefile.am (nat_source_files): Added natLogger.cc.
1303         * java/util/logging/natLogger.cc: New file.
1304         * java/util/logging/Logger.java (getCallerStackFrame): Now
1305         native.
1306
1307 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
1308
1309         * Makefile.am (all_property_files): Remove left over.
1310         (classes.stamp): Add stamp for the ONESTEP build, also known as
1311         --enable-libgcj-multifile.
1312         * Makefile.in: Regenerated.
1313
1314 2005-02-21  Michael Koch  <konqueror@gmx.de>
1315
1316         * java/awt/Button.java,
1317         java/awt/Container.java,
1318         java/awt/Font.java,
1319         java/awt/Frame.java,
1320         java/text/CollationElementIterator.java,
1321         java/text/RuleBasedCollator.java,
1322         java/util/PropertyPermission.java:
1323         Fixed formatting issues all over.
1324
1325 2005-02-21  Mark Wielaard  <mark@klomp.org>
1326
1327         * java/io/FileDescriptor.java (sync): Add real exception to
1328         SyncFailedException.
1329
1330 2005-02-21  Michael Koch  <konqueror@gmx.de>
1331
1332         * java/io/InputStreamReader.java:
1333         Fixed @author tag.
1334
1335 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
1336
1337         PR libgcj/19728:
1338         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
1339
1340 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
1341
1342         * libraries/javalib/gnu/regexp/RE.java,
1343         libraries/javalib/java/io/ObjectInputStream.java,
1344         libraries/javalib/java/security/AllPermission.java,
1345         libraries/javalib/java/security/BasicPermission.java,
1346         libraries/javalib/java/security/Permissions.java,
1347         libraries/javalib/java/text/MessageFormat.java:
1348         Made 'inner' classes real public static inner classes,
1349         and made them final where possible, or removed them
1350         where unused.
1351
1352 2005-02-20  Michael Koch  <konqueror@gmx.de>
1353
1354         * gnu/java/text/FormatCharacterIterator.java:
1355         Removed redundant modifiers.
1356
1357 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1358
1359         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
1360         snprintf.
1361
1362 2005-02-19  Michael Koch  <konqueror@gmx.de>
1363
1364         * Makefile.am: Added new files in gnu/java/beans and
1365         java/beans/XMLDecoder.java.
1366         * Makefile.in: Regenerated.
1367
1368 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
1369
1370         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
1371         assignment behavior by using java.lang.reflect.Array.set()
1372         directly.
1373
1374 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
1375
1376         * gnu/java/beans/EmptyBeanInfo.java,
1377         gnu/java/beans/info/ComponentBeanInfo.java:
1378         Removed unused files.
1379
1380 2005-02-19  Robert Schuster <thebohemian@gmx.net>
1381
1382         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
1383         of AppletStub for java.beans.Beans.instantiate.
1384         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
1385         of AppletContext.
1386         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
1387         to be conformant with Javadoc guidelines.
1388         (instantiate): Added two more overloaded variants, reworked user
1389         documentation, fixed exception behavior, fixed behavior when
1390         deserializing null.
1391
1392 2005-02-19  Mark Wielaard  <mark@klomp.org>
1393
1394         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
1395         failing methods.
1396         * gnu/java/beans/decoder/DummyContext.java: Likewise.
1397
1398 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
1399
1400         * gnu/java/beans/decoder/AbstractContext.java,
1401         gnu/java/beans/decoder/AbstractCreatableContext.java,
1402         gnu/java/beans/decoder/AbstractElementHandler.java,
1403         gnu/java/beans/decoder/AbstractObjectContext.java,
1404         gnu/java/beans/decoder/ArrayContext.java,
1405         gnu/java/beans/decoder/ArrayHandler.java,
1406         gnu/java/beans/decoder/AssemblyException.java,
1407         gnu/java/beans/decoder/BooleanHandler.java,
1408         gnu/java/beans/decoder/ByteHandler.java,
1409         gnu/java/beans/decoder/CharHandler.java,
1410         gnu/java/beans/decoder/ClassHandler.java,
1411         gnu/java/beans/decoder/ConstructorContext.java,
1412         gnu/java/beans/decoder/Context.java,
1413         gnu/java/beans/decoder/DecoderContext.java,
1414         gnu/java/beans/decoder/DefaultExceptionListener.java,
1415         gnu/java/beans/decoder/DoubleHandler.java,
1416         gnu/java/beans/decoder/DummyContext.java,
1417         gnu/java/beans/decoder/DummyHandler.java,
1418         gnu/java/beans/decoder/ElementHandler.java,
1419         gnu/java/beans/decoder/FloatHandler.java,
1420         gnu/java/beans/decoder/GrowableArrayContext.java,
1421         gnu/java/beans/decoder/IndexContext.java,
1422         gnu/java/beans/decoder/IntHandler.java,
1423         gnu/java/beans/decoder/JavaHandler.java,
1424         gnu/java/beans/decoder/LongHandler.java,
1425         gnu/java/beans/decoder/MethodContext.java,
1426         gnu/java/beans/decoder/MethodFinder.java,
1427         gnu/java/beans/decoder/NullHandler.java,
1428         gnu/java/beans/decoder/ObjectContext.java,
1429         gnu/java/beans/decoder/ObjectHandler.java,
1430         gnu/java/beans/decoder/PersistenceParser.java,
1431         gnu/java/beans/decoder/PropertyContext.java,
1432         gnu/java/beans/decoder/ShortHandler.java,
1433         gnu/java/beans/decoder/SimpleHandler.java,
1434         gnu/java/beans/decoder/StaticMethodContext.java,
1435         gnu/java/beans/decoder/StringHandler.java,
1436         gnu/java/beans/decoder/VoidHandler.java: New class
1437         implementing java.beans.XMLDecoder decoding functionality.
1438         * java/beans/XMLDecoder.java: New class.
1439
1440 2005-02-19  Michael Koch  <konqueror@gmx.de>
1441
1442         * javax/swing/JTextField.java
1443         (notfiyAction): Added javadoc.
1444
1445 2005-02-19  Sven de Marothy  <sven@physto.se>
1446
1447         * javax/swing/SpinnerDateModel.java: Implemented.
1448
1449 2005-02-19  Michael Koch  <konqueror@gmx.de>
1450
1451         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
1452         * Makefile.in: Regenerated.
1453
1454 2005-02-19  Michael Koch  <konqueror@gmx.de>
1455
1456         * gnu/java/nio/SelectorImpl.java:
1457         Reworked import statements.
1458         (register): Removed unused code.
1459         * java/nio/channels/Channels.java: Reformatted.
1460         * java/nio/charset/Charset.java: Likewise.
1461         * java/rmi/server/RemoteObject.java
1462         (serialVersionUID): Made private.
1463         * java/rmi/server/UID.java
1464         (serialVersionUID): Likewise.
1465
1466 2005-02-19  Michael Koch  <konqueror@gmx.de>
1467
1468         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1469         gnu/java/net/protocol/ftp/BlockInputStream.java,
1470         gnu/java/net/protocol/ftp/BlockOutputStream.java,
1471         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1472         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
1473         gnu/java/net/protocol/ftp/DTPInputStream.java,
1474         gnu/java/net/protocol/ftp/DTP.java,
1475         gnu/java/net/protocol/ftp/DTPOutputStream.java,
1476         gnu/java/net/protocol/ftp/FTPConnection.java,
1477         gnu/java/net/protocol/ftp/FTPException.java,
1478         gnu/java/net/protocol/ftp/FTPResponse.java,
1479         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1480         gnu/java/net/protocol/ftp/Handler.java,
1481         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1482         gnu/java/net/protocol/ftp/StreamInputStream.java,
1483         gnu/java/net/protocol/ftp/StreamOutputStream.java,
1484         gnu/java/net/CRLFInputStream.java,
1485         gnu/java/net/CRLFOutputStream.java,
1486         gnu/java/net/GetLocalHostAction.java,
1487         gnu/java/net/protocol/ftp/package.html: New files.
1488         * Makefile.am: Added new files.
1489         * Makefile.in: Regenerated.
1490
1491 2005-02-18  Tom Tromey  <tromey@redhat.com>
1492
1493         * link.cc (make_vtable): Remove abstract method check.
1494         (append_partial_itable): Likewise.
1495
1496         PR java/20056:
1497         * verify.cc (type::equals): Fixed test.
1498         * testsuite/libjava.lang/PR20056.out: New file.
1499         * testsuite/libjava.lang/PR20056.java: New file.
1500
1501 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
1502
1503         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
1504         not the HashEntry. Reported by Jean-Marie White.
1505
1506 2005-02-18  Tom Tromey  <tromey@redhat.com>
1507
1508         PR java/20056:
1509         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
1510         * link.cc (has_field_p): New function.
1511         * verify.cc (check_field_constant): Added 'putfield' argument.
1512         (verify_instructions_0): Updated.
1513         (type::equals): New method.
1514
1515 2005-02-18  Anthony Green  <green@redhat.com>
1516
1517         * NEWS: Draft of libgcj NEWS for 4.0.
1518
1519 2005-02-18  Anthony Green  <green@redhat.com>
1520
1521         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
1522         architecture names to "i386" for compatibility reasons.  Win32
1523         still uses "x86".
1524
1525 2005-02-18  Anthony Green  <green@redhat.com>
1526
1527         * gij.cc (version): Change year for '--version' to 2005.
1528         * gnu/gcj/convert/Convert.java: Ditto.
1529         * gnu/java/rmi/rmic/RMIC.java: Ditto.
1530         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
1531
1532         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
1533         recent copyright year in `--version' output.
1534
1535 2005-02-18  Robert Schuster <thebohemian@gmx.net>
1536
1537         * java/nio/charset/Charset.java (forName): Throws
1538         IllegalArgumentException when argument is null
1539         and added documentation.
1540
1541 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1542
1543         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
1544         Move the position of the source buffer forward.
1545
1546 2005-02-17  Tom Tromey  <tromey@redhat.com>
1547
1548         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
1549         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
1550         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
1551         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
1552         Changed type of second argument.  Rewrote.
1553         (make_vtable): Use it.
1554         (append_partial_itable): Updated.
1555         (layout_vtable_methods): Updated.
1556
1557 2005-02-17  Michael Koch  <konqueror@gmx.de>
1558
1559         * gnu/java/net/PlainSocketImpl.java
1560         (shutdownInput): Added javadoc.
1561         (shutdownOutput): Likewise.
1562
1563 2005-02-17  Michael Koch  <konqueror@gmx.de>
1564
1565         * javax/print/attribute/standard/Chromaticity.java,
1566         javax/print/attribute/standard/Destination.java,
1567         javax/print/attribute/standard/MediaPrintableArea.java,
1568         javax/print/attribute/standard/MediaSize.java: New files.
1569         * Makefile.am: Added new files.
1570         * Makefile.in: Regenerated.
1571
1572 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1573             Michael Koch  <konqueror@gmx.de>
1574
1575         * gnu/java/net/protocol/http/Cookie.java,
1576         gnu/java/net/protocol/http/HTTPConnection.java,
1577         gnu/java/net/protocol/http/HTTPDateFormat.java,
1578         gnu/java/net/protocol/http/Request.java,
1579         gnu/java/nio/PipeImpl.java,
1580         gnu/java/rmi/dgc/DGCImpl.java,
1581         gnu/java/rmi/server/ConnectionRunnerPool.java,
1582         gnu/java/rmi/server/UnicastConnectionManager.java,
1583         gnu/java/security/der/DERWriter.java,
1584         gnu/java/security/pkcs/SignerInfo.java,
1585         gnu/java/security/provider/EncodedKeyFactory.java,
1586         gnu/java/security/provider/GnuDHPublicKey.java,
1587         gnu/java/security/provider/GnuDSAPrivateKey.java,
1588         gnu/java/security/provider/GnuDSAPublicKey.java,
1589         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1590         gnu/java/security/x509/X500DistinguishedName.java,
1591         gnu/java/security/x509/X509CRL.java,
1592         gnu/java/security/x509/X509CRLEntry.java,
1593         gnu/java/security/x509/X509Certificate.java,
1594         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1595         gnu/java/security/x509/ext/CertificatePolicies.java,
1596         gnu/java/security/x509/ext/PolicyConstraint.java,
1597         gnu/xml/dom/Consumer.java,
1598         gnu/xml/dom/DomCharacterData.java,
1599         gnu/xml/dom/DomDocument.java,
1600         gnu/xml/dom/DomDocumentBuilder.java,
1601         gnu/xml/dom/DomIterator.java,
1602         gnu/xml/dom/DomNode.java,
1603         gnu/xml/dom/DomXPathExpression.java,
1604         gnu/xml/dom/DomXPathResult.java,
1605         gnu/xml/dom/JAXPFactory.java,
1606         gnu/xml/pipeline/CallFilter.java,
1607         gnu/xml/pipeline/DomConsumer.java,
1608         gnu/xml/pipeline/LinkFilter.java,
1609         gnu/xml/pipeline/NSFilter.java,
1610         gnu/xml/pipeline/TeeConsumer.java,
1611         gnu/xml/pipeline/ValidationConsumer.java,
1612         gnu/xml/pipeline/WellFormednessFilter.java,
1613         gnu/xml/pipeline/XIncludeFilter.java,
1614         gnu/xml/pipeline/XsltFilter.java,
1615         gnu/xml/transform/ApplyImportsNode.java,
1616         gnu/xml/transform/Bindings.java,
1617         gnu/xml/transform/DocumentFunction.java,
1618         gnu/xml/transform/FormatNumberFunction.java,
1619         gnu/xml/transform/NodeNumberNode.java,
1620         gnu/xml/transform/NumberNode.java,
1621         gnu/xml/transform/Stylesheet.java,
1622         gnu/xml/transform/SystemPropertyFunction.java,
1623         gnu/xml/transform/Template.java,
1624         gnu/xml/transform/TemplatesImpl.java,
1625         gnu/xml/transform/TransformerImpl.java,
1626         gnu/xml/transform/ValueOfNode.java,
1627         gnu/xml/transform/XSLURIResolver.java,
1628         gnu/xml/util/DoParse.java,
1629         gnu/xml/util/Resolver.java,
1630         gnu/xml/xpath/Expr.java,
1631         gnu/xml/xpath/FunctionCall.java,
1632         gnu/xml/xpath/RelationalExpr.java,
1633         gnu/xml/xpath/Selector.java,
1634         gnu/xml/xpath/XPathParser.java:
1635         Reworked import statements, fixed modifier order and some little
1636         formatting issues.
1637
1638 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1639
1640         * java/nio/ByteBufferImpl.java (compact):
1641         Set position and limit even if no bytes were moved.
1642
1643 2005-02-17  Michael Koch  <konqueror@gmx.de>
1644
1645         * java/nio/CharViewBufferImpl.java (compact): Likewise.
1646         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
1647         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
1648         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
1649         * java/nio/IntViewBufferImpl.java (compact): Likewise.
1650         * java/nio/LongViewBufferImpl.java (compact): Likewise.
1651         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
1652         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
1653         * java/nio/FloatBufferImpl.java (compact): Set position.
1654         * java/nio/CharBufferImpl.java (compact): Likewise.
1655         * java/nio/DoubleBufferImpl.java (compact): Likewise.
1656         * java/nio/IntBufferImpl.java (compact): Likewise.
1657         * java/nio/LongBufferImpl.java (compact): Likewise.
1658         * java/nio/ShortBufferImpl.java (compact): Likewise.
1659
1660 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
1661
1662         * java/nio/ByteBufferImpl.java,
1663         java/nio/CharBufferImpl.java,
1664         java/nio/DirectByteBufferImpl.java,
1665         java/nio/DoubleBufferImpl.java,
1666         java/nio/FloatBufferImpl.java,
1667         java/nio/IntBufferImpl.java,
1668         java/nio/LongBufferImpl.java,
1669         java/nio/MappedByteBufferImpl.java,
1670         java/nio/ShortBufferImpl.java
1671         (compact): Added explicit read-only check and invalidate mark.
1672
1673 2005-02-17  Michael Koch  <konqueror@gmx.de>
1674
1675         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1676         gnu/java/awt/peer/gtk/GdkFontPeer.java,
1677         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1678         gnu/java/awt/peer/gtk/GdkGraphics.java,
1679         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1680         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1681         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1682         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1683         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1684         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1685         gnu/java/awt/peer/gtk/GdkTextLayout.java,
1686         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1687         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1688         gnu/java/awt/peer/gtk/GtkClipboard.java,
1689         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1690         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1691         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1692         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1693         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1694         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1695         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1696         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1697         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1698         gnu/java/awt/peer/gtk/GtkToolkit.java,
1699         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1700         java/applet/Applet.java,
1701         java/awt/AWTError.java,
1702         java/awt/AWTEvent.java,
1703         java/awt/AWTEventMulticaster.java,
1704         java/awt/AWTException.java,
1705         java/awt/AWTKeyStroke.java,
1706         java/awt/AWTPermission.java,
1707         java/awt/ActiveEvent.java,
1708         java/awt/Adjustable.java,
1709         java/awt/AlphaComposite.java,
1710         java/awt/AttributeValue.java,
1711         java/awt/BorderLayout.java,
1712         java/awt/BufferCapabilities.java,
1713         java/awt/Button.java,
1714         java/awt/Canvas.java,
1715         java/awt/CheckboxGroup.java,
1716         java/awt/CheckboxMenuItem.java,
1717         java/awt/Color.java,
1718         java/awt/ColorPaintContext.java,
1719         java/awt/Component.java,
1720         java/awt/ComponentOrientation.java,
1721         java/awt/Composite.java,
1722         java/awt/CompositeContext.java,
1723         java/awt/Container.java,
1724         java/awt/ContainerOrderFocusTraversalPolicy.java,
1725         java/awt/DefaultFocusTraversalPolicy.java,
1726         java/awt/Dialog.java,
1727         java/awt/Dimension.java,
1728         java/awt/DisplayMode.java,
1729         java/awt/EventQueue.java,
1730         java/awt/FileDialog.java,
1731         java/awt/FontFormatException.java,
1732         java/awt/Graphics.java,
1733         java/awt/Graphics2D.java,
1734         java/awt/GraphicsConfigTemplate.java,
1735         java/awt/GraphicsConfiguration.java,
1736         java/awt/GraphicsDevice.java,
1737         java/awt/GridBagLayout.java,
1738         java/awt/GridBagLayoutInfo.java,
1739         java/awt/GridLayout.java,
1740         java/awt/HeadlessException.java,
1741         java/awt/IllegalComponentStateException.java,
1742         java/awt/Image.java,
1743         java/awt/Insets.java,
1744         java/awt/ItemSelectable.java,
1745         java/awt/JobAttributes.java,
1746         java/awt/KeyEventDispatcher.java,
1747         java/awt/KeyEventPostProcessor.java,
1748         java/awt/KeyboardFocusManager.java,
1749         java/awt/Label.java,
1750         java/awt/LayoutManager.java,
1751         java/awt/MenuBar.java,
1752         java/awt/MenuComponent.java,
1753         java/awt/MenuContainer.java,
1754         java/awt/PageAttributes.java,
1755         java/awt/Paint.java,
1756         java/awt/PaintContext.java,
1757         java/awt/Panel.java,
1758         java/awt/Point.java,
1759         java/awt/Polygon.java,
1760         java/awt/PrintGraphics.java,
1761         java/awt/PrintJob.java,
1762         java/awt/Rectangle.java,
1763         java/awt/RenderingHints.java,
1764         java/awt/Shape.java,
1765         java/awt/Stroke.java,
1766         java/awt/SystemColor.java,
1767         java/awt/Toolkit.java,
1768         java/awt/Transparency.java,
1769         java/awt/Window.java,
1770         java/awt/color/CMMException.java,
1771         java/awt/color/ColorSpace.java,
1772         java/awt/color/ICC_ColorSpace.java,
1773         java/awt/color/ICC_Profile.java,
1774         java/awt/color/ProfileDataException.java,
1775         java/awt/datatransfer/FlavorTable.java,
1776         java/awt/datatransfer/MimeTypeParseException.java,
1777         java/awt/datatransfer/Transferable.java,
1778         java/awt/datatransfer/UnsupportedFlavorException.java,
1779         java/awt/dnd/Autoscroll.java,
1780         java/awt/dnd/DnDConstants.java,
1781         java/awt/dnd/DragGestureListener.java,
1782         java/awt/dnd/DragSourceAdapter.java,
1783         java/awt/dnd/DragSourceDropEvent.java,
1784         java/awt/dnd/DragSourceListener.java,
1785         java/awt/dnd/DragSourceMotionListener.java,
1786         java/awt/dnd/DropTargetAdapter.java,
1787         java/awt/dnd/DropTargetContext.java,
1788         java/awt/dnd/DropTargetListener.java,
1789         java/awt/dnd/InvalidDnDOperationException.java,
1790         java/awt/dnd/MouseDragGestureRecognizer.java,
1791         java/awt/dnd/peer/DropTargetContextPeer.java,
1792         java/awt/event/AWTEventListener.java,
1793         java/awt/event/AWTEventListenerProxy.java,
1794         java/awt/event/ActionEvent.java,
1795         java/awt/event/AdjustmentEvent.java,
1796         java/awt/event/AdjustmentListener.java,
1797         java/awt/event/ComponentAdapter.java,
1798         java/awt/event/ComponentEvent.java,
1799         java/awt/event/ComponentListener.java,
1800         java/awt/event/ContainerAdapter.java,
1801         java/awt/event/ContainerEvent.java,
1802         java/awt/event/ContainerListener.java,
1803         java/awt/event/FocusAdapter.java,
1804         java/awt/event/FocusEvent.java,
1805         java/awt/event/FocusListener.java,
1806         java/awt/event/InputEvent.java,
1807         java/awt/event/InputMethodEvent.java,
1808         java/awt/event/InputMethodListener.java,
1809         java/awt/event/InvocationEvent.java,
1810         java/awt/event/ItemEvent.java,
1811         java/awt/event/ItemListener.java,
1812         java/awt/event/KeyAdapter.java,
1813         java/awt/event/KeyEvent.java,
1814         java/awt/event/KeyListener.java,
1815         java/awt/event/MouseAdapter.java,
1816         java/awt/event/MouseEvent.java,
1817         java/awt/event/MouseListener.java,
1818         java/awt/event/MouseMotionAdapter.java,
1819         java/awt/event/MouseMotionListener.java,
1820         java/awt/event/MouseWheelEvent.java,
1821         java/awt/event/MouseWheelListener.java,
1822         java/awt/event/PaintEvent.java,
1823         java/awt/event/TextEvent.java,
1824         java/awt/event/TextListener.java,
1825         java/awt/event/WindowAdapter.java,
1826         java/awt/event/WindowEvent.java,
1827         java/awt/event/WindowFocusListener.java,
1828         java/awt/event/WindowListener.java,
1829         java/awt/event/WindowStateListener.java,
1830         java/awt/font/TextHitInfo.java,
1831         java/awt/geom/CubicCurve2D.java,
1832         java/awt/geom/Dimension2D.java,
1833         java/awt/geom/Ellipse2D.java,
1834         java/awt/geom/IllegalPathStateException.java,
1835         java/awt/geom/Line2D.java,
1836         java/awt/geom/NoninvertibleTransformException.java,
1837         java/awt/geom/PathIterator.java,
1838         java/awt/geom/Point2D.java,
1839         java/awt/geom/QuadCurve2D.java,
1840         java/awt/geom/RectangularShape.java,
1841         java/awt/geom/RoundRectangle2D.java,
1842         java/awt/im/InputContext.java,
1843         java/awt/im/InputMethodHighlight.java,
1844         java/awt/im/InputMethodRequests.java,
1845         java/awt/im/InputSubset.java,
1846         java/awt/im/spi/InputMethod.java,
1847         java/awt/im/spi/InputMethodDescriptor.java,
1848         java/awt/image/BandCombineOp.java,
1849         java/awt/image/BandedSampleModel.java,
1850         java/awt/image/ByteLookupTable.java,
1851         java/awt/image/ComponentSampleModel.java,
1852         java/awt/image/DataBuffer.java,
1853         java/awt/image/DataBufferByte.java,
1854         java/awt/image/DataBufferDouble.java,
1855         java/awt/image/DataBufferFloat.java,
1856         java/awt/image/DataBufferInt.java,
1857         java/awt/image/DataBufferShort.java,
1858         java/awt/image/DataBufferUShort.java,
1859         java/awt/image/ImagingOpException.java,
1860         java/awt/image/Kernel.java,
1861         java/awt/image/LookupTable.java,
1862         java/awt/image/MultiPixelPackedSampleModel.java,
1863         java/awt/image/PackedColorModel.java,
1864         java/awt/image/PixelInterleavedSampleModel.java,
1865         java/awt/image/RGBImageFilter.java,
1866         java/awt/image/Raster.java,
1867         java/awt/image/RasterFormatException.java,
1868         java/awt/image/SampleModel.java,
1869         java/awt/image/ShortLookupTable.java,
1870         java/awt/image/SinglePixelPackedSampleModel.java,
1871         java/awt/image/WritableRaster.java,
1872         java/awt/print/PrinterAbortException.java,
1873         java/awt/print/PrinterException.java,
1874         java/awt/print/PrinterIOException.java,
1875         java/beans/AppletInitializer.java,
1876         java/beans/ExceptionListener.java,
1877         java/beans/PropertyChangeEvent.java,
1878         java/beans/PropertyChangeListenerProxy.java,
1879         java/beans/PropertyChangeSupport.java,
1880         java/beans/PropertyDescriptor.java,
1881         java/beans/VetoableChangeListenerProxy.java,
1882         java/beans/VetoableChangeSupport.java,
1883         java/io/BufferedReader.java,
1884         java/io/ByteArrayInputStream.java,
1885         java/io/ByteArrayOutputStream.java,
1886         java/io/CharArrayReader.java,
1887         java/io/CharArrayWriter.java,
1888         java/io/CharConversionException.java,
1889         java/io/DataInput.java,
1890         java/io/DataInputStream.java,
1891         java/io/DataOutput.java,
1892         java/io/DataOutputStream.java,
1893         java/io/EOFException.java,
1894         java/io/FileInputStream.java,
1895         java/io/FileNotFoundException.java,
1896         java/io/FileOutputStream.java,
1897         java/io/FilenameFilter.java,
1898         java/io/FilterInputStream.java,
1899         java/io/FilterOutputStream.java,
1900         java/io/FilterReader.java,
1901         java/io/FilterWriter.java,
1902         java/io/IOException.java,
1903         java/io/InputStream.java,
1904         java/io/InterruptedIOException.java,
1905         java/io/LineNumberInputStream.java,
1906         java/io/LineNumberReader.java,
1907         java/io/ObjectInputStream.java,
1908         java/io/ObjectStreamException.java,
1909         java/io/OptionalDataException.java,
1910         java/io/OutputStream.java,
1911         java/io/OutputStreamWriter.java,
1912         java/io/PrintStream.java,
1913         java/io/PrintWriter.java,
1914         java/io/PushbackInputStream.java,
1915         java/io/PushbackReader.java,
1916         java/io/RandomAccessFile.java,
1917         java/io/Reader.java,
1918         java/io/SequenceInputStream.java,
1919         java/io/Serializable.java,
1920         java/io/StreamCorruptedException.java,
1921         java/io/StreamTokenizer.java,
1922         java/io/StringBufferInputStream.java,
1923         java/io/StringWriter.java,
1924         java/io/SyncFailedException.java,
1925         java/io/UTFDataFormatException.java,
1926         java/io/UnsupportedEncodingException.java,
1927         java/io/WriteAbortedException.java,
1928         java/io/Writer.java,
1929         java/lang/AbstractMethodError.java,
1930         java/lang/ArithmeticException.java,
1931         java/lang/ArrayIndexOutOfBoundsException.java,
1932         java/lang/ArrayStoreException.java,
1933         java/lang/AssertionError.java,
1934         java/lang/Boolean.java,
1935         java/lang/Byte.java,
1936         java/lang/Class.java,
1937         java/lang/ClassCastException.java,
1938         java/lang/ClassCircularityError.java,
1939         java/lang/ClassLoader.java,
1940         java/lang/ClassNotFoundException.java,
1941         java/lang/CloneNotSupportedException.java,
1942         java/lang/Cloneable.java,
1943         java/lang/Comparable.java,
1944         java/lang/Compiler.java,
1945         java/lang/Double.java,
1946         java/lang/Error.java,
1947         java/lang/Exception.java,
1948         java/lang/ExceptionInInitializerError.java,
1949         java/lang/Float.java,
1950         java/lang/IllegalAccessError.java,
1951         java/lang/IllegalAccessException.java,
1952         java/lang/IllegalArgumentException.java,
1953         java/lang/IllegalMonitorStateException.java,
1954         java/lang/IllegalStateException.java,
1955         java/lang/IllegalThreadStateException.java,
1956         java/lang/IncompatibleClassChangeError.java,
1957         java/lang/IndexOutOfBoundsException.java,
1958         java/lang/InheritableThreadLocal.java,
1959         java/lang/InstantiationError.java,
1960         java/lang/InstantiationException.java,
1961         java/lang/Integer.java,
1962         java/lang/InternalError.java,
1963         java/lang/InterruptedException.java,
1964         java/lang/LinkageError.java,
1965         java/lang/Long.java,
1966         java/lang/NegativeArraySizeException.java,
1967         java/lang/NoClassDefFoundError.java,
1968         java/lang/NoSuchFieldError.java,
1969         java/lang/NoSuchFieldException.java,
1970         java/lang/NoSuchMethodError.java,
1971         java/lang/NoSuchMethodException.java,
1972         java/lang/NullPointerException.java,
1973         java/lang/Number.java,
1974         java/lang/NumberFormatException.java,
1975         java/lang/OutOfMemoryError.java,
1976         java/lang/Process.java,
1977         java/lang/Runnable.java,
1978         java/lang/Runtime.java,
1979         java/lang/RuntimeException.java,
1980         java/lang/RuntimePermission.java,
1981         java/lang/SecurityException.java,
1982         java/lang/SecurityManager.java,
1983         java/lang/Short.java,
1984         java/lang/StackOverflowError.java,
1985         java/lang/StackTraceElement.java,
1986         java/lang/StringBuffer.java,
1987         java/lang/StringIndexOutOfBoundsException.java,
1988         java/lang/ThreadDeath.java,
1989         java/lang/ThreadGroup.java,
1990         java/lang/Throwable.java,
1991         java/lang/UnsatisfiedLinkError.java,
1992         java/lang/UnsupportedOperationException.java,
1993         java/lang/VerifyError.java,
1994         java/lang/VirtualMachineError.java,
1995         java/lang/reflect/AccessibleObject.java,
1996         java/lang/reflect/Array.java,
1997         java/lang/reflect/InvocationTargetException.java,
1998         java/lang/reflect/Member.java,
1999         java/lang/reflect/Modifier.java,
2000         java/lang/reflect/Proxy.java,
2001         java/lang/reflect/ReflectPermission.java,
2002         java/lang/reflect/UndeclaredThrowableException.java,
2003         java/math/BigInteger.java,
2004         java/net/NetworkInterface.java,
2005         java/nio/ByteBufferHelper.java,
2006         java/nio/ByteBufferImpl.java,
2007         java/nio/DirectByteBufferImpl.java,
2008         java/nio/DoubleBufferImpl.java,
2009         java/nio/FloatBufferImpl.java,
2010         java/nio/IntBufferImpl.java,
2011         java/nio/LongBufferImpl.java,
2012         java/nio/ShortBufferImpl.java,
2013         java/nio/channels/Channel.java,
2014         java/nio/channels/IllegalBlockingModeException.java,
2015         java/nio/charset/spi/CharsetProvider.java,
2016         java/security/AccessControlException.java,
2017         java/security/BasicPermission.java,
2018         java/security/DigestException.java,
2019         java/security/DigestInputStream.java,
2020         java/security/DigestOutputStream.java,
2021         java/security/GeneralSecurityException.java,
2022         java/security/Guard.java,
2023         java/security/GuardedObject.java,
2024         java/security/InvalidAlgorithmParameterException.java,
2025         java/security/InvalidKeyException.java,
2026         java/security/InvalidParameterException.java,
2027         java/security/Key.java,
2028         java/security/KeyException.java,
2029         java/security/KeyManagementException.java,
2030         java/security/KeyStoreException.java,
2031         java/security/MessageDigestSpi.java,
2032         java/security/NoSuchAlgorithmException.java,
2033         java/security/NoSuchProviderException.java,
2034         java/security/Permission.java,
2035         java/security/PermissionCollection.java,
2036         java/security/Permissions.java,
2037         java/security/Principal.java,
2038         java/security/PrivateKey.java,
2039         java/security/PrivilegedActionException.java,
2040         java/security/ProviderException.java,
2041         java/security/PublicKey.java,
2042         java/security/SecureRandom.java,
2043         java/security/SecureRandomSpi.java,
2044         java/security/SignatureException.java,
2045         java/security/SignatureSpi.java,
2046         java/security/SignedObject.java,
2047         java/security/Signer.java,
2048         java/security/UnrecoverableKeyException.java,
2049         java/security/UnresolvedPermission.java,
2050         java/security/acl/AclNotFoundException.java,
2051         java/security/acl/LastOwnerException.java,
2052         java/security/acl/NotOwnerException.java,
2053         java/security/cert/CertPath.java,
2054         java/security/cert/CertPathBuilderException.java,
2055         java/security/cert/CertPathValidatorException.java,
2056         java/security/cert/CertStoreException.java,
2057         java/text/BreakIterator.java,
2058         java/text/ChoiceFormat.java,
2059         java/text/CollationElementIterator.java,
2060         java/text/CollationKey.java,
2061         java/text/Collator.java,
2062         java/text/DateFormat.java,
2063         java/text/DateFormatSymbols.java,
2064         java/text/DecimalFormat.java,
2065         java/text/DecimalFormatSymbols.java,
2066         java/text/FieldPosition.java,
2067         java/text/Format.java,
2068         java/text/NumberFormat.java,
2069         java/text/ParseException.java,
2070         java/text/ParsePosition.java,
2071         java/text/StringCharacterIterator.java,
2072         java/util/AbstractCollection.java,
2073         java/util/AbstractList.java,
2074         java/util/AbstractMap.java,
2075         java/util/AbstractSequentialList.java,
2076         java/util/AbstractSet.java,
2077         java/util/ArrayList.java,
2078         java/util/Arrays.java,
2079         java/util/BitSet.java,
2080         java/util/Collection.java,
2081         java/util/Collections.java,
2082         java/util/Comparator.java,
2083         java/util/ConcurrentModificationException.java,
2084         java/util/Currency.java,
2085         java/util/Date.java,
2086         java/util/EmptyStackException.java,
2087         java/util/Enumeration.java,
2088         java/util/EventListener.java,
2089         java/util/EventListenerProxy.java,
2090         java/util/EventObject.java,
2091         java/util/HashMap.java,
2092         java/util/HashSet.java,
2093         java/util/Hashtable.java,
2094         java/util/IdentityHashMap.java,
2095         java/util/Iterator.java,
2096         java/util/LinkedHashSet.java,
2097         java/util/LinkedList.java,
2098         java/util/List.java,
2099         java/util/ListIterator.java,
2100         java/util/ListResourceBundle.java,
2101         java/util/Map.java,
2102         java/util/MissingResourceException.java,
2103         java/util/NoSuchElementException.java,
2104         java/util/Observable.java,
2105         java/util/Observer.java,
2106         java/util/Properties.java,
2107         java/util/PropertyPermissionCollection.java,
2108         java/util/RandomAccess.java,
2109         java/util/Set.java,
2110         java/util/SortedMap.java,
2111         java/util/SortedSet.java,
2112         java/util/Stack.java,
2113         java/util/StringTokenizer.java,
2114         java/util/TooManyListenersException.java,
2115         java/util/TreeMap.java,
2116         java/util/TreeSet.java,
2117         java/util/Vector.java,
2118         java/util/logging/FileHandler.java,
2119         java/util/logging/Level.java,
2120         java/util/prefs/BackingStoreException.java,
2121         java/util/prefs/InvalidPreferencesFormatException.java,
2122         java/util/prefs/Preferences.java,
2123         javax/accessibility/Accessible.java,
2124         javax/accessibility/AccessibleAction.java,
2125         javax/accessibility/AccessibleBundle.java,
2126         javax/accessibility/AccessibleComponent.java,
2127         javax/accessibility/AccessibleContext.java,
2128         javax/accessibility/AccessibleEditableText.java,
2129         javax/accessibility/AccessibleExtendedComponent.java,
2130         javax/accessibility/AccessibleExtendedTable.java,
2131         javax/accessibility/AccessibleHyperlink.java,
2132         javax/accessibility/AccessibleHypertext.java,
2133         javax/accessibility/AccessibleIcon.java,
2134         javax/accessibility/AccessibleKeyBinding.java,
2135         javax/accessibility/AccessibleRelation.java,
2136         javax/accessibility/AccessibleRelationSet.java,
2137         javax/accessibility/AccessibleResourceBundle.java,
2138         javax/accessibility/AccessibleRole.java,
2139         javax/accessibility/AccessibleSelection.java,
2140         javax/accessibility/AccessibleState.java,
2141         javax/accessibility/AccessibleStateSet.java,
2142         javax/accessibility/AccessibleTable.java,
2143         javax/accessibility/AccessibleTableModelChange.java,
2144         javax/accessibility/AccessibleText.java,
2145         javax/accessibility/AccessibleValue.java,
2146         javax/imageio/IIOException.java,
2147         javax/imageio/ImageIO.java,
2148         javax/imageio/spi/IIOServiceProvider.java,
2149         javax/imageio/spi/ImageInputStreamSpi.java,
2150         javax/imageio/spi/ImageOutputStreamSpi.java,
2151         javax/imageio/spi/ImageReaderWriterSpi.java,
2152         javax/imageio/spi/ImageTranscoderSpi.java,
2153         javax/imageio/spi/RegisterableService.java,
2154         javax/imageio/spi/ServiceRegistry.java,
2155         javax/imageio/stream/IIOByteBuffer.java,
2156         javax/imageio/stream/ImageInputStream.java,
2157         javax/imageio/stream/ImageOutputStream.java,
2158         javax/naming/Binding.java,
2159         javax/naming/CannotProceedException.java,
2160         javax/naming/CompositeName.java,
2161         javax/naming/CompoundName.java,
2162         javax/naming/LinkException.java,
2163         javax/naming/LinkRef.java,
2164         javax/naming/NameClassPair.java,
2165         javax/naming/Reference.java,
2166         javax/naming/ReferralException.java,
2167         javax/naming/directory/Attribute.java,
2168         javax/naming/directory/AttributeModificationException.java,
2169         javax/naming/directory/Attributes.java,
2170         javax/naming/directory/DirContext.java,
2171         javax/naming/directory/ModificationItem.java,
2172         javax/naming/directory/SearchControls.java,
2173         javax/naming/directory/SearchResult.java,
2174         javax/naming/event/EventContext.java,
2175         javax/naming/event/EventDirContext.java,
2176         javax/naming/event/NamespaceChangeListener.java,
2177         javax/naming/event/NamingExceptionEvent.java,
2178         javax/naming/event/NamingListener.java,
2179         javax/naming/event/ObjectChangeListener.java,
2180         javax/naming/ldap/Control.java,
2181         javax/naming/ldap/ExtendedResponse.java,
2182         javax/naming/ldap/HasControls.java,
2183         javax/naming/ldap/LdapContext.java,
2184         javax/naming/ldap/UnsolicitedNotification.java,
2185         javax/naming/ldap/UnsolicitedNotificationEvent.java,
2186         javax/naming/ldap/UnsolicitedNotificationListener.java,
2187         javax/naming/spi/DirectoryManager.java,
2188         javax/naming/spi/ResolveResult.java,
2189         javax/naming/spi/Resolver.java,
2190         javax/security/auth/callback/Callback.java,
2191         javax/security/auth/callback/CallbackHandler.java,
2192         javax/security/auth/callback/ChoiceCallback.java,
2193         javax/security/auth/callback/ConfirmationCallback.java,
2194         javax/security/auth/callback/LanguageCallback.java,
2195         javax/security/auth/callback/NameCallback.java,
2196         javax/security/auth/callback/PasswordCallback.java,
2197         javax/security/auth/callback/TextInputCallback.java,
2198         javax/security/auth/callback/TextOutputCallback.java,
2199         javax/security/auth/callback/UnsupportedCallbackException.java,
2200         javax/security/sasl/Sasl.java,
2201         javax/security/sasl/SaslServerFactory.java,
2202         javax/swing/DefaultBoundedRangeModel.java,
2203         javax/swing/JComponent.java,
2204         javax/swing/JList.java,
2205         javax/swing/JProgressBar.java,
2206         javax/swing/JRadioButton.java,
2207         javax/swing/JTextArea.java,
2208         javax/swing/JTextField.java,
2209         javax/swing/JToggleButton.java,
2210         javax/swing/JTree.java,
2211         javax/swing/SpinnerListModel.java,
2212         javax/swing/event/EventListenerList.java,
2213         javax/swing/text/JTextComponent.java,
2214         javax/swing/text/StringContent.java,
2215         javax/swing/text/Utilities.java,
2216         javax/swing/undo/UndoManager.java,
2217         javax/swing/undo/UndoableEditSupport.java,
2218         javax/transaction/HeuristicCommitException.java,
2219         javax/transaction/HeuristicMixedException.java,
2220         javax/transaction/HeuristicRollbackException.java,
2221         javax/transaction/InvalidTransactionException.java,
2222         javax/transaction/NotSupportedException.java,
2223         javax/transaction/RollbackException.java,
2224         javax/transaction/Status.java,
2225         javax/transaction/Synchronization.java,
2226         javax/transaction/SystemException.java,
2227         javax/transaction/Transaction.java,
2228         javax/transaction/TransactionManager.java,
2229         javax/transaction/TransactionRequiredException.java,
2230         javax/transaction/TransactionRolledbackException.java,
2231         javax/transaction/UserTransaction.java,
2232         javax/transaction/xa/XAException.java,
2233         javax/transaction/xa/XAResource.java,
2234         javax/transaction/xa/Xid.java,
2235         javax/xml/XMLConstants.java,
2236         javax/xml/datatype/DatatypeConfigurationException.java,
2237         javax/xml/datatype/DatatypeConstants.java,
2238         javax/xml/datatype/DatatypeFactory.java,
2239         javax/xml/datatype/Duration.java,
2240         javax/xml/datatype/XMLGregorianCalendar.java,
2241         javax/xml/namespace/NamespaceContext.java,
2242         javax/xml/namespace/QName.java,
2243         javax/xml/parsers/DocumentBuilder.java,
2244         javax/xml/parsers/DocumentBuilderFactory.java,
2245         javax/xml/parsers/FactoryConfigurationError.java,
2246         javax/xml/parsers/ParserConfigurationException.java,
2247         javax/xml/parsers/SAXParser.java,
2248         javax/xml/parsers/SAXParserFactory.java,
2249         javax/xml/transform/ErrorListener.java,
2250         javax/xml/transform/OutputKeys.java,
2251         javax/xml/transform/Result.java,
2252         javax/xml/transform/Source.java,
2253         javax/xml/transform/SourceLocator.java,
2254         javax/xml/transform/Templates.java,
2255         javax/xml/transform/Transformer.java,
2256         javax/xml/transform/TransformerConfigurationException.java,
2257         javax/xml/transform/TransformerException.java,
2258         javax/xml/transform/TransformerFactory.java,
2259         javax/xml/transform/TransformerFactoryConfigurationError.java,
2260         javax/xml/transform/URIResolver.java,
2261         javax/xml/transform/dom/DOMLocator.java,
2262         javax/xml/transform/dom/DOMResult.java,
2263         javax/xml/transform/dom/DOMSource.java,
2264         javax/xml/transform/sax/SAXResult.java,
2265         javax/xml/transform/sax/SAXSource.java,
2266         javax/xml/transform/sax/SAXTransformerFactory.java,
2267         javax/xml/transform/sax/TemplatesHandler.java,
2268         javax/xml/transform/sax/TransformerHandler.java,
2269         javax/xml/transform/stream/StreamResult.java,
2270         javax/xml/transform/stream/StreamSource.java,
2271         javax/xml/validation/Schema.java,
2272         javax/xml/validation/SchemaFactory.java,
2273         javax/xml/validation/TypeInfoProvider.java,
2274         javax/xml/validation/Validator.java,
2275         javax/xml/validation/ValidatorHandler.java,
2276         javax/xml/xpath/XPathConstants.java,
2277         javax/xml/xpath/XPathException.java,
2278         javax/xml/xpath/XPathExpression.java,
2279         javax/xml/xpath/XPathExpressionException.java,
2280         javax/xml/xpath/XPathFactory.java,
2281         javax/xml/xpath/XPathFactoryConfigurationException.java,
2282         javax/xml/xpath/XPathFunction.java,
2283         javax/xml/xpath/XPathFunctionException.java,
2284         javax/xml/xpath/XPathFunctionResolver.java:
2285         Fixed usage of @author tag, reworked import statements,
2286         removed CVS tags, changed the modifier order and fixed
2287         HTML usage in javadocs.
2288
2289 2005-02-16  Julian Scheid  <julian@sektor37.de>
2290
2291         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
2292         in.position().
2293         (encodeLoop): Likewise.
2294
2295 2005-02-16  Mark Wielaard  <mark@klomp.org>
2296
2297         * Makefile.am (ordinary_java_source_files): Add new files
2298         gnu/java/security/ber/BER.java,
2299         gnu/java/security/ber/BEREncodingException.java,
2300         gnu/java/security/ber/BERReader.java,
2301         gnu/java/security/ber/BERValue.java,
2302         gnu/java/security/pkcs/PKCS7SignedData.java and
2303         gnu/java/security/pkcs/SignerInfo.java.
2304         * Makefile.in: Regenerated.
2305
2306 2005-02-16  Casey Marshall  <csm@gnu.org>
2307
2308         * gnu/java/security/provider/GnuDSAPrivateKey.java
2309         (encodedKey): new field.
2310         (getFormat): return "PKCS#8".
2311         (getEncoded): implemented.
2312         (toString): check for 'null' values.
2313         * gnu/java/security/provider/GnuDSAPublicKey.java
2314         (encodedKey): new field.
2315         (getFormat): return "X.509".
2316         (getEncoded): implemented.
2317         (toString): check for 'null' values.
2318
2319 2005-02-16  Michael Koch  <konqueror@gmx.de>
2320
2321         * java/util/jar/JarFile.java: Imports reworked.
2322
2323 2005-02-16  Mark Wielaard  <mark@klomp.org>
2324
2325         * java/util/jar/JarFile.java (verify): Make package private.
2326         (signaturesRead): Likewise.
2327         (verified): Likewise.
2328         (entryCerts): Likewise.
2329         (DEBUG): Likewise.
2330         (debug): Likewise.
2331         (entries): Construct new JarEnumeration with reference to this.
2332         (JarEnumeration): Make static.
2333         (JarEnumeration.jarfile): New field.
2334         (JarEnumeration.nextElement): Use and synchronize on jarfile.
2335         Compare verified value to Boolean.TRUE or Boolean.False only
2336         when verify is true.
2337         (getEntry): Make synchronized. Compare value of verified to
2338         Boolean.TRUE.
2339         (getInputStream): Construct EntryInputStream with reference to this.
2340         (getManifest): Make synchronized.
2341         (EntryInputStream): Make static.
2342         (EntryInputStream.jarfile): New field.
2343         (EntryInputStream.EntryInputStream): Check if manifest exists,
2344         before getting attributes.
2345         (eof): Synchronize on jarfile.
2346
2347 2005-02-16  Casey Marshall  <csm@gnu.org>
2348
2349         * java/util/jar/JarFile.java (verify): return if the jar is signed
2350         with an unsupported algorithm.
2351
2352 2005-02-16  Mark Wielaard  <mark@klomp.org>
2353
2354         * java/util/jar/JarFile.java (EntryInputStream): Add actual
2355         InputStream as argument.
2356         (getInputStream): Construct a new EntryInputStream with the result of
2357         super.getInputStream(entry).
2358
2359 2005-02-16  Casey Marshall  <csm@gnu.org>
2360
2361         Signed JAR file support.
2362         * java/net/URLClassLoader.java
2363         (JarURLResource.getCertificates): re-read jar entry to ensure
2364         certificates are picked up.
2365         (findClass): fill in class `signers' field, too.
2366         * java/util/jar/JarFile.java (META_INF): new constant.
2367         (PKCS7_DSA_SUFFIX): new constant.
2368         (PKCS7_RSA_SUFFIX): new constant.
2369         (DIGEST_KEY_SUFFIX): new constant.
2370         (SF_SUFFIX): new constant.
2371         (MD2_OID): new constant.
2372         (MD4_OID): new constant.
2373         (MD5_OID): new constant.
2374         (SHA1_OID): new constant.
2375         (DSA_ENCRYPTION_OID): new constant.
2376         (RSA_ENCRYPTION_OID): new constant.
2377         (signaturesRead): new field.
2378         (verified): new field.
2379         (entryCerts): new field.
2380         (DEBUG): new constant.
2381         (debug): new method.
2382         (JarEnumeration.nextElement): fill in entry certificates, read
2383         signatures if they haven't been read.
2384         (getEntry): likewise.
2385         (getInputStream): verify stream if it hasn't been verified yet.
2386         (readSignatures): new method.
2387         (verify): new method.
2388         (verifyHashes): new method.
2389         (readManifestEntry): new method.
2390         (EntryInputStream): new class.
2391         * gnu/java/io/Base64InputStream.java (decode): new class
2392         method.
2393         * gnu/java/security/der/DERReader.java don't make class
2394         final.
2395         (in): made protected.
2396         (encBuf): likewise.
2397         (readLength): likewise.
2398         * gnu/java/security/ber/BER.java,
2399         * gnu/java/security/ber/BEREncodingException.java,
2400         * gnu/java/security/ber/BERReader.java,
2401         * gnu/java/security/ber/BERValue.java,
2402         * gnu/java/security/pkcs/PKCS7SignedData.java,
2403         * gnu/java/security/pkcs/SignerInfo.java:
2404         new files.
2405
2406 2005-02-16  Tom Tromey  <tromey@redhat.com>
2407
2408         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
2409         copied file on exit.
2410
2411 2005-02-15  Mark Wielaard  <mark@klomp.org>
2412
2413         * java/awt/BasicStroke.java (hashCode): Check for null dash.
2414
2415 2005-02-15  Michael Koch  <konqueror@gmx.de>
2416
2417         * gnu/java/awt/peer/gtk/GtkArg.java,
2418         gnu/java/awt/peer/gtk/GtkArgList.java:
2419         Removed.
2420
2421 2005-02-15  Craig Black  <craig.black@aonix.com>
2422
2423         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
2424         (postMenuActionEvent): Implement to notify ItemListeners.
2425         * java/awt/CheckboxMenuItem.java
2426         (dispatchEventImpl): Update state on ItemEvent.
2427         * java/awt/MenuItem.java
2428         (processActionEvent): Retarget event source.
2429
2430 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2431
2432         * gnu/java/awt/color/ClutProfileConverter.java,
2433         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
2434         gnu/java/awt/peer/gtk/GdkFontPeer.java,
2435         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2436         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2437         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2438         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2439         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
2440         gnu/java/awt/peer/gtk/GdkTextLayout.java,
2441         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2442         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2443         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
2444         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2445         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2446         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2447         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2448         gnu/java/awt/peer/gtk/GtkFontPeer.java,
2449         gnu/java/awt/peer/gtk/GtkFramePeer.java,
2450         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2451         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
2452         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2453         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
2454         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
2455         gnu/java/awt/peer/gtk/GtkToolkit.java,
2456         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2457         javax/swing/JPopupMenu.java,
2458         javax/swing/JSpinner.java,
2459         javax/swing/SortingFocusTraversalPolicy.java,
2460         javax/swing/SwingUtilities.java,
2461         javax/swing/plaf/basic/BasicComboBoxEditor.java,
2462         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2463         javax/swing/tree/DefaultMutableTreeNode.java:
2464         Removed unused imports and expanded starred
2465         imports.
2466
2467 2005-02-15  Mark Wielaard  <mark@klomp.org>
2468
2469         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
2470         IllegalArgumentException when the given String is null.
2471
2472         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
2473         when given keystoke sequence cannot be parsed.
2474
2475         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
2476         if one is installed. Only install the given menubar is not null.
2477
2478         * javax/swing/JViewport.java (getViewSize): Return an empty
2479         Dimension when the view isn't set or preferred component size when
2480         no viewSize is set.
2481
2482         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
2483         empty Dimension when there is no view set.
2484         (minimumLayoutSize): Likewise.
2485         (layoutContainer): Don't try to layout when there is no view.
2486
2487 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2488
2489         * jawt.c: New file.
2490         * include/jawt.h: Likewise.
2491         * include/jawt_md.h: Likewise.
2492         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
2493         jawt_md.h files.
2494         * jni/classpath/classpath_jawt.h: Likewise.
2495         * jni/gtk-peer/gtk_jawt.c: Likewise.
2496         * Makefile.am: Build libjawt.so.
2497
2498 2005-02-15  Michael Koch  <konqueror@gmx.de>
2499
2500         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
2501         Merged file header with classpath CVS head.
2502         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2503         Merged code formatting with classpath CVS head.
2504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
2505         Removed debug code.
2506         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2507         Handle special JNI strings with 2 '\0' at the end.
2508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2509         Merged file header with classpath CVS head.
2510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2511         Merged code formatting with classpath CVS head.
2512
2513 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2514
2515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
2516         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
2517         (handle_response): Use GTK_RESPONSE_ACCEPT.
2518
2519 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2520
2521         * Makefile.am: Fix library build breakage.
2522         * Makefile.in: Regenerate.
2523
2524 2005-02-15  Michael Koch  <konqueror@gmx.de>
2525
2526         * javax/swing/JTabbedPane.java
2527         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
2528
2529 2005-02-15  Michael Koch  <konqueror@gmx.de>
2530
2531         * javax/swing/tree/DefaultMutableTreeNode.java:
2532         Reworked Javadocs all over.
2533         (getPathToRoot): Fixed direction of result array initialization.
2534
2535 2005-02-15  Michael Koch  <konqueror@gmx.de>
2536
2537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2538          Fix includes for cairo 0.3.0 snappshot.
2539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2540         Merged file header from classpath CVS HEAD.
2541
2542 2005-02-15  Craig Black  <craig.black@aonix.com>
2543
2544         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2545         (copyState): Pass a JNI global reference to signal handler.
2546         (realize_cb): Use and free JNI global reference.
2547         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2548         (create): Pass a JNI global reference to signal handler.
2549         (selection_changed): Match declaration.
2550         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2551         (dispose): Do not remove entries from state tables until after widget is
2552         destroyed.
2553
2554 2005-02-15  Michael Koch  <konqueror@gmx.de>
2555
2556         * java/awt/Container.javai (paramString):
2557         If layoutMgr is null just return result of super.paramString().
2558         * java/awt/Scrollbar.java: Reformatted.
2559         * java/awt/im/InputContext.java (static):
2560         Removed redundant initializations.
2561
2562 2005-02-15  Michael Koch  <konqueror@gmx.de>
2563
2564         * javax/swing/ImageIcon.java,
2565         javax/swing/UIManager.java,
2566         javax/swing/text/EditorKit.java,
2567         javax/swing/text/Segment.java:
2568         More whitespace cleanups.
2569
2570 2005-02-15  Michael Koch  <konqueror@gmx.de>
2571
2572         * gnu/java/awt/EmbeddedWindow.java,
2573         gnu/java/awt/image/ImageDecoder.java,
2574         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2575         java/awt/DefaultKeyboardFocusManager.java,
2576         java/awt/Frame.java,
2577         java/awt/image/RGBImageFilter.java,
2578         javax/swing/AbstractButton.java,
2579         javax/swing/ActionMap.java,
2580         javax/swing/ComponentInputMap.java,
2581         javax/swing/DefaultDesktopManager.java,
2582         javax/swing/ImageIcon.java,
2583         javax/swing/InputMap.java,
2584         javax/swing/JButton.java,
2585         javax/swing/JCheckBox.java,
2586         javax/swing/JCheckBoxMenuItem.java,
2587         javax/swing/JEditorPane.java,
2588         javax/swing/JMenu.java,
2589         javax/swing/JMenuItem.java,
2590         javax/swing/JOptionPane.java,
2591         javax/swing/JRootPane.java,
2592         javax/swing/JTable.java,
2593         javax/swing/MenuSelectionManager.java,
2594         javax/swing/RepaintManager.java,
2595         javax/swing/ScrollPaneLayout.java,
2596         javax/swing/SortingFocusTraversalPolicy.java,
2597         javax/swing/UIManager.java,
2598         javax/swing/ViewportLayout.java,
2599         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
2600         javax/swing/plaf/basic/BasicInternalFrameUI.java,
2601         javax/swing/plaf/basic/BasicLabelUI.java,
2602         javax/swing/plaf/basic/BasicListUI.java,
2603         javax/swing/plaf/basic/BasicMenuItemUI.java,
2604         javax/swing/plaf/basic/BasicMenuUI.java,
2605         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2606         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2607         javax/swing/plaf/basic/BasicRootPaneUI.java,
2608         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2609         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2610         javax/swing/plaf/basic/BasicTextUI.java,
2611         javax/swing/table/TableColumnModel.java,
2612         javax/swing/text/AbstractDocument.java,
2613         javax/swing/text/EditorKit.java,
2614         javax/swing/text/Position.java,
2615         javax/swing/text/Segment.java,
2616         javax/swing/text/StyledEditorKit.java,
2617         javax/swing/text/ViewFactory.java:
2618         Cleanup whitespace differences to classpath CVS HEAD.
2619
2620 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2621
2622         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2623         (finalize): Call finish from here.
2624         (produce): Not from here.
2625         * Makefile.am (gtk_c_source_files):
2626         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
2627         * Makefile.in: Regenerate.
2628         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2629         (cairoSetFont):
2630         (cairoDrawGdkTextLayout):
2631         (cairoDrawString):
2632         (getPeerTextMetrics):
2633         (getPeerFontMetrics): Remove.
2634         (setFont): Don't call cairoSetFont.
2635         (cairoDrawGlyphVector): Accept font peer argument.
2636         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
2637         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2638         (ensure_metrics_cairo):
2639         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
2640         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
2641         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
2642         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
2643         (metrics_cairo):
2644         (metrics_surface): Remove.
2645         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
2646         Pass and install font peer.
2647
2648 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2649
2650         * Makefile.am: Create "split library" structure.
2651         * Makefile.in: Regenerate.
2652
2653 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2654
2655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2659         Release GDK lock during upcalls.
2660
2661 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2662
2663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
2664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2665         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2666         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
2667         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
2668         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
2669         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2670         (getGlyphVector):
2671         (getFontMetrics):
2672         (getTextMetrics): New native methods.
2673         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
2674         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
2675         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
2676         * Makefile.in: Regenerate.
2677
2678 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2679
2680         * javax/swing/SwingUtilities.java:
2681         (getAccessibleAt(java.awt.Component, java.awt.Point)):
2682         Implemented and documented.
2683         (getAccessibleChild(java.awt.Component, int)): Likewise.
2684         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
2685         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
2686         (getAccessibleStateSet(java.awt.Component)): Likewise.
2687
2688 2005-02-15  Michael Koch  <konqueror@gmx.de>
2689
2690         * javax/swing/SwingUtilities.java
2691         (getFontMetrics): Removed.
2692
2693 2005-02-15  Michael Koch  <konqueror@gmx.de>
2694
2695         * java/awt/Container.java
2696         (paramString): Implemented.
2697         * javax/swing/AbstractButton.java
2698         (paramString): Implemented.
2699         * javax/swing/JComponent.java
2700         (paramString): Implemented.
2701         * javax/swing/JMenu.java
2702         (paramString): Implemented.
2703         * javax/swing/JMenuBar.java
2704         (paramString): Implemented.
2705         * javax/swing/JMenuItem.java
2706         (paramString): Implemented.
2707         * javax/swing/JPopupMenu.java
2708         (paramString): Implemented.
2709
2710 2005-02-15  Michael Koch  <konqueror@gmx.de>
2711
2712         * javax/swing/JMenu.java
2713         (uiClassID): Removed.
2714         (JMenu): Set invoker on popup menu.
2715         (getUIClassID): Return id directly.
2716         (getItemCount): Simply return getMenuComponentCount().
2717         Fixed javadoc.
2718         (isTopLevelMenu): Simplified.
2719         * javax/swing/JMenuItem.java
2720         (uiClassID): Removed.
2721         (getUIClassID): Return id directly.
2722         * javax/swing/JPopupMenu.java
2723         (uiClassID): Removed.
2724         (JPopupMenu): Always initialize correctly.
2725         (getSubElements): Only return components implementing MenuElement
2726         interface.
2727         (HeavyWeightPopup.hide): Removed.
2728
2729 2005-02-15  Michael Koch  <konqueror@gmx.de>
2730
2731         * java/awt/image/ReplicateScaleFilter.java
2732         (replicatePixels): Made private.
2733         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2734         (DefaultRGBChooserPanel): Made package private.
2735         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2736         (RecentSwatchPanel): Likewise.
2737         * javax/swing/event/MouseInputAdapter.java: Reformatted.
2738         (MouseInputAdapter): Made abstract.
2739         * javax/swing/tree/DefaultMutableTreeNode.java
2740         (random): Removed.
2741         (growTree): Likewise.
2742
2743 2005-02-15  Michael Koch  <konqueror@gmx.de>
2744
2745         * java/awt/dnd/DropTarget.java (addDropTargetListener):
2746         Clarified comments.
2747
2748 2005-02-15  Michael Koch  <konqueror@gmx.de>
2749
2750         * javax/swing/JComponent.java (getComponentGraphics):
2751         Removed accidently commited code.
2752
2753 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2754
2755         * java/awt/dnd/DropTarget.java
2756         (addDropTargetListener): Despite documentation, do not throw.
2757         * javax/swing/JComponent.java: Set a default DropTarget.
2758
2759 2005-02-15  Michael Koch  <konqueror@gmx.de>
2760
2761         * javax/swing/AbstractAction.java
2762         (ENABLED_PROPERTY): Removed.
2763         (setEnabled): Replaced constant with real string.
2764         * javax/swing/AbstractButton.java
2765         (createActionPropertyChangeListener.propertyChange): Likewise.
2766         * javax/swing/JComboBox.java
2767         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
2768         (EDITABLE_CHANGED_PROPERTY): Removed.
2769         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
2770         (ENABLED_CHANGED_PROPERTY):Likewise.
2771         (RENDERER_CHANGED_PROPERTY):Likewise.
2772         (EDITOR_CHANGED_PROPERTY):Likewise.
2773         (MODEL_CHANGED_PROPERTY):Likewise.
2774         (uiClassID):Likewise.
2775         (getUIClassID): Replaced constant with real string.
2776         (setModel):Likewise.
2777         (setEditable):Likewise.
2778         (setMaximumRowCount):Likewise.
2779         (setRenderer):Likewise.
2780         (setEditor):Likewise.
2781         (setEnabled):Likewise.
2782         * javax/swing/JLabel.java
2783         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
2784         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
2785         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
2786         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2787         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2788         (ICON_CHANGED_PROPERTY): Likewise.
2789         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
2790         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
2791         (TEXT_CHANGED_PROPERTY): Likewise.
2792         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2793         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2794         (setText): Replaced constant with real string.
2795         (setIcon): Likewise.
2796         (setDisabledIcon): Likewise.
2797         (setDisplayedMnemonic): Likewise.
2798         (setIconTextGap): Likewise.
2799         (setVerticalAlignment): Likewise.
2800         (setHorizontalAlignment): Likewise.
2801         (setVerticalTextPosition): Likewise.
2802         (setHorizontalTextPosition): Likewise.
2803         (setLabelFor): Replaced constant with real string.
2804         Fire property change event after property got changed.
2805         * javax/swing/JList.java
2806         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
2807         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
2808         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
2809         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
2810         (MODEL_PROPERTY_CHANGED): Likewise.
2811         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
2812         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
2813         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
2814         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
2815         (setFixedCellWidth): Reimplemented.
2816         (setFixedCellHeight): Exit if new value is identical.
2817         Replaced constant with real string.
2818         (setSelectionBackground): Likewise.
2819         (setSelectionForeground): Likewise.
2820         (setPrototypeCellValue): Likewise.
2821         (setCellRenderer): Replaced constant with real string.
2822         (setModel): Likewise.
2823         (setSelectionModel): Likewise.
2824         * javax/swing/JMenuBar.java
2825         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2826         (MODEL_CHANGED_PROPERTY): Likewise.
2827         (MARGIN_CHANGED_PROPERTY): Likewise.
2828         (setBorderPainted): Reimplemented.
2829         (setMargin): Likewise.
2830         (setSelectionModel): Replaced constant with real string.
2831         * javax/swing/JPopupMenu.java
2832         (LABEL_CHANGED_PROPERTY): Removed.
2833         (VISIBLE_CHANGED_PROPERTY): Likewise.
2834         (borderPainted): Likewise.
2835         (setLabel): Replaced constant with real string.
2836         (setVisible): Exit if new value is identical.
2837         Replaced constant with real string.
2838         * javax/swing/JProgressBar.java
2839         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2840         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2841         (STRING_CHANGED_PROPERTY): Likewise.
2842         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
2843         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
2844         (setOrientation): Replaced constant with real string.
2845         (setStringPainted): Likewise.
2846         (setString): Likewise.
2847         (setBorderPainted): Likewise.
2848         (setIndeterminate): Likewise.
2849         * javax/swing/JScrollBar.java
2850         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
2851         (MODEL_CHANGED_PROPERTY): Likewise.
2852         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2853         (setOrientation): Replaced constant with real string.
2854         (setModel): Likewise.
2855         (setUnitIncrement): Likewise.
2856         (setBlockIncrement): Likewise.
2857         * javax/swing/JScrollPane.java
2858         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
2859         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
2860         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2861         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2862         (LAYOUT_CHANGED_PROPERTY): Likewise.
2863         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
2864         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2865         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2866         (VIEWPORT_CHANGED_PROPERTY): Likewise.
2867         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
2868         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
2869         (setComponentOrientation): Replaced constant with real string.
2870         (setColumnHeader): Likewise.
2871         (setHorizontalScrollBar): Likewise.
2872         (setHorizontalScrollBarPolicy): Likewise.
2873         (setRowHeader): Likewise.
2874         (setVerticalScrollBar): Likewise.
2875         (setVerticalScrollBarPolicy): Likewise.
2876         (setWheelScrollingEnabled): Likewise.
2877         (setViewport): Likewise.
2878         (setViewportBorder): Likewise.
2879         * javax/swing/JSlider.java
2880         (INVERTED_CHANGED_PROPERTY): Removed.
2881         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
2882         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2883         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2884         (MODEL_CHANGED_PROPERTY): Likewise.
2885         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2886         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
2887         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
2888         (setModel): Replaced constant with real string.
2889         (setOrientation): Likewise.
2890         (setLabelTable): Likewise.
2891         (setInverted): Likewise.
2892         (setMajorTickSpacing): Likewise.
2893         (setMinorTickSpacing): Likewise.
2894         (setPaintTicks): Likewise.
2895         (setPaintLabels): Likewise.
2896         * javax/swing/JTabbedPane.java
2897         (MODEL_CHANGED_PROPERTY): Removed.
2898         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2899         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2900         (setModel): Replaced constant with real string.
2901         (setTabPlacement): Likewise.
2902         (setTabLayoutPolicy): Likewise.
2903         * javax/swing/JToolBar.java
2904         (ORIENTATION_CHANGED_PROPERTY): Removed.
2905         (FLOATABLE_CHANGED_PROPERTY): Likewise.
2906         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2907         (MARGIN_CHANGED_PROPERTY): Likewise.
2908         (ROLLOVER_CHANGED_PROPERTY): Likewise.
2909         (setRollover): Replaced constant with real string.
2910         (setMargin): Likewise.
2911         (setBorderPainted): Likewise.
2912         (setFloatable): Likewise.
2913         (setOrientation): Likewise.
2914         * javax/swing/plaf/basic/BasicComboBoxUI.java
2915         (PropertyChangeHandler.propertyChange): Likewise.
2916         * javax/swing/plaf/basic/BasicComboPopup.java
2917         (PropertyChangeHandler.propertyChange): Likewise.
2918         * javax/swing/plaf/basic/BasicMenuBarUI.java
2919         (PropertyChangeHandler.propertyChange): Likewise.
2920         * javax/swing/plaf/basic/BasicProgressBarUI.java
2921         (PropertyChangeHandler.propertyChange): Likewise.
2922         * javax/swing/plaf/basic/BasicScrollBarUI.java
2923         (PropertyChangeHandler.propertyChange): Likewise.
2924         * javax/swing/plaf/basic/BasicSliderUI.java
2925         (PropertyChangeHandler.propertyChange): Likewise.
2926         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2927         (PropertyChangeHandler.propertyChange): Likewise.
2928         * javax/swing/plaf/basic/BasicToolBarUI.java
2929         (PropertyChangeHandler.propertyChange): Likewise.
2930
2931 2005-02-15  Michael Koch  <konqueror@gmx.de>
2932
2933         * javax/swing/DefaultButtonModel.java
2934         (changeState): Made private.
2935         * javax/swing/DefaultDesktopManager.java
2936         (setWasIcon): Fixed second argument to be java.lang.Boolean.
2937         * javax/swing/JLayeredPane.java
2938         (layerToRange): Made private.
2939         (incrLayer): Likewise.
2940         (decrLayer): Likewise.
2941         * javax/swing/JTable.java
2942         (dragEnabled): Likewise.
2943         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2944         * javax/swing/KeyStroke.java
2945         (Keystroke): Made private.
2946         * javax/swing/TransferHandler.java
2947         (COMMAND_COPY): Likewise.
2948         (COMMAND_CUT): Likewise.
2949         (COMMAND_PASTE): Likewise.
2950
2951 2005-02-15  Michael Koch  <konqueror@gmx.de>
2952
2953         * javax/swing/JTextField.java
2954         (postActionEvent): Use text in field when actionCommand is null.
2955         (getActionCommand): Removed.
2956
2957 2005-02-15  Michael Koch  <konqueror@gmx.de>
2958
2959         * javax/swing/AbstractSet.java: Removed.
2960         * Makefile.am: Removed javax/swing/AbstractSet.java.
2961         * Makefile.in: Regenerated.
2962
2963 2005-02-15  Michael Koch  <konqueror@gmx.de>
2964
2965         * java/awt/Window.java
2966         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2967         * java/awt/dnd/DnDConstants.java
2968         (DnDConstants): New private constructor.
2969
2970 2005-02-15  Michael Koch  <konqueror@gmx.de>
2971
2972         * javax/swing/DefaultCellRenderer.java: Removed.
2973         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2974         * Makefile.in: Regenerated.
2975
2976 2005-02-15  Michael Koch  <konqueror@gmx.de>
2977
2978         * javax/swing/AbstractButton.java
2979         (fireItemStateChanged): Made protected.
2980         (fireActionPerformed): Likewise.
2981         (fireStateChanged): Likewise.
2982         * javax/swing/DefaultButtonModel.java
2983         (fireItemStateChanged): Likewise.
2984         (fireActionPerformed): Likewise.
2985         (fireStateChanged): Likewise.
2986         * javax/swing/JApplet.java
2987         (JApplet): Removed.
2988         (frameInit): Likewise.
2989         (setRootPane): Made protected.
2990         (createRootPane): Likewise.
2991         * javax/swing/JComponent.java
2992         (getClientProperty): Likewise.
2993         (putClientProperty): Likewise.
2994         * javax/swing/JEditorPane.java
2995         (getContentType): Likewise.
2996         (setContentType): Likewise.
2997         * javax/swing/JFrame.java
2998         (setRootPane): Likewise.
2999         (createRootPane): Likewise.
3000         * javax/swing/JInternalFrame.java
3001         (getFocusCycleRootAncestor): Made final. Added @since tag.
3002         (isFocusCycleRoot): Likewise.
3003         (getWarningString): Made final.
3004         * javax/swing/JScrollBar.java
3005         (changeListener): Removed.
3006         (changeEvent): Likewise.
3007         (createChangeListener): Likewise.
3008         (fireStateChanged): Likewise.
3009         (addChangeListener): Likewise.
3010         (removeChangeListener): Likewise.
3011         (getChangeListeners): Likewise.
3012         * javax/swing/JScrollPane.java
3013         (createViewport): Made protected.
3014         * javax/swing/JViewport.java
3015         (addImpl): Likewise.
3016         (setBorder): New method.
3017         * javax/swing/JWindow.java
3018         (setRootPane): Made protected.
3019         (createRootPane): Likewise.
3020         * javax/swing/plaf/basic/BasicButtonUI.java
3021         (installListeners): Likewise.
3022         (uninstallListeners): Likewise.
3023         * javax/swing/plaf/basic/BasicProgressBarUI.java
3024         (incrementAnimationIndex): Likewise.
3025         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3026         (createLayoutManager): Likewise.
3027         * javax/swing/table/DefaultTableCellRenderer.java
3028         (firePropertyChange): Likewise.
3029         * javax/swing/table/JTableHeader.java
3030         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
3031         New constructor.
3032         * javax/swing/text/PlainDocument.java
3033         (reindex): Made private.
3034         * javax/swing/text/PlainView.java
3035         (drawLine): Made protected.
3036         (getTabSize): Likewise.
3037         * javax/swing/text/View.java
3038         (setSize): Removed.
3039         (preferenceChanged): New method.
3040         (getBreakWeight): Likewise.
3041         (breakView): Likewise.
3042         (getViewIndex): Likewise.
3043
3044 2005-02-15  Michael Koch  <konqueror@gmx.de>
3045
3046         * javax/swing/JScrollPane.java
3047         (ScrollBar): Made class protected.
3048         * javax/swing/JSpinner.java
3049         (JSpinner): Added @since tag.
3050         (listenerList): Removed.
3051         * javax/swing/JTable.java
3052         (setValueAt): New method.
3053         (getColumn): Likewise.
3054         * javax/swing/JWindow.java
3055         (rootPaneCheckingEnabled): Renamed from checking.
3056
3057 2005-02-15  Michael Koch  <konqueror@gmx.de>
3058
3059         * javax/swing/plaf/basic/BasicTextUI.java
3060         (RootView.modelToView): Made it public and return a java.awt.Shape.
3061         Handle null subview.
3062         (uninstall): Set textComponent to null when its not possible used
3063         anymore.
3064         * javax/swing/text/View.java
3065         (setParent): Use better argument name.
3066         (getContainer): Get parent via getParent().
3067         (getViewFactory): Likewise.
3068         (getAttributes): Get element via getElement().
3069         (getStartOffset): Likewise.
3070         (getEndOffset): Likewise.
3071         (getResizeWeight): New method.
3072         (getMaximumSpan): Likewise.
3073         (getMinimumSpan): Likewise.
3074         (setSize): Likewise.
3075         (getGraphics): Likewise.
3076
3077 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3078
3079         * java/awt/Checkbox.java:
3080         (AccessibleAWTCheckbox()): Added public constructor
3081         to call superclass.
3082         * java/awt/Choice.java:
3083         (AccessibleAWTChoice): Added class documentation.
3084         (AccessibleAWTChoice()): Added public constructor
3085         to call superclass.
3086         (AccessibleAWTChoice.getAccessibleAction()): Documented.
3087         (AccessibleAWTChoice.getAccessibleRole()): Documented,
3088         and changed role to COMBO_BOX.
3089         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
3090         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
3091         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
3092
3093 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3094             Michael Koch  <konqueror@gmx.de>
3095
3096         * javax/swing/LayoutFocusTraversalPolicy.java,
3097         javax/swing/SortingFocusTraversalPolicy.java:
3098         New classes.
3099         * Makefile.am: Added new classes.
3100         * Makefike.in: Regenerated.
3101
3102
3103 2005-02-15  Michael Koch  <konqueror@gmx.de>
3104
3105         * javax/swing/DebugGraphics.java: Mostly implemented.
3106
3107 2005-02-15  Michael Koch  <konqueror@gmx.de>
3108
3109         * javax/swing/SwingUtilities.java
3110         (findFocusOwner): New method.
3111
3112 2005-02-15  Michael Koch  <konqueror@gmx.de>
3113
3114         * javax/swing/text/DefaultEditorKit.java
3115         (read): Added '\n' after each line.
3116         * javax/swing/text/PlainView.java
3117         (modelToView): Update metrics.
3118         (drawLine): Use offsets from element.
3119         (paint): Update metrics. Draw all lines.
3120
3121 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3122
3123         * java/awt/Checkbox.java:
3124         (AccessibleAWTCheckbox): Added class documentation
3125         * java/awt/Scrollbar.java:
3126         (AccessibleAWTScrollBar): typo corrected and docs added
3127         (AccessibleAWTScrollBar.getAccessibleRole()): documented
3128         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
3129         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
3130         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
3131         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
3132         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
3133         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
3134         (getAccessibleContext()): name of accessible class corrected
3135
3136 2005-02-15  Mark Wielaard  <mark@klomp.org>
3137
3138         * java/awt/BasicStroke.java (hashCode): Implement.
3139         (equals): Document.
3140
3141 2005-02-15  Michael Koch  <konqueror@gmx.de>
3142
3143         * java/awt/print/PrinterJob.java
3144         (pageDialog): Throws java.awt.HeadlessException.
3145         (printDialog): Likewise.
3146
3147 2005-02-15  Mark Wielaard  <mark@klomp.org>
3148
3149         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
3150
3151 2005-02-15  Michael Koch  <konqueror@gmx.de>
3152
3153         * javax/swing/JTable.java
3154         (getValueAt): New method.
3155         * javax/swing/table/JTableHeader.java
3156         (columnAtPoint): New method.
3157
3158 2005-02-15  Michael Koch  <konqueror@gmx.de>
3159
3160         * javax/swing/JTextField.java
3161         (actions): New field.
3162         (static): Initalize actions field.
3163         (getActions): New method.
3164
3165 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3166
3167         * java/awt/Checkbox.java:
3168         (AccessibleAWTCheckbox): name capitalization corrected
3169         and serialization UID added.
3170         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
3171         documented.
3172         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
3173         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
3174         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
3175         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
3176         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
3177         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
3178         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
3179         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
3180         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
3181         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
3182         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
3183         documented
3184         (getAccessibleContext()): name of accessible class corrected
3185
3186 2005-02-15  Sven de Marothy  <sven@physto.se>
3187
3188         * java/awt/geom/doc-files/Area-1.png,
3189         java/awt/geom/doc-files/Ellipse-1.png,
3190         java/awt/geom/doc-files/GeneralPath-1.png:
3191         New files.
3192
3193 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3194
3195         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
3196         Use union to avoid type-punning warning.
3197
3198 2005-02-15  Michael Koch  <konqueror@gmx.de>
3199
3200         * javax/swing/DefaultListSelectionModel.java
3201         (clone): New method.
3202
3203 2005-02-15  Mark Wielaard  <mark@klomp.org>
3204
3205         Reported by Martin Platter <motse@complang.tuwien.ac.at>
3206         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3207         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
3208         Correct method signature of gtkSetFilename.
3209
3210 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
3211
3212         * javax/swing/text/StringContent.java: New file.
3213
3214 2005-02-15  Michael Koch  <konqueror@gmx.de>
3215
3216         * Makefile.am: Added javax/swing/text/StringContent.java.
3217         * Makefile.in: Regenerated.
3218
3219 2005-02-15  Michael Koch  <konqueror@gmx.de>
3220
3221         * gnu/java/awt/ClasspathToolkit.java:
3222         Import statements reworked.
3223         (imageCache): Made it of type java.util.HashMap.
3224
3225 2005-02-15  Michael Koch  <konqueror@gmx.de>
3226
3227         * javax/imageio/stream/MemoryCacheImageInputStream.java:
3228         Reworked import statements.
3229
3230 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3231
3232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
3233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
3235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
3237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
3238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
3239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
3242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
3243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
3244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
3245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
3246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3248         Rewrite uses of extern variable to be function calls.
3249         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
3250         function, from extern variable.
3251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3252         (gdk_env): Remove variable, add new function.
3253         (java_vm): Add new variable.
3254         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
3255         java_vm rather than old gdk_env variable.
3256
3257 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
3258
3259         * javax/swing/DefaultListModel.java
3260         (add): fire correct event,
3261         (addElement): corrected interval indices in event,
3262         (clear): corrected upper bound for interval, only fire event if
3263         list is not empty,
3264         (setSize): fire appropriate event.
3265
3266 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3267
3268         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
3269         * gnu/awt/xlib/XToolkit.java: Likewise.
3270         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3271         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3272         * gnu/java/awt/ClasspathToolkit.java: Likewise.
3273         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
3274         * java/awt/EventQueue.java (getNextEvent):
3275         Adjust event loop to switch to native mode after 100ms.
3276         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
3277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
3278         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
3279         Wake up event thread.
3280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3281         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
3282         Adjust event loop to switch to java mode after 100ms.
3283
3284 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3285
3286         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
3287         accidentally removed in last change.
3288
3289 2005-02-15  Michael Koch  <konqueror@gmx.de>
3290
3291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3292         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
3293
3294 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3295
3296         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
3297         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
3298         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
3299         * jni.cc: Reuse bottom frame between calls, avoid clearing
3300         frame when no local references are made.
3301
3302 2005-02-15  Michael Koch  <konqueror@gmx.de>
3303
3304         * javax/swing/UIDefaults.java (UIDefaults):
3305         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
3306         Fixed HTML entity and removed a redundant comma.
3307
3308 2005-02-15  Michael Koch  <konqueror@gmx.de>
3309
3310         * javax/swing/text/DefaultEditorKit.java
3311         (deinstall): Removed.
3312         (install): Likewise.
3313
3314 2005-02-15  Michael Koch  <konqueror@gmx.de>
3315
3316         * javax/swing/UIDefaults.java (put): Handle value of null.
3317
3318 2005-02-15  Michael Koch  <konqueror@gmx.de>
3319
3320         * java/awt/Robot.java,
3321         java/awt/Scrollbar.java,
3322         java/awt/print/PrinterJob.java,
3323         javax/swing/JTable.java,
3324         javax/swing/text/AbstractDocument.java:
3325         Reworked import statements.
3326
3327 2005-02-15  Michael Koch  <konqueror@gmx.de>
3328
3329         * javax/swing/JEditorPane.java
3330         (read): Implemented.
3331         (write): Likewise.
3332         * javax/swing/text/DefaultEditorKit.java
3333         (page): Renamed from page_url. Made private.
3334         (editorKit): Renamed from kit. Made private.
3335         (ctype): Removed.
3336         (JEditorPane): All constructors reimplemented.
3337         (getContentType): Use content type from editor kit.
3338         (getEditorKit): Return editorKit.
3339         (getEditorKitForContentType):Likewise.
3340         (getPage): Return page.
3341         (setContentType): Reimplemented.
3342         (setEditorKit): Likewise.
3343         (setEditorKitForContentType): Removed wrong implementation.
3344         (setPage): Implemented.
3345
3346 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3347
3348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3349         (nativeSetIconImageFromData): Re-add native implementation.
3350
3351 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
3352
3353         * javax/swing/table/DefaultTableModel.java
3354         (DefaultTableModel()): Added Javadocs.
3355         (DefaultTableModel(int, int)): Fixed implementation.
3356         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
3357         for negative rowCount.
3358         (DefaultTableModel(Object[], int)): Added Javadocs.
3359         (DefaultTableModel(Vector, Vector)): Likewise.
3360         (DefaultTableModel(Object[][], Object[])): Likewise.
3361         (getDataVector): Likewise.
3362         (setDataVector(Vector, Vector)): Likewise.
3363         (setDataVector(Object[][], Object[])): Likewise.
3364         (newDataAvailable): Likewise.
3365         (newRowsAdded): Likewise.
3366         (rowsRemoved): Likewise.
3367         (setColumnIdentifiers(Vector)): Allow for null argument.
3368         (setColumnIdentifiers(Object[])): Added Javadocs.
3369         (setNumRows): Likewise.
3370         (setRowCount): Adds new rows if necessary, and sends more specific
3371         TableModelEvent.
3372         (setColumnCount): Allow for null columnIdentifiers.
3373         (addColumn(Object)): Added Javadocs.
3374         (addColumn(Object, Vector)): Handle null columnData.
3375         (addColumn(Object, Object[])): Handle columnData with more or less
3376         entries than rows in the table.
3377         (addRow(Vector)): Fire appropriate event.
3378         (addRow(Object[])): Added Javadocs.
3379         (insertRow(int, Vector)): Fire appropriate event.
3380         (insertRow(int, Object[])): Added Javadocs.
3381         (moveRow): Reimplemented.
3382         (removeRow(int)): Fire appropriate event.
3383         (getColumnCount): Allow for null columnIdentifiers.
3384         (getColumnName): Now returns empty string when column index is too
3385         large.
3386         (isCellEditable): Added Javadocs.
3387         (getValueAt): Likewise.
3388         (setValueAt): Fire more specific event.
3389         (convertToVector): Added Javadocs.
3390         * javax/swing/table/TableModel.java
3391         Added Javadocs.
3392
3393 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3394
3395         * libgcj.spec.in (lib): Add -l-javax-imageio.
3396
3397 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3398
3399         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
3400         references to event queue q with method call q().
3401         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
3402         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3403         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
3404         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
3405         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
3406         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
3407         (q): New method.
3408
3409 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3410
3411         * gnu/java/awt/ClasspathToolkit.java
3412         (registerImageIOSpis): New method.
3413         * gnu/java/awt/image/ImageDecoder.java
3414         (imageDecoder): New constructor using InputStream
3415         (startProduction): Handle existing InputStream.
3416         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3417         (findSimpleIntegerArray): Make public and static.
3418         (updateBufferedImage): Set each pixel, in a loop.
3419         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3420         Implement ImageIO SPI classes.
3421         (createBufferedImage): Rewrite in terms of SPI classes.
3422         * gnu/java/awt/peer/gtk/GtkToolkit.java
3423         (registerImageIOSpis): New method.
3424         * java/lang/reflect/natMethod.cc
3425         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
3426         which lets JNI call interface methods properly.
3427         * javax/imageio/ImageIO.java
3428         (WriterFormatFilter.filter): Fix copy-and-paste typos.
3429         (WriterMIMETypeFilter.filter): Likewise.
3430         (ImageReaderIterator): Pass extension argument through to SPI.
3431         (getReadersByFilter): Likewise.
3432         (getWritersByFilter): Likewise.
3433         (getImageReadersByFormatName): Likewise.
3434         (getImageReadersByMIMEType): Likewise.
3435         (getImageReadersBySuffix): Likewise.
3436         (getImageWritersByFormatName): Likewise.
3437         (getImageWritersByMIMEType): Likewise.
3438         (getImageWritersBySuffix): Likewise.
3439         (read): Implement.
3440         (write): Implement.
3441         * javax/imageio/ImageReader.java
3442         (progressListeners): Initialize.
3443         (setInput): Implement.
3444         * javax/imageio/ImageWriter.java