PR tree-optimization/25985
[official-gcc.git] / libjava / ChangeLog
blob3540ccf057b6afb257216357d2307b7407ef273d
1 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
3         * scripts/unicode-muncher.pl: Removed this file.
4         * scripts/MakeCharTables.java: Likewise.
5         * scripts/unicode-to-chartables.pl: New file.
6         * java/lang/natCharacter.cc: 
7         (UNASSIGNED_TYPE): New field.
8         (UNASSIGNED_DIGIT): Likewise.
9         (UNASSIGNED_DIRECTION): Likewise.
10         (UNASSIGNED_NUMERIC_VALUE): Likewise.
11         (PRIVATE_TYPE): Likewise.
12         (PRIVATE_DIRECTION): Likewise.
13         (readCodePoint): New method.
14         (getType(jint)): Likewise.
15         (toLowerCase(jint)): Likewise.
16         (toUpperCase(jint)): Likewise.
17         (toTitleCase(jint)): Likewise.
18         (digit(jint, jint)): Likewise.
19         (getNumericValue(jint)): Likewise.
20         (getDirectionality(jint)): Likewise.
21         (readChar),
22         (getType(jchar)),
23         (toLowerCase(jchar)),
24         (toUpperCase(jchar)),
25         (toTitleCase(jchar)),
26         (digit(jchar, jint)),
27         (getNumericValue(jchar)),
28         (getDirectionality(jchar)): Changed references from data to data[0], 
29         blocks to blocks[0], direction to direction[0], numValue to 
30         numValue[0], upper to upper[0], lower to lower[0], and shift to 
31         shift[0] to reflect the new structures in java-chartables.h.    
32         * java/lang/Character.java:
33         (readCodePoint): Declared new native method.
34         (getType(int)): Likewise.
35         (toLowerCase(int)): Likewise.
36         (toUpperCase(int)): Likewise.
37         (toTitleCase(int)): Likewise.
38         (digit(int, int)): Likewise.
39         (getNumericValue(int)): Likewise.
40         (getDirectionality(int)): Likewise.
41         (isLowerCase(int)): New method.
42         (isUpperCase(int)): Likewise.
43         (itTitleCase(int)): Likewise.
44         (isDigit(int)): Likewise.
45         (isDefined(int)): Likewise.
46         (isLetter(int)): Likewise.
47         (isLetterOrDigit(int)): Likewise.
48         (isJavaIdentifierStart(int)): Likewise.
49         (isJavaIdentifierPart(int)): Likewise.
50         (isUnicodeIdentifierStart(int)): Likewise.
51         (isUnicodeIdentifierPart(int)): Likewise.
52         (isIdentifierIgnorable(int)): Likewise.
53         (isSpaceChar(int)): Likewise.
54         (isWhitespace(int)): Likewise.
55         (isISOControl(int)): Likewise.
56         (isMirrored(int)): Likewise.
57         * include/java-chartables.h: Generated from 
58         scripts/unicode-to-chartables.h.
60 2006-03-24  David Daney  <ddaney@avtrex.com)
62         * testsuite/libjava.lang/PR26858.java: New test.
63         * testsuite/libjava.lang/PR26858.out: Ditto.
64         * testsuite/libjava.lang/PR26858.xfail: Ditto.
66 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
68         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
69         macro.
70         
71 2006-03-15  Tom Tromey  <tromey@redhat.com>
73         * testsuite/libjava.jacks/jacks.xfail: Removed
74         13.1-runtime-method-5.
76 2006-03-15  Tom Tromey  <tromey@redhat.com>
78         PR java/26638:
79         * link.cc (get_interfaces): Skip <clinit>.
80         (append_partial_itable): Likewise.
82 2006-03-10  Tom Tromey  <tromey@redhat.com>
84         PR libgcj/25713:
85         * java/util/zip/Deflater.java (flush): New method.
86         * sources.am, Makefile.in: Rebuilt.
87         * java/util/zip/DeflaterOutputStream.java: Removed.
88         * java/util/zip/InflaterInputStream.java: Likewise.
89         * java/util/zip/GZIPInputStream.java: Likewise.
90         * java/util/zip/GZIPOutputStream.java: Likewise.
92 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
94         * include/powerpc-signal.h: Fix typo in comment.
96 2006-03-09  Mark Wielaard  <mark@klomp.org>
98         Imported GNU Classpath 0.90
99         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
100         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
101         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
102         * java/lang/Math.java: New override file.
103         * java/lang/Character.java: Merged from Classpath.
104         (start, end): Now 'int's.
105         (canonicalName): New field.
106         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
107         (UnicodeBlock): Added argument.
108         (of): New overload.
109         (forName): New method.
110         Updated unicode blocks.
111         (sets): Updated.
112         * sources.am: Regenerated.
113         * Makefile.in: Likewise.
115 2006-03-09  Tom Tromey  <tromey@redhat.com>
117         PR libgcj/23495:
118         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
119         (equals): Use memcmp.
120         (contentEquals): Likewise.
121         (getChars): Use memcpy.
122         (toCharArray): Likewise.
123         (regionMatches): Use memcmp.
124         (regionMatches): Likewise.
125         (startsWith): Likewise.
126         (concat): Use memcpy.
127         (valueOf): Likewise.
129 2006-03-09  Tom Tromey  <tromey@redhat.com>
131         * configure: Rebuilt.
132         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
133         well.
135 2006-03-09  Tom Tromey  <tromey@redhat.com>
137         PR libgcj/24461:
138         * java/util/zip/InflaterInputStream.java (fill): Throw exception
139         if stream is truncated.
141 2006-03-09  Tom Tromey  <tromey@redhat.com>
143         * win32.cc (_Jv_platform_nanotime): New function.
144         * include/win32.h (_Jv_platform_nanotime): Declare.
145         * posix.cc (_Jv_platform_nanotime): New function.
146         * include/posix.h (_Jv_platform_nanotime): Declare.
147         * java/lang/natSystem.cc (nanoTime): New method.
148         * java/lang/System.java (nanoTime): Declare.
149         * include/config.h.in, configure: Rebuilt.
150         * configure.ac: Check for clock_gettime.
152 2006-03-08  David Daney  <ddaney@avtrex.com>
154         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
155         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
156         (LD_FINISH_STATIC_SPEC): Ditto
157         * configure: Regenerated.
158         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
159         LD_FINISH_STATIC_SPEC.
160         
161 2006-03-07  Tom Tromey  <tromey@redhat.com>
163         PR libgcj/26103:
164         * java/lang/ClassLoader.java (loadClass): Don't throw
165         StringIndexOutOfBoundsException if name is empty.
166         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
167         if class not found.
169 2006-03-07  David Daney  <ddaney@avtrex.com>
171         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
173 2006-03-07  David Daney  <ddaney@avtrex.com>
175         * link.cc: Include ffi.h if USE_LIBFFI defined.
176         
177 2006-03-03  Tom Tromey  <tromey@redhat.com>
179         * interpret.cc (do_allocate_static_fields): Added comment.
181 2006-03-01  Tom Tromey  <tromey@redhat.com>
183         PR java/24321:
184         * testsuite/libjava.lang/pr24321.java: New file.
185         * testsuite/libjava.lang/pr24321.out: New file.
186         * java/lang/natClass.cc (isInstance): Don't initialize class.
187         (isAssignableFrom): Likewise.
189 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
191         PR other/26208
192         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
193         of _Unwind_GetIP.
194         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
195         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
196         to throw.
197         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
198         macro.
199         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
200         macro.
202 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
204         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
205         before returning, handle null clip.
206         (getClipBounds): Handle null clip.
207         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
208         * gnu/awt/xlib/XCanvasPeer.java (): 
209         (getLocationOnScreen): Implement.
210         * classpath/gnu/java/awt/peer/GLightweightPeer.java
211         (repaint): Merged with Classpath.
212         * classpath/java/awt/Graphics.java (hitClip): Merged with
213         Classpath.
215 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
217         * link.cc: Added variant of create_error_method that
218         will not complain about unused parameter if compiled with
219         USE_LIBFFI not being defined.
220         (_Jv_Linker::find_field_helper): Fixed indentation.
221         (_Jv_Linker::create_error_method): Fixed indentation.
222         (_Jv_Linker::link_symbol_table): Fixed indentation.
224 2006-02-16  Andrew Haley  <aph@redhat.com>
226         * stacktrace.cc (GetStackTraceElements): Call
227         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
228         non-Java frames should be removed from a printed stack trace.
229         Pass methodName to getLineNumberForFrame().
230         (getLineNumberForFrame): Set method_name from info.dli_sname.
231         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
232         (remove_unknown): New variable.
233         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
234         Add methodName arg.
236 2006-02-15  Matthias Klose  <doko@debian.org>
238         * gnu/java/nio/charset, gnu/java/net/protocol/file,
239         gnu/regexp: Remove empty directories.
241 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
243         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
244         'itable' inline, instead of as a pointer.
245         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
246         * link.cc (null_idt): Update definition.
247         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
248         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
249         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
250         (_Jv_Linker::find_iindex): Likewise. Update comment.
251         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
252         _Jv_IDispatchTable change.
253         (_Jv_IsAssignableFrom): Likewise.
255 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
257         PR libgcj/25187:
258         * gnu/gcj/io/natSimpleSHSStream.cc
259         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
260         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
261         _Jv_InterpFrame(). 
262         * boehm.cc: #undef some autoconf macros before including gc-config.h.
263         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
264         (_Jv_MarkArray): Likewise.
265         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
266         Simplify _Jv_GCRegisterDisappearingLink() call.
267         * java/lang/Class.h (getComponentType): Use element_type.
268         (element_type): New field declaration, as a union with "methods".
269         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
270         * java/net/natVMNetworkInterfacePosix.cc
271         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
272         avoid sign comparison warning.  
273         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
274         argument, not parent call frame.
275         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
276         without a cast.
277         (restore_rt): Declare with hidden visibility, not "static".
278         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
279         constant.
280         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
281         warning.
283 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
285         PR libgcj/26113:
286         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
287         as "const char *".
288         * verify.cc (verify_fail): Likewise.
289         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
290         * interpret.cc (throw_internal_error, throw_class_format_error):
291         Likewise.
292         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
293         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
294         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
295         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
296         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
297         is_attribute_name): Likewise.
298         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
299         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
301 2006-02-08  Tom Tromey  <tromey@redhat.com>
303         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
304         * defineclass.cc (parse): Use _Jv_AllocRawObj.
305         (read_constpool): Likewise.
306         (read_one_code_attribute): Use internal function name.
307         (handleConstantPool): Use _Jv_AllocRawObj.
308         (handleInterfacesBegin): Likewise.
309         (handleFieldsBegin): Likewise.
310         (handleMethodsBegin): Likewise.
311         (handleCodeAttribute): Likewise.
312         (handleMethodsEnd): Likewise.
313         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
314         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
315         Allocate reference fields separately.
316         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
317         (add_miranda_methods): Likewise.
318         (generate_itable): Use _Jv_AllocBytes.
319         (find_iindex): Likewise.
320         (struct method_closure): New structure.
321         (create_error_method): Use struct method_closure; allocate with
322         _Jv_AllocBytes.
323         (ensure_fields_laid_out): Separate reference fields from
324         non-reference fields.
325         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
326         of Class.
327         (_Jv_MarkArray): Mark vtable.
328         (_Jv_AllocRawObj): Don't allocate objects of size 0.
329         * include/execution.h
330         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
331         parameter.
332         (struct _Jv_CompiledEngine): Updated.
333         (class _Jv_InterpreterEngine): Updated.
335 2006-02-08  Tom Tromey  <tromey@redhat.com>
337         PR java/22578:
338         * gcj/javaprims.h: Updated.
339         * sources.am, Makefile.in: Rebuilt.
340         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
341         (doubleToRawLongBits): Likewise.
342         (longBitsToDouble): Likewise.
343         (toString): Likewise.
344         (parseDouble): Likewise.
345         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
346         (floatToRawIntBits): Likewise.
347         (intBitsToFloat): Likewise.
348         * java/lang/VMDouble.java: New file.
349         * java/lang/VMFloat.java: New file.
350         * java/lang/Float.java, java/lang/Double.java: Removed.
352 2006-02-06  Tom Tromey  <tromey@redhat.com>
354         * gij.cc (version): Use 2006.
355         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
356         * gnu/gcj/convert/Convert.java (version): Use 2006.
357         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
359 2006-02-04  Tom Tromey  <tromey@redhat.com>
361         PR java/25676:
362         * testsuite/libjava.lang/pr25676.out: New file.
363         * testsuite/libjava.lang/pr25676.java: New file.
365 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
367         * Makefile.am (src.zip): Update src.zip file search to look in
368         classpath directory.
369         * Makefile.in: Regenerate.
371 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
373         * link.cc:
374         (_Jv_Linker::create_error_method): Added missing (void *) cast.
376 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
378         * include/jvm.h:
379         (_Jv_Linker::create_error_method): New method declaration.
380         * link.cc:
381         (_Jv_Linker::create_error_method): New method.
382         (_Jv_Linker::link_symbol_table): Use new method above.
384 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
386         * link.cc:
387         (_Jv_Linker::find_field_helper): Added checks.
388         (_Jv_Linker::find_field): Use exception swallowing class resolution
389         and added early return.
390         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
391         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
392         resolution, added ffi_closure installation routine, use
393         _Jv_ThrowNoClassDefFoundError for missing static method.
394         (_Jv_Linker::ensure_class_linked): Added string check which does
395         not trigger class resolution.
396         * java/lang/natClassLoader.cc:
397         (_Jv_FindClassNoException): New method.
398         * java/lang/Class.h:
399         (_Jv_FindClassNoException): New method declaration.
400         * include/jvm.h:
401         (_Jv_FindClassNoException): New method declaration.
402         (_Jv_FindClassFromSignatureNoException): New method declaration.
403         * prims.cc:
404         (_Jv_FindClassFromSignatureNoException): New method.
405         * gcj/javaprims.h:
406         (_Jv_equalsUtf8Classname): New method declaration.
407         (_Jv_isPrimitiveOrDerived): Dito.
408         * prims.cc:
409         (_Jv_equalsUtf8Classnames): New method.
410         (_Jv_isPrimitiveOrDerived): New method.
411         * verify.cc:
412         (ref_intersection::equals): Use new classname comparison method.
413         (type::compatible): Use new classname comparison method. Added
414         check whether LHS' type is java.lang.Object .
415         (type::resolve): Added new optional debug message and simplified
416         if-expression.
417         (type::to_array): Added codepath that generates an array type
418         without resolving the element type.
420 2006-01-31  Mark Wielaard  <mark@klomp.org>
422         * NEWS: Add 4.1 updates.
424 2006-01-30  Keith Seitz  <keiths@redhat.com>
426         * include/java-interp.h (insn_index): New declaration.
427         (num_insn_slots): New private variable.
428         (get_line_table): New declaration.
429         * interpret.cc (insn_index): New function.
430         (get_line_table): New function.
432 2006-01-24  Archit Shah  <ashah@redhat.com>
433             Tom Tromey  <tromey@redhat.com>
435         * prims.cc (next_property_value): Never return NULL.
436         (process_gcj_properties): Copy 'props' before using it.
438 2006-01-23  Keith Seitz  <keiths@redhat.com>
440         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
441         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
443 2006-01-23  David Daney  <ddaney@avtrex.com>
445         * configure.host (disable_dladdr): Remove variable and its
446         documentation.
447         * configure.ac: Do not test for disable_dladdr.
448         * configure: Regenerate.
449         * include/config.h.in: Regenerate.
451 2006-01-18  Tom Tromey  <tromey@redhat.com>
453         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
454         already exists.
456 2006-01-18  Keith Seitz  <keiths@redhat.com>
458         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
459         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
460         * interpret.cc (_Jv_CompileMethod): New function.
461         (run):  Massage code to allow for NULL args.
462         Update comments to explain NULL args.
463         Return if compiling the method and args is NULL.
465 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
467         PR libgcj/25840
468         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
470 2006-01-17  Tom Tromey  <tromey@redhat.com>
472         PR classpath/20198:
473         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
474         (JarURLLoader): Likewise.
475         (addURLImpl): Canonicalize file URLs.
477 2006-01-16  Mark Wielaard  <mark@klomp.org>
479         Imported GNU Classpath 0.20
480         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
481         * java/nio/charset/spi/CharsetProvider.java: New override file.
482         * java/security/Security.java: Likewise.
483         * sources.am: Regenerated.
484         * Makefile.in: Likewise.
486 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
488         * configure.ac (dbexecdir): New substituted var.
489         * configure: Rebuilt.
490         * Makefile.am (dbexecdir): Remove.
491         * Makefile.in: Rebuilt.
493 2006-01-13  Tom Tromey  <tromey@redhat.com>
495         * gnu/regexp/MessagesBundle_fr.properties: Removed.
496         * gnu/regexp/MessagesBundle.properties: Removed.
498 2006-01-13  Tom Tromey  <tromey@redhat.com>
500         * java/security/classpath.security: Removed.
501         * Makefile.in: Rebuilt.
502         * Makefile.am (install-data-local): Don't install
503         classpath.security.
505 2006-01-08  Chris Burdess  <dog@gnu.org>
507         * java/lang/Character.java (toChars,toCodePoint): Correct these
508           methods to use algorithms from Unicode specification.
510 2006-01-08  Tom Tromey  <tromey@redhat.com>
512         * java/lang/StringBuilder.java (appendCodePoint): New method.
513         (insert): New overloads.
514         * java/lang/StringBuffer.java (StringBuffer): New constructor.
515         (charAt): Remerged javadoc.
516         (codePointAt, codePointBefore): New methods.
517         (appendCodePoint): New method.
518         (append): New overloads.
519         (insert): Likewise.
520         (trimToSize, codePointCount, offsetByCodePoints): New methods.
521         * java/lang/Float.java (SIZE): New field.
522         (valueOf): New method.
523         * java/lang/natDouble.cc (initIDs): Removed.
524         * java/lang/Double.java (static initializer): Removed.
525         (SIZE): New field.
526         (valueOf): New method.
527         (initIDs): Removed.
529 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
531         PR libgcj/24940
532         * shlibpath.m4: Replace $SED with sed.
533         * configure: Rebuilt.
535 2006-01-06  Tom Tromey  <tromey@redhat.com>
537         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
538         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
539         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
540         MAX_LOW_SURROGATE): Javadoc fixes.
541         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
542         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
543         methods from Classpath.
544         * java/lang/String.java (codePointAt, codePointBefore,
545         codePointCount, contains, replace): New methods from Classpath.
546         (contentEquals): Declare.
547         * java/lang/natString.cc (contentEquals): New method.
549 2005-12-26  Anthony Green  <green@redhat.com>
551         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
552         of data to read (dst.remaining()).
553         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
555 2005-11-11  Mark Wielaard  <mark@klomp.org>
557         Reported by john.zigman@anu.edu.au as bug #24608.
558         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
559         destination ByteBuffer when it doesn't have an array instead of len
560         bytes.
562 2006-01-05  Tom Tromey  <tromey@redhat.com>
564         * java/lang/natThread.cc (finish_): Don't clear 'group'.
565         * sources.am, Makefile.in: Rebuilt.
566         * java/lang/Runtime.java (exit): Merged with Classpath.
567         (runShutdownHooks): New method from Classpath.
568         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
569         FileDeleter.
570         * gnu/gcj/runtime/FileDeleter.java: Removed.
571         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
572         (exitInternal): Don't run finalizers or delete files.
574 2006-01-05  Tom Tromey  <tromey@redhat.com>
576         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
578 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
580         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
582 2006-01-04  Tom Tromey  <tromey@redhat.com>
584         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
585         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
586         Changed argument type.  Use SystemClassLoader.addClass.
587         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
589 2005-12-24  David Daney <ddaney@avtrex.com>
590             Tom Tromey  <tromey@redhat.com>
592         PR libgcj/9715, PR libgcj/19132:
593         * java/nio/charset/Charset.java (charsetForName): Try default
594         provider first.
595         (availableCharsets): Re-merged.
596         (providers2): Likewise.
597         (defaultCharset): Likewise.
598         * sources.am, Makefile.in: Rebuilt.
599         * gnu/java/nio/charset/Provider.java: Removed.
600         * java/io/OutputStreamWriter.java
601         (OutputStreamWriter(OutputStream,Charset)): New constructor.
602         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
603         * java/io/InputStreamReader.java
604         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
605         (InputStreamReader(InputStream,Charset)): Likewise.
606         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
607         BytesToCharsetAdaptor.
608         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
609         CharsetToBytesAdaptor.
610         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
611         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
612         * mauve-libgcj: Remove getEncoding exclusion.
614 2005-12-28  Anthony Green  <green@redhat.com>
616         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
617         as previous patch, but for win32.
619 2005-12-28  Anthony Green  <green@redhat.com>
621         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
622         address and port before attempting anything.
624 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
626         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
627         operation atomic.
629 2005-12-22  Andrew Haley  <aph@redhat.com>
631         PR java/25535
632         * testsuite/libjava.lang/PR25535.java: New test.
634 2005-12-22  Tom Tromey  <tromey@redhat.com>
636         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
637         reference NUM_OBJECT_METHODS.
638         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
640 2005-12-18  Anthony Green  <green@redhat.com>
642         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
643         New helper function.
644         (setOption): Use getLocalAddress.  Don't downcast value to
645         InetAddress.
646         (getOption): Use getLocalAddress.
648 2005-12-16  Tom Tromey  <tromey@redhat.com>
650         * java/lang/Class.java (getPackage): Get package from
651         VMClassLoader if needed.
653 2005-12-16  Tom Tromey  <tromey@redhat.com>
655         * testsuite/libjava.jacks/jacks.xfail
656         (8.5.2-accessible-static-member-usage-3): Removed.
658 2005-12-15  Tom Tromey  <tromey@redhat.com>
660         * testsuite/libjava.compile/rh175833.java: New file.
661         * testsuite/libjava.compile/pr25429.java: New file.
663 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
665         * testsuite/lib/libjava.exp: Revert 2005-12-01.
666         * testsuite/libjava.lang/Array_3.xfail: Delete.
668 2005-12-14  Andrew Haley  <aph@redhat.com>
670         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
671         handle stdout from the child process.
673 2005-12-14  Tom Tromey  <tromey@redhat.com>
675         PR classpath/25389:
676         * java/io/File.java (File): Throw IllegalArgumentException if URI is
677         non-hierarchical.
679 2005-12-12  Andrew Haley  <aph@redhat.com>
681         * java/lang/VMCompiler.java: Directly generate a new instance of
682         gnu.java.security.provider.MD5.
684 2005-12-08  Andrew Haley  <aph@redhat.com>
686         PR libgcj/25265
687         * java/lang/Object.h (throwNoSuchMethodError): New method.
688         * java/lang/Object.java (throwNoSuchMethodError): New method.
689         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
690         * link.cc (_Jv_ThrowNoSuchFieldError): New.
691         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
692         missing.  Instead, set the otable entry to zero.
693         (link_symbol_table): If we don't find a nonstatic method, insert
694         the vtable offset of Object.throwNoSuchMethodError() into the
695         otable.
697 2005-12-05  Tom Tromey  <tromey@redhat.com>
699         * testsuite/libjava.compile/rh174912.java: New file.
701 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
703         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
704         xfail-byte-exec.
705         * testsuite/libjava.lang/Array_3.xfail: New file.
707 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
709         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
710         to compare _Jv_InterpMethod::run against current func.
712 2005-11-30  Andrew Haley  <aph@redhat.com>
714         * classpath/lib/Makefile.am (resources): Use `cp -p'.
715         Remove `@' from start of line.
717 2005-11-28  Tom Tromey  <tromey@redhat.com>
719         PR java/18278:
720         * testsuite/libjava.jni/pr18278.out: New file.
721         * testsuite/libjava.jni/pr18278.c: New file.
722         * testsuite/libjava.jni/pr18278.java: New file.
723         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
724         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
725         (call): Unwrap return value if needed.
727 2005-11-25  Mark Wielaard  <mark@klomp.org>
729         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
730         gnu/javax/rmi.
731         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
732         gnu/javax/rmi to bc.
733         * gnu/CORBA/ObjectCreator.java: New override file for missing
734         VMStackWalker issue.
735         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
736         * gnu/CORBA/DynAn/RecordAny.java: Likewise
737         * sources.am: Regenerated.
738         * Makefile.in: Regenerated
740 2005-11-25  Andrew Haley  <aph@redhat.com>
742         PR libgcj/25016
743         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
744         struct timespec we pass to pthread_cond_timedwait.
746 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
748         * testsuite/libjava.jacks/jacks.xfail: Remove
749         non-jls-argument-expansion-13 and add
750         non-jls-argument-expansion-error-1 in response to the @file support
751         patch in the main GCC driver.
753 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
755         * sysdep/ia64-frame.h: Removed.
756         * sysdep/ia64.c: Removed.
757         * sysdep/dwarf2-backtrace.cc: Removed.
758         * configure.ac: Remove references to HAVE_BACKTRACE and
759         SUPPLY_BACKTRACE.
760         * Makefile.am: Remove SUPPLY_BACKTRACE support.
761         * configure: Rebuilt.
762         * Makefile.in: Rebuilt.
764 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
766         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
768 2005-11-17  Mark Wielaard  <mark@klomp.org>
770         Imported GNU Classpath gcj-import-20051117.
771         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
772         * sources.am: Regenerated.
773         * Makefile.in: Likewise.
775 2005-11-17  Mark Wielaard  <mark@klomp.org>
777         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
778         * java/net/ServerSocket.java: Likewise.
779         * sources.am: Regenerated.
780         * Makefile.in: Regenerated.
782 2005-11-17  Mark Wielaard  <mark@klomp.org>
784         Fixes bug #24006
785         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
787 2005-11-17  Tom Tromey  <tromey@redhat.com>
789         * java/net/ServerSocket.java (accept): Use correct security manager
790         call.
792 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
794         * java/net/ServerSocket.java
795         (bound): Removed.
796         (local): New field.
797         (bind): Cache local socket address.
798         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
799         Use cached local socket address.
800         (close): bound field was removed.
802 2005-11-17  Tom Tromey  <tromey@redhat.com>
804         * java/net/URLConnection.java (setDoInput): Javadoc fix.
805         (setDoOutput): Likewise.
806         (setContentHandlerFactory): Likewise.
807         (setFileNameMap): Likewise.
809 2005-11-17  Mark Wielaard  <mark@klomp.org>
811         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
813 2005-11-17  Mark Wielaard  <mark@klomp.org>
815         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
816         call urls.add() and addURLImpl() directly on each URL.
818 2005-11-17  Tom Tromey  <tromey@redhat.com>
820         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
822 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
824         * java/net/URLClassLoader.java
825         (Resource.name): Removed field.
826         (JarURLResource.name): Added field.
827         (FileResource.getURL): Use File.toURL() instead of doing it in
828         a way that breaks on Windows.
830 2005-11-17  Roman Kennke  <roman@kennke.org>
832         Reported by: Ingo Proetel  <proetel@aicas.com>
833         * java/net/URLClassLoader.java
834         (findClass): Added null check to avoid NullPointerException.
836 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
838         * java/net/URLClassLoader.java: reordered some API doc comments to
839         suppress Eclipse warnings, and fixed API doc link.
841 2005-11-17  Tom Tromey  <tromey@redhat.com>
843         * java/net/URLClassLoader.java (URLClassLoader): Removed
844         unused constructor.
846 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
848         * java/net/URLClassLoader (findClass): Close InputStream after we're
849         done with it.
851 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
853         Implement -Xss.
854         * include/jvm.h (gcj::stack_size): Declare.
855         (_Jv_StackSize): Declare.
856         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
857         (_Jv_ThreadStart): Set stack size if specified.
858         * prims.cc (gcj::stack_size): Define.
859         (parse_memory_size): Renamed from parse_heap_size.
860         (_Jv_SetStackSize): Parse stack size argument and set 
861         gcj::stack_size.
863 2005-11-17  Mark Wielaard  <mark@klomp.org>
865         * java/text/SimpleDateFormat.java: Removed, fully merged now.
866         * sources.am: Regenerated.
867         * Makefile.in: Regenerated.
869 2005-11-17  Sven de Marothy  <sven@physto.se>
871         * java/text/SimpleDateFormat.java
872         (computeOffset): Allow timezone to be first in the parsed String.
874 2005-11-17  Mark Wielaard  <mark@klomp.org>
876         * java/text/SimpleDateFormat.java (field, size): Make package private.
878 2005-11-17  Tom Tromey  <tromey@redhat.com>
880         * java/text/SimpleDateFormat.java (compileFormat): Correctly
881         handle quoted single quotes.  PR classspath/23183.
883 2005-11-17  Tom Tromey  <tromey@redhat.com>
885         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
887 2005-11-17  Tom Tromey  <tromey@redhat.com>
889         * java/text/DateFormat.java (serialVersionUID): New field.
891 2005-11-17  Mark Wielaard  <mark@klomp.org>
893         * java/text/DateFormat.java (equals): Reimplement.
895 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
897         * java/text/Collator.java: API doc fixes,
898         * java/text/DateFormat.java: likewise,
899         * java/text/DecimalFormatSymbols.java: likewise,
900         * java/text/DateFormatSymbols.java: likewise,
901         * java/text/SimpleDateFormat.java: likewise.
903 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
905         * java/text/Collator.java (getInstance(Locale)):
906         Added default collation pattern to handle case when resource
907         is missing and throw InternalError instead of returning null
908         should parsing fail.
910 2005-11-15  Mark Wielaard  <mark@klomp.org>
912         * java/util/zip/ZipEntry.java: Removed, fully merged now.
913         * java/util/zip/ZipFile.java: Likewise.
914         * sources.am: Regenerated.
915         * Makefile.in: Regenerated.
917 2005-11-15  Tom Tromey  <tromey@redhat.com>
919         classpath/23890:
920         * java/util/Calendar.java (equals): Include other calendar
921         attributes.
922         (hashCode): Updated.
923         * java/util/GregorianCalendar.java (hashCode): New method.
924         (equals): Use super.equals().
926 2005-11-15  Sven de Marothy  <sven@physto.se>
928         * java/util/Calendar (setTimeInMillis): Recompute time fields.
930 2005-11-15  Mark Wielaard  <mark@klomp.org>
932         * java/util/SimpleTimeZone.java: Removed, fully merged now.
933         * java/util/Date.java: Likewise.
934         * sources.am: Regenerated.
935         * Makefile.in: Regenerated.
937 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
939         * java/util/Calendar.java: fixed minor problems in API docs,
940         * java/util/Date.java: likewise,
941         * java/util/ResourceBundle.java: likewise,
942         * java/util/SimpleTimeZone.java: likewise,
944 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
946         * java/io/ObjectInputStream.java
947         (parseContent): Removed bogus println and fixed bug #24422.
948                 
949 2005-11-15  Mark Wielaard  <mark@klomp.org>
951         * java/io/ObjectStreamClass.java: Removed, fully merged now.
952         * sources.am: Regenerated.
953         * Makefile.in: Regenerated.
955 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
957         * java/io/ObjectInputStream.java
958         (processResolution): Pass Error, RuntimeException and
959         ObjectStreamException through to the caller.
960         (readObject): Documentation update.
962 2005-11-15  Mark Wielaard  <mark@klomp.org>
964         Imported GNU Classpath 0.19 + gcj-import-20051115.
965         * sources.am: Regenerated.
966         * Makefile.in: Likewise.
967         * scripts/makemake.tcl: Use glob -nocomplain.
969 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
971         * Makefile.in: Re-generated.
972         * gnu/awt/xlib/XGraphicsDevice.java: New file.
973         * gnu/awt/xlib/XToolkit.java
974         (getLocalGraphicsEnvironment): Implemented. 
975         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
976         * sources.am: Re-generated.
978 2005-15-09  David Daney <ddaney@avtrex.com>
980         PR libgcj/15430
981         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
982         function.
983         (accept): Call it.
984         (close): Call shutdown before closing.
985         (read()): Call read_helper with proper parameters.
986         (read(buffer, int, int)): Likewise.
987         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
988         and timeout parameters.  Make prototype to match. Use 
989         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
990         in two places.
992 2005-11-15  Andrew Haley  <aph@redhat.com>
994         * Merge from Classpath head:
996    2005-09-16  Andrew Haley  <aph@redhat.com>
997    
998            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
999            protected readResolve().  Rewrite accessibility check.
1000    
1001    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
1002    
1003            * java/io/ObjectStreamClass.java
1004            (findAccessibleMethod): Added code to make method accessible.
1005    
1006    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
1007    
1008            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
1009            (findAccessibleMethod): Likewise.
1010            (cacheMethods): Lookup readResolve and writeReplace using the new
1011            findAccessibleMethod().
1012    
1013 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1015         * java/net/natVMNetworkInterfaceWin32.cc: Include
1016         java/net/VMNetworkInterface.h.
1018 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1019             David Daney  <ddaney@avtrex.com>
1021         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
1022         (read): Handle count == 0 case.
1024 2005-11-09  Tom Tromey  <tromey@redhat.com>
1026         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
1027         passes.
1029 2005-11-08  Tom Tromey  <tromey@redhat.com>
1031         PR libgcj/24587:
1032         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
1034 2005-11-08  Tom Tromey  <tromey@redhat.com>
1036         PR libgcj/23763.  From aeby@graeff.com.
1037         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
1038         before exec.
1040 2005-11-08  Mark Wielaard  <mark@klomp.org>
1042         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
1044 2005-11-07  David Daney  <ddaney@avtrex.com>
1046         * mauve-libgcj: Disable javax.rmi.* and
1047         java.io.InputStreamReader.getEncoding.
1049 2005-11-04  Tom Tromey  <tromey@redhat.com>
1051         PR libgcj/14358, libgcj/24552:
1052         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
1053         aliases for 'euc_jp' and 'eucjp'.
1054         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
1055         canonical names in output.
1056         (%map): Added UnicodeLittle and UnicodeBig.
1058 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1060         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
1062 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
1064         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
1065         library extensions.
1067 2005-10-12  Andrew Haley  <aph@redhat.com>
1069         PR java/24251
1070         * link.cc (ensure_method_table_complete): Install Miranda methods
1071         for interfaces too.
1073 2005-10-10  Tom Tromey  <tromey@redhat.com>
1075         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
1076         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
1077         Now static.
1079 2005-10-05  Richard Henderson  <rth@redhat.com>
1081         PR target/23602
1082         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
1083         but not BACKTRACESPEC.
1084         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
1086 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
1088         * testsuite/lib/jni.exp (gcj_jni_test_one): For
1089         darwin, use -shared-libgcc not -lgcc_s, and explain why.
1090         (gcj_jni_invocation_test_one): Likewise.
1092 2005-09-30  Tom Tromey  <tromey@redhat.com>
1094         PR libgcj/24051:
1095         * Makefile.in: Rebuilt.
1096         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
1097         requested.
1098         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
1099         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
1100         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
1101         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
1102         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
1103         * configure: Rebuilt.
1104         * configure.ac: Pass --enable-qt-peers when qt is requested.
1106 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
1108         * configure.ac: Fix typo.
1109         * configure: Regenerate.
1111 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
1113         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
1114         __LP64__ is defined rather than __powerpc64__.
1115         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
1116         (compare_and_swap_release): Likewise.
1118 2005-09-28  David Daney  <ddaney@avtrex.com>
1120         * HACKING: Update instructions for classpath import.
1122 2005-09-27  Tom Tromey  <tromey@redhat.com>
1124         PR libgcj/23367:
1125         * include/jvm.h (_Jv_FreeMethodCache): Declare.
1126         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
1127         (struct _Jv_mcache): Likewise.
1128         (method_cache): Likewise.
1129         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
1130         (_Jv_AddMethodToCache): Likewise.
1131         (_Jv_FreeMethodCache): New function.
1132         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
1133         * aclocal.m4, configure, include/config.h.in: Rebuilt.
1134         * configure.ac: Invoke GCC_CHECK_TLS.
1136 2005-09-27  Tom Tromey  <tromey@redhat.com>
1138         * configure, Makefile.in: Rebuilt.
1139         * sources.am: Rebuilt.
1140         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
1141         * configure.ac (TOOLKIT): Handle Qt peers properly.
1143 2005-09-23  Tom Tromey  <tromey@redhat.com>
1145         Imported Classpath 0.18.
1146         * sources.am, Makefile.in: Updated.
1147         * Makefile.am (nat_source_files): Removed natProxy.cc.
1148         * java/lang/reflect/natProxy.cc: Removed.
1149         * gnu/classpath/jdwp/VMFrame.java,
1150         gnu/classpath/jdwp/VMIdManager.java,
1151         gnu/classpath/jdwp/VMVirtualMachine.java,
1152         java/lang/reflect/VMProxy.java: New files.
1154 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1156         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
1157         list.
1159 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1161         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
1162         Remove ClasspathToolkit references.
1164 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1166         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
1167         * gnu/awt/xlib/XFramePeer.java: Likewise.
1168         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
1170 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1172         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
1173         classpath/native/jawt/jawt.c.
1174         * Makefile.in: Regenerate.
1175         * jawt.c: Remove file.
1176         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
1177         jawt_md.h.  Add ../classpath/include/jawt.h and
1178         ../classpath/include/jawt_md.h.
1179         * include/Makefile.in: Regenerate.
1180         * include/jawt.h: Regenerate.
1181         * include/jawt_md.h: Regenerate.
1183 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
1185         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
1186         `null' parent ClassLoader to parent constructor.
1187         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
1188         constructor.
1190 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
1192         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
1194 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1196         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1197         Use libjava_find_lib to find the proper libgcj.
1199 2005-09-16  Anthony Green  <green@redhat.com>
1201         PR libgcj/20198
1202         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
1203         resources should all have canonicalized names.
1205 2005-09-15  Tom Tromey  <tromey@redhat.com>
1207         PR libgcj/16032:
1208         * interpret.cc (AVAL1U): Resolve pool entry when not direct
1209         threaded.
1210         (AVAL2U): Likewise.
1211         (compile): Handle 'ldc class' specially.
1212         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
1213         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
1214         * defineclass.cc (handleCodeAttribute): Set new field.
1215         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
1216         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
1217         (parse): Check version numbers.
1218         (_Jv_ClassReader::is_15): New field.
1219         (_Jv_ClassReader): Initialize it.
1220         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
1222 2005-09-15  Tom Tromey  <tromey@redhat.com>
1224         For PR libgcj/23288:
1225         * java/net/URLClassLoader.java (definePackage): Correctly order
1226         arguments to definePackage.  Look up per-entry Attributes.
1227         (getAttributeValue): New method.
1229 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1231         PR libgcj/23762
1232         * shlibpath.m4: New file.
1233         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
1234         macro.
1235         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
1236         [USE_LTDL]: If it was not defined with -D set java.library.path to
1237         the value of LTDL_SHLIBPATH_VAR.
1239 2005-09-08  Andrew Haley  <aph@redhat.com>
1241         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
1242         loader.
1243         (toString): Likewise.
1245 2005-09-08  Andrew Haley  <aph@redhat.com>
1247         PR java/22084
1248         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
1249         R/M field in instruction is 100.
1251 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1253         PR libgcj/23761
1254         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
1255         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
1256         lt_dlinit.
1257         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
1258         Define variable.
1259         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
1260         _Jv_Module_Load_Path.
1262 2005-09-06  Tom Tromey  <tromey@redhat.com>
1264         PR libgcj/23739:
1265         * testsuite/libjava.jni/pr23739.c: New file.
1266         * testsuite/libjava.jni/pr23739.java: New file.
1267         * testsuite/libjava.jni/pr23739.out: New file.
1268         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
1269         * java/lang/reflect/natMethod.cc (invoke): Updated.
1270         * java/lang/natClass.cc (isAssignableFrom): Updated.
1271         (isInstance): Likewise.
1272         (_Jv_IsAssignableFrom): Reversed arguments.
1273         (_Jv_IsInstanceOf): Updated.
1274         (_Jv_CheckCast): Likewise.
1275         (_Jv_CheckArrayStore): Likewise.
1276         (_Jv_IsAssignableFromSlow): Reversed arguments.
1277         (_Jv_InterfaceAssignableFrom): Likewise.
1278         * link.cc (verify_type_assertions): Updated.
1279         * prims.cc (_Jv_CheckAccess): Updated.
1281 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
1283         Testsuite changes for PR java/23431.
1284         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
1285         8.4.6.2-hiding-5.
1286         * testsuite/libjava.compile/PR23431_1.java: New testcase.
1287         * testsuite/libjava.compile/PR23431_2.java: Likewise.
1288         * testsuite/libjava.compile/PR23431_1.xfail: New file.
1289         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
1291 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1293         PR libgcj/23549
1294         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
1295         -disableassertions and -da.
1297 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
1299         * configure.ac: Replace "*-*-darwin[0-7].*" with
1300         "*-*-darwin[[0-7]].*"
1301         * configure: Regenerate.
1303 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
1305         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
1306         darwin < 8.
1307         * configure: Regenerate.
1309 2005-08-23  Roman Kennke  <roman@kennke.org>
1311         * java/lang/Character.java
1312         (toChars(int)): New JDK1.5 method.
1313         (toChars(int, char[], int)): New JDK1.5 method.
1314         (charCount): New JDK1.5 method.
1315         (isSupplementaryCodePoint): New JDK1.5 method.
1316         (isValidCodePoint): New JDK1.5 method.
1318 2005-08-23  Tom Tromey  <tromey@redhat.com>
1320         * aclocal.m4, Makefile.in: Rebuilt.
1321         * Makefile.am (property_files): Added META-INF files.
1322         (propertyo_files): Changed definition.
1323         ($(propertyo_files)): Updated patterns.
1325 2005-08-22  Tom Tromey  <tromey@redhat.com>
1327         PR libgcj/22622:
1328         * configure: Rebuilt.
1329         * configure.ac: Correctly create Configuration.java (for
1330         temporary use).
1332 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
1334         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
1335         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
1336         * mingwld.m4: ... this new file.
1337         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
1338         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
1340 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1342         PR libgcj/23507
1343         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
1344         assignment.  Cast operands of compare to function pointer type.
1346 2005-08-21  Tom Tromey  <tromey@redhat.com>
1348         * HACKING: Updated for hacking classpath in libgcj.
1350 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1352         PR libgcj/21692
1353         * sysdep/pa/descriptor.h: New file.
1354         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
1356 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
1358         * Makefile.am (extra_ldflags_libjava): New variable to
1359         substitute in.
1360         (LIBLINK): Add extra_ldflags_libjava to it.
1361         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
1362         "-Wl,-single_module".
1363         * Makefile.in: Regenerate.
1364         * aclocal.m4: Regenerate.
1365         * configure: Regenerate.
1366         * gcj/Makefile.in: Regenerate.
1367         * include/Makefile.in: Regenerate.
1368         * testsuite/Makefile.in: Regenerate.
1370 2005-08-17  Tom Tromey  <tromey@redhat.com>
1372         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
1373         friend.
1374         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
1375         * testsuite/libjava.lang/bclink.java: New file.
1376         * testsuite/libjava.lang/bclink.out: New file.
1377         * link.cc (print_class_loaded): Changed ABI test to look at
1378         various _syms fields.
1380 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
1382         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
1383         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
1385 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
1387         More testsuite adjustments for PR java/19870.
1388         * testsuite/libjava.lang/PR19870_2.java: New testcase.
1389         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
1390         new testcase.
1391         * testsuite/libjava.jacks/jacks.xfail: Remove
1392         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
1394 2005-08-16  Tom Tromey  <tromey@redhat.com>
1396         * gnu/xml/xpath/XPathParser.y: Removed.
1398 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
1400         PR libgcj/23353:
1401         * java/lang/natObject.cc (clone): Clear sync_info.
1403 2005-07-26  Tom Tromey  <tromey@redhat.com>
1405         * gnu/java/net/protocol/ftp/package.html,
1406         gnu/javax/swing/text/html/package.html,
1407         gnu/javax/swing/text/html/parser/package.html,
1408         gnu/javax/swing/text/html/parser/models/package.html,
1409         gnu/javax/swing/text/html/parser/support/package.html,
1410         gnu/javax/swing/text/html/parser/support/low/package.html,
1411         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
1412         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
1413         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
1414         java/awt/geom/doc-files/CubicCurve2D-1.png,
1415         java/awt/geom/doc-files/CubicCurve2D-2.png,
1416         java/awt/geom/doc-files/CubicCurve2D-3.png,
1417         java/awt/geom/doc-files/CubicCurve2D-4.png,
1418         java/awt/geom/doc-files/CubicCurve2D-5.png,
1419         java/awt/geom/doc-files/Ellipse-1.png,
1420         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
1421         java/awt/geom/doc-files/GeneralPath-1.png,
1422         java/awt/geom/doc-files/QuadCurve2D-1.png,
1423         java/awt/geom/doc-files/QuadCurve2D-2.png,
1424         java/awt/geom/doc-files/QuadCurve2D-3.png,
1425         java/awt/geom/doc-files/QuadCurve2D-4.png,
1426         java/awt/geom/doc-files/QuadCurve2D-5.png,
1427         javax/imageio/package.html, javax/imageio/event/package.html,
1428         javax/imageio/metadata/package.html,
1429         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
1430         javax/swing/border/doc-files/BevelBorder-1.png,
1431         javax/swing/border/doc-files/BevelBorder-2.png,
1432         javax/swing/border/doc-files/BevelBorder-3.png,
1433         javax/swing/border/doc-files/EmptyBorder-1.png,
1434         javax/swing/border/doc-files/EtchedBorder-1.png,
1435         javax/swing/border/doc-files/EtchedBorder-2.png,
1436         javax/swing/border/doc-files/LineBorder-1.png,
1437         javax/swing/border/doc-files/MatteBorder-1.png,
1438         javax/swing/border/doc-files/MatteBorder-2.png,
1439         javax/swing/border/doc-files/MatteBorder-3.png,
1440         javax/swing/border/doc-files/MatteBorder-4.png,
1441         javax/swing/border/doc-files/MatteBorder-5.png,
1442         javax/swing/border/doc-files/MatteBorder-6.png,
1443         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1444         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1445         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1446         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1447         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1448         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1449         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1450         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1451         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1452         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1453         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1454         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1455         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1456         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
1457         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1458         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1459         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1460         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1461         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1462         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1463         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
1464         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1465         javax/swing/plaf/doc-files/ComponentUI-1.png,
1466         javax/swing/plaf/doc-files/TreeUI-1.png,
1467         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
1468         javax/xml/parsers/package.html, javax/xml/transform/package.html,
1469         javax/xml/transform/dom/package.html,
1470         javax/xml/transform/sax/package.html,
1471         javax/xml/transform/stream/package.html,
1472         javax/xml/validation/package.html, javax/xml/xpath/package.html:
1473         Removed.
1475 2005-07-22  Tom Tromey  <tromey@redhat.com>
1477         * include/Makefile.in: Rebuilt.
1478         * include/Makefile.am (tool_include__HEADERS): Include
1479         classpath's jni.h.
1481 2005-07-20  Tom Tromey  <tromey@redhat.com>
1483         * sources.am, Makefile.in: Rebuilt.
1484         * Makefile.am (all_xlib_lo_files): Removed.
1485         (all_libgcj_lo_files): Likewise.
1486         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
1487         (xlib_java_source_files): Removed.
1488         (xlib_nat_headers): Updated.
1489         * configure: Rebuilt.
1490         * configure.ac: Create standard.omit.
1491         * standard.omit.in: New file.
1492         * standard.omit: Removed.
1493         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
1494         'package'.
1495         (emit_package_rule): Special case xlib peers.
1496         (emit_source_var): Likewise.
1497         Read standard.omit.in.
1498         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
1500 2005-07-18  Tom Tromey  <tromey@redhat.com>
1502         * HACKING: Updated.
1504 2005-07-19  Matthias Klose  <doko@debian.org>
1506         * classpath/java/awt/im/InputContext.java (clinit): Initialize
1507           line, im.
1509 2005-07-18  Tom Tromey  <tromey@redhat.com>
1511         PR libgj/21058:
1512         * sources.am, Makefile.in: Rebuilt.
1513         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
1514         file.
1515         (emit_source_var): Don't emit patsubst with './'.
1517 2005-07-18  Tom Tromey  <tromey@redhat.com>
1519         * Makefile.in: Rebuilt.
1520         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
1522 2005-07-17  Andreas Jaeger  <aj@suse.de>
1524         * defineclass.cc (handleClassBegin): Remove unused variable.
1526 2005-07-16  Andreas Schwab  <schwab@suse.de>
1528         * scripts/makemake.tcl (emit_package_rule): Emit command to create
1529         target directory.
1530         * Makefile.am (%.lo): Don't create it here.
1531         * sources.am, Makefile.in: Regenerated.
1533 2005-07-15  Tom Tromey  <tromey@redhat.com>
1535         Major merge with Classpath.
1536         Removed many duplicate files.
1537         * HACKING: Updated.x
1538         * classpath: Imported new directory.
1539         * standard.omit: New file.
1540         * Makefile.in, aclocal.m4, configure: Rebuilt.
1541         * sources.am: New file.
1542         * configure.ac: Run Classpath configure script.  Moved code around
1543         to support.  Disable xlib AWT peers (temporarily).
1544         * Makefile.am (SUBDIRS): Added 'classpath'
1545         (JAVAC): Removed.
1546         (AM_CPPFLAGS): Added more -I options.
1547         (BOOTCLASSPATH): Simplified.
1548         Completely redid how sources are built.
1549         Include sources.am.
1550         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
1551         * include/jni.h: Removed (in Classpath).
1552         * scripts/classes.pl: Updated to look at built classes.
1553         * scripts/makemake.tcl: New file.
1554         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
1555         -I options.
1556         (gcj_jni_invocation_compile_c_to_binary): Likewise.
1558 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
1560         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
1561         (eventMask): New field.
1562         (XCanvasPeer(Component)): Use attributes field.
1563         (setBackground): Implemented.
1564         (setEventMask): Process mask only if changed.
1565         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
1566         (eventLoopThread): New field.
1567         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
1568         (interrupt): Removed.
1569         (run): New method.
1570         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
1571         and Component events.
1572         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
1573         field.
1574         (configureNotify): Set and clear processingConfigureNotify.
1575         (setBounds): Process only if processingConfigureNotify is false.
1576         (toBack): Implemented.
1577         (toFront): Implemented.
1578         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
1579         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
1580         color.
1581         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
1582         (wakeNativeQueue): Do nothing.
1583         (iterateNativeQueue): Do queue.wait if blocking.
1584         * gnu/gcj/xlib/Font.java (loadFont): New method.
1585         (loadFontImpl): Renamed native method, was loadFont. 
1586         * gnu/gcj/xlib/Window.java (toFront): New method.
1587         (toBack): New method.
1588         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
1589         loadFont.
1590         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
1591         (toFront): New method. 
1592         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
1594 2005-07-14  Andrew Haley  <aph@redhat.com>
1596         * gnu/java/net/protocol/file/Connection.java (unquote): New
1597         method.
1598         (connect): Unquote filename.
1599         gnu/java/net/protocol/jar/Connection.java (getInputStream):
1600         Likewise.  
1601         (getJarFile): Likewise.
1603         * java/net/URLConnection.java (getContentHandler): Guard cast with
1604         instaceof.
1606         * java/net/URL.java (URL): If the file part of a spec is absolute,
1607         ignore the file part of its context.
1609 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
1611         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
1612         Implemented VirtualMachine Command Set.
1614 2005-07-14  Tom Tromey  <tromey@redhat.com>
1616         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
1617         Classpath.
1619 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1621         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
1622         Implemented the Field CommandSet.
1623         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
1624         Implemented the InterfaceType CommandSet.
1626 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1628         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
1629         shutdown to jdwp instead of connection.
1631 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1633         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
1634         New file.
1636 2005-07-08  Colin Walters  <walters@verbum.org>
1638         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
1639         check for abstract classes or interfaces here; JVM spec
1640         says it should throw an exception, so we'll do so later.
1641         * interpret.cc (run): Throw an InstantiationException for
1642         abstract classes and interfaces.
1644 2005-07-08  Andrew Haley  <aph@redhat.com>
1646         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
1647         (regular, non-realtime scheduling), not SCHED_RR (realtime,
1648         round-robin).
1650 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
1652         * gnu/classpath/jdwp/util/Signature.java
1653         (computeFieldSignature): New Method.
1655 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
1657         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
1658         file.
1660 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
1662         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
1663         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
1665 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
1667         * testsuite/libjava.compile/PR21045.java: New test.
1668         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
1669         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
1671 2005-07-06  Tom Tromey  <tromey@redhat.com>
1673         * java/io/InputStreamReader.java (refill): Handle no-progress
1674         case correctly.
1675         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
1677 2005-07-06  Tom Tromey  <tromey@redhat.com>
1679         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
1681 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
1683         * testsuite/libjava.compile/PR19674.java: New test.
1685 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
1687         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
1688         New file.
1690 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
1692         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
1693         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
1694         CommandSets to handle JdwpCommandPackets.
1695         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
1696         Constructor.
1698 2005-07-01  Tom Tromey  <tromey@redhat.com>
1700         * libtool-version: Updated.
1702 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
1704         * gnu/classpath/jdwp/util/JdwpString.java: New file.
1706 2005-06-30  Keith Seitz  <keiths@redhat.com>
1708         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
1709         (myWrite): New abstract method.
1710         (toBytes): Remove.
1711         (myToBytes): Remove.
1712         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
1713         method.
1714         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
1715         method.
1716         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
1717         JdwpPacket.write instead of JdwpPacket.toBytes.
1719 2005-06-30  Keith Seitz  <keiths@redhat.com>
1721         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
1722         method.
1723         (_bytes): New member.
1724         (_doStream): New member.
1725         (JdwpConnection): Initialize new members.
1727 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
1729         * all files: Update for new FSF address.
1731 2005-06-29  Tom Tromey  <tromey@redhat.com>
1733         PR libgcj/22211:
1734         * testsuite/libjava.lang/pr22211.java: New file.
1735         * java/lang/natThread.cc (finish_): Synchronize when updating
1736         alive_flag.
1737         (_Jv_AttachCurrentThread): Likewise.
1738         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
1739         * java/lang/Thread.java (isAlive): Now synchronized.
1741 2005-06-29  Tom Tromey  <tromey@redhat.com>
1743         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
1744         _Jv_CheckCast.
1746 2005-06-28  Robin Green  <greenrd@greenrd.org>
1748         PR java/22189
1749         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
1750         error.
1752 2005-06-27  Tom Tromey  <tromey@redhat.com>
1754         PR java/21540, PR java/13788:
1755         * testsuite/libjava.compile/pr21540.java: New file.
1756         * testsuite/libjava.compile/pr13788.java: New file.
1757         * testsuite/libjava.jacks/jacks.xfail: Updated.
1759 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1761         * testsuite/libjava.mauve/xfails: Updated to reflect current state
1762         of mauve and libjava. 
1764 2005-06-24  Tom Tromey  <tromey@redhat.com>
1766         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
1767         where class' name is NULL.
1768         (_Jv_FindClass): Don't wait for class state.
1769         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
1770         name found.
1771         * include/java-interp.h (_Jv_DefineClass): Updated.
1772         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
1773         (struct _Jv_ClassReader): Likewise.
1774         (found_name): New field.
1775         (handleClassBegin): Set *found_name.
1776         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
1777         (handleClassBegin): Throw error if super class not set.
1778         (read_methods): Correctly call check_tag and prepare_pool_entry.
1780 2005-06-24  Tom Tromey  <tromey@redhat.com>
1782         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
1784 2005-06-24  Tom Tromey  <tromey@redhat.com>
1786         * verify.cc (verify_instructions_0): Correctly handle situation
1787         where PC falls off end.
1789 2005-06-24  Tom Tromey  <tromey@redhat.com>
1791         * interpret.cc (compile): Handle case where table entry is
1792         outside of PC range.
1794 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
1796         * testsuite/libjava.compile/PR20697.java: New test-case.
1798 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
1800         * Makefile.am (SUBDIRS): Use append for conditional.
1801         (toolexeclib_LTLIBRARIES): Likewise.
1802         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
1803         a conditional append.
1804         * Makefile.in: Regenerate.
1806 2005-06-17  Keith Seitz  <keiths@redhat.com>
1808         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
1809         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
1810         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
1811         file.
1812         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
1813         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
1814         file.
1815         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
1816         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
1817         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
1818         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
1819         file.
1820         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
1821         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
1823 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
1825         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
1826         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
1827         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
1828         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
1829         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
1830         * Makefile.in: Regenerate.
1832 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
1834         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
1835         (USING_POSIX_PLATFORM): ... here.
1836         * Makefile.am: Delete USING_ECOS_PLATFORM.
1837         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1838         external/Makefile.in, external/sax/Makefile.in,
1839         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
1841 2005-06-15  Tom Tromey  <tromey@redhat.com>
1843         PR libgcj/17536:
1844         * testsuite/libjava.lang/pr17536.java: New file.
1845         * testsuite/libjava.lang/pr17536.out: New file.
1847 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
1849         PR libgcj/21074:
1850         * gnu/java/net/protocol/http/HTTPURLConnection.java
1851         (getHeaderFieldKey): Check index.
1853 2005-06-15  Tom Tromey  <tromey@redhat.com>
1855         PR libgcj/21906:
1856         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
1857         methods.
1858         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
1859         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
1860         static.
1861         (append_partial_itable): Use it.
1862         (set_vtable_entries): Likewise.
1864 2005-06-15  Tom Tromey  <tromey@redhat.com>
1866         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
1867         last_was_sep in loop.
1869 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1871         * configure.host: Handle Solaris 10/x86.
1873 2005-06-14  Keith Seitz  <keiths@redhat.com>
1875         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
1876         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
1878 2005-06-14  Keith Seitz  <keiths@redhat.com>
1880         * gnu/classpath/jdwp/id/ArrayId.java: New file.
1881         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
1882         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
1883         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
1884         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
1885         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
1886         * gnu/classpath/jdwp/id/JdwpId.java: New file.
1887         * gnu/classpath/jdwp/id/ObjectId.java: New file.
1888         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
1889         * gnu/classpath/jdwp/id/StringId.java: New file.
1890         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
1891         * gnu/classpath/jdwp/id/ThreadId.java: New file.
1893 2005-06-14  Tom Tromey  <tromey@redhat.com>
1895         PR libgcj/19877:
1896         * configure, aclocal.m4, Makefile.in: Rebuilt.
1898 2005-06-14  Tom Tromey  <tromey@redhat.com>
1900         * java/lang/Class.java (getClasses): New method.
1901         (internalGetClasses): Likewise.
1902         (getClassLoader): Updated documentation.
1903         (getDeclaredClasses): New overload; old overload no longer
1904         native.
1905         (_getConstructors): Removed.
1906         (resourcePath): Updated.
1907         * java/lang/natClass.cc (getClasses): Removed.
1908         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
1909         Updated.
1910         (_getConstructors): Removed.
1912 2005-06-13  Jim Huang  <jserv@kaffe.org>
1914         PR libgcj/22036:
1915         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
1916         (_Jv_JNI_NewObject): Likewise.
1918 2005-06-13  Tom Tromey  <tromey@redhat.com>
1920         PR java/21844:
1921         * testsuite/libjava.lang/pr21844.java: New file.
1922         * testsuite/libjava.lang/pr21844.out: New file.
1924 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
1926         PR libgcj/21949
1927         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
1928         From Gary Benson.
1930 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1932         * java/text/MessageFormat.java (parse): When parsing strings, check
1933         for an empty pattern trailer.
1935 2005-06-06  Keith Seitz  <keiths@redhat.com>
1937         * gnu/classpath/jdwp/util/Signature.java: New file.
1938         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
1940 2005-06-05  Anthony Green  <green@redhat.com>
1942         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
1943         fall-through bug.
1945 2005-06-04  Anthony Green  <green@redhat.com>
1947         * java/net/URLClassLoader.java: import gnu.gcj.Core,
1948         and gnu.java.net.protocol.core.CoreInputStream.
1949         (CureURLLoader): New class.
1950         (CoreResource): New class.
1951         (addURLImpl): Add special treatment for the "core" protocol.
1952         * gnu/gcj/natCore.cc (find): New method.
1953         * gnu/gcj/Core.java (find): New method.
1955 2005-06-03  Keith Seitz  <keiths@redhat.com>
1957         * gnu/classpath/jdwp/transport/ITransport.java: New file.
1958         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
1959         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
1961 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
1963         * jawt.c: Remove malloc.h, covered by stdlib.h.
1965         * testsuite/libjava.jni/jni.exp
1966         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
1967         the build process.
1969 2005-06-02  Keith Seitz  <keiths@redhat.com>
1971         * gnu/classpath/jdwp/transport/TransportException.java: New file.
1973 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
1975         * mauve-libgcj: Remove implemented classes from the fail section.
1976         Add two new not implemented to it.
1978 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
1980         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
1981         AC_SUBST definition from configure.host.
1982         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
1983         to -fomit-frame-pointer on 32-bit x86 targets.
1985 2005-06-01  Tom Tromey  <tromey@redhat.com>
1987         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
1989 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1991         PR libgcj/20435:
1992         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
1993         (static): Add possessive matching to JAVA_1_4 syntax.
1994         * gnu/regexp/RETokenRepeated.java (possessive): New field.
1995         (makePossessive, isPossessive): New methods.
1996         (match): Don't back off during possessive matching.
1997         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
1998         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
1999         to JAVA_1_4.
2001 2005-06-01  Keith Seitz  <keiths@redhat.com>
2003         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
2004         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
2005         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
2007 2005-06-01  Tom Tromey  <tromey@redhat.com>
2009         PR libgcj/21785:
2010         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
2011         (currentLoader): New method.
2012         * java/io/ObjectInputStream.java (resolveProxyClass): Use
2013         currentLoader.
2014         (currentLoader): Now native.
2015         (currentClassLoader): Removed.
2016         * testsuite/libjava.lang/pr21785.java: New file.
2017         * testsuite/libjava.lang/pr21785.out: New file.
2019 2005-06-01  Tom Tromey  <tromey@redhat.com>
2021         PR libgcj/21753:
2022         * java/lang/natString.cc (substring): Changed sharing heuristic.
2024 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
2026         PR libgcj/21821
2027         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
2028         MAXPATHLEN. Format exception message using a StringBuffer instead.
2030 2005-05-29  Michael Koch  <konqueror@gmx.de>
2032         PR libgcj/20273:
2033         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
2035 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2037         * ChangeLog: Fix typo.
2039 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
2041         Testsuite adjustments for PR java/19870.
2042         * testsuite/libjava.lang/PR19870.java: New testcase.
2043         * testsuite/libjava.lang/PR19870.out: Expected output for the
2044         testcase.
2045         * testsuite/libjava.jacks/jacks.xfail: Add
2046         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
2049 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
2051         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
2052         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
2053         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
2054         classes.
2055         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
2056         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
2057         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
2058         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
2060 2005-05-25  Richard Henderson  <rth@redhat.com>
2062         PR libgcj/21692
2063         * sysdep/descriptor-n.h: New file.
2064         * sysdep/descriptor-y.h: New file.
2065         * sysdep/powerpc/descriptor.h: New file.
2066         * configure.host: Set $descriptor_h appropriate for the host.
2067         * configure.ac: Link it.
2068         * configure: Regenerate.
2069         * stacktrace.cc: Include sysdep/descriptor.h.
2070         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
2072 2005-05-25  Chris Burdess  <dog@gnu.org>
2074         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
2075         end entity callbacks.
2077 2005-05-24  Gary Benson  <gbenson@redhat.com>
2079         PR libgcj/21736:
2080         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
2081         Handle DateFormat.DEFAULT case correctly.
2083 2005-05-21  Tom Tromey  <tromey@redhat.com>
2085         PR libgcj/21703:
2086         * java/lang/ref/natReference.cc (find_slot): Handle case where
2087         table has no NULL entries.
2088         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
2089         table has no NULL entries.
2091 2005-05-22  Andreas Jaeger  <aj@suse.de>
2093         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
2094         avoid warnings.
2096 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
2098         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
2100 2005-05-19  Richard Henderson  <rth@redhat.com>
2102         * exception.cc: Revert 05-17 gcc_unreachable change.
2104 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2106         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
2107         _Jv_RegisterInitiatingLoader to register array classes, not
2108         _Jv_RegisterClass.
2109         (_Jv_RegisterInitiatingLoader): Give up if called very early during
2110         bootstrapping. Add a FIXME to handle this case better.
2112 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2114         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
2115         convenience library.
2116         (libgcj_la_SOURCES): New. Move sources here.
2117         (libgcj.la): Remove rule.
2119 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2121         PR libgcj/19729
2122         * gnu/java/security/provider/DSASignature.java: Import updates
2123         from GNU Crypto.
2125 2005-05-18  Anthony Green  <green@redhat.com>
2127         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
2128         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2129         classpath_jawt_destroy_lock): New functions.
2130         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
2131         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2132         classpath_jawt_destroy_lock): New functions.
2133         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
2134         field.
2135         * jawt.c: #include malloc.h.
2136         (_Jv_Lock): Use lock.
2137         (_Jv_Unlock): Ditto.
2138         (_Jv_GetDrawingSurface): Initialize lock.
2139         (_Jv_FreeDrawingSurface): Destroy lock.
2140         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
2142 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
2144         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
2145         * Makefile.in: Regenerate.
2147 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
2149         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2150         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2151         * aclocal.m4, configure, config.h.in, include/config.h.in,
2152         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2153         external/Makefile.in, external/sax/Makefile.in,
2154         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2156 2005-05-17  David Daney  <ddaney@avtrex.com>
2158         PR libgcj/18220
2159         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
2161 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
2163         * exception.cc (abort): Remove std::abort hack.
2164         (gcc_unreacheable): Define.
2166 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2168         * Makefile.am (Makefile.deps): Do not create native.list and
2169         bytecodes.list.
2170         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
2171         * Makefile.in: Regenerate.
2173 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2175         * configure.ac (--enable-libgcj-multifile): Remove.
2177         * Makefile.am (all_native_compiled_source_files,
2178         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
2179         all_libgcj_lo_files, all_xlib_lo_files,
2180         all_java_deps_files, all_java_stamp_files,
2181         all_java_filelist_files): New variables.
2182         (EXTRA_DIST): New Automake variable.
2183         (CLEANFILES): Add .stamp, .list and .lo files.
2184         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
2185         (classes.stamp): Depend on $(all_java_stamp_files).
2186         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
2187         going through write_entries_to_file.
2189         (all_java_source_files, all_property_files): Move earlier.
2190         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
2191         all_java_class_files): Remove.
2192         (gtk_awt_peer_sources): Rename to...
2193         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
2195         (ONESTEP): Remove.
2196         (libgcj0_convenience_la_SOURCES): Remove Java source files.
2197         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
2198         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
2199         (libgcj_la_SOURCES): Remove.
2200         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
2201         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
2202         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
2204         * configure: Regenerate.
2205         * Makefile.in: Regenerate.
2206         * external/Makefile.in: Regenerate.
2207         * external/sax/Makefile.in: Regenerate.
2208         * external/w3c_dom/Makefile.in: Regenerate.
2209         * gcj/Makefile.in: Regenerate.
2210         * include/Makefile.in: Regenerate.
2211         * libltdl/Makefile.in: Regenerate.
2212         * testsuite/Makefile.in: Regenerate.
2214 2005-05-16  Tom Tromey  <tromey@redhat.com>
2216         * java/nio/charset/Charset.java (encode, decode): Synchronize on
2217         'this', not the class.
2219 2005-05-16  Tom Tromey  <tromey@redhat.com>
2221         * gnu/java/net/protocol/http/Headers.java (parse): Include final
2222         character of line.
2224 2005-05-16  Tom Tromey  <tromey@redhat.com>
2226         PR libgcj/21606:
2227         * java/net/URI.java (unquote): Handle lower-case letters as well.
2229 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2231         PR libgcj/20504
2232         * gnu/regexp/RE.java: Add support for quoting constructs.
2234 2005-05-15  Tom Tromey  <tromey@redhat.com>
2236         * java/lang/String.java (startsWith): Fixed javadoc.
2238 2005-05-15  Tom Tromey  <tromey@redhat.com>
2240         PR java/21519:
2241         * testsuite/libjava.compile/pr21519.java: New file.
2242         * testsuite/libjava.compile/pr21519.no-link: New file.
2244 2005-05-15  Tom Tromey  <tromey@redhat.com>
2246         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
2248 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
2250         PR libgcj/21557
2251         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
2252         interrupt status flag if _Jv_CondWait is interrupted.
2254 2005-05-13  Tom Tromey  <tromey@redhat.com>
2256         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
2257         element in path.
2259 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
2261         * include/jvm.h (gcj::verifyClasses): Declare.
2262         * link.cc (gcj::verbose_class_flag): Moved.
2263         * prims.cc (gcj::verifyClasses): Define here.
2264         (gcj::verbose_class_flag): Move definition here.
2265         (_Jv_Linker::wait_for_state): Don't call verify_class
2266         if gcj::verifyClasses is not set.
2267         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
2269 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
2271         * gij.cc (main): Recognize '-verify', '-noverify', and
2272         '-verifyremote'
2274 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2276         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
2278 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2280         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
2281         libgcjawt.la.
2283 2005-05-11  Tom Tromey  <tromey@redhat.com>
2285         * external/w3c_dom/Makefile.in: Rebuilt.
2286         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
2287         -fbootstrap-classes.
2288         * external/sax/Makefile.in: Rebuilt.
2289         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
2290         -fbootstrap-classes.
2291         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
2292         friend.
2293         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2294         Call _Jv_CopyClassesToSystemLoader.
2295         * java/lang/natClassLoader.cc (system_class_list): New global.
2296         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
2297         classes differently.
2298         (_Jv_CopyClassesToSystemLoader): New function.
2299         (SYSTEM_LOADER_INITIALIZED): New define.
2300         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
2301         (_Jv_CheckABIVersion): Use it.
2302         (_Jv_ClassForBootstrapLoader): New function.
2303         * Makefile.in: Rebuilt.
2304         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
2306 2005-05-10  Tom Tromey  <tromey@redhat.com>
2308         * gcj/javaprims.h: Updated.
2309         * java/lang/String.java (String(StringBuilder)): New constructor.
2310         * java/lang/natStringBuilder.cc: New file.
2311         * java/lang/StringBuilder.java: New file.
2312         * Makefile.in: Rebuilt.
2313         * Makefile.am (core_java_source_files): Added StringBuilder.java.
2314         (nat_source_files): Added natStringBuilder.cc.
2316 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
2318         PR java/21436
2319         * testsuite/libjava.jacks/jacks.xfail: Adjust.
2321 2005-05-09  Mike Stump  <mrs@apple.com>
2323         * configure: Regenerate.
2325 2005-05-09  David Daney  <ddaney@avtrex.com>
2327         * java/util/BitSet.java (get(int, int)): Fix breakage when
2328         requested set doesn't start on a multiple of 64.
2330 2005-05-07  Matthias Klose  <doko@debian.org>
2332         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
2334 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2336         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
2337         * Makefile.in: Regenerate.
2338         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
2339         (createCompatibleVolatileImage(int,int)): Implement.
2340         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
2341         Likewise.
2342         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
2343         New fields.
2344         (createVolatileImage): Implement.
2345         (createBuffers): Likewise.
2346         (getBackBuffer): Likewise.
2347         (flip): Likewise.
2348         (destroyBuffers): Likewise.
2349         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
2350         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
2351         (CanvasFlipBufferStrategy): Likewise.
2352         (createBufferStrategy(int)): New method.
2353         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2354         * java/awt/Component.java (BltBufferStrategy): Implement and
2355         document class.
2356         (FlipBufferStrategy): Likewise.
2357         * java/awt/Window.java (WindowBltBufferStrategy): New class.
2358         (WindowFlipBufferStrategy): Likewise.
2359         (createBufferStrategy(int)): New method.
2360         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2361         (getBufferStrategy): Likewise.
2362         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
2363         front to frontCaps and back to backCaps.
2365 2005-05-06  Michael Koch  <konqueror@gmx.de>
2367         * java/awt/BufferCapabilities.java
2368         (BufferCapabilities): Merged javadoc.
2370 2005-05-06  Michael Koch  <konqueror@gmx.de>
2372         * java/util/Locale.java
2373         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
2374         (getLocale): New methods. Use it everywhere where instances of Locales
2375         are needed.
2376         (getDisplayLanguage): Merged javadoc.
2377         (getDisplayCountry): Likewise.
2378         (getDisplayVariant): Likewise.
2380 2005-05-06  Archie Cobbs  <archie@dellroad.org>
2382         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2383         use DeleteLocalRef() to avoid exhausting local native references.
2385 2005-05-06  Mark Wielaard  <mark@klomp.org>
2387         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2388         (window_delete_cb): Don't use C++ style comments.
2390 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2392         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
2393         copyright header.
2395 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2397         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2398         (window_delete_cb): Made the function return TRUE.
2400 2005-05-06  Roman Kennke  <roman@kennke.org>
2402         * javax/swing/text/PlainView.java
2403         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
2404         offset parameter.
2405         * javax/swing/text/Utilities.java
2406         (drawTabbedText): Initilialize local variable pos correctly.
2408 2005-05-06  Roman Kennke  <roman@kennke.org>
2410         * javax/swing/text/AbstractDocument.java
2411         (LeafElement): Made start and end package private fields for
2412         effective reindexing.
2413         * javax/swing/text/PlainDocument.java
2414         (constructor): The field rootElement is always BranchElement,
2415         so we handle it as such.
2416         (removeUpdate): Rewritten reindexing for removeUpdate so that
2417         the actual removal is taken into account.
2419 2005-05-06  Roman Kennke  <roman@kennke.org>
2421         * javax/swing/text/GapContent.java:
2422         Removed debugging output stuff, which I accidentally left in.
2424 2005-05-06  Roman Kennke  <roman@kennke.org>
2426         * javax/swing/text/GapContent.java:
2427         Implemented a real GapContent. Only the public methods have
2428         been implemented so far and still no UndoableEdit support.
2430 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2432         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
2433         the typo.
2435 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2437         * java/awt/image/BufferStrategy.java: Document.
2439         * java/awt/BufferCapabilities.java: Document.
2441 2005-05-04  Tom Tromey  <tromey@redhat.com>
2443         * java/nio/channels/FileLock.java (toString): Entirely avoid
2444         String "+".
2446 2005-05-04  Andrew Overholt  <overholt@redhat.com>
2448         * java/nio/channels/FileLock.java (toString): Re-implement using
2449         StringBuffer.
2451 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2453         * java/awt/ImageCapabilities.java: Document.
2455         * java/awt/image/VolatileImage.java: Unindent copyright header.
2457 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2459         * java/awt/image/VolatileImage.java: Document.
2461 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2464         (init_glib_threads): Check if threading system is already
2465         initialized.
2467 2005-05-03  Andrew Overholt  <overholt@redhat.com>
2469         PR libgcj/21372:
2470         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
2471         could not be acquired.
2472         * java/nio/channels/FileLock.java (toString): Re-implement to be
2473         in line with other implementations.
2475 2005-05-03  Tom Tromey  <tromey@redhat.com>
2477         * java/lang/VMSecurityManager.java (currentClassLoader): Use
2478         'systemClasssLoader' directly.
2480 2005-05-03  Tom Tromey  <tromey@redhat.com>
2482         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
2483         call VMClassLoader.getSystemClassLoader.
2485 2005-04-29  Michael Koch  <konqueror@gmx.de>
2487         * java/net/NetworkInterface.java
2488         (static): Removed.
2489         (NetworkInterface(String,InetAddress)): Made package-private.
2490         (NetworkInterface(String,InetAddress[])): New constructor.
2491         (getRealNetworkInterfaces): Removed.
2492         (getByName): Use VMNetworkInterface.getInterfaces().
2493         (getByInetAddress): Likewise.
2494         (getNetworkInterfaces): Likewise.
2495         * java/net/VMNetworkInterface.java,
2496         java/net/natVMNetworkInterfaceNoNet.cc,
2497         java/net/natVMNetworkInterfacePosix.c,c
2498         java/net/natVMNetworkInterfaceWin32.cc: New files.
2499         * java/net/natNetworkInterfaceNoNet.cc,
2500         java/net/natNetworkInterfacePosix.cc,
2501          java/net/natNetworkInterfaceWin32.cc: Removed.
2502         * configure.ac
2503         * Makefile.am
2504         * configure, Makefile.in: Regenerated.
2506 2005-04-29  Andrew Haley  <aph@redhat.com>
2508         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
2510 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
2512         * java/nio/channels/FileChannelImpl.java
2513         (FileChannelImpl(String, int)): Removed.
2514         (FileChannelImpl(File, int)): Added. Check if opened file is a
2515         directory.
2516         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
2517         Call FileChannelImpl(File, int).
2518         * java/io/FileOutputStream.java (FileInputStream): Call
2519         FileChannelImpl(File, int).
2520         * java/io/RandomAccessFile.java (RandomAccessFile):
2521         Call FileChannelImpl(File, int). Switched constructors around.
2523 2005-04-27  Andrew Haley  <aph@redhat.com>
2525         PR java/19285
2526         * prims.cc (_Jv_ResolvePoolEntry): New function.
2527         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
2528         * link.cc (_Jv_Linker::find_field): New arg: found_class.
2529         (resolve_pool_entry): Initialize the class in which a field is
2530         found.
2531         (link_symbol_table): Pass new arg to found_class.
2533 2005-04-29  Michael Koch  <konqueror@gmx.de>
2535         * java/nio/charset/Charset.java
2536         (provider): Reformatted.
2538 2005-04-29  Michael Koch  <konqueror@gmx.de>
2540         * gnu/java/net/protocol/http/HTTPConnection.java:
2541         (userAgent): Initialize from system properties.
2542         (initUserAgent): Removed.
2544 2005-04-29  Mark Wielaard  <mark@klomp.org>
2546         * java/util/ResourceBundle.java (getObject): Clarify
2547         MissingResourceException detailed message.
2548         (tryBundle(String,ClassLoader)): Likewise.
2550 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
2552         * java/beans/FeatureDescriptor.java:
2553         (getShortDescription): Implemented fallback mechanism and fixed
2554         documentation (fixes bug #12637).
2555         (getDisplayName): Dito.
2557 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
2559         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
2560         will now be set correctly.
2561         (flushCaches): Now flushes all cached intermediate data.
2563 2005-04-28  Michael Koch  <konqueror@gmx.de>
2565         * java/net/InetAddress.java
2566         (aton): Fixed javadoc.
2567         (lookup): Likewise.
2569 2005-04-28  Tom Tromey  <tromey@redhat.com>
2571         * javax/swing/Timer.java
2572         (drainEvents, queueEvent): Now package-private.
2574 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
2576         * javax/swing/Timer.java
2577         (constructor): Assigning initialDelay.
2579 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
2581         * javax/swing/Timer.java
2582         (Waker.run): firing the first action event.
2584 2005-04-28  Michael Koch  <konqueror@gmx.de>
2586         * javax/swing/Timer.java: Reordered all fields and methods,
2587         Added more javadocs.
2589 2005-04-28  Michael Koch  <konqueror@gmx.de>
2591         * javax/swing/Timer.java: Javadocs merged
2592         from GNU classpath.
2594 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
2596         * gnu/java/net/protocol/file/Connection.java
2597         (StaticData): New inner class to contain statics.
2598         (connect, getHeaderField): Modified to use StaticData.
2600 2005-04-28  Michael Koch  <konqueror@gmx.de>
2602         * gnu/java/net/protocol/file/Connection.java
2603         (lineSeparator): Initialize with SystemProperties.getProperty().
2605 2005-04-27  Chris Burdess  <dog@gnu.org>
2607         * gnu/java/net/protocol/file/Connection.java: Return correct content
2608         length for directory listing.
2609         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
2610         #11285: return valid URLs for directories.i
2612 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2614         * Makefile.am (ordinary_java_source_files): Add
2615         gnu/java/net/protocol/https/Handler.java.
2616         * Makefile.in: Regenerate.
2617         * java/net/URL.java: Remove org.metastatic.jessie from default
2618         protocol search path.
2620 2005-04-27  Chris Burdess  <dog@gnu.org>
2622         * gnu/java/net/protocol/https/Handler.java: New file.
2624 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
2626         * javax/imageio/spi/IIORegistry.java (IIORegistry):
2627         Don't assume that awt Toolkit is always ClasspathToolkit.
2629 2005-04-27  Chris Burdess  <dog@gnu.org>
2631         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
2632         absolute and relative paths in Location header.
2634 2005-04-27  Chris Burdess  <dog@gnu.org>
2636         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
2637         FileNotFoundException and implement getErrorStream on 404.
2639 2005-04-27  Sven de Marothy <sven@physto.se>
2641         * java/util/TimeZone.java,
2642         (getDefaultDisplayName): Fix previous fix.
2644 2005-04-27  Sven de Marothy <sven@physto.se>
2646         * java/util/TimeZone.java,
2647         (getDefaultDisplayName): Don't print zero offsets.
2649 2005-04-27  Roman Kennke  <roman@kennke.org>
2651         * javax/swing/plaf/basic/BasicScrollBarUI
2652         (getThumbBounds): Do not make thumb smaller than
2653         minimumThumbSize.
2654         * javax/swing/plaf/metal/MetalLookAndFeel
2655         (initComponentDefaults): Added color defaults for ScrollBar.
2656         * javax/swing/plaf/metal/MetalScrollBarUI
2657         (paintThumb): Added.
2658         (getMinimumThumbSize): Added.
2660 2005-04-27  Roman Kennke  <roman@kennke.org>
2662         * javax/swing/plaf/metal/MetalLookAndFeel
2663         (initComponentDefaults): Added some default colors.
2665 2005-04-27  Roman Kennke  <roman@kennke.org>
2667         * javax/swing/plaf/basic/BasicScrollBarUI.java
2668         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
2669         to 'ScrollBar.thumbShadow'. The formes does not exist.
2670         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
2672 2005-04-27  Roman Kennke  <roman@kennke.org>
2674         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
2675         * javax/swing/BoxLayout.java: Likewise.
2676         * javax/swing/UIManager.java: Likewise.
2677         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2678         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
2679         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2680         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
2681         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
2682         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
2683         * javax/swing/text/Document.java: Likewise.
2684         * javax/swing/text/GapContent.java: Likewise.
2685         * javax/swing/text/SimpleAttributeSet.java: Likewise.
2686         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
2688 2005-04-27  Roman Kennke  <roman@kennke.org>
2690         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2691         (getPropertyPrefix): Added.
2693 2005-04-27  Roman Kennke  <roman@kennke.org>
2695         * javax/swing/plaf/basic/BasicButtonUI.java
2696         (getPropertyPrefix): Added.
2697         (installDefaults): Use getPropertyPrefix instead of hard-coded
2698         prefix.
2700 2005-04-27  Roman Kennke  <roman@kennke.org>
2702         * javax/swing/JToggleButton.java
2703         (JToggleButton): Removed horizontalAlignment setting, this
2704         was wrong. Added setting of an actionCommand, ToggleButtons
2705         have "" as default actionCommand.
2707 2005-04-27  Michael Koch  <konqueror@gmx.de>
2709         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
2710         to work around CNI limitation.
2712 2005-04-27  Sven de Marothy  <sven@physto.se>
2714         * java/nio/charset/Charset.java:
2715         (defaultCharset()): New method.
2716         Status updated to 1.5
2718 2005-04-27  Sven de Marothy  <sven@physto.se>
2720         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
2722 2005-04-27  Sven de Marothy  <sven@physto.se>
2724         * java/nio/charset/Charset.java: Reset cached de/encoders.
2726 2005-04-27  Robert Schuster <thebohemian@gmx.net>
2728         * java/nio/charset/Charset.java (forName): Throws
2729         IllegalArgumentException when argument is null
2730         and added documentation.
2732 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2734         * java/nio/charset/Charset.java (providers):
2735         New method to make an array of CharsetProviders defined in
2736         META-INF/services/java.nio.charset.spi.CharsetProvider.
2737         (charsetForName, availableCharsets): Use the
2738         new method providers().
2740 2005-04-26  Michael Koch  <konqueror@gmx.de>
2742         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
2743         Fixed typos in javadocs.
2744         (isSiteLocalAddress): Fixed handling of byte values.
2745         (isMCLinkLocal): Likewise.
2746         * java/net/Inet4Address.java
2747         (isMulticastAddress): Call super method.
2748         (isLoopbackAddress): Likewise.
2749         (isAnyLocalAddress): Likewise.
2750         (isLinkLocalAddress): Likewise.
2751         (isSiteLocalAddress): Likewise.
2752         (isMCGlobal): Likewise.
2753         (isMCNodeLocal): Likewise.
2754         (isMCLinkLocal): Likewise.
2755         (isMCSiteLocal): Likewise.
2756         (isMCOrgLocal): Likewise.
2757         (getHostAddress): Likewise.
2759 2005-04-26  Sven de Marothy  <sven@physto.se>
2761         * java/net/InetAddress.java
2762         (toString): Don't print empty hostnames.
2764 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
2766         PR libgcj/21136:
2767         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
2768         'false' to native lock().
2769         (lock): Pass 'true' to native lock().
2771 2005-04-26  Michael Koch  <konqueror@gmx.de>
2773         * java/net/InetAddress.java:
2774         Fixed typos in javadocs.
2776 2005-04-26  Andrew Haley  <aph@redhat.com>
2778         PR libgcj/21020:
2779         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
2780         field's type.
2782 2005-04-26  Tom Tromey  <tromey@redhat.com>
2784         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
2785         gnu): Now package-private.
2786         * javax/swing/text/html/parser/DocumentParser.java (parser,
2787         callBack, gnu): Now package-private.
2788         * javax/swing/text/StringContent.java (content, setOffset,
2789         checkLocation): Now package-private.
2790         * javax/swing/text/JTextComponent.java (doc): Now
2791         package-private.
2792         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
2793         lastGoodOrientation, origParent, borders, cachedBounds,
2794         cachedOrientation, DragWindow): Now package-private.
2795         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
2796         decrButton, viewport, panel, currentScrollLocation, layoutManager,
2797         tabAreaRect, contentRect, createIncreaseButton,
2798         createDecreaseButton, findPointForIndex): Now package-private.
2799         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2800         (currentDividerLocation, moveDividerTo): Now package-private.
2801         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
2802         package-private.
2803         * javax/swing/plaf/basic/BasicScrollBarUI.java
2804         (calculatePreferredSize, valueForYPosition, valueForXPosition):
2805         Now package-private.
2806         * javax/swing/plaf/basic/BasicPopupMenuUI.java
2807         (topWindowListener): Now package-private.
2808         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
2809         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
2810         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
2811         package-private.
2812         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
2813         package-private.
2814         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
2815         Now package-private.
2816         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
2817         package-private.
2818         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
2819         borderInsets): Now package-private.
2820         (arrowButtonWidth): Likewise.  Now a constant.
2821         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
2822         makeTabs, updatePreviewPanel): Now package-private.
2823         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
2824         darkShadow, highlight): Now package-private.
2825         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2826         (addColorToQueue): Now package-private.
2827         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2828         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
2829         GSpinner, BSpinner): Now package-private.
2830         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
2831         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
2832         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
2833         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
2834         updateTrack): Now package-private.
2835         * javax/swing/TransferHandler.java (clipboard): Now
2836         package-private.
2837         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
2838         package-private.
2839         * javax/swing/Timer.java (drainEvents, queueEvent): Now
2840         package-private.
2841         * javax/swing/RepaintManager.java (globalManager): Now
2842         package-private.
2843         * javax/swing/JFormattedTextField.java (editValid): Now
2844         package-private.
2845         * javax/swing/JColorChooser.java (makeModal): Now
2846         package-private.
2847         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
2848         index, path): Now package-private.
2849         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
2850         lineQuadIntersect, lineCubicIntersect, linesIntersect,
2851         pointEquals): Now package-private.
2852         * java/awt/geom/Arc2D.java (type): Now package-private.
2853         * java/awt/Window.java (windowFocusOwner): Now package-private.
2854         * java/awt/TextComponent.java (editable, selectionStart,
2855         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
2856         package-private.
2857         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
2858         package-private.
2859         * java/awt/MenuComponent.java (focusListener): Now
2860         package-private.
2861         * java/awt/Frame.java (state): Now package-private.
2862         * java/awt/Choice.java (pItems): Now package-private.
2863         * java/awt/Checkbox.java (state): Now package-private.
2864         * java/awt/Button.java (actionCommand, label): Now
2865         package-private.
2866         * gnu/javax/swing/text/html/parser/support/Parser.java
2867         (attributes, _handleEndTag_remaining, _handleStartTag): Now
2868         package-private.
2869         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
2870         package-private.
2871         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
2872         clip, transform, font, comp): Now package-private.
2874 2005-04-26  Tom Tromey  <tromey@redhat.com>
2876         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
2877         static way.
2879 2005-04-26  Mark Wielaard  <mark@klomp.org>
2881         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
2882         to MalformedURLException.
2884 2005-04-26  Michael Koch  <konqueror@gmx.de>
2886         * java/security/AccessControlContext.java:
2887         Reformated.
2888         (protectedDomains): Renamed from 'protectionDomain'.
2889         * java/security/AccessController.java:
2890         Reformatted.
2892 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
2894         * gnu/java/security/action/GetSecurityPropertyAction.java
2895         (GetSecurityPropertyAction): Implement PrivilegedAction instead
2896         of extending GetPropertyAction.
2897         (name): New field.
2898         (value): Likewise.
2899         (setParamters): New methods.
2900         (GetSecurityPropertyAction): Use new setParameters methods.
2902 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
2904         * java/security/Security.java,
2905         java/security/cert/X509CRLSelector.java,
2906         java/security/cert/X509CertSelector.java:
2907         Modified to use SystemProperties.
2909 2005-04-26  Michael Koch  <konqueror@gmx.de>
2911         * java/lang/System.java
2912         (setSecurityManager): Fixed comment.
2913         (getSecurityManager): Removed obsolete comment.
2915 2005-04-25  Tom Tromey  <tromey@redhat.com>
2917         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
2919 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
2921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2922         (connectSignals): Realize the window widget after connecting
2923         signals.
2925 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
2927         * java/awt/GraphicsEnvironment.java
2928         (localGraphicsEnvironment): New field.
2929         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
2930         property.
2931         (isHeadless): Added support for java.awt.headless property.
2932         (isHeadlessInstance): Call headless().
2934 2005-04-25  Roman Kennke  <roman@kennke.org>
2936         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
2937         (getDisplayMode): Added. Returns the current display mode.
2938         (isFullScreenSupported): Added.
2939         * java/awt/GraphicsDevice.java
2940         (setFullScreenWindow): Implemented a primitive fullscreen mode.
2941         This resizes and relocates the fullscreen window so that it uses
2942         the whole screen. This is not a fully accelerated fullscreen
2943         exclusive mode.
2945 2005-04-25  Michael Koch  <konqueror@gmx.de>
2947         * java/lang/Runtime.java,
2948         java/lang/SecurityManager.java,
2949         java/lang/System.java,
2950         java/lang/ThreadGroup.java:
2951         Replaced java.lang.Runtime.securityManager by
2952         java.lang.SecurityManager.current (as used in GNU classpath).
2954 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
2956         * java/awt/Transparency.java
2957         (getTransparency): fixed API docs.
2959 2005-04-25  Archie Cobbs  <archie@dellroad.org>
2961         * java/lang/Throwable.java: simplify initializing cause in constructor
2963 2005-04-25  Michael Koch  <konqueror@gmx.de>
2965         * gnu/classpath/SystemProperties.java: New file.
2966         * gnu/classpath/natSystemProperties.cc: New file.
2967         * java/lang/Runtime.java
2968         (defaultProperties): Removed.
2969         (static): Likewise.
2970         (): Made thrown exceptions more verbose.
2971         (insertSystemProperties): Removed.
2972         * java/lang/System.java
2973         (static): Likewise.
2974         (properties): Likewise.
2975         (setSecurityManager): Reordered modifiers.
2976         (getenv): Improved javadoc.
2977         (): Likewise.
2978         (isWordsBigEndian): Removed.
2979         * java/lang/natRuntime.cc
2980         (_Jv_SetDLLSearchPath): Likewise.
2981         (file_encoding): Likewise.
2982         (default_file_encoding): Likewise.
2983         (getpwuid_adaptor): Likewise.
2984         (insertSystemProperties): Likewise.
2985         * java/lang/natSystem.cc
2986         (isWordsBigEndian): Likewise.
2987         * Makefile.am
2988         (ordinary_java_source_files):
2989         Added gnu/classpath/SystemProperties.java.
2990         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
2991         * Makefile.in: Regenerated.
2993 2005-04-25  Roman Kennke  <roman@kennke.org>
2995         * javax/swing/plaf/basic/BasicScrollBarUI.java
2996         (initDefaults): Initialize thumb*Color fields correctly.
2998 2005-04-25  Roman Kennke  <roman@kennke.org>
3000         * javax/swing/text/GapContent.java:
3001         Added API comments.
3003 2005-04-25  Roman Kennke  <roman@kennke.org>
3005         * javax/swing/plaf/metal/MetalBorders.java:
3006         Added inner class ScrollPaneBorder.
3007         * javax/swing/plaf/metal/MetalLookAndFeel.java
3008         (initComponentDefaults): Added default for "ScrollPane.border"
3009         to use the new ScrollPaneBorder.
3011 2005-04-25  Roman Kennke  <roman@kennke.org>
3013         * javax/swing/text/AbstractDocument.java:
3014         Added FIXME comments. This class still has to be
3015         implemented thread-safe.
3017 2005-04-25  Roman Kennke  <roman@kennke.org>
3019         * javax/swing/tree/DefaultTreeSelectionModel.java
3020         (DefaultTreeSelectionModel): Initialize listenerList here.
3022 2005-04-25  Roman Kennke  <roman@kennke.org>
3024         * javax/swing/plaf/metal/MetalTextFieldUI.java
3025         (createUI): Return one instance per Component instead of a
3026         shared instance.
3028 2005-04-25  Roman Kennke  <roman@kennke.org>
3030         * javax/swing/text/Document.java:
3031         Added API documentation comments.
3033 2005-04-25  Roman Kennke  <roman@kennke.org>
3035         * javax/swing/text/AbstractDocument.java
3036         (getDocumentProperties): Implemented.
3037         (setDocumentProperties): Implemented.
3038         (getProperty): Implemented.
3039         (putProperty): Implemented.
3041 2005-04-25  Roman Kennke  <roman@kennke.org>
3043         * javax/swing/BoxLayout
3044         (preferredLayoutSize): Fixed computation so that it correctly
3045         adds the top and bottom insets of the container.
3047 2005-04-25  Roman Kennke  <roman@kennke.org>
3049         * javax/swing/plaf/basic/BasicMenuItemUI.java
3050         (paintText): Make use of the 'selectionForeground' UI default
3051         for text painting.
3053 2005-04-25  Roman Kennke  <roman@kennke.org>
3055         * javax/swing/plaf/basic/BasicLookAndFeel.java
3056         (initSystemColorDefaults): Modified colors to match the
3057         BasicLookAndFeel in the reference implementation.
3058         (initComponentDefaults): Likewise.
3060 2005-04-25  Tom Tromey  <tromey@redhat.com>
3062         * include/jni.h (_Jv_va_list): Removed.
3063         Moved configuration code...
3064         * include/jni_md.h: ... here.  New file.
3065         * include/Makefile.in: Rebuilt.
3066         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
3068 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
3070         * java/io/FileInputStream.java (FileInputStream(File)),
3071         java/io/FileOutputStream.java (FileOutputStream(File)):
3072         Removed unnecessary File.isDirectory() check.
3074 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
3076         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
3077         gij if get_multilibs fails.
3079 2005-04-22  Anthony Green  <green@redhat.com>
3081         * jni.cc (natrehash): Don't bother clearing memory again.
3082         * interpret.cc (do_allocate_static_fields): Ditto.
3083         * java/lang/natString.cc (rehash): Ditto.
3085 2005-04-22  Roman Kennke  <roman@kennke.org>
3087         * javax/swing/plaf/basic/BasicLookAndFeel.java
3088         (initComponentDefaults): Changed Button.border to be
3089         BasicBorders.getButtonBorder as it should be.
3091 2005-04-22  Roman Kennke  <roman@kennke.org>
3093         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3094         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
3095         should according to a mauve testcase, instead of the preferred
3096         size.
3098 2005-04-22  Roman Kennke  <roman@kennke.org>
3100         * javax/swing/JMenu.java
3101         (add): add(Component) now calls PopupMenu.insert(..) instead of
3102         PopupMenu.add(..). add(..) is not implemented for Component,
3103         so JComponent.add(..) is called instead, adding the component
3104         in the wrong place.
3106 2005-04-22  Roman Kennke  <roman@kennke.org>
3108         * javax/swing/plaf/basic/BasicButtonListener.java
3109         (mousePressed): replaced query to getModifiersEx with getModifiers.
3110         This method relied on faulty behaviour in getModifierEx.
3111         (mouseReleased): replaced query to getModifiersEx with getModifiers.
3112         This method relied on faulty behaviour in getModifierEx.
3114 2005-04-22  Roman Kennke  <roman@kennke.org>
3116         * javax/swing/plaf/metal/MetalLookAndFeel.java
3117         (getDefaults): Call addCustomEntriesToTable on the theme.
3119 2005-04-22  Roman Kennke  <roman@kennke.org>
3121         * javax/swing/tree/DefaultTreeSelectionModel.java
3122         (constructor): Added implementation.
3123         (getRowMapper): Added implementation.
3124         (setSelectionMode): Added implementation.
3125         (getSelectionMode): Added implementation.
3126         (getSelectionPath): Added implementation.
3127         (getSelectionPaths): Added implementation.
3128         (getSelectionCount): Added implementation.
3129         (isSelectionEmpty): Added implementation.
3130         (getSelectionRows): Added implementation.
3131         (getMinSelectionRow): Added implementation.
3132         (getMaxSelectionRow): Added implementation.
3133         (getLeadSelectionRow): Added implementation.
3134         (getLeadSelectionPath): Added implementation.
3136 2005-04-22  Casey Marshall <csm@gnu.org>
3138         * gnu/java/security/der/DERValue.java
3139         (getValueAs): new method.
3140         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
3141         (<init>): read both dates with 'DERValue.getValueAs', with
3142         'GENERALIZED_TIME' as the argument.
3144 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
3146         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
3147         be null, check for that case and don't deference it.
3149 2005-04-22  Sven de Marothy  <sven@physto.se>
3151         * java/util/logging/LogManager.java: Reformatted.
3152         (readConfiguration): If a logger for a key is not found, create one.
3154 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3156         * java/rmi/Naming.java:
3157         Added class documentation.
3158         (lookup(String)): Call parseURL and getName.
3159         (bind(String,java.rmi.Remote)): Likewise.
3160         (unbind(String)): Likewise.
3161         (rebind(String, java.rmi.Remote)): Likewise.
3162         (list(String)): Call parseURL.
3163         (parseURL(String)): New method to handle parsing and defaults.
3164         (getName(java.net.URL)): New method to handle finding the service name.
3166 2005-04-21  Tom Tromey  <tromey@redhat.com>
3168         * java/lang/natClass.cc (initializeClass): Link class.
3170 2005-04-21  Tom Tromey  <tromey@redhat.com>
3172         * java/lang/AssertionError.java: Typo fix.
3174 2005-04-21  Tom Tromey  <tromey@redhat.com>
3176         * java/lang/VMClassLoader.java (transformException): Removed.
3177         (resolveClass): No longer native.  Now does nothing.
3178         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
3180 2005-04-21  Anthony Green  <green@redhat.com>
3182         PR libgcj/21115
3183         * testsuite/libjava.special/special.exp,
3184         testsuite/libjava.special/pr21115I.java,
3185         testsuite/libjava.special/pr21115.java,
3186         testsuite/libjava.special/pr21115.out: New files.
3188 2005-04-21  Chris Burdess  <dog@gnu.org>
3190         * gnu/java/net/CRLFInputStream.java: Rewrite to return
3191         CRLF-delimited chunks.
3193 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3195         * java/net/URI.java:
3196         Added class documentation.
3197         (parseURI(String)): Only handle scheme-specific parts
3198         if URI is not opaque.  Allow for parts that can't be null.
3199         (toString()): Output the scheme-specific part whole, rather
3200         than as its possibly non-existent components.
3202 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3204         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
3205         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
3206         Adjusted to match new regexp.
3208 2005-04-20  Michael Koch  <konqueror@gmx.de>
3210         * gnu/java/net/protocol/file/Connection.java,
3211         gnu/java/net/protocol/jar/Connection.java:
3212         Reorganized import statements. Fixed @author tags.
3214 2005-04-20  Chris Burdess  <dog@gnu.org>
3216         * java/io/DataOutputStream.java (writeUTF): Use block write for
3217         output.
3219 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3221         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
3222         (readLine): Changed newline handling.
3224 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3226         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
3227         ColorModel,byte[],int,int): Fixed byte to int conversion.
3229 2005-04-20  Michael Koch  <konqueror@gmx.de>
3231         * java/io/FilePermission.java
3232         (serialVersionUID): Made private.
3233         (ALL_FILES): New constant.
3234         (implies): Handle '<<ALL FILES>>' case.
3236 2005-04-20  Sven de Marothy  <sven@physto.se>
3238         * gnu/java/awt/peer/gtk/GdkGraphics.java:
3239         (drawImage): Don't notify the image observer for offscreen images.
3240         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
3241         (setPixels): Don't notify the image observer.
3243 2005-04-20  Sven de Marothy  <sven@physto.se>
3245         * java/nio/ByteBufferImpl.java:
3246         (putChar): Inlined for speed.
3247         (put, get): Bulk methods can use arraycopy.
3248         * java/nio/CharBufferImpl.java:
3249         (put, get): Bulk methods can use arraycopy.
3251 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3253         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
3254         and field updates.
3255         * java/nio/CharBufferImpl.java
3256         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
3257         (get(), put(char)): Inlined checks and field updates. Fixed to
3258         take array_offset into account.
3259         (get(int), put(int, char)): Fixed to take array_offset into account.
3261 2005-04-20  Sven de Marothy  <sven@physto.se>
3263         * java/text/SimpleDateFormat.java:
3264         (formatWithAttribute): Pad year before truncating digits.
3266 2005-04-20  Michael Koch  <konqueror@gmx.de>
3268         * gnu/java/net/PlainDatagramSocketImpl.java:
3269         Merged copyright header.
3270         * gnu/java/net/PlainSocketImpl.java:
3271         Reorganized import statements. Fixed @author tags.
3273 2005-04-20  Michael Koch  <konqueror@gmx.de>
3275         * gnu/java/lang/ClassHelper.java,
3276         gnu/java/lang/reflect/TypeSignature.java:
3277         Fixed @author tag.
3279 2005-04-20  Michael Koch  <konqueror@gmx.de>
3281         * gnu/java/beans/IntrospectionIncubator.java:
3282         Fixed HTML tags in javadocs.
3284 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3286         * gnu/java/beans/IntrospectionIncubator.java
3287         (addToPropertyHash, addToListenerHash): Don't confuse get(),
3288         set(), is(), add() and remove() with properties or events.
3290 2005-04-20  Michael Koch  <konqueror@gmx.de>
3292         * gnu/java/awt/image/XBMDecoder.java:
3293         Fixed modifier order.
3295 2005-04-20  Roman Kennke  <roman@kennke.org>
3297         * javax/swing/plaf/basic/BasicButtonUI.java
3298         (paint): This should not care about margin and insets
3299         at the same time, as insets already include the margin
3300         through the border.
3301         * javax/swing/plaf/basic/BasicGraphicsUtils.java
3302         (getPreferredButtonSize): Likewise.
3303         * javax/swing/plaf/metal/MetalBorders.java
3304         (getBorderInsets): Likewise.
3306 2005-04-20  Roman Kennke  <roman@kennke.org>
3308         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3309         (createMessageArea): The JPanel that holds the message area
3310         doesn't need to override getPreferredSize. This prevents some
3311         message components from rendering nicely.
3313 2005-04-20  Roman Kennke  <roman@kennke.org>
3315         * javax/swing/plaf/metal/MetalInternalFrameUI.java
3316         (createUI): Do not share instances between components.
3317         * javax/swing/plaf/metal/MetalSliderUI.java
3318         (createUI): Do not share instances between components.
3320 2005-04-20  Roman Kennke  <roman@kennke.org>
3322         * javax/swing/plaf/metal/MetalBorders:
3323         (PopupMenuBorder): Added.
3324         * javax/swing/plaf/metal/MetalLookAndFeel
3325         (initComponentDefaults): Added PopupMenuBorder.
3327 2005-04-20  Roman Kennke  <roman@kennke.org>
3329         * javax/swing/tree/DefaultTreeSelectionModel.java:
3330         Added API documentation all over the class.
3332 2005-04-20  Roman Kennke  <roman@kennke.org>
3334         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3335         (installDefaults): Link managed JScrollPane in instance field.
3336         (uninstallDefaults): Unlink managed JScrollPane in instance field.
3338 2005-04-20  Roman Kennke  <roman@kennke.org>
3340         * javax/swing/plaf/basic/BasicScrollBarUI.java
3341         (PropertyChangeHandler.propertyChange): Add default
3342         to switch statement to avoid errors with unusual values
3343         for orientation.
3344         (installComponents): Likewise.
3346 2005-04-20  Roman Kennke  <roman@kennke.org>
3348         * javax/swing/plaf/metal/MetalScrollBarUI.java:
3349         (createUI): Instances cannot be shared among JScrollPanes.
3351 2005-04-20  Roman Kennke  <roman@kennke.org>
3353         * javax/swing/plaf/metal/MetalLookAndFeel.java
3354         (initComponentDefaults): Added defaults for Menu, MenuBar
3355         MenuEntry fonts.
3357 2005-04-20  Roman Kennke  <roman@kennke.org>
3359         * javax/swing/plaf/basic/BasicScrollBarUI.java
3360         (installUI): Install listeners after everything all, otherwise
3361         we get strange NPEs in some situations, especially with
3362         custom L&Fs.
3363         (createIncreaseButton): Orientation is expected to be
3364         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3365         HORIZONTAL or VERTICAL.
3366         (createDecreaseButton): Orientation is expected to be
3367         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3368         HORIZONTAL or VERTICAL.
3369         (installComponents): Orientation for buttons is expected to be
3370         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3371         HORIZONTAL or VERTICAL.
3373 2005-04-20  Roman Kennke  <roman@kennke.org>
3375         * javax/swing/JToolBar.java
3376         (addImpl): Adjust added AbstractButtons to look and feel like
3377         toolbar buttons.
3378         * javax/swing/plaf/metal/MetalBorders.java:
3379         Adjusted insets of ButtonBorder.
3380         (RolloverMarginBorder): Added class for toolbar buttons.
3381         (getButtonBorder): Adjusted factory method to return a shared
3382         instance of button border.
3383         (getToolbarButtonBorder): Added factory method to return a shared
3384         instance of toolbar button border.
3385         (getMarginBorder): Added factory method to return a shared
3386         instance of margin border.
3387         * javax/swing/plaf/metal/MetalButtonUI.java
3388         (installDefauls): If button is child of a JToolBar then set
3389         special border on this button.
3391 2005-04-20  Michael Koch  <konqueror@gmx.de>
3393         * java/net/URLConnection.java
3394         (getContent): Fixed javadoc comment.
3396 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3398         * java/net/URL.java:
3399         (toURI()): Implemented.
3401 2005-04-19  Michael Koch  <konqueror@gmx.de>
3403         * java/net/InetAddress.java
3404         (InetAddress): Fixed javadoc comment.
3405         (aton): Likewise.
3406         (lookup): Added javadoc.
3407         (getFamily): Likewise.
3408         * java/net/ServerSocket.java
3409         (getChannel): Improved javadoc comment.
3411 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3413         * gnu/xml/dom/html2/DomHTMLParser.java:
3414         Changed 'enum' references to become 'enumeration'.
3416 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3418         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
3420 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3422         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
3423         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
3424         * gnu/javax/swing/text/html/parser/htmlValidator.java:
3425         (validateParameters(TagElement,htmlAttributeSet)):
3426         Replaced 'enum' with 'enumeration'.
3427         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
3428         Likewise.
3430 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3432         * javax/swing/text/html/parser/Entity.java (getType): New method.
3433         * javax/swing/text/html/parser/DocumentParser.java:
3434         Inherit from javax.swing.text.html.parser.Parser.
3436 2005-04-19  Chris Burdess  <dog@gnu.org>
3438         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
3439         check for HTML/XHTML namespace.
3441 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3443         * javax/swing/text/html/parser/Parser.java,
3444         javax/swing/text/html/parser/Entity.java:
3445         Inheriting from DTDConstants.
3446         * javax/swing/text/html/parser/AttributeList.java
3447         (getValues): Changed return type.
3448         * javax/swing/text/html/parser/DocumentParser
3449         (parse): Adding the callback parameter that receives
3450         the parsing events.
3452 2005-04-19  Chris Burdess  <dog@gnu.org>
3454         * gnu/xml/dom/DomImpl.java,
3455         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
3456         gnu/xml/dom/html2/DomHTMLDocument.java,
3457         gnu/xml/dom/html2/DomHTMLElement.java,
3458         gnu/xml/dom/html2/DomHTMLFormElement.java,
3459         gnu/xml/dom/html2/DomHTMLFrameElement.java,
3460         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
3461         gnu/xml/dom/html2/DomHTMLImpl.java,
3462         gnu/xml/dom/html2/DomHTMLInputElement.java,
3463         gnu/xml/dom/html2/DomHTMLObjectElement.java,
3464         gnu/xml/dom/html2/DomHTMLOptionElement.java,
3465         gnu/xml/dom/html2/DomHTMLSelectElement.java,
3466         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
3467         gnu/xml/dom/html2/DomHTMLTableElement.java,
3468         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
3469         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
3470         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
3471         UI events, and tree utility functions.
3473 2005-04-19  Michael Koch  <konqueror@gmx.de>
3475         * gnu/javax/swing/text/html/parser/HTML_401F.java,
3476         gnu/javax/swing/text/html/parser/gnuDTD.java,
3477         gnu/javax/swing/text/html/parser/models/node.java:
3478         Reworked import statements.
3480 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
3482         * javax/swing/text/html/HTMLDocument.java: New file.
3484 2005-04-19  Michael Koch  <konqueror@gmx.de>
3486         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
3487         Reformatted.
3488         * javax/swing/text/html/parser/AttributeList.java:
3489         Fixed order of modifiers.
3490         (AttributeList): Made final.
3491         * javax/swing/text/html/parser/ContentModel.java:
3492         Fixed html characters in javadocs.
3493         * javax/swing/text/html/parser/DTD.java
3494         (DTD): Don't implement java.io.Serializable directly.
3495         (getElement): Simplified.
3496         * javax/swing/text/html/parser/DTDConstants.java:
3497         Reformatted file.
3498         * javax/swing/text/html/parser/Element.java:
3499         Fixed order of modifiers.
3500         * javax/swing/text/html/parser/Parser.java:
3501         Reformatted. Don't use fully-qualified class names.
3502         * javax/swing/text/html/parser/ParserDelegator.java:
3503         Fixed order of modifiers.
3504         * javax/swing/text/rtf/RTFParser.java:
3505         Re-ordered import statements.
3506         * javax/swing/text/rtf/RTFScanner.java:
3507         Removed unused import statement.
3509 2005-04-19  Chris Burdess  <dog@gnu.org>
3511         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
3512         gnu/xml/dom/html2/DomHTMLCollection.java,
3513         gnu/xml/dom/html2/DomHTMLDocument.java,
3514         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
3515         types.
3516         * gnu/xml/dom/html2/DomHTMLDListElement.java,
3517         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
3518         gnu/xml/dom/html2/DomHTMLDivElement.java,
3519         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
3520         gnu/xml/dom/html2/DomHTMLFontElement.java,
3521         gnu/xml/dom/html2/DomHTMLFormElement.java,
3522         gnu/xml/dom/html2/DomHTMLFrameElement.java,
3523         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
3524         gnu/xml/dom/html2/DomHTMLHRElement.java,
3525         gnu/xml/dom/html2/DomHTMLHeadElement.java,
3526         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
3527         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
3528         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
3529         gnu/xml/dom/html2/DomHTMLImageElement.java,
3530         gnu/xml/dom/html2/DomHTMLInputElement.java,
3531         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
3532         gnu/xml/dom/html2/DomHTMLLIElement.java,
3533         gnu/xml/dom/html2/DomHTMLLabelElement.java,
3534         gnu/xml/dom/html2/DomHTMLLegendElement.java,
3535         gnu/xml/dom/html2/DomHTMLLinkElement.java,
3536         gnu/xml/dom/html2/DomHTMLMapElement.java,
3537         gnu/xml/dom/html2/DomHTMLMenuElement.java,
3538         gnu/xml/dom/html2/DomHTMLMetaElement.java,
3539         gnu/xml/dom/html2/DomHTMLModElement.java,
3540         gnu/xml/dom/html2/DomHTMLOListElement.java,
3541         gnu/xml/dom/html2/DomHTMLObjectElement.java,
3542         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
3543         gnu/xml/dom/html2/DomHTMLOptionElement.java,
3544         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
3545         gnu/xml/dom/html2/DomHTMLParamElement.java,
3546         gnu/xml/dom/html2/DomHTMLPreElement.java,
3547         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
3548         gnu/xml/dom/html2/DomHTMLScriptElement.java,
3549         gnu/xml/dom/html2/DomHTMLSelectElement.java,
3550         gnu/xml/dom/html2/DomHTMLStyleElement.java,
3551         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
3552         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
3553         gnu/xml/dom/html2/DomHTMLTableColElement.java,
3554         gnu/xml/dom/html2/DomHTMLTableElement.java,
3555         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
3556         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
3557         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
3558         gnu/xml/dom/html2/DomHTMLTitleElement.java,
3559         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
3561 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3563         * javax/swing/text/ChangedCharSetException.java,
3564         javax/swing/text/html/HTMLEditorKit.java,
3565         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
3566         javax/swing/text/html/parser/AttributeList.java,
3567         javax/swing/text/html/parser/ContentModel.java,
3568         javax/swing/text/html/parser/DocumentParser.java,
3569         javax/swing/text/html/parser/DTD.java,
3570         javax/swing/text/html/parser/DTDConstants.java,
3571         javax/swing/text/html/parser/Element.java,
3572         javax/swing/text/html/parser/Entity.java,
3573         javax/swing/text/html/parser/Parser.java,
3574         javax/swing/text/html/parser/TagElement.java,
3575         gnu/javax/swing/text/html/package.html,
3576         gnu/javax/swing/text/html/parser/gnuDTD.java,
3577         gnu/javax/swing/text/html/parser/HTML_401F.java,
3578         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
3579         gnu/javax/swing/text/html/parser/htmlValidator.java,
3580         gnu/javax/swing/text/html/parser/package.html,
3581         gnu/javax/swing/text/html/parser/models/list.java,
3582         gnu/javax/swing/text/html/parser/models/node.java,
3583         gnu/javax/swing/text/html/parser/models/noTagModel.java,
3584         gnu/javax/swing/text/html/parser/models/package.html,
3585         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
3586         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
3587         gnu/javax/swing/text/html/parser/models/transformer.java,
3588         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
3589         gnu/javax/swing/text/html/parser/support/package.html,
3590         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
3591         gnu/javax/swing/text/html/parser/support/Parser.java,
3592         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
3593         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
3594         gnu/javax/swing/text/html/parser/support/low/Constants.java,
3595         gnu/javax/swing/text/html/parser/support/low/Location.java,
3596         gnu/javax/swing/text/html/parser/support/low/node.java,
3597         gnu/javax/swing/text/html/parser/support/low/package.html,
3598         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
3599         gnu/javax/swing/text/html/parser/support/low/pattern.java,
3600         gnu/javax/swing/text/html/parser/support/low/Queue.java,
3601         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
3602         New files.
3603         * javax/swing/text/html/HTML.java,
3604         javax/swing/text/html/parser/ParserDelegator.java:
3605         New files (replacing).
3606         * javax/swing/text/html/package.html,
3607         javax/swing/text/html/parser/package.html: Documenting the
3608         packages.
3610 2005-04-19  Chris Burdess  <dog@gnu.org>
3612         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
3613         gnu/xml/dom/html2/DomHTMLAppletElement.java,
3614         gnu/xml/dom/html2/DomHTMLAreaElement.java,
3615         gnu/xml/dom/html2/DomHTMLBaseElement.java,
3616         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
3617         gnu/xml/dom/html2/DomHTMLBodyElement.java,
3618         gnu/xml/dom/html2/DomHTMLBRElement.java,
3619         gnu/xml/dom/html2/DomHTMLButtonElement.java,
3620         gnu/xml/dom/html2/DomHTMLCollection.java,
3621         gnu/xml/dom/html2/DomHTMLDocument.java,
3622         gnu/xml/dom/html2/DomHTMLElement.java: New files.
3624 2005-04-19  Michael Koch  <konqueror@gmx.de>
3626         * Makefile.am: Added new files.
3627         * Makefile.in: Regenerated.
3629 2005-04-19  Roman Kennke  <roman@kennke.org>
3631         * javax/swing/text/JTextComponent.java
3632         (JTextComponent): Added repaintListener which issues repaint
3633         requests when the underlying document changes.
3634         (setDocument): Adds repaintListener to document when the
3635         document is changed.
3636         * javax/swing/text/DefaultEditorKit.java:
3637         Removed repaint calls on JTextComponent. This is now handled
3638         through a DocumentListener in JTextComponent that repaints
3639         the component when needed.
3641 2005-04-19  Roman Kennke  <roman@kennke.org>
3643         PR libgcj/21064
3644         * javax/swing/text/StyleContext.java
3645         (NamedStyle.setResolveParent): Added null
3646         pointer check.
3648 2005-04-19  Michael Koch  <konqueror@gmx.de>
3650         * java/rmi/server/RemoteObject.java:
3651         Removed unused import statement.
3653 2005-04-19  Michael Koch  <konqueror@gmx.de>
3655         * java/net/URL.java: Formatting cleanups.
3657 2005-04-19  Michael Koch  <konqueror@gmx.de>
3659         * java/awt/FontMetrics.java: Reformatted.
3660         (getFontRenderContext): Handle case when java.awt.Graphics context is
3661         given.
3663 2005-04-19  Michael Koch  <konqueror@gmx.de>
3665         * java/awt/FontMetrics.java
3666         (getStringBounds): New methods.
3669 2005-04-19  Michael Koch  <konqueror@gmx.de>
3671         * gnu/java/security/x509/X509Certificate.java
3672         (parse): Handle val == null case.
3674 2005-04-19  Roman Kennke  <roman@kennke.org>
3676         * javax/swing/plaf/metal/MetalLookAndFeel.java
3677         (initComponentDefaults): Added defaults for Menu, MenuBar
3678         MenuEntry fonts.
3680 2005-04-19  Roman Kennke  <roman@kennke.org>
3682         * javax/swing/plaf/metal/MetalLookAndFeel.java
3683         (initComponentDefaults): Added Label.font.
3684         (initSystemColorDefaults): Added this method and adjusted the
3685         general control color.
3687 2005-04-19  Roman Kennke  <roman@kennke.org>
3689         * javax/swing/plaf/metal/MetalBorders.java:
3690         Added.
3691         * javax/swing/plaf/metal/MetalButtonUI.java:
3692         (installDefaults): Install button font.
3693         * javax/swing/plaf/metal/MetalLookAndFeel.java:
3694         (initComponentDefaults): Added button border, font and margin.
3695         Changed components background color to the Metal current themes
3696         standard color.
3698 2005-04-19  Roman Kennke  <roman@kennke.org>
3700         * javax/swing/plaf/metal/MetalLookAndFeel.java
3701         (initComponentDefaults): Added to set Metal specific component
3702         defaults.
3704 2005-04-19  Mark Wielaard  <mark@klomp.org>
3706         * javax/swing/plaf/metal/MetalLookAndFeel.java
3707         (initClassDefaults): Call super.initClassDefaults().
3709 2005-04-19  Roman Kennke  <roman@kennke.org>
3711         * javax/swing/plaf/metal/MetalLookAndFeel.java
3712         (initClassDefaults): Added to include the *UI classes.
3714 2005-04-19  Roman Kennke  <roman@kennke.org>
3716         * javax/swing/plaf/metal/MetalComboBoxUI.java:
3717         Added.
3718         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
3719         Added.
3720         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
3721         Added.
3722         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
3723         Added.
3724         * javax/swing/plaf/metal/MetalProgressBarUI.java:
3725         Added.
3726         * javax/swing/plaf/metal/MetalRootPaneUI.java:
3727         Added.
3728         * javax/swing/plaf/metal/MetalScrollBarUI.java:
3729         Added.
3730         * javax/swing/plaf/metal/MetalSeparatorUI.java:
3731         Added.
3732         * javax/swing/plaf/metal/MetalSliderUI.java:
3733         Added.
3734         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
3735         Added.
3736         * javax/swing/plaf/metal/MetalTextFieldUI.java:
3737         Added.
3738         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
3740 2005-04-19  Roman Kennke  <roman@kennke.org>
3742         * javax/swing/plaf/metal/MetalButtonUI.java:
3743         Added skeleton class.
3744         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
3745         Added skeleton class.
3746         * javax/swing/plaf/metal/MetalLabelUI.java:
3747         Added skeleton class.
3748         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
3749         Added skeleton class.
3750         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
3751         Added skeleton class.
3752         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
3753         Added skeleton class.
3755 2005-04-19  Roman Kennke  <roman@kennke.org>
3757         * javax/swing/UIDefaults.java:
3758         Added API documentation for all methods.
3760 2005-04-19  Roman Kennke  <roman@kennke.org>
3762         * javax/swing/UIDefaults.java
3763         (put): Now uses new checkAndPut method instead of checking
3764         directly.
3765         (putDefaults): Fixed so that it accepts null-values and
3766         treats them like remove(key).
3767         (checkAndPut): Added. This checks for null-values and calls
3768         put or remove.
3770 2005-04-19  Michael Koch  <konqueror@gmx.de>
3772         * Makefile.am: Added new files.
3773         * Makefile.in: Regenerated.
3775 2005-04-19  Mark Wielaard  <mark@klomp.org>
3777         * java/lang/natRuntime.cc (insertSystemProperties): Set
3778         java.class.path to CLASSPATH only when not empty. Fall back to
3779         default path "." when java.class.path is empty.
3781 2005-04-19  Michael Koch  <konqueror@gmx.de>
3783         * javax/swing/text/rtf/ControlWordToken.java,
3784         javax/swing/text/rtf/RTFEditorKit.java,
3785         javax/swing/text/rtf/RTFParseException.java,
3786         javax/swing/text/rtf/RTFParser.java,
3787         javax/swing/text/rtf/RTFScanner.java,
3788         javax/swing/text/rtf/TextToken.java,
3789         javax/swing/text/rtf/Token.java: New files.
3790         * Makefile.am: Added new files.
3791         * Makefile.in: Regenerated.
3793 2005-04-19  Michael Koch  <konqueror@gmx.de>
3795         * java/awt/geom/QuadCurve2D.java:
3796         Fixed Brian Gough's name for real.
3798 2005-04-19  Roman Kennke  <roman@kennke.org>
3800         * javax/swing/UIManager.java:
3801         Make the UIManager respect the swing.defaultlaf system
3802         property.
3804 2005-04-19  Tom Tromey  <tromey@redhat.com>
3806         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
3807         not _Jv_InitClass.
3809 2005-04-19  Roman Kennke  <roman@kennke.org>
3811         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3812         Fixed tabs to spaces.
3814 2005-04-19  Roman Kennke  <roman@kennke.org>
3816         * javax/swing/plaf/basic/BasicMenuUI.java
3817         (getMaximumSize): Now returns preferredSize because JMenu should
3818         never be bigger than that.
3819         * javax/swing/JRootPane
3820         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
3822 2005-04-19  Roman Kennke  <roman@kennke.org>
3824         * javax/swing/JRootPane.java:
3825         Fixed various tabs to be spaces.
3826         (RootLayout.layoutContainer): Made menubar left aligned.
3828 2005-04-19  Roman Kennke  <roman@ontographics.com>
3830         * javax/swing/JList.java
3831         (getPreferredScrollableViewportSize):
3832         The previous implementation was merely guessing the size,
3833         now it respects layoutOrientation, visibleRowCount
3834         and preferredSize.
3835         (getScrollableTracksViewportHeight):
3836         Reimplemented so that layoutOrientation, visibleRowCount
3837         and preferred size are respected.
3838         (getScrollableTracksViewportWidth):
3839         Reimplemented so that layoutOrientation, visibleRowCount
3840         and preferred size are respected.
3841         * javax/swing/plaf/basic/BasicListUI.java
3842         (getPreferredSize):
3843         Improved calculation of preferredSize when JList is
3844         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
3845         (getCellBounds):
3846         The previous implementation assumed a layoutOrientation of
3847         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
3848         JList.VERTICAL_WRAP.
3850 2005-04-19  Roman Kennke  <roman@ontographics.com>
3852         * javax/swing/plaf/basic/BasicListUI.java
3853         (paintCell): use CellRendererPane for painting the cells.
3855 2005-04-19  Roman Kennke  <roman@ontographics.com>
3857         * javax/swing/plaf/basic/BasicListUI:
3858         fixed modifiers of several fields, methods and inner
3859         classes to match the 'spec'.
3860         (getMaximumSize): removed. It's not in the spec and the
3861         implementations was superfluous.
3863 2005-04-19  Roman Kennke  <roman@ontographics.com>
3865         * javax/swing/plaf/basic/BasicListUI:
3866         make BasicListUI capable of wrapping lists
3867         (layoutOrientation property of javax.swing.JList)
3869 2005-04-19  Roman Kennke  <roman@ontographics.com>
3871         * javax/swing/plaf/basic/BasicListUI
3872         (updateLayoutState,paint): make BasicListUI aware of the
3873         width of the rendered JList.
3875 2005-04-19  Roman Kennke  <roman@kennke.org>
3877         * javax/swing/ImageIcon.java
3878         Added API documentation.
3880 2005-04-19  Roman Kennke  <roman@kennke.org>
3882         * javax/swing/text/ImageIcon.java
3883         (ImageIcon): Use setImage instead of direct assignment.
3884         (setImage): Call loadImage to make sure that the image is loaded.
3885         (loadImage): Waits for the image to complete loading.
3886         (getImageLoadStatus): Added. Returns the load status of the
3887         image.
3889 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3891         * javax/swing/JTextArea.java (replaceRange):
3892         Fixing doc.remove(start, length) misinterpretation.
3894 2005-04-19  Roman Kennke  <roman@ontographics.com>
3896         * javax/swing/CellRendererPane.java:
3897         implemented all methods of this class.
3898         reformatted all wrong formatted code.
3900 2005-04-19  Roman Kennke  <roman@kennke.org>
3902         * javax/swing/BoxLayout.java:
3903         (layoutContainer): Made this layout manager respect the
3904         minimum, maximum and preferred size more correctly.
3906 2005-04-19  Roman Kennke  <roman@ontographics.com>
3908         * javax/swing/BoxLayout.java:
3909         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
3910         layoutContainer): Make these methods and thereby the
3911         BoxLayout respect the insets (like borders) of the
3912         component that is laid out.
3914 2005-04-19  Roman Kennke  <roman@kennke.org>
3916         * javax/swing/JComponent.java:
3917         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
3918         Untabified the file.
3920 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3922         * javax/swing/JComboBox.java (constructors): selecting the
3923         first item if the box was constructed from the provided
3924         non - empty array or vector.
3926 2005-04-19  Michael Koch  <konqueror@gmx.de>
3928         * gnu/java/awt/peer/gtk/GdkGraphics.java
3929         (getClipBounds): Handle clip being null.
3930         (setClip): Likewise.
3931         * java/beans/beancontext/BeanContextSupport.java
3932         (add): Implemented.
3933         (addAll): Likewise.
3934         (clear): Likewise.
3935         (removeAll): Likewise.
3936         (retainAll): Likewise.
3938 2005-04-19  Michael Koch  <konqueror@gmx.de>
3940         * java/beans/beancontext/BeanContextServicesSupport.java
3941         (BeanContextServicesSupport): Reimplemented.
3942         (addBeanContextServicesListener): Implemented.
3943         (initialize): Likewise.
3944         (removeBeanContextServicesListener): Likewise.
3945         * java/beans/beancontext/BeanContextSupport.java
3946         (add): Likewise.
3947         (addBeanContextMembershipListener): Likewise.
3948         (getLocale): Likewise.
3949         (initialize): Likewise.
3950         (iterator): Likewise.
3951         (remove): Likewise.
3952         (toArray): Likewise.
3954 2005-04-19  Roman Kennke  <roman@kennke.org>
3956         * java/awt/MediaTracker.java:
3957         Reindented tabs to spaces.
3959 2005-04-19  Roman Kennke  <roman@kennke.org>
3961         * java/awt/MediaTracker.java
3962         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
3963         confused the media tracker and lead to lockups. The LOADING
3964         bit is handled on other places.
3965         (addImage): Removed the 'start image tracking' stuff. This
3966         is not necessary and could confuse the media tracker.
3967         (checkAll): Improved the check for image status so that
3968         images that already complete images are detected. Also now
3969         are really all images checked and if necessary loaded. Before
3970         the method bailed out after the first incomplete image.
3971         (statusAll): Detect images that are complete after the
3972         call to Component.prepareImage(..).
3973         (checkID): The same as in checkAll.
3974         (statusID): The same as in statusAll.
3976 2005-04-19  Roman Kennke  <roman@kennke.org>
3978         * java/awt/MediaTracker.java
3979         (addImage): Synchronized list access.
3980         (waitForAll): Fixed comparison of time (changed < to >).
3981         (waitForID): Fixed comparison of time (changed < to >).
3982         (removeImage): Synchronized list access.
3984 2005-04-19  Roman Kennke  <roman@kennke.org>
3986         * java/awt/MediaTracker.java
3987         Added API documentation.
3989 2005-04-19  Roman Kennke  <roman@kennke.org>
3991         * java/awt/MediaTracker.java
3992         (MediaEntry.imageUpdate): Fixed flags. The different flags
3993         must not be ORed together.
3994         (checkAll): Modified to handle different meaning of the flags.
3995         (waitForAll): Fixed so that it waits maximum the
3996         specified amount of milliseconds.
3997         (statusAll): Modified to handle different meaning of the flags.
3998         (waitForID): Fixed so that it waits maximum the
3999         specified amount of milliseconds.
4001 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
4003         * java/awt/Font.java (decode): Handle null argument and allow
4004         space as delimiter.
4006 2005-04-19  Robert Schuster <thebohemian@gmx.net>
4008         * java/beans/EventHandler.java: Reworked documentation.
4009         (invoke): Fixed behavior to match spec.
4011 2005-04-19  Michael Koch  <konqueror@gmx.de>
4013         * java/awt/print/PrinterJob.java
4014         (pageDialog): New method.
4015         (printDialog): Implemented.
4017 2005-04-19  Michael Koch  <konqueror@gmx.de>
4019         * java/awt/image/ConvolveOp.java:
4020         Removed comment added by eclipse.
4022 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
4024         * java/awt/image/IndexColorModel.java
4025         (getRGB): Check if pixel is negative.
4027 2005-04-19  Michael Koch  <konqueror@gmx.de>
4029         * java/awt/image/RasterOp.java:
4030         Fixed wrong formatting.
4032 2005-04-18  Roman Kennke  <roman@kennke.org>
4034         * java/awt/Compmonent.java
4035         (setComponentOrientation): Made this property firing a
4036         PropertyChangeEvent.
4038 2005-04-18  Roman Kennke  <roman@kennke.org>
4040         * java/awt/BorderLayout.java
4041         (calcSize): Check for overflow when component sizes are added.
4043 2005-04-18  Robert Schuster <thebohemian@gmx.net>
4045         * java/awt/AWTEvent.java (toString): Added case
4046         for source not being an AWT component.
4048 2005-04-18  Chris Burdess  <dog@gnu.org>
4050         * gnu/java/net/BASE64.java: Truncate encoded byte array.
4052 2005-04-18  Michael Koch  <konqueror@gmx.de>
4054         gnu/java/awt/EmbeddedWindowSupport.java,
4055         gnu/java/net/HeaderFieldHelper.java,
4056         gnu/java/net/URLParseError.java,
4057         gnu/java/net/protocol/file/Handler.java,
4058         gnu/java/net/protocol/jar/Handler.java:
4059         Fixed usage of @author tag.
4061 2005-04-18  Michael Koch  <konqueror@gmx.de>
4063         * gnu/xml/aelfred2/XmlParser.java:
4064         Reverted my typo fix.
4066 2005-04-18  Michael Koch  <konqueror@gmx.de>
4068         * java/awt/geom/CubicCurve2D.java,
4069         java/awt/geom/QuadCurve2D.java:
4070         Fixed mentioning of Brian Gouph.
4072 2005-04-18  Michael Koch  <konqueror@gmx.de>
4074         * gnu/java/awt/Buffers.java,
4075         gnu/java/awt/image/ImageDecoder.java,
4076         gnu/java/awt/image/XBMDecoder.java,
4077         gnu/java/awt/peer/ClasspathFontPeer.java,
4078         gnu/java/net/CRLFInputStream.java,
4079         gnu/java/net/EmptyX509TrustManager.java,
4080         gnu/java/net/LineInputStream.java,
4081         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4082         gnu/java/net/protocol/ftp/BlockInputStream.java,
4083         gnu/java/net/protocol/ftp/CompressedInputStream.java,
4084         gnu/java/net/protocol/ftp/DTP.java,
4085         gnu/java/net/protocol/ftp/DTPInputStream.java,
4086         gnu/java/net/protocol/ftp/FTPConnection.java,
4087         gnu/java/net/protocol/ftp/FTPURLConnection.java,
4088         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4089         gnu/java/net/protocol/ftp/StreamInputStream.java,
4090         gnu/java/net/protocol/http/ChunkedInputStream.java,
4091         gnu/java/net/protocol/http/HTTPConnection.java,
4092         gnu/java/net/protocol/http/HTTPURLConnection.java,
4093         gnu/java/net/protocol/http/Headers.java,
4094         gnu/java/net/protocol/http/Request.java,
4095         gnu/java/nio/ChannelInputStream.java,
4096         gnu/java/nio/ChannelOutputStream.java,
4097         gnu/java/nio/InputStreamChannel.java,
4098         gnu/java/nio/OutputStreamChannel.java,
4099         gnu/java/nio/SelectorProviderImpl.java,
4100         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
4101         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
4102         gnu/java/rmi/dgc/DGCImpl.java,
4103         gnu/java/rmi/registry/RegistryImpl.java,
4104         gnu/java/rmi/server/ProtocolConstants.java,
4105         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
4106         gnu/java/rmi/server/RMIIncomingThread.java,
4107         gnu/java/rmi/server/RMIObjectInputStream.java,
4108         gnu/java/rmi/server/RMIObjectOutputStream.java,
4109         gnu/java/rmi/server/RMIVoidValue.java,
4110         gnu/java/rmi/server/UnicastConnectionManager.java,
4111         gnu/java/rmi/server/UnicastRef.java,
4112         gnu/java/rmi/server/UnicastRemoteCall.java,
4113         gnu/java/rmi/server/UnicastRemoteStub.java,
4114         gnu/java/rmi/server/UnicastServerRef.java,
4115         gnu/java/security/OID.java,
4116         gnu/java/security/der/DERReader.java,
4117         gnu/java/security/provider/CollectionCertStoreImpl.java,
4118         gnu/java/security/provider/DSAParameterGenerator.java,
4119         gnu/java/security/provider/DefaultPolicy.java,
4120         gnu/java/security/provider/EncodedKeyFactory.java,
4121         gnu/java/security/provider/GnuDHPublicKey.java,
4122         gnu/java/security/provider/GnuDSAPrivateKey.java,
4123         gnu/java/security/provider/GnuDSAPublicKey.java,
4124         gnu/java/security/provider/GnuRSAPrivateKey.java,
4125         gnu/java/security/provider/GnuRSAPublicKey.java,
4126         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4127         gnu/java/security/provider/RSA.java,
4128         gnu/java/security/provider/SHA1PRNG.java,
4129         gnu/java/security/provider/SHA1withRSA.java,
4130         gnu/java/security/provider/X509CertificateFactory.java,
4131         gnu/java/security/x509/GnuPKIExtension.java,
4132         gnu/java/security/x509/X500DistinguishedName.java,
4133         gnu/java/security/x509/X509CRL.java,
4134         gnu/java/security/x509/X509CRLEntry.java,
4135         gnu/java/security/x509/X509CertPath.java,
4136         gnu/java/security/x509/X509CertSelectorImpl.java,
4137         gnu/java/security/x509/X509Certificate.java,
4138         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4139         gnu/java/security/x509/ext/BasicConstraints.java,
4140         gnu/java/security/x509/ext/CRLNumber.java,
4141         gnu/java/security/x509/ext/CertificatePolicies.java,
4142         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
4143         gnu/java/security/x509/ext/Extension.java,
4144         gnu/java/security/x509/ext/GeneralNames.java,
4145         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
4146         gnu/java/security/x509/ext/KeyUsage.java,
4147         gnu/java/security/x509/ext/PolicyConstraint.java,
4148         gnu/java/security/x509/ext/PolicyMappings.java,
4149         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
4150         gnu/java/security/x509/ext/ReasonCode.java,
4151         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
4152         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
4153         Reorganized import statements.
4155 2005-04-18  Michael Koch  <konqueror@gmx.de>
4157         * gnu/java/awt/color/CieXyzConverter.java,
4158         gnu/java/awt/color/ClutProfileConverter.java,
4159         gnu/java/awt/color/ColorLookUpTable.java,
4160         gnu/java/awt/color/ColorSpaceConverter.java,
4161         gnu/java/awt/color/GrayProfileConverter.java,
4162         gnu/java/awt/color/GrayScaleConverter.java,
4163         gnu/java/awt/color/LinearRGBConverter.java,
4164         gnu/java/awt/color/ProfileHeader.java,
4165         gnu/java/awt/color/PyccConverter.java,
4166         gnu/java/awt/color/RgbProfileConverter.java,
4167         gnu/java/awt/color/SrgbConverter.java,
4168         gnu/java/awt/color/TagEntry.java,
4169         gnu/java/awt/color/ToneReproductionCurve.java:
4170         Standardized file headers.
4172 2005-04-16  Tom Tromey  <tromey@redhat.com>
4174         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
4175         'ANY' package-private.
4177 2005-04-15  Tom Tromey  <tromey@redhat.com>
4179         * Makefile.in: Rebuilt.
4180         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
4181         (libgcj0_convenience_la_LIBADD): ... here.
4183 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
4185         * gij.cc (version): Properly quote java version.
4186         (main): Fix typo in comment.
4188 2005-04-13  Mark Wielaard  <mark@klomp.org>
4190         * java/lang/natRuntime.cc (insertSystemProperties): Set
4191         java.class.path to CLASSPATH if not already set.
4193 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4195         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
4197 2005-04-12  Mike Stump  <mrs@apple.com>
4199         * configure: Regenerate.
4201 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
4203         PR libgcj/20958
4204         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
4205         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
4207 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
4209         PR libgcj/20975
4210         * scripts/TexinfoDoclet.java: Removed.
4211         * Makefile.am (texinfo): Removed.
4212         * Makefile.in: Regenerated.
4214 2005-04-11  Michael Koch  <konqueror@gmx.de>
4216         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
4217         Fixed wrong casting.
4219 2005-04-06  Andrew Haley  <aph@redhat.com>
4221         * testsuite/libjava.lang/bytearray.java: New file.
4222         * testsuite/libjava.lang/bytearray.out: New file.
4223         * java/lang/ClassLoader.java (loadClassFromSig): Declare
4224         (loadClass): Use it.
4225         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
4227 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
4229         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
4230         gcj-dbtool dependency
4231         * Makefile.in: Regenerated
4233 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
4235         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
4236         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
4238 2005-04-05  Andrew Haley  <aph@redhat.com>
4240         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
4241         (Tokenizer): New class.
4242         (getFiles): New method.
4243         (main): Add "-" argument.
4244         Add "-0" argument.
4245         Read list of files from stdin when merging map databases.
4246         (usage):  Add "-" argument.
4247         Add "-0" argument.
4248         Minor corrections.
4250 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4252         PR libgcj/20750
4253         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
4254         * Makefile.in: Regenerate.
4255         * configure.ac: Add --with-java-home option.
4256         * configure: Regenerate.
4257         * external/Makefile.in: Regenerate.
4258         * external/sax/Makefile.in: Regenerate.
4259         * external/w3c_dom/Makefile.in: Regenerate.
4260         * gcj/Makefile.in: Regenerate.
4261         * include/Makefile.in: Regenerate.
4262         * testsuite/Makefile.in: Regenerate.
4263         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
4264         to JAVA_HOME macro.
4266 2005-04-05  Tom Tromey  <tromey@redhat.com>
4268         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
4269         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
4270         Rewrote to use _Jv_FindClassFromSignature.
4271         * verify.cc (resolve): throw NoClassDefFoundError.
4272         * link.cc (resolve_field): Throw NoClassDefFoundError.
4273         (find_field): Likewise.
4274         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
4275         Handle error cases.  Added 'endp' argument.
4276         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
4278 2005-04-05  Tom Tromey  <tromey@redhat.com>
4280         * Makefile.in: Rebuilt.
4281         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
4282         gtk_awt_peer_sources.
4283         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
4284         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
4285         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
4286         (gtk-awt-peer.lo): New target.
4288 2005-04-04  Steve Pribyl <steve@netfuel.com>
4290         PR libgcj/20761
4291         * configure.ac: Fix fastjar definition for cross builds.
4292         * configure: Rebuilt.
4294 2005-04-04  Tom Tromey  <tromey@redhat.com>
4296         * java/lang/ClassLoader.java (loadClass): Resolve class even if
4297         it was already found.
4299 2005-04-04  Tom Tromey  <tromey@redhat.com>
4301         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
4302         org.metastatic.jessie.
4304 2005-04-02  Anthony Green  <green@redhat.com>
4306         PR libgcj/20727
4307         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
4309 2005-04-02  Mark Wielaard  <mark@klomp.org>
4311         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
4312         Attributes and attribute order doesn't matter.
4313         (BasicAttributesEnumeration.where): Initialize to zero.
4314         (BasicAttributesEnumeration.nextElement): Update and compare where
4315         appropriately (zero based).
4317 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
4319         PR libgcj/20090, PR libgcj/20526
4320         * gij.cc (nonstandard_opts_help): New function.
4321         (add_option): New function.
4322         (main): Support java options.  Set java.class.path.  Don't set
4323         _Jv_Jar_Class_Path.
4324         * prims.cc (parse_x_arg): New function.
4325         (parse_init_args): Call parse_x_arg for -X and _ options, when
4326         ignoreUnrecognized is true.
4327         (new _Jv_RunMain): New vm_args variant.
4328         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
4329         (_Jv_Jar_Class_Path): Remove variable.
4330         * include/java-props.h: Likewise.
4331         * include/cni.h (JvRealloc): New function.
4332         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
4333         * java/lang/natRuntime.cc (insertSystemProperties): Remove
4334         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
4335         macros.
4336         * configure.ac (JV_VERSION): Define.
4337         (JV_API_VERSION): Likewise.
4338         * configure: Regenerate.
4339         * include/config.h.in: Regenerate.
4341 2005-04-01 Mark Anderson <mark@panonet.net>
4343         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
4344         -Infinity as parameters.
4346 2005-04-01  Michael Koch  <konqueror@gmx.de>
4348         * java/io/PipedInputStream.java
4349         (read): Make sure a positive byte value is returned. Revised javadoc.
4350         Thanks to Olafur Bragason for reporting these bugs.
4352 2005-04-01  Tom Tromey  <tromey@redhat.com>
4354         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4355         Updated for name change.
4356         (nativeFindClass): New method.
4357         (loadClass): Use nativeFindClass.
4358         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
4359         form of loadClass.
4360         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
4361         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
4362         VMClassLoader.
4363         (initialize): New method.
4364         (nativeFindClass): Declare.
4365         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
4366         * gnu/gcj/runtime/VMClassLoader.java: Removed.
4367         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
4368         VMClassLoader.java.
4369         (definePackageForNative): Removed.
4370         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
4371         Moved to VMClassLoader.java.
4372         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
4373         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
4374         (ordinary_java_source_files): Added ExtensionClassLoader.java,
4375         removed VMClassLoader.java.
4376         (nat_source_files): Removed natVMClassLoader.cc.
4378 2005-04-01  Tom Tromey  <tromey@redhat.com>
4380         * Makefile.in: Rebuilt.
4381         * Makefile.am (db_pathtail): Use $(gcc_version), not
4382         @gcc_version@.
4384 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
4386         * java/util/Timer.java
4387         (run): Stop the queue if a task throws an exception.
4389 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4391         * javax/swing/text/JTextComponent.java (viewToModel): New method.
4393 2005-03-29  Ian Lance Taylor  <ian@airs.com>
4395         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
4396         * external/sax/Makefile.in: Rebuild.
4397         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
4398         "-fclasspath=".
4399         * external/w3c_dom/Makefile.in: Rebuild.
4401 2005-03-29  Tom Tromey  <tromey@redhat.com>
4403         * java/lang/natRuntime.cc (insertSystemProperties): Set
4404         gnu.gcj.runtime.endorsed.dirs.
4405         * Makefile.in: Rebuilt.
4406         * Makefile.am (ordinary_java_source_files): Added
4407         HelperClassLoader.java.
4408         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
4409         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
4410         HelperClassLoader.
4411         (init): Use addDirectoriesFromProperty.
4412         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
4413         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
4414         gnu.gcj.runtime.endorsed.dirs.
4415         * gnu/gcj/runtime/HelperClassLoader.java: New file.
4417 2005-03-26  Chris Burdess  <dog@gnu.org>
4419         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
4420         required.
4422 2005-03-13  Michael Koch  <konqueror@gmx.de>
4424         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
4426 2005-03-11  Chris Burdess  <dog@gnu.org>
4428         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
4429         warnings.
4431 2005-02-27  Chris Burdess  <dog@gnu.org>
4433         * gnu/xml/aelfred2/JAXPFactory.java,
4434         gnu/xml/aelfred2/SAXDriver.java,
4435         gnu/xml/aelfred2/XmlParser.java,
4436         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
4437         formatting conventions. Replaced arrays of Object with struct-like
4438         classes for easier maintainability. Made SAXDriver.stringInterning
4439         package private to allow access from XmlParser inside the loop without
4440         a method call overhead.
4442 2005-03-11  Chris Burdess  <dog@gnu.org>
4444         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
4445         warnings.
4447 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
4449         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
4450         settings to sub Makefiles.
4451         (GCJH, ZIP): Prefix with top_builddir.
4452         * configure: Rebuild.
4453         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
4454         * external/w3c_dom/Makefile.in: Rebuild.
4455         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
4456         * external/sax/Makefile.in: Rebuild.
4458 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
4460         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
4461         libsocket to the libraries to link for Solaris.
4463 2005-03-28  Per Bothner  <per@bothner.com>
4465         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
4466         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
4468 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
4470         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
4471         to fix a ONESTEP fallout.
4472         * Makefile.in: Regenerate.
4474 2005-03-25  Mike Stump  <mrs@apple.com>
4476         * configure.ac: Fix ZIP and GCJH at configure time to absolute
4477         paths like we do for the compiler, as we use it in external/sax
4478         and it doesn't get MULTIBUILDTOP right when multilibing.
4480 2005-03-24  Anthony Green  <green@redhat.com>
4482         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
4483         -p option.
4484         (usage): Add [LIBDIR] to help output.
4485         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
4486         * Makefile.am (AM_CXXFLAGS): Define
4487         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
4488         (db_pathtail): New macro.
4490 2005-03-24  Tom Tromey  <tromey@redhat.com>
4492         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
4493         add sax and w3c libraries.
4494         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
4495         libw3c-gcj.la.
4496         * external/w3c_dom/Makefile.in: Rebuilt.
4497         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
4498         AM_GCJFLAGS.
4499         (libw3c_gcj_la_LDFLAGS): New variable.
4500         (noinst_LTLIBRARIES): Renamed.
4501         * external/sax/Makefile.in: Rebuilt.
4502         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
4503         AM_GCJFLAGS.
4504         (libsax_gcj_la_LDFLAGS): New variable.
4505         (noinst_LTLIBRARIES): Renamed.
4507 2005-03-23  Tom Tromey  <tromey@redhat.com>
4509         * Makefile.in: Rebuilt.
4510         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
4511         (libgcj0_convenience_la_SOURCES): Don't include
4512         gnu_xml_source_files.
4513         (libgcj0_convenience_la_LIBADD): New variable.
4514         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
4515         (all_java_source_files): javax_imageio_source_files,
4516         javax_xml_source_files, and gnu_java_beans_source_files.
4517         ($(gnu_xml_source_files:.java=.lo)): Removed target.
4518         (gnu-xml.lo): New target.
4519         (javax-imageio.lo): Likewise.
4520         (javax-xml.lo): Likewise.
4521         (gnu-java-beans.lo): Likewise.
4522         (gnu_java_beans_source_files): New variable.
4523         (javax_imageio_source_files): Likewise.
4524         (javax_xml_source_files): Likewise.
4525         (javax_source_files): Moved files to other variable.
4526         (awt_java_source_files): Likewise.
4527         (ordinary_java_source_files): Added BootClassLoader.java.
4528         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
4529         not system class loader.
4530         (initBootLoader): New method.
4531         (loadClass): Search bootLoader.
4532         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
4533         boot loader, not system class loader.
4534         (_Jv_UnregisterInitiatingLoader): Likewise.
4535         (_Jv_FindClass): Likewise.  Ensure entries in
4536         bootstrap_class_list are unique.
4537         * java/lang/natClass.cc (getClassLoader): Don't special case
4538         system class loader.
4539         * java/lang/VMClassLoader.java (bootLoader): New field.
4540         (getResource): Use bootLoader.
4541         (getResources): Likewise.
4542         (initBootLoader): Declare.
4543         * gnu/gcj/runtime/BootClassLoader.java: New file.
4544         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
4545         (EMPTY_ENUMERATION): Now package-private.
4546         * external/w3c_com/Makefile.in: Rebuilt.
4547         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
4548         (w3c.jar): New target.
4549         (classes.stamp): Updated.
4550         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
4551         Changed name of library.
4552         (libw3c_gcj_la_SOURCES): New variable.
4553         (libw3c_gcj_la_GCJFLAGS): Likewise.
4554         (source_files): Renamed from lib3c_convenience_la_SOURCES.
4555         * external/sax/Makefile.in: Rebuilt.
4556         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
4557         (sax.jar): New target.
4558         (classes.stamp): Updated.
4559         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
4560         Changed name of library.
4561         (libsax_gcj_la_SOURCES): New variable.
4562         (libsax_gcj_la_GCJFLAGS): Likewise.
4563         (source_files): Renamed from libsax_convenience_la_SOURCES.
4564         * stacktrace.cc (non_system_trace_fn): Don't look at system class
4565         loader.
4566         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
4567         loader.
4568         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
4570 2005-03-23  Sven de Marothy  <sven@physto.se>
4572         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
4573         PR libgcj/11085:
4574         * java/util/Calendar.java
4575         (set): Use starting day of week when one is needed if none is given.
4576         * java/text/SimpleDateFormat.java
4577         (parse): Handle 1-12 and 1-24 timestamps correctly.
4578         * java/util/GregorianCalendar.java
4579         (computeTime, computeFields): HOUR should be in 0-11 format.
4580         (nonLeniencyCheck): Adjust leniency checking to that fact.
4581         (getLinearDay): Should be private.
4583 2005-03-23  Tom Tromey  <tromey@redhat.com>
4585         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
4586         (_Jv_CheckABIVersion): Use it.
4588 2005-03-22  Mike Stump  <mrs@apple.com>
4590         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
4592         * include/posix.h: .dylib is used on all Apple MACH platforms.
4593         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
4595 2005-03-22  Tom Tromey  <tromey@redhat.com>
4597         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
4599 2005-03-21  Tom Tromey  <tromey@redhat.com>
4601         * java/lang/VMCompiler.java (static block): Also catch
4602         BufferUnderflowException.
4604 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
4606         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
4607         set tool_include_dir.  In all substitutions, leave $(gcc_version)
4608         to be expanded by the Makefile.
4609         * aclocal.m4, configure: Regenerate.
4610         * Makefile.am: Set gcc_version.  Replace all uses of
4611         @gcc_version@ with $(gcc_version).
4612         * external/Makefile.am, external/sax/Makefile.am
4613         * external/w3c_dom/Makefile.am, gcj/Makefile.am
4614         * testsuite/Makefile.am: Set gcc_version.
4615         * include/Makefile.am: Set gcc_version and tool_include_dir.
4616         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
4617         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
4618         * testsuite/Makefile.in: Regenerate.
4620 2005-03-17  Andrew Haley  <aph@redhat.com>
4622         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
4623         arg: klass.
4624         Pass klass to _Jv_StackTrace::GetClassContext().
4625         * java/lang/ClassLoader.java (getParent): Pass class to
4626         VMSecurityManager.getClassContext()
4627         (getSystemClassLoader): Likewise.
4628         * java/lang/Package.java (getPackage): Likewise.
4629         (getPackages): Likewise.
4630         * java/lang/SecurityManager.java (getClassContext): Likewise.
4631         (currentClassLoader): Likewise.
4632         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
4633         (currentClassLoader) Add new arg: caller.
4634         Pass caller to VMSecurityManager.getClassContext.
4636         * stacktrace.cc (GetClassContext): Correct calculation of
4637         jframe_count.
4639         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
4640         im->source_file_name.
4642 2005-03-16  Andrew Haley  <aph@redhat.com>
4644         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
4646 2005-03-16  Tom Tromey  <tromey@redhat.com>
4648         * link.cc (ensure_class_linked): Removed #ifdef.
4649         (print_class_loaded): Likewise.
4650         (wait_for_state): Likewise.
4651         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
4652         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
4653         * include/java-interp.h: ... here.
4655 2005-03-16  Tom Tromey  <tromey@redhat.com>
4657         * gnu/java/lang/MainThread.java (run): Load main class using
4658         system class loader.
4660 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
4662         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
4663         lgcc_s to the libraries to link for Darwin.
4665 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
4667         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
4668         interpreter-specific code with #ifdef INTERPRETER.
4669         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
4670         (_Jv_StackTrace::FillInFrameInfo): Likewise.
4671         (_Jv_StackTrace::non_system_trace_fn): Likewise.
4672         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
4673         #ifdef INTERPRETER. Also protect declarations that use it.
4674         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
4675         #ifdef INTERPRETER block.
4677 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
4679         PR libgcj/20251
4680         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
4681         * Makefile.in: Rebuilt.
4683 2005-03-15  David Daney  <ddaney@avtrex.com>
4685         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
4686         count == 0 case.
4688 2005-03-15  David Daney  <ddaney@avtrex.com>
4690         * java/io/BufferedInputStream.java (available): Use 'in' instead
4691         of 'super' for underlying stream access.
4692         (close): Ditto.
4693         (read(byte[], int, int)): Ditto.
4694         (refill): Ditto.
4695         (skip): Call skip on underlying stream when possible.
4697 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
4699         * stacktrace.cc (GetCallerInfo): Return nothing in case of
4700         SJLJ_EXCEPTIONS is defined.
4702 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
4704         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
4705         tests.
4707 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
4709         * testsuite/lib/libjava.exp (libjava_init): Use the same target
4710         check for Darwin.
4711         (libjava_arguments): Likewise.
4713         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
4714         (gcj_jni_test_one): Likewise.
4715         (gcj_jni_invocation_compile_c_to_binary): Likewise.
4716         Add flags to keep the Darwin linker quiet.
4717         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
4718         Add -liconv for Darwin.
4720 2005-03-11  Tom Tromey  <tromey@redhat.com>
4722         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
4723         (_Jv_CheckABIVersion): Use it.
4725 2005-03-11  Tom Tromey  <tromey@redhat.com>
4727         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
4728         (usage): Document '-p'.
4729         * Makefile.in: Rebuilt.
4730         * Makefile.am (dbexecdir): New variable.
4731         (db_name): Likewise.
4732         (dbexec_DATA): Likewise.
4733         ($(db_name)): New target.
4734         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
4735         * java/lang/natRuntime.cc (insertSystemProperties): Set default
4736         system database.
4738 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
4740         * exception.cc: Remove stray MethodRef.h include.
4741         * java/lang/natClass.cc: Likewise.
4742         * gnu/gcj/runtime/MethodRef.java: Removed.
4743         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
4744         gnu/gcj/runtime/natStackTrace.cc: Really removed.
4745         * java/lang/natRuntime.cc (_load): Remove unsed variable.
4746         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
4747         * Makefile.in: Rebuilt.
4749 2005-03-10  Tom Tromey  <tromey@redhat.com>
4751         * Makefile.in: Rebuilt.
4752         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
4754 2005-03-10  Chris Burdess  <dog@bluezoo.org>
4756         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
4757         not currently parsing the DTD.
4759 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
4761         New Stack Trace infrastructure.
4762         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
4763         (gnu/gcj/runtime/StackTrace.java): Removed.
4764         (ordinary_java_source_files): Remove obsolete files.
4765         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
4766         * configure.host (fallback_backtrace_h): Set backtrace header
4767         for mingw and cygwin targets.
4768         * configure.ac: Make symlink for fallback backtrace headers.
4769         * Makefile.in, configure: Rebuilt.
4770         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
4771         Read 'LineNumberTable' attribute.
4772         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
4773         attribute.
4774         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
4775         table fields.
4776         * exception.cc: Remove unused include.
4777         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
4778         (SAVE_PC): New macro. Save current PC in the interpreter frame.
4779         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
4780         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
4781         table to direct threaded instruction values.
4782         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
4783         (_Jv_InterpMethod::run): No longer member function. All
4784         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
4785         is made or where an instruction could throw.
4786         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
4787         in line_table.
4788         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
4789         (catch_fpe): Likewise.
4790         * stacktrace.cc: New file. Stack trace code now here.
4791         * gnu/gcj/runtime/MethodRef.java:
4792         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
4793         calls addr2line to look up PC addresses in a given binary or shared
4794         library.
4795         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
4796         gnu/gcj/runtime/natStackTrace.cc: Removed.
4797         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
4798         this function name is specially recognised by the stack trace code
4799         and shouldn't be changed.
4800         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
4801         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
4802         (_Jv_InterpMethod::run): Update declaration.
4803         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
4804         friends.
4805         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
4806         * include/java-stack.h: New file. Declarations for stack tracing.
4807         * include/jvm.h (_Jv_Frame_info): Removed.
4808         * java/lang/Class.h: Update friend declarations.
4809         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
4810         exception message.
4811         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
4812         (getStackTrace): Now native.
4813         (data): New RawDataManaged field.
4814         * java/lang/natClass.cc: Update includes.
4815         (forName): Use _Jv_StackTrace::GetCallingClass for
4816         calling-classloader check.
4817         (getClassLoader): Likewise.
4818         * java/lang/natRuntime.cc: Update includes.
4819         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
4820         * java/lang/natVMSecurityManager.cc: Update includes.
4821         (getClassContext): Use _Jv_StackTrace::GetClassContext.
4822         * java/lang/natVMThrowable.cc: New file. Native methods for
4823         VMThrowable.
4824         * java/lang/reflect/natArray.cc: Update includes.
4825         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
4826         accessibility check.
4827         * java/lang/reflect/natConstructor.cc: Update includes.
4828         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
4829         accessibility check.
4830         * java/lang/reflect/natField.cc: Update includes.
4831         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
4832         accessibility check.
4833         * java/lang/reflect/natMethod.cc: Update includes.
4834         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
4835         accessibility check.
4836         * java/util/natResourceBundle.cc: Update includes.
4837         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
4838         * java/util/logging/natLogger.cc: Update includes. Use
4839         _Jv_StackTrace::GetCallerInfo to get call-site info.
4840         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
4841         implementation.
4842         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
4843         implementation.
4845 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4847         * testsuite/libjava.compile/PR20312.java: New file.
4848         * testsuite/libjava.compile/PR20312.xfail: Likewise.
4849         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
4851 2005-03-09  Andrew Haley  <aph@redhat.com>
4853         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
4854         New.
4855         (smallTransferTo): New.
4856         (transferFrom): Loop around smallTransferFrom, copying pageSize
4857         bytes each time.
4858         (transferTo): Likewise.
4860 2005-03-09  David Daney  <ddaney@avtrex.com>
4862         PR libgcj/20389
4863         Merge BufferedInputStream from GNU Classpath.
4864         * java/io/BufferedInputStream.java (marktarget): Field removed.
4865         (CHUNKSIZE): Field removed.
4866         (bufferSize): New field.
4867         (BufferedInputStream): Initialize fields.
4868         (close): Invalidate mark and buffer indexes.
4869         (mark):  Rewritten.
4870         (read()): Move mark handling code to refill.
4871         (read(byte[], int, int)): Ditto.
4872         (skip): Ditto and simplify EOF testing.
4873         (refill): Rewritten.
4874         * java/io/InputStreamReader.java (refill): Removed mark and reset
4875         of internal BufferedInputStream.
4877 2005-03-09  Tom Tromey  <tromey@redhat.com>
4879         * java/lang/natVMClassLoader.cc (defineClass): Reference
4880         'systemClassLoader' field directly.
4881         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
4882         field directly.
4883         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
4884         Reference 'systemClassLoader' field directly.
4885         (_Jv_UnregisterInitiatingLoader): Likewise.
4886         (_Jv_FindClass): Likewise.
4888 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
4890         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
4892         * java/lang/mprec.h: Remove commented headers. Fix comment to match
4893         the file in GNU Classpath style.
4895 2005-03-09  Tom Tromey  <tromey@redhat.com>
4897         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
4898         (toString): Synchronize.
4900 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
4902         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
4903         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
4905 2005-03-07  Tom Tromey  <tromey@redhat.com>
4907         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
4908         (usage): Document '-f'.
4910 2005-03-07  Tom Tromey  <tromey@redhat.com>
4912         * java/lang/VMCompiler.java (md5Digest): New field.
4913         (compileClass): Clone md5Digest instead of looking up a new one.
4915 2005-03-07  Tom Tromey  <tromey@redhat.com>
4917         PR java/20215:
4918         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
4919         * link.cc (find_field_helper): Added 'type' argument.
4920         (find_field): Updated.
4922 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
4923         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
4924         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
4925         throw UnsupportedOperationException, fixed comments.
4926         (setFont, setForeground): Fixed comments.
4927         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
4928         return type to boolean.
4929         (getNextEvent): Fixed javadocs.
4930         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
4931         (nativeQueueEmpty): Removed unused code.
4932         (iterateNativeQueue): Removed outer loop.
4934 2005-03-06  Roger Sayle  <roger@eyesopen.com>
4936         PR libgcj/20155
4937         * Makefile.am (libgcj0_convenience.la): Revert last change.
4938         * Makefile.in: Regenerate.
4940 2005-03-05  Anthony Green  <green@redhat.com>
4942         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
4943         classpath_jawt_lock, classpath_jawt_unlock): New functions.
4944         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
4945         (_Jv_GetDrawingSurface): Set visualID.
4946         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
4947         (JAWT_GetAWT): Set Lock and Unlock.
4948         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
4949         visualID.
4950         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
4951         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
4952         JAWT_LOCK_SURFACE_CHANGED): New macros.
4953         (struct _JAWT): Add Lock and Unlock.
4955 2005-03-05  Roger Sayle  <roger@eyesopen.com>
4956             Alexandre Oliva  <aoliva@redhat.com>
4957             Kelley Cook  <kcook@gcc.gnu.org>
4959         PR libgcj/20155
4960         * Makefile.am (libgcj0_convenience.la): New rule to create a file
4961         of the object files to link to avoid exceeding the command line
4962         length limits on some platforms.
4963         (clean-local): Clean up objectlist files.
4964         * Makefile.in: Regenerate.
4966 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
4968         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
4969         spec_case. Initialize pointer mlo.
4971         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
4972         delta.
4974         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
4976         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
4977         and k.
4979         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
4980         uninitialized variable z.
4982         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
4983         possible unused variables.
4985         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
4987         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
4989 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
4991         PR libgcj/20292
4992         * testsuite/libjava.jni/jni.exp
4993         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
4994         flags.
4995         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
4997 2005-02-23  David Daney  <ddaney@avtrex.com>
4999         * configure.host: Don't use -mxgot for MIPS builds.
5001 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
5003         PR bootstrap/17383
5004         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
5005         (COMPPATH): Removed.
5006         (ZIP, GCJH): Replace it with ../$(host_subdir).
5007         (built_gcc_dir): Add $(host_subdir).
5008         * configure: Regenerate.
5009         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5010         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
5011         external/w3c_dom/Makefile.in: Regenerate.
5013 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
5015         * java/awt/font/TextAttribute.java: changed names to lower case;
5016         (readResolve): implemented.
5017         Added doc comments all over.
5019 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5021         PR libgcj/16923
5022         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
5023         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
5024         value.  Move argument parsing code to prims.cc.
5025         * prims.cc (no_properties): Remove.
5026         (_Jv_Compiler_Properties): Initialize to NULL.
5027         (_Jv_Properties_Count): Initialize to 0.
5028         (parse_verbose_args): New function.
5029         (parse_init_args): New function.
5030         (_Jv_CreateJavaVM): Call parse_init_args.
5031         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
5032         * gcj/cni.h (JvVMOption): New struct.
5033         (JvVMInitArgs): Likewise.
5034         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
5035         void*.
5036         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
5037         (_Jv_VMInitArgs): Likewise.
5038         * include/java-props.h (_Jv_Properties_Count): Declare.
5039         * java/lang/natRuntime.cc (insertSystemProperties): Use
5040         _Jv_Properties_Count in for loop exit condition.
5041         * testsuite/libjava.jni/jni.exp
5042         (gcj_invocation_compile_c_to_binary): New procedure.
5043         (gcj_invocation_test_one): Likewise.
5044         (gcj_jni_run): Run JNI invocation API tests.
5045         * testsuite/libjava.jni/invocation/PR16923.c,
5046         testsuite/libjava.jni/invocation/PR16923.java,
5047         testsuite/libjava.jni/invocation/PR16923.out: New test.
5049 2005-02-23  Michael Koch  <konqueror@gmx.de>
5051         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
5052         * Makefile.in: Regenerated.
5054 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
5056         * gnu/java/nio/ChannelReader: Fixed comments.
5058 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
5060         * java/nio/channels/Channels: Added FIXMEs about
5061         stub method implementation.
5062         (newReader): Implemented.
5063         * gnu/java/nio/ChannelReader: New class.
5065 2005-02-23  Michael Koch  <konqueror@gmx.de>
5067         * java/text/SimpleDateFormat.java:
5068         Removed unused import.
5070 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5072         PR libgcj/20029:
5073         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
5074         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
5075         * Makefile.in: Regenerate.
5076         * configure.ac: Check for libXtst.
5077         * configure: Regenerate.
5079 2005-02-22  Mark Wielaard  <address@bogus.example.com>
5081         * java/security/AlgorithmParameterGenerator.java (getInstance):
5082         Mention provider when throwing NoSuchProviderException.
5083         * java/security/AlgorithmParameters.java (getInstance): Likewise.
5084         * java/security/KeyFactory.java (getInstance): Likewise.
5085         * java/security/KeyStore.java (getInstance): Likewise.
5086         * java/security/SecureRandom.java (getInstance): Likewise.
5087         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
5089 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5091         * java/lang/reflect/Proxy.java,
5092         java/net/URL.java,
5093         java/security/SecureRandom.java,
5094         java/util/Timer.java,
5095         java/util/prefs/AbstractPreferences.java:
5096         Don't catch java.lang.ThreadDeath.
5098 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
5100         * java/awt/font/TransformAttribute.java,
5101         (TransformAttribute(AffineTransform)): throw
5102         IllegalArgumentException for null transform.
5103         (getTransform): return a copy of transform.
5104         Added doc comments to all.
5106 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5108         * java/io/Externalizable.java,
5109         java/io/Serializable.java
5110         (serialVersionUID): Removed.
5111         * java/rmi/server/RemoteObject.java,
5112         java/rmi/server/UID.java
5113         (serialVersionUID): Made private.
5114         * java/rmi/server/RemoteRef.java,
5115         java/rmi/server/ServerRef.java
5116         (serialVersionUID): Set proper value.
5117         * java/security/interfaces/DSAPrivateKey.java,
5118         java/security/interfaces/DSAPublicKey.java,
5119         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5120         java/security/interfaces/RSAPrivateCrtKey.java,
5121         java/security/interfaces/RSAPrivateKey.java,
5122         java/security/interfaces/RSAPublicKey.java,
5123         javax/crypto/SecretKey.java
5124         (serialVersionUID): Added.
5126 2005-02-22  Tom Tromey  <tromey@redhat.com>
5128         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
5130 2005-02-22  Tom Tromey  <tromey@redhat.com>
5132         PR java/20056:
5133         * verify.cc (type::EITHER): New constant.
5134         (check_field_constant): Use it.
5135         (type::compatible): Handle it.
5137 2005-02-22  Michael Koch  <konqueror@gmx.de>
5139         * gnu/java/security/PolicyFile.java,
5140         gnu/java/security/pkcs/PKCS7SignedData.java,
5141         gnu/java/security/pkcs/SignerInfo.java:
5142         Fixed copyright header.
5144 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5146         * java/beans/PropertyDescriptor.java
5147         (PropertyDescriptor,setReadMethod): Set propertyType.
5149 2005-02-22  Michael Koch  <konqueror@gmx.de>
5151         * java/nio/DirectByteBufferImpl.java
5152         (owner): Fixed formatting of javadoc.
5153         * java/text/DateFormat.java
5154         (getAvailableLocales): Fixed formatting.
5155         * java/text/SimpleDateFormat.java:
5156         Fixed formatting and import statement order.
5157         * java/util/Calendar.java
5158         (Calendar): Fixed javadoc to be HTML compliant.
5159         * java/util/SimpleTimeZone.java:
5160         Fixed javadocs.
5162 2005-02-22  Roman Kennke <roman@ontographics.com>
5164         * javax/swing/plaf/basic/BasicLookAndFeel.java
5165         (initComponentDefaults): Fixed Button left and right margin.
5167 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5169         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
5170         empty Runnable.
5172         PR libgcj/17952:
5173         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5174         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5175         (getWidth): New method.
5176         (getHeight): Likewise.
5177         (create): Remove width, height and insets parameters.  Move size
5178         setup ...
5179         (realize_cb): ... here.  New function.
5180         (connectSignals): Connect realize_cb.
5181         (request_frame_extents): Remove FIXME.  Move
5182         postInsetsChangedEvent lookup ...
5183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
5184         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
5185         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
5186         jmethodID.
5187         (windowGetWidthID): Likewise.
5188         (windowGetHeightID): Likewise.
5190 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5192         PR libgcj/19842
5193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5194         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
5196 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
5198         Merge serialization from GNU Classpath.
5199         * gcj/method.h: Add missing #includes.
5200         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
5201         primitive class IDs on the stream here...
5202         (resolveClass): ...not here.
5203         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
5204         fields.
5205         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
5206         setLongNative, setIntNative, setShortNative, setCharNative,
5207         setByteNative, setBooleanNative, setObjectNative): New native methods.
5208         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
5209         setLongNative, setIntNative, setShortNative, setCharNative,
5210         setByteNative, setBooleanNative, setObjectNative): Implement them.
5211         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
5212         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
5213         the constructor here.
5214         (callConstructor): Removed.
5215         (getCallersClassLoader): Removed.
5216         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
5217         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
5218         to control whether setting final field values is permitted. Call
5219         getAddr() with checkFinal parameter instead of setAddr().
5220         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
5221         only if not done already.
5222         (getAddr): Add checkFinal parameter. Do the final field check only if
5223         checkFinal is set.
5224         (setAddr): Removed.
5226 2005-02-21  Mark Wielaard  <mark@klomp.org>
5228         # Fixes bug #11957
5229         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
5230         twice.
5232 2005-02-21  Mark Wielaard  <mark@klomp.org>
5234         Fixes bug #11618.
5235         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
5236         without a super class and us ObjectStreamClass.lookupForClassObject().
5237         (resolveClass): Check for primitive types.
5238         (lookupClass): Return null when argument is null.
5240 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
5242         * java/io/ObjectInputStream.java
5243         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
5245 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
5247         * java/io/ObjectOutputStream.java
5248         (writeObject, callWriteMethod): Replaced reflection with accessing
5249         cached info in ObjectStreamClass.
5250         (getMethod): Removed.
5251         * java/io/ObjectStreamClass.java
5252         (findMethod): Added check to make sure the method found has the
5253         right modifiers.
5254         (cacheMethods): Added writeReplace and writeObject methods.
5255         (setFlags): Look at new writeObjectMethod field instead of doing
5256         reflection again.
5257         (writeReplaceMethod): New field.
5258         (writeObjectMethod): New field.
5260 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
5261         Jeroen Frijters  <jeroen@frijters.net>
5263         * java/io/ObjectInputStream.java
5264         (newObject): Changed prototype. Get a constructor reflect object
5265         directly.
5266         (callConstructor): Removed.
5267         (allocateObject): Changed prototype.
5268         (readClassDescriptor): Build the constructor reflection directly.
5269         (readObject): Invoke newObject using the new prototype.
5271         * java/io/ObjectStreamClass.java
5272         (firstNonSerializableParent): Removed.
5273         (firstNonSerializableParentConstructor): Added.
5275 2005-02-21  Mark Wielaard  <mark@klomp.org>
5277         * gnu/java/locale/LocaleInformation_en.java: Extend
5278         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
5280 2005-02-21  Mark Wielaard  <mark@klomp.org>
5282         * java/text/SimpleDateFormat.java
5283         (SimpleDateFormat(String, DateFormatSymbols)): Throw
5284         NullPointerException when formatData is null.
5286 2005-02-21  Mark Wielaard  <mark@klomp.org>
5288         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
5289         taking dstSavings into account.
5291 2005-02-21  Sven de Marothy <sven@physto.se>
5293         * java/text/SimpleDateFormat.java,
5294         (parse): Set correct DST_OFFSET to the correct value.
5296 2005-02-21  Mark Wielaard  <mark@klomp.org>
5298         * java/util/SimpleTimeZone.java (checkRule): Throw
5299         IllegalArgumentException when month out of range.
5301 2005-02-21  Sven de Marothy  <sven@physto.se>
5303         * java/util/GregorianCalendar.java,
5304         (add): Don't set fields directly anymore. Use set()
5306 2005-02-21  Mark Wielaard  <mark@klomp.org>
5308         * java/text/SimpleDateFormat.java (CompiledField.toString):
5309         Use StringBuffer, not StringBuilder.
5310         (toString): Likewise.
5312 2005-02-21  Sven de Marothy  <sven@physto.se>
5314         * java/util/Calendar.java
5315         (clear): Dates should clear to local time.
5316         * java/util/GregorianCalendar.java
5317         (computeTime): Fix priority problem with DAY_OF_WEEK,
5318         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
5320 2005-02-21  Sven de Marothy  <sven@physto.se>
5322         * java/util/Calendar.java
5323         (Calendar): Constructor should clear fields.
5325 2005-02-21  Sven de Marothy  <sven@physto.se>
5327         * java/text/SimpleDateFormat.java
5328         (parse): Tweak handling of 2-year dates
5329         * java/util/Calendar.java
5330         (clear): Clear fields to correct value.
5331         * java/util/GregorianCalendar.java
5332         (computeTime): Correct handling of time zones.
5333         Correct field minimum values.
5335 2005-02-21  Sven de Marothy  <sven@physto.se>
5337         * java/util/Calendar.java
5338         (set) Invalidate all fields on first call to set().
5340 2005-02-21  Sven de Marothy  <sven@physto.se>
5342         * java/util/GregorianCalendar.java
5343         (computeTime): Fixed handling of time zones.
5345 2005-02-21  Sven de Marothy  <sven@physto.se>
5347         * java/util/Calendar.java
5348         (clear): Set values to Epoch instead of zero.
5349         (set): Set isSet to the relevant field pattern instead of just
5350         the field.
5351         * java/util/GregorianCalendar.java
5352         (getBundle): Removed.
5353         (getDayOfYear): Removed.
5354         (getFirstDayOfMonth): New private method.
5355         (nonLeniencyCheck): New private method.
5356         (computeTime): Correct handling of insufficient data.
5358 2005-02-21  Sven de Marothy <sven@physto.se>
5360         * java/util/Calendar.java: Invalidate ERA field on setting
5361         the YEAR.
5362         * java/util/SimpleTimeZone.java:
5363         (getDaysInMonth): Reimplemented.
5364         * java/util/GregorianCalendar.java:
5365         (getLinearTime): Removed.
5366         (isLeapYear(int,boolean)): Removed.
5367         (before(), after()): Removed.
5368         (computeTime): Reimplemented.
5370 2005-02-21  Sven de Marothy <sven@physto.se>
5372         * java/util/Calendar.java: Reformatted.
5373         * java/util/GregorianCalendar.java: Reformatted.
5374         * java/util/SimpleTimeZone.java: Reformatted.
5376 2005-02-21  Sven de Marothy <sven@physto.se>
5378         * java/util/GregorianCalendar.java
5379         (GregorianCalendar): Update fields in the constructor
5381 2005-02-21  Noa Resare  <noa@resare.com>
5383         * java/util/Calendar.java (explicitDSTOffset): New instance field.
5384         (set(int,int)): Set and use new field.
5385         (set(int,int,int)): Check new field.
5387 2005-02-21  Noa Resare  <address@hidden>
5389         * java/util/Calendar.java(set):
5390         Fix for DST related regression.
5392 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
5394         * java/util/Calendar.java
5395         (setTimeInMillis): Added call to clear, removed computeFields call.
5396         * java/util/Date.java
5397         (Date(int,int,int,int,int,int)): Removed workaround for
5398         GregorianCalendar bug.
5399         * java/util/GregorianCalendar.java
5400         (GregorianCalendar): Chained all constructors to a (new)
5401         common constructor.
5402         (computeTime): Fixed support for lenient month treatment.
5403         (getLinearDay): Return long instead of int.
5404         (calculateDay): Added fields argument and changed day argument
5405         to long.
5407 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5409         * java/text/SimpleDateFormat.java
5410         Lots of documentation updates.
5411         (readObject(java.io.ObjectInputStream)): Wraps
5412         IllegalArgumentException as specified.
5413         (compileFormat(String)): Uses standardChars
5414         rather than the local pattern characters.
5415         Throws IllegalArgumentException rather than
5416         storing a -1 field.
5417         (toString()): Extended to include all variables
5418         in a better format.
5419         (translateLocalizedPattern(String, String, String)):
5420         Renamed to better define the use of this method.
5422 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5424         * java/text/DateFormat.java:
5425         Documented pattern character offset constants and
5426         added new ones.
5427         (Field): Added new static fields for new pattern chars.
5428         * java/text/SimpleDateFormat.java:
5429         (CompiledField): Changed name of FieldSizePair class
5430         to CompiledField after adding the character as an
5431         attribute.  Changed fields to private and added
5432         accessors to give encapsulation.
5433         (CompiledField.CompiledField(int,int,char)): Extended
5434         with character field.
5435         (CompiledField.getField()): New accessor method.
5436         (CompiledField.getSize()): New acceessor method.
5437         (CompiledField.getCharacter()): New accessor method.
5438         (CompiledField.toString()): Added primarily for debugging.
5439         (standardChars): Now uses extended 24 character sequence.
5440         (compileFormat(String)): Changed to use CompiledField.
5441         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
5442         java.text.FieldPosition)): Changed to use CompiledField.
5443         New handler for RFC 822 timezones added.
5445 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5447         * java/text/SimpleDateFormat.java:
5448         (parse(String, java.text.ParsePosition)):
5449         Changed 'E' and 'M' cases to use both
5450         short and long names.  Extended 'z'
5451         case to also handle 'Z', and deal
5452         with simple GMT offsets such as +0100.
5453         (computeOffset(String)): New private method,
5454         which converts a GMT offset specification,
5455         such as GMT-0500 to a numeric offset in
5456         milliseconds.
5457         * java/util/TimeZone.java:
5458         (timezones()): Added "CEST", the daylight
5459         savings time version of "CET", or Central
5460         European Time.
5462 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5464         * java/text/SimpleDateFormat.java:
5465         (parse): Set the DST offset to 0 when parsing
5466         GMT offset timezones.
5468 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5470         * java/text/SimpleDateFormat.java:
5471         (parse): Use offset to set ZONE_OFFSET
5472         rather than the DST_OFFSET, so that
5473         GMT offset timezones change the right
5474         one.
5476 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5478         * java/text/SimpleDateFormat.java:
5479         (getDateFormatSymbols()): return a copy
5480         (setDateFormatSymbols(java.text.DateFormatSymbols)):
5481         throw exception on null input
5482         (clone()): implemented to clone
5483         internal fields
5485 2005-02-21  Sven de Marothy <sven@physto.se>
5487         * java/text/SimpleDateFormat.java
5488         (parse): comparison should be case-insensitive, ignore null
5489         strings.
5491 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
5493         * gnu/java/beans/IntrospectionIncubator.java
5494         (addMethod) Reverts the patch that ntroduced a regression (see bug
5495         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
5497 2005-02-21  Michael Koch  <konqueror@gmx.de>
5499         * java/awt/Checkbox.java
5500         (next_checkbox_number): New static variable.
5501         (generateName): New method.
5502         (getUniqueLong): Likewise.
5503         * java/awt/Window.java
5504         (next_window_number): New static variable.
5505         (generateName): New method.
5506         (getUniqueLong): Likewise.
5508 2005-02-21  Mark Wielaard  <mark@klomp.org>
5510         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
5511         exists.
5513 2005-02-21  Andrew Haley  <aph@redhat.com>
5515         * Makefile.in: Rebuilt.
5516         * Makefile.am (nat_source_files): Added natLogger.cc.
5517         * java/util/logging/natLogger.cc: New file.
5518         * java/util/logging/Logger.java (getCallerStackFrame): Now
5519         native.
5521 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
5523         * Makefile.am (all_property_files): Remove left over.
5524         (classes.stamp): Add stamp for the ONESTEP build, also known as
5525         --enable-libgcj-multifile.
5526         * Makefile.in: Regenerated.
5528 2005-02-21  Michael Koch  <konqueror@gmx.de>
5530         * java/awt/Button.java,
5531         java/awt/Container.java,
5532         java/awt/Font.java,
5533         java/awt/Frame.java,
5534         java/text/CollationElementIterator.java,
5535         java/text/RuleBasedCollator.java,
5536         java/util/PropertyPermission.java:
5537         Fixed formatting issues all over.
5539 2005-02-21  Mark Wielaard  <mark@klomp.org>
5541         * java/io/FileDescriptor.java (sync): Add real exception to
5542         SyncFailedException.
5544 2005-02-21  Michael Koch  <konqueror@gmx.de>
5546         * java/io/InputStreamReader.java:
5547         Fixed @author tag.
5549 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
5551         PR libgcj/19728:
5552         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
5554 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
5556         * libraries/javalib/gnu/regexp/RE.java,
5557         libraries/javalib/java/io/ObjectInputStream.java,
5558         libraries/javalib/java/security/AllPermission.java,
5559         libraries/javalib/java/security/BasicPermission.java,
5560         libraries/javalib/java/security/Permissions.java,
5561         libraries/javalib/java/text/MessageFormat.java:
5562         Made 'inner' classes real public static inner classes,
5563         and made them final where possible, or removed them
5564         where unused.
5566 2005-02-20  Michael Koch  <konqueror@gmx.de>
5568         * gnu/java/text/FormatCharacterIterator.java:
5569         Removed redundant modifiers.
5571 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
5573         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
5574         snprintf.
5576 2005-02-19  Michael Koch  <konqueror@gmx.de>
5578         * Makefile.am: Added new files in gnu/java/beans and
5579         java/beans/XMLDecoder.java.
5580         * Makefile.in: Regenerated.
5582 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
5584         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
5585         assignment behavior by using java.lang.reflect.Array.set()
5586         directly.
5588 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
5590         * gnu/java/beans/EmptyBeanInfo.java,
5591         gnu/java/beans/info/ComponentBeanInfo.java:
5592         Removed unused files.
5594 2005-02-19  Robert Schuster <thebohemian@gmx.net>
5596         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
5597         of AppletStub for java.beans.Beans.instantiate.
5598         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
5599         of AppletContext.
5600         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
5601         to be conformant with Javadoc guidelines.
5602         (instantiate): Added two more overloaded variants, reworked user
5603         documentation, fixed exception behavior, fixed behavior when
5604         deserializing null.
5606 2005-02-19  Mark Wielaard  <mark@klomp.org>
5608         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
5609         failing methods.
5610         * gnu/java/beans/decoder/DummyContext.java: Likewise.
5612 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
5614         * gnu/java/beans/decoder/AbstractContext.java,
5615         gnu/java/beans/decoder/AbstractCreatableContext.java,
5616         gnu/java/beans/decoder/AbstractElementHandler.java,
5617         gnu/java/beans/decoder/AbstractObjectContext.java,
5618         gnu/java/beans/decoder/ArrayContext.java,
5619         gnu/java/beans/decoder/ArrayHandler.java,
5620         gnu/java/beans/decoder/AssemblyException.java,
5621         gnu/java/beans/decoder/BooleanHandler.java,
5622         gnu/java/beans/decoder/ByteHandler.java,
5623         gnu/java/beans/decoder/CharHandler.java,
5624         gnu/java/beans/decoder/ClassHandler.java,
5625         gnu/java/beans/decoder/ConstructorContext.java,
5626         gnu/java/beans/decoder/Context.java,
5627         gnu/java/beans/decoder/DecoderContext.java,
5628         gnu/java/beans/decoder/DefaultExceptionListener.java,
5629         gnu/java/beans/decoder/DoubleHandler.java,
5630         gnu/java/beans/decoder/DummyContext.java,
5631         gnu/java/beans/decoder/DummyHandler.java,
5632         gnu/java/beans/decoder/ElementHandler.java,
5633         gnu/java/beans/decoder/FloatHandler.java,
5634         gnu/java/beans/decoder/GrowableArrayContext.java,
5635         gnu/java/beans/decoder/IndexContext.java,
5636         gnu/java/beans/decoder/IntHandler.java,
5637         gnu/java/beans/decoder/JavaHandler.java,
5638         gnu/java/beans/decoder/LongHandler.java,
5639         gnu/java/beans/decoder/MethodContext.java,
5640         gnu/java/beans/decoder/MethodFinder.java,
5641         gnu/java/beans/decoder/NullHandler.java,
5642         gnu/java/beans/decoder/ObjectContext.java,
5643         gnu/java/beans/decoder/ObjectHandler.java,
5644         gnu/java/beans/decoder/PersistenceParser.java,
5645         gnu/java/beans/decoder/PropertyContext.java,
5646         gnu/java/beans/decoder/ShortHandler.java,
5647         gnu/java/beans/decoder/SimpleHandler.java,
5648         gnu/java/beans/decoder/StaticMethodContext.java,
5649         gnu/java/beans/decoder/StringHandler.java,
5650         gnu/java/beans/decoder/VoidHandler.java: New class
5651         implementing java.beans.XMLDecoder decoding functionality.
5652         * java/beans/XMLDecoder.java: New class.
5654 2005-02-19  Michael Koch  <konqueror@gmx.de>
5656         * javax/swing/JTextField.java
5657         (notfiyAction): Added javadoc.
5659 2005-02-19  Sven de Marothy  <sven@physto.se>
5661         * javax/swing/SpinnerDateModel.java: Implemented.
5663 2005-02-19  Michael Koch  <konqueror@gmx.de>
5665         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
5666         * Makefile.in: Regenerated.
5668 2005-02-19  Michael Koch  <konqueror@gmx.de>
5670         * gnu/java/nio/SelectorImpl.java:
5671         Reworked import statements.
5672         (register): Removed unused code.
5673         * java/nio/channels/Channels.java: Reformatted.
5674         * java/nio/charset/Charset.java: Likewise.
5675         * java/rmi/server/RemoteObject.java
5676         (serialVersionUID): Made private.
5677         * java/rmi/server/UID.java
5678         (serialVersionUID): Likewise.
5680 2005-02-19  Michael Koch  <konqueror@gmx.de>
5682         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
5683         gnu/java/net/protocol/ftp/BlockInputStream.java,
5684         gnu/java/net/protocol/ftp/BlockOutputStream.java,
5685         gnu/java/net/protocol/ftp/CompressedInputStream.java,
5686         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
5687         gnu/java/net/protocol/ftp/DTPInputStream.java,
5688         gnu/java/net/protocol/ftp/DTP.java,
5689         gnu/java/net/protocol/ftp/DTPOutputStream.java,
5690         gnu/java/net/protocol/ftp/FTPConnection.java,
5691         gnu/java/net/protocol/ftp/FTPException.java,
5692         gnu/java/net/protocol/ftp/FTPResponse.java,
5693         gnu/java/net/protocol/ftp/FTPURLConnection.java,
5694         gnu/java/net/protocol/ftp/Handler.java,
5695         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
5696         gnu/java/net/protocol/ftp/StreamInputStream.java,
5697         gnu/java/net/protocol/ftp/StreamOutputStream.java,
5698         gnu/java/net/CRLFInputStream.java,
5699         gnu/java/net/CRLFOutputStream.java,
5700         gnu/java/net/GetLocalHostAction.java,
5701         gnu/java/net/protocol/ftp/package.html: New files.
5702         * Makefile.am: Added new files.
5703         * Makefile.in: Regenerated.
5705 2005-02-18  Tom Tromey  <tromey@redhat.com>
5707         * link.cc (make_vtable): Remove abstract method check.
5708         (append_partial_itable): Likewise.
5710         PR java/20056:
5711         * verify.cc (type::equals): Fixed test.
5712         * testsuite/libjava.lang/PR20056.out: New file.
5713         * testsuite/libjava.lang/PR20056.java: New file.
5715 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
5717         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
5718         not the HashEntry. Reported by Jean-Marie White.
5720 2005-02-18  Tom Tromey  <tromey@redhat.com>
5722         PR java/20056:
5723         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
5724         * link.cc (has_field_p): New function.
5725         * verify.cc (check_field_constant): Added 'putfield' argument.
5726         (verify_instructions_0): Updated.
5727         (type::equals): New method.
5729 2005-02-18  Anthony Green  <green@redhat.com>
5731         * NEWS: Draft of libgcj NEWS for 4.0.
5733 2005-02-18  Anthony Green  <green@redhat.com>
5735         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
5736         architecture names to "i386" for compatibility reasons.  Win32
5737         still uses "x86".
5739 2005-02-18  Anthony Green  <green@redhat.com>
5741         * gij.cc (version): Change year for '--version' to 2005.
5742         * gnu/gcj/convert/Convert.java: Ditto.
5743         * gnu/java/rmi/rmic/RMIC.java: Ditto.
5744         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
5746         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
5747         recent copyright year in `--version' output.
5749 2005-02-18  Robert Schuster <thebohemian@gmx.net>
5751         * java/nio/charset/Charset.java (forName): Throws
5752         IllegalArgumentException when argument is null
5753         and added documentation.
5755 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5757         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
5758         Move the position of the source buffer forward.
5760 2005-02-17  Tom Tromey  <tromey@redhat.com>
5762         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
5763         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
5764         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
5765         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
5766         Changed type of second argument.  Rewrote.
5767         (make_vtable): Use it.
5768         (append_partial_itable): Updated.
5769         (layout_vtable_methods): Updated.
5771 2005-02-17  Michael Koch  <konqueror@gmx.de>
5773         * gnu/java/net/PlainSocketImpl.java
5774         (shutdownInput): Added javadoc.
5775         (shutdownOutput): Likewise.
5777 2005-02-17  Michael Koch  <konqueror@gmx.de>
5779         * javax/print/attribute/standard/Chromaticity.java,
5780         javax/print/attribute/standard/Destination.java,
5781         javax/print/attribute/standard/MediaPrintableArea.java,
5782         javax/print/attribute/standard/MediaSize.java: New files.
5783         * Makefile.am: Added new files.
5784         * Makefile.in: Regenerated.
5786 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5787             Michael Koch  <konqueror@gmx.de>
5789         * gnu/java/net/protocol/http/Cookie.java,
5790         gnu/java/net/protocol/http/HTTPConnection.java,
5791         gnu/java/net/protocol/http/HTTPDateFormat.java,
5792         gnu/java/net/protocol/http/Request.java,
5793         gnu/java/nio/PipeImpl.java,
5794         gnu/java/rmi/dgc/DGCImpl.java,
5795         gnu/java/rmi/server/ConnectionRunnerPool.java,
5796         gnu/java/rmi/server/UnicastConnectionManager.java,
5797         gnu/java/security/der/DERWriter.java,
5798         gnu/java/security/pkcs/SignerInfo.java,
5799         gnu/java/security/provider/EncodedKeyFactory.java,
5800         gnu/java/security/provider/GnuDHPublicKey.java,
5801         gnu/java/security/provider/GnuDSAPrivateKey.java,
5802         gnu/java/security/provider/GnuDSAPublicKey.java,
5803         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
5804         gnu/java/security/x509/X500DistinguishedName.java,
5805         gnu/java/security/x509/X509CRL.java,
5806         gnu/java/security/x509/X509CRLEntry.java,
5807         gnu/java/security/x509/X509Certificate.java,
5808         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
5809         gnu/java/security/x509/ext/CertificatePolicies.java,
5810         gnu/java/security/x509/ext/PolicyConstraint.java,
5811         gnu/xml/dom/Consumer.java,
5812         gnu/xml/dom/DomCharacterData.java,
5813         gnu/xml/dom/DomDocument.java,
5814         gnu/xml/dom/DomDocumentBuilder.java,
5815         gnu/xml/dom/DomIterator.java,
5816         gnu/xml/dom/DomNode.java,
5817         gnu/xml/dom/DomXPathExpression.java,
5818         gnu/xml/dom/DomXPathResult.java,
5819         gnu/xml/dom/JAXPFactory.java,
5820         gnu/xml/pipeline/CallFilter.java,
5821         gnu/xml/pipeline/DomConsumer.java,
5822         gnu/xml/pipeline/LinkFilter.java,
5823         gnu/xml/pipeline/NSFilter.java,
5824         gnu/xml/pipeline/TeeConsumer.java,
5825         gnu/xml/pipeline/ValidationConsumer.java,
5826         gnu/xml/pipeline/WellFormednessFilter.java,
5827         gnu/xml/pipeline/XIncludeFilter.java,
5828         gnu/xml/pipeline/XsltFilter.java,
5829         gnu/xml/transform/ApplyImportsNode.java,
5830         gnu/xml/transform/Bindings.java,
5831         gnu/xml/transform/DocumentFunction.java,
5832         gnu/xml/transform/FormatNumberFunction.java,
5833         gnu/xml/transform/NodeNumberNode.java,
5834         gnu/xml/transform/NumberNode.java,
5835         gnu/xml/transform/Stylesheet.java,
5836         gnu/xml/transform/SystemPropertyFunction.java,
5837         gnu/xml/transform/Template.java,
5838         gnu/xml/transform/TemplatesImpl.java,
5839         gnu/xml/transform/TransformerImpl.java,
5840         gnu/xml/transform/ValueOfNode.java,
5841         gnu/xml/transform/XSLURIResolver.java,
5842         gnu/xml/util/DoParse.java,
5843         gnu/xml/util/Resolver.java,
5844         gnu/xml/xpath/Expr.java,
5845         gnu/xml/xpath/FunctionCall.java,
5846         gnu/xml/xpath/RelationalExpr.java,
5847         gnu/xml/xpath/Selector.java,
5848         gnu/xml/xpath/XPathParser.java:
5849         Reworked import statements, fixed modifier order and some little
5850         formatting issues.
5852 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5854         * java/nio/ByteBufferImpl.java (compact):
5855         Set position and limit even if no bytes were moved.
5857 2005-02-17  Michael Koch  <konqueror@gmx.de>
5859         * java/nio/CharViewBufferImpl.java (compact): Likewise.
5860         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
5861         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
5862         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
5863         * java/nio/IntViewBufferImpl.java (compact): Likewise.
5864         * java/nio/LongViewBufferImpl.java (compact): Likewise.
5865         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
5866         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
5867         * java/nio/FloatBufferImpl.java (compact): Set position.
5868         * java/nio/CharBufferImpl.java (compact): Likewise.
5869         * java/nio/DoubleBufferImpl.java (compact): Likewise.
5870         * java/nio/IntBufferImpl.java (compact): Likewise.
5871         * java/nio/LongBufferImpl.java (compact): Likewise.
5872         * java/nio/ShortBufferImpl.java (compact): Likewise.
5874 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
5876         * java/nio/ByteBufferImpl.java,
5877         java/nio/CharBufferImpl.java,
5878         java/nio/DirectByteBufferImpl.java,
5879         java/nio/DoubleBufferImpl.java,
5880         java/nio/FloatBufferImpl.java,
5881         java/nio/IntBufferImpl.java,
5882         java/nio/LongBufferImpl.java,
5883         java/nio/MappedByteBufferImpl.java,
5884         java/nio/ShortBufferImpl.java
5885         (compact): Added explicit read-only check and invalidate mark.
5887 2005-02-17  Michael Koch  <konqueror@gmx.de>
5889         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
5890         gnu/java/awt/peer/gtk/GdkFontPeer.java,
5891         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5892         gnu/java/awt/peer/gtk/GdkGraphics.java,
5893         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5894         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
5895         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5896         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5897         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5898         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
5899         gnu/java/awt/peer/gtk/GdkTextLayout.java,
5900         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5901         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5902         gnu/java/awt/peer/gtk/GtkClipboard.java,
5903         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5904         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5905         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5906         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5907         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5908         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5909         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5910         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5911         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5912         gnu/java/awt/peer/gtk/GtkToolkit.java,
5913         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5914         java/applet/Applet.java,
5915         java/awt/AWTError.java,
5916         java/awt/AWTEvent.java,
5917         java/awt/AWTEventMulticaster.java,
5918         java/awt/AWTException.java,
5919         java/awt/AWTKeyStroke.java,
5920         java/awt/AWTPermission.java,
5921         java/awt/ActiveEvent.java,
5922         java/awt/Adjustable.java,
5923         java/awt/AlphaComposite.java,
5924         java/awt/AttributeValue.java,
5925         java/awt/BorderLayout.java,
5926         java/awt/BufferCapabilities.java,
5927         java/awt/Button.java,
5928         java/awt/Canvas.java,
5929         java/awt/CheckboxGroup.java,
5930         java/awt/CheckboxMenuItem.java,
5931         java/awt/Color.java,
5932         java/awt/ColorPaintContext.java,
5933         java/awt/Component.java,
5934         java/awt/ComponentOrientation.java,
5935         java/awt/Composite.java,
5936         java/awt/CompositeContext.java,
5937         java/awt/Container.java,
5938         java/awt/ContainerOrderFocusTraversalPolicy.java,
5939         java/awt/DefaultFocusTraversalPolicy.java,
5940         java/awt/Dialog.java,
5941         java/awt/Dimension.java,
5942         java/awt/DisplayMode.java,
5943         java/awt/EventQueue.java,
5944         java/awt/FileDialog.java,
5945         java/awt/FontFormatException.java,
5946         java/awt/Graphics.java,
5947         java/awt/Graphics2D.java,
5948         java/awt/GraphicsConfigTemplate.java,
5949         java/awt/GraphicsConfiguration.java,
5950         java/awt/GraphicsDevice.java,
5951         java/awt/GridBagLayout.java,
5952         java/awt/GridBagLayoutInfo.java,
5953         java/awt/GridLayout.java,
5954         java/awt/HeadlessException.java,
5955         java/awt/IllegalComponentStateException.java,
5956         java/awt/Image.java,
5957         java/awt/Insets.java,
5958         java/awt/ItemSelectable.java,
5959         java/awt/JobAttributes.java,
5960         java/awt/KeyEventDispatcher.java,
5961         java/awt/KeyEventPostProcessor.java,
5962         java/awt/KeyboardFocusManager.java,
5963         java/awt/Label.java,
5964         java/awt/LayoutManager.java,
5965         java/awt/MenuBar.java,
5966         java/awt/MenuComponent.java,
5967         java/awt/MenuContainer.java,
5968         java/awt/PageAttributes.java,
5969         java/awt/Paint.java,
5970         java/awt/PaintContext.java,
5971         java/awt/Panel.java,
5972         java/awt/Point.java,
5973         java/awt/Polygon.java,
5974         java/awt/PrintGraphics.java,
5975         java/awt/PrintJob.java,
5976         java/awt/Rectangle.java,
5977         java/awt/RenderingHints.java,
5978         java/awt/Shape.java,
5979         java/awt/Stroke.java,
5980         java/awt/SystemColor.java,
5981         java/awt/Toolkit.java,
5982         java/awt/Transparency.java,
5983         java/awt/Window.java,
5984         java/awt/color/CMMException.java,
5985         java/awt/color/ColorSpace.java,
5986         java/awt/color/ICC_ColorSpace.java,
5987         java/awt/color/ICC_Profile.java,
5988         java/awt/color/ProfileDataException.java,
5989         java/awt/datatransfer/FlavorTable.java,
5990         java/awt/datatransfer/MimeTypeParseException.java,
5991         java/awt/datatransfer/Transferable.java,
5992         java/awt/datatransfer/UnsupportedFlavorException.java,
5993         java/awt/dnd/Autoscroll.java,
5994         java/awt/dnd/DnDConstants.java,
5995         java/awt/dnd/DragGestureListener.java,
5996         java/awt/dnd/DragSourceAdapter.java,
5997         java/awt/dnd/DragSourceDropEvent.java,
5998         java/awt/dnd/DragSourceListener.java,
5999         java/awt/dnd/DragSourceMotionListener.java,
6000         java/awt/dnd/DropTargetAdapter.java,
6001         java/awt/dnd/DropTargetContext.java,
6002         java/awt/dnd/DropTargetListener.java,
6003         java/awt/dnd/InvalidDnDOperationException.java,
6004         java/awt/dnd/MouseDragGestureRecognizer.java,
6005         java/awt/dnd/peer/DropTargetContextPeer.java,
6006         java/awt/event/AWTEventListener.java,
6007         java/awt/event/AWTEventListenerProxy.java,
6008         java/awt/event/ActionEvent.java,
6009         java/awt/event/AdjustmentEvent.java,
6010         java/awt/event/AdjustmentListener.java,
6011         java/awt/event/ComponentAdapter.java,
6012         java/awt/event/ComponentEvent.java,
6013         java/awt/event/ComponentListener.java,
6014         java/awt/event/ContainerAdapter.java,
6015         java/awt/event/ContainerEvent.java,
6016         java/awt/event/ContainerListener.java,
6017         java/awt/event/FocusAdapter.java,
6018         java/awt/event/FocusEvent.java,
6019         java/awt/event/FocusListener.java,
6020         java/awt/event/InputEvent.java,
6021         java/awt/event/InputMethodEvent.java,
6022         java/awt/event/InputMethodListener.java,
6023         java/awt/event/InvocationEvent.java,
6024         java/awt/event/ItemEvent.java,
6025         java/awt/event/ItemListener.java,
6026         java/awt/event/KeyAdapter.java,
6027         java/awt/event/KeyEvent.java,
6028         java/awt/event/KeyListener.java,
6029         java/awt/event/MouseAdapter.java,
6030         java/awt/event/MouseEvent.java,
6031         java/awt/event/MouseListener.java,
6032         java/awt/event/MouseMotionAdapter.java,
6033         java/awt/event/MouseMotionListener.java,
6034         java/awt/event/MouseWheelEvent.java,
6035         java/awt/event/MouseWheelListener.java,
6036         java/awt/event/PaintEvent.java,
6037         java/awt/event/TextEvent.java,
6038         java/awt/event/TextListener.java,
6039         java/awt/event/WindowAdapter.java,
6040         java/awt/event/WindowEvent.java,
6041         java/awt/event/WindowFocusListener.java,
6042         java/awt/event/WindowListener.java,
6043         java/awt/event/WindowStateListener.java,
6044         java/awt/font/TextHitInfo.java,
6045         java/awt/geom/CubicCurve2D.java,
6046         java/awt/geom/Dimension2D.java,
6047         java/awt/geom/Ellipse2D.java,
6048         java/awt/geom/IllegalPathStateException.java,
6049         java/awt/geom/Line2D.java,
6050         java/awt/geom/NoninvertibleTransformException.java,
6051         java/awt/geom/PathIterator.java,
6052         java/awt/geom/Point2D.java,
6053         java/awt/geom/QuadCurve2D.java,
6054         java/awt/geom/RectangularShape.java,
6055         java/awt/geom/RoundRectangle2D.java,
6056         java/awt/im/InputContext.java,
6057         java/awt/im/InputMethodHighlight.java,
6058         java/awt/im/InputMethodRequests.java,
6059         java/awt/im/InputSubset.java,
6060         java/awt/im/spi/InputMethod.java,
6061         java/awt/im/spi/InputMethodDescriptor.java,
6062         java/awt/image/BandCombineOp.java,
6063         java/awt/image/BandedSampleModel.java,
6064         java/awt/image/ByteLookupTable.java,
6065         java/awt/image/ComponentSampleModel.java,
6066         java/awt/image/DataBuffer.java,
6067         java/awt/image/DataBufferByte.java,
6068         java/awt/image/DataBufferDouble.java,
6069         java/awt/image/DataBufferFloat.java,
6070         java/awt/image/DataBufferInt.java,
6071         java/awt/image/DataBufferShort.java,
6072         java/awt/image/DataBufferUShort.java,
6073         java/awt/image/ImagingOpException.java,
6074         java/awt/image/Kernel.java,
6075         java/awt/image/LookupTable.java,
6076         java/awt/image/MultiPixelPackedSampleModel.java,
6077         java/awt/image/PackedColorModel.java,
6078         java/awt/image/PixelInterleavedSampleModel.java,
6079         java/awt/image/RGBImageFilter.java,
6080         java/awt/image/Raster.java,
6081         java/awt/image/RasterFormatException.java,
6082         java/awt/image/SampleModel.java,
6083         java/awt/image/ShortLookupTable.java,
6084         java/awt/image/SinglePixelPackedSampleModel.java,
6085         java/awt/image/WritableRaster.java,
6086         java/awt/print/PrinterAbortException.java,
6087         java/awt/print/PrinterException.java,
6088         java/awt/print/PrinterIOException.java,
6089         java/beans/AppletInitializer.java,
6090         java/beans/ExceptionListener.java,
6091         java/beans/PropertyChangeEvent.java,
6092         java/beans/PropertyChangeListenerProxy.java,
6093         java/beans/PropertyChangeSupport.java,
6094         java/beans/PropertyDescriptor.java,
6095         java/beans/VetoableChangeListenerProxy.java,
6096         java/beans/VetoableChangeSupport.java,
6097         java/io/BufferedReader.java,
6098         java/io/ByteArrayInputStream.java,
6099         java/io/ByteArrayOutputStream.java,
6100         java/io/CharArrayReader.java,
6101         java/io/CharArrayWriter.java,
6102         java/io/CharConversionException.java,
6103         java/io/DataInput.java,
6104         java/io/DataInputStream.java,
6105         java/io/DataOutput.java,
6106         java/io/DataOutputStream.java,
6107         java/io/EOFException.java,
6108         java/io/FileInputStream.java,
6109         java/io/FileNotFoundException.java,
6110         java/io/FileOutputStream.java,
6111         java/io/FilenameFilter.java,
6112         java/io/FilterInputStream.java,
6113         java/io/FilterOutputStream.java,
6114         java/io/FilterReader.java,
6115         java/io/FilterWriter.java,
6116         java/io/IOException.java,
6117         java/io/InputStream.java,
6118         java/io/InterruptedIOException.java,
6119         java/io/LineNumberInputStream.java,
6120         java/io/LineNumberReader.java,
6121         java/io/ObjectInputStream.java,
6122         java/io/ObjectStreamException.java,
6123         java/io/OptionalDataException.java,
6124         java/io/OutputStream.java,
6125         java/io/OutputStreamWriter.java,
6126         java/io/PrintStream.java,
6127         java/io/PrintWriter.java,
6128         java/io/PushbackInputStream.java,
6129         java/io/PushbackReader.java,
6130         java/io/RandomAccessFile.java,
6131         java/io/Reader.java,
6132         java/io/SequenceInputStream.java,
6133         java/io/Serializable.java,
6134         java/io/StreamCorruptedException.java,
6135         java/io/StreamTokenizer.java,
6136         java/io/StringBufferInputStream.java,
6137         java/io/StringWriter.java,
6138         java/io/SyncFailedException.java,
6139         java/io/UTFDataFormatException.java,
6140         java/io/UnsupportedEncodingException.java,
6141         java/io/WriteAbortedException.java,
6142         java/io/Writer.java,
6143         java/lang/AbstractMethodError.java,
6144         java/lang/ArithmeticException.java,
6145         java/lang/ArrayIndexOutOfBoundsException.java,
6146         java/lang/ArrayStoreException.java,
6147         java/lang/AssertionError.java,
6148         java/lang/Boolean.java,
6149         java/lang/Byte.java,
6150         java/lang/Class.java,
6151         java/lang/ClassCastException.java,
6152         java/lang/ClassCircularityError.java,
6153         java/lang/ClassLoader.java,
6154         java/lang/ClassNotFoundException.java,
6155         java/lang/CloneNotSupportedException.java,
6156         java/lang/Cloneable.java,
6157         java/lang/Comparable.java,
6158         java/lang/Compiler.java,
6159         java/lang/Double.java,
6160         java/lang/Error.java,
6161         java/lang/Exception.java,
6162         java/lang/ExceptionInInitializerError.java,
6163         java/lang/Float.java,
6164         java/lang/IllegalAccessError.java,
6165         java/lang/IllegalAccessException.java,
6166         java/lang/IllegalArgumentException.java,
6167         java/lang/IllegalMonitorStateException.java,
6168         java/lang/IllegalStateException.java,
6169         java/lang/IllegalThreadStateException.java,
6170         java/lang/IncompatibleClassChangeError.java,
6171         java/lang/IndexOutOfBoundsException.java,
6172         java/lang/InheritableThreadLocal.java,
6173         java/lang/InstantiationError.java,
6174         java/lang/InstantiationException.java,
6175         java/lang/Integer.java,
6176         java/lang/InternalError.java,
6177         java/lang/InterruptedException.java,
6178         java/lang/LinkageError.java,
6179         java/lang/Long.java,
6180         java/lang/NegativeArraySizeException.java,
6181         java/lang/NoClassDefFoundError.java,
6182         java/lang/NoSuchFieldError.java,
6183         java/lang/NoSuchFieldException.java,
6184         java/lang/NoSuchMethodError.java,
6185         java/lang/NoSuchMethodException.java,
6186         java/lang/NullPointerException.java,
6187         java/lang/Number.java,
6188         java/lang/NumberFormatException.java,
6189         java/lang/OutOfMemoryError.java,
6190         java/lang/Process.java,
6191         java/lang/Runnable.java,
6192         java/lang/Runtime.java,
6193         java/lang/RuntimeException.java,
6194         java/lang/RuntimePermission.java,
6195         java/lang/SecurityException.java,
6196         java/lang/SecurityManager.java,
6197         java/lang/Short.java,
6198         java/lang/StackOverflowError.java,
6199         java/lang/StackTraceElement.java,
6200         java/lang/StringBuffer.java,
6201         java/lang/StringIndexOutOfBoundsException.java,
6202         java/lang/ThreadDeath.java,
6203         java/lang/ThreadGroup.java,
6204         java/lang/Throwable.java,
6205         java/lang/UnsatisfiedLinkError.java,
6206         java/lang/UnsupportedOperationException.java,
6207         java/lang/VerifyError.java,
6208         java/lang/VirtualMachineError.java,
6209         java/lang/reflect/AccessibleObject.java,
6210         java/lang/reflect/Array.java,
6211         java/lang/reflect/InvocationTargetException.java,
6212         java/lang/reflect/Member.java,
6213         java/lang/reflect/Modifier.java,
6214         java/lang/reflect/Proxy.java,
6215         java/lang/reflect/ReflectPermission.java,
6216         java/lang/reflect/UndeclaredThrowableException.java,
6217         java/math/BigInteger.java,
6218         java/net/NetworkInterface.java,
6219         java/nio/ByteBufferHelper.java,
6220         java/nio/ByteBufferImpl.java,
6221         java/nio/DirectByteBufferImpl.java,
6222         java/nio/DoubleBufferImpl.java,
6223         java/nio/FloatBufferImpl.java,
6224         java/nio/IntBufferImpl.java,
6225         java/nio/LongBufferImpl.java,
6226         java/nio/ShortBufferImpl.java,
6227         java/nio/channels/Channel.java,
6228         java/nio/channels/IllegalBlockingModeException.java,
6229         java/nio/charset/spi/CharsetProvider.java,
6230         java/security/AccessControlException.java,
6231         java/security/BasicPermission.java,
6232         java/security/DigestException.java,
6233         java/security/DigestInputStream.java,
6234         java/security/DigestOutputStream.java,
6235         java/security/GeneralSecurityException.java,
6236         java/security/Guard.java,
6237         java/security/GuardedObject.java,
6238         java/security/InvalidAlgorithmParameterException.java,
6239         java/security/InvalidKeyException.java,
6240         java/security/InvalidParameterException.java,
6241         java/security/Key.java,
6242         java/security/KeyException.java,
6243         java/security/KeyManagementException.java,
6244         java/security/KeyStoreException.java,
6245         java/security/MessageDigestSpi.java,
6246         java/security/NoSuchAlgorithmException.java,
6247         java/security/NoSuchProviderException.java,
6248         java/security/Permission.java,
6249         java/security/PermissionCollection.java,
6250         java/security/Permissions.java,
6251         java/security/Principal.java,
6252         java/security/PrivateKey.java,
6253         java/security/PrivilegedActionException.java,
6254         java/security/ProviderException.java,
6255         java/security/PublicKey.java,
6256         java/security/SecureRandom.java,
6257         java/security/SecureRandomSpi.java,
6258         java/security/SignatureException.java,
6259         java/security/SignatureSpi.java,
6260         java/security/SignedObject.java,
6261         java/security/Signer.java,
6262         java/security/UnrecoverableKeyException.java,
6263         java/security/UnresolvedPermission.java,
6264         java/security/acl/AclNotFoundException.java,
6265         java/security/acl/LastOwnerException.java,
6266         java/security/acl/NotOwnerException.java,
6267         java/security/cert/CertPath.java,
6268         java/security/cert/CertPathBuilderException.java,
6269         java/security/cert/CertPathValidatorException.java,
6270         java/security/cert/CertStoreException.java,
6271         java/text/BreakIterator.java,
6272         java/text/ChoiceFormat.java,
6273         java/text/CollationElementIterator.java,
6274         java/text/CollationKey.java,
6275         java/text/Collator.java,
6276         java/text/DateFormat.java,
6277         java/text/DateFormatSymbols.java,
6278         java/text/DecimalFormat.java,
6279         java/text/DecimalFormatSymbols.java,
6280         java/text/FieldPosition.java,
6281         java/text/Format.java,
6282         java/text/NumberFormat.java,
6283         java/text/ParseException.java,
6284         java/text/ParsePosition.java,
6285         java/text/StringCharacterIterator.java,
6286         java/util/AbstractCollection.java,
6287         java/util/AbstractList.java,
6288         java/util/AbstractMap.java,
6289         java/util/AbstractSequentialList.java,
6290         java/util/AbstractSet.java,
6291         java/util/ArrayList.java,
6292         java/util/Arrays.java,
6293         java/util/BitSet.java,
6294         java/util/Collection.java,
6295         java/util/Collections.java,
6296         java/util/Comparator.java,
6297         java/util/ConcurrentModificationException.java,
6298         java/util/Currency.java,
6299         java/util/Date.java,
6300         java/util/EmptyStackException.java,
6301         java/util/Enumeration.java,
6302         java/util/EventListener.java,
6303         java/util/EventListenerProxy.java,
6304         java/util/EventObject.java,
6305         java/util/HashMap.java,
6306         java/util/HashSet.java,
6307         java/util/Hashtable.java,
6308         java/util/IdentityHashMap.java,
6309         java/util/Iterator.java,
6310         java/util/LinkedHashSet.java,
6311         java/util/LinkedList.java,
6312         java/util/List.java,
6313         java/util/ListIterator.java,
6314         java/util/ListResourceBundle.java,
6315         java/util/Map.java,
6316         java/util/MissingResourceException.java,
6317         java/util/NoSuchElementException.java,
6318         java/util/Observable.java,
6319         java/util/Observer.java,
6320         java/util/Properties.java,
6321         java/util/PropertyPermissionCollection.java,
6322         java/util/RandomAccess.java,
6323         java/util/Set.java,
6324         java/util/SortedMap.java,
6325         java/util/SortedSet.java,
6326         java/util/Stack.java,
6327         java/util/StringTokenizer.java,
6328         java/util/TooManyListenersException.java,
6329         java/util/TreeMap.java,
6330         java/util/TreeSet.java,
6331         java/util/Vector.java,
6332         java/util/logging/FileHandler.java,
6333         java/util/logging/Level.java,
6334         java/util/prefs/BackingStoreException.java,
6335         java/util/prefs/InvalidPreferencesFormatException.java,
6336         java/util/prefs/Preferences.java,
6337         javax/accessibility/Accessible.java,
6338         javax/accessibility/AccessibleAction.java,
6339         javax/accessibility/AccessibleBundle.java,
6340         javax/accessibility/AccessibleComponent.java,
6341         javax/accessibility/AccessibleContext.java,
6342         javax/accessibility/AccessibleEditableText.java,
6343         javax/accessibility/AccessibleExtendedComponent.java,
6344         javax/accessibility/AccessibleExtendedTable.java,
6345         javax/accessibility/AccessibleHyperlink.java,
6346         javax/accessibility/AccessibleHypertext.java,
6347         javax/accessibility/AccessibleIcon.java,
6348         javax/accessibility/AccessibleKeyBinding.java,
6349         javax/accessibility/AccessibleRelation.java,
6350         javax/accessibility/AccessibleRelationSet.java,
6351         javax/accessibility/AccessibleResourceBundle.java,
6352         javax/accessibility/AccessibleRole.java,
6353         javax/accessibility/AccessibleSelection.java,
6354         javax/accessibility/AccessibleState.java,
6355         javax/accessibility/AccessibleStateSet.java,
6356         javax/accessibility/AccessibleTable.java,
6357         javax/accessibility/AccessibleTableModelChange.java,
6358         javax/accessibility/AccessibleText.java,
6359         javax/accessibility/AccessibleValue.java,
6360         javax/imageio/IIOException.java,
6361         javax/imageio/ImageIO.java,
6362         javax/imageio/spi/IIOServiceProvider.java,
6363         javax/imageio/spi/ImageInputStreamSpi.java,
6364         javax/imageio/spi/ImageOutputStreamSpi.java,
6365         javax/imageio/spi/ImageReaderWriterSpi.java,
6366         javax/imageio/spi/ImageTranscoderSpi.java,
6367         javax/imageio/spi/RegisterableService.java,
6368         javax/imageio/spi/ServiceRegistry.java,
6369         javax/imageio/stream/IIOByteBuffer.java,
6370         javax/imageio/stream/ImageInputStream.java,
6371         javax/imageio/stream/ImageOutputStream.java,
6372         javax/naming/Binding.java,
6373         javax/naming/CannotProceedException.java,
6374         javax/naming/CompositeName.java,
6375         javax/naming/CompoundName.java,
6376         javax/naming/LinkException.java,
6377         javax/naming/LinkRef.java,
6378         javax/naming/NameClassPair.java,
6379         javax/naming/Reference.java,
6380         javax/naming/ReferralException.java,
6381         javax/naming/directory/Attribute.java,
6382         javax/naming/directory/AttributeModificationException.java,
6383         javax/naming/directory/Attributes.java,
6384         javax/naming/directory/DirContext.java,
6385         javax/naming/directory/ModificationItem.java,
6386         javax/naming/directory/SearchControls.java,
6387         javax/naming/directory/SearchResult.java,
6388         javax/naming/event/EventContext.java,
6389         javax/naming/event/EventDirContext.java,
6390         javax/naming/event/NamespaceChangeListener.java,
6391         javax/naming/event/NamingExceptionEvent.java,
6392         javax/naming/event/NamingListener.java,
6393         javax/naming/event/ObjectChangeListener.java,
6394         javax/naming/ldap/Control.java,
6395         javax/naming/ldap/ExtendedResponse.java,
6396         javax/naming/ldap/HasControls.java,
6397         javax/naming/ldap/LdapContext.java,
6398         javax/naming/ldap/UnsolicitedNotification.java,
6399         javax/naming/ldap/UnsolicitedNotificationEvent.java,
6400         javax/naming/ldap/UnsolicitedNotificationListener.java,
6401         javax/naming/spi/DirectoryManager.java,
6402         javax/naming/spi/ResolveResult.java,
6403         javax/naming/spi/Resolver.java,
6404         javax/security/auth/callback/Callback.java,
6405         javax/security/auth/callback/CallbackHandler.java,
6406         javax/security/auth/callback/ChoiceCallback.java,
6407         javax/security/auth/callback/ConfirmationCallback.java,
6408         javax/security/auth/callback/LanguageCallback.java,
6409         javax/security/auth/callback/NameCallback.java,
6410         javax/security/auth/callback/PasswordCallback.java,
6411         javax/security/auth/callback/TextInputCallback.java,
6412         javax/security/auth/callback/TextOutputCallback.java,
6413         javax/security/auth/callback/UnsupportedCallbackException.java,
6414         javax/security/sasl/Sasl.java,
6415         javax/security/sasl/SaslServerFactory.java,
6416         javax/swing/DefaultBoundedRangeModel.java,
6417         javax/swing/JComponent.java,
6418         javax/swing/JList.java,
6419         javax/swing/JProgressBar.java,
6420         javax/swing/JRadioButton.java,
6421         javax/swing/JTextArea.java,
6422         javax/swing/JTextField.java,
6423         javax/swing/JToggleButton.java,
6424         javax/swing/JTree.java,
6425         javax/swing/SpinnerListModel.java,
6426         javax/swing/event/EventListenerList.java,
6427         javax/swing/text/JTextComponent.java,
6428         javax/swing/text/StringContent.java,
6429         javax/swing/text/Utilities.java,
6430         javax/swing/undo/UndoManager.java,
6431         javax/swing/undo/UndoableEditSupport.java,
6432         javax/transaction/HeuristicCommitException.java,
6433         javax/transaction/HeuristicMixedException.java,
6434         javax/transaction/HeuristicRollbackException.java,
6435         javax/transaction/InvalidTransactionException.java,
6436         javax/transaction/NotSupportedException.java,
6437         javax/transaction/RollbackException.java,
6438         javax/transaction/Status.java,
6439         javax/transaction/Synchronization.java,
6440         javax/transaction/SystemException.java,
6441         javax/transaction/Transaction.java,
6442         javax/transaction/TransactionManager.java,
6443         javax/transaction/TransactionRequiredException.java,
6444         javax/transaction/TransactionRolledbackException.java,
6445         javax/transaction/UserTransaction.java,
6446         javax/transaction/xa/XAException.java,
6447         javax/transaction/xa/XAResource.java,
6448         javax/transaction/xa/Xid.java,
6449         javax/xml/XMLConstants.java,
6450         javax/xml/datatype/DatatypeConfigurationException.java,
6451         javax/xml/datatype/DatatypeConstants.java,
6452         javax/xml/datatype/DatatypeFactory.java,
6453         javax/xml/datatype/Duration.java,
6454         javax/xml/datatype/XMLGregorianCalendar.java,
6455         javax/xml/namespace/NamespaceContext.java,
6456         javax/xml/namespace/QName.java,
6457         javax/xml/parsers/DocumentBuilder.java,
6458         javax/xml/parsers/DocumentBuilderFactory.java,
6459         javax/xml/parsers/FactoryConfigurationError.java,
6460         javax/xml/parsers/ParserConfigurationException.java,
6461         javax/xml/parsers/SAXParser.java,
6462         javax/xml/parsers/SAXParserFactory.java,
6463         javax/xml/transform/ErrorListener.java,
6464         javax/xml/transform/OutputKeys.java,
6465         javax/xml/transform/Result.java,
6466         javax/xml/transform/Source.java,
6467         javax/xml/transform/SourceLocator.java,
6468         javax/xml/transform/Templates.java,
6469         javax/xml/transform/Transformer.java,
6470         javax/xml/transform/TransformerConfigurationException.java,
6471         javax/xml/transform/TransformerException.java,
6472         javax/xml/transform/TransformerFactory.java,
6473         javax/xml/transform/TransformerFactoryConfigurationError.java,
6474         javax/xml/transform/URIResolver.java,
6475         javax/xml/transform/dom/DOMLocator.java,
6476         javax/xml/transform/dom/DOMResult.java,
6477         javax/xml/transform/dom/DOMSource.java,
6478         javax/xml/transform/sax/SAXResult.java,
6479         javax/xml/transform/sax/SAXSource.java,
6480         javax/xml/transform/sax/SAXTransformerFactory.java,
6481         javax/xml/transform/sax/TemplatesHandler.java,
6482         javax/xml/transform/sax/TransformerHandler.java,
6483         javax/xml/transform/stream/StreamResult.java,
6484         javax/xml/transform/stream/StreamSource.java,
6485         javax/xml/validation/Schema.java,
6486         javax/xml/validation/SchemaFactory.java,
6487         javax/xml/validation/TypeInfoProvider.java,
6488         javax/xml/validation/Validator.java,
6489         javax/xml/validation/ValidatorHandler.java,
6490         javax/xml/xpath/XPathConstants.java,
6491         javax/xml/xpath/XPathException.java,
6492         javax/xml/xpath/XPathExpression.java,
6493         javax/xml/xpath/XPathExpressionException.java,
6494         javax/xml/xpath/XPathFactory.java,
6495         javax/xml/xpath/XPathFactoryConfigurationException.java,
6496         javax/xml/xpath/XPathFunction.java,
6497         javax/xml/xpath/XPathFunctionException.java,
6498         javax/xml/xpath/XPathFunctionResolver.java:
6499         Fixed usage of @author tag, reworked import statements,
6500         removed CVS tags, changed the modifier order and fixed
6501         HTML usage in javadocs.
6503 2005-02-16  Julian Scheid  <julian@sektor37.de>
6505         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
6506         in.position().
6507         (encodeLoop): Likewise.
6509 2005-02-16  Mark Wielaard  <mark@klomp.org>
6511         * Makefile.am (ordinary_java_source_files): Add new files
6512         gnu/java/security/ber/BER.java,
6513         gnu/java/security/ber/BEREncodingException.java,
6514         gnu/java/security/ber/BERReader.java,
6515         gnu/java/security/ber/BERValue.java,
6516         gnu/java/security/pkcs/PKCS7SignedData.java and
6517         gnu/java/security/pkcs/SignerInfo.java.
6518         * Makefile.in: Regenerated.
6520 2005-02-16  Casey Marshall  <csm@gnu.org>
6522         * gnu/java/security/provider/GnuDSAPrivateKey.java
6523         (encodedKey): new field.
6524         (getFormat): return "PKCS#8".
6525         (getEncoded): implemented.
6526         (toString): check for 'null' values.
6527         * gnu/java/security/provider/GnuDSAPublicKey.java
6528         (encodedKey): new field.
6529         (getFormat): return "X.509".
6530         (getEncoded): implemented.
6531         (toString): check for 'null' values.
6533 2005-02-16  Michael Koch  <konqueror@gmx.de>
6535         * java/util/jar/JarFile.java: Imports reworked.
6537 2005-02-16  Mark Wielaard  <mark@klomp.org>
6539         * java/util/jar/JarFile.java (verify): Make package private.
6540         (signaturesRead): Likewise.
6541         (verified): Likewise.
6542         (entryCerts): Likewise.
6543         (DEBUG): Likewise.
6544         (debug): Likewise.
6545         (entries): Construct new JarEnumeration with reference to this.
6546         (JarEnumeration): Make static.
6547         (JarEnumeration.jarfile): New field.
6548         (JarEnumeration.nextElement): Use and synchronize on jarfile.
6549         Compare verified value to Boolean.TRUE or Boolean.False only
6550         when verify is true.
6551         (getEntry): Make synchronized. Compare value of verified to
6552         Boolean.TRUE.
6553         (getInputStream): Construct EntryInputStream with reference to this.
6554         (getManifest): Make synchronized.
6555         (EntryInputStream): Make static.
6556         (EntryInputStream.jarfile): New field.
6557         (EntryInputStream.EntryInputStream): Check if manifest exists,
6558         before getting attributes.
6559         (eof): Synchronize on jarfile.
6561 2005-02-16  Casey Marshall  <csm@gnu.org>
6563         * java/util/jar/JarFile.java (verify): return if the jar is signed
6564         with an unsupported algorithm.
6566 2005-02-16  Mark Wielaard  <mark@klomp.org>
6568         * java/util/jar/JarFile.java (EntryInputStream): Add actual
6569         InputStream as argument.
6570         (getInputStream): Construct a new EntryInputStream with the result of
6571         super.getInputStream(entry).
6573 2005-02-16  Casey Marshall  <csm@gnu.org>
6575         Signed JAR file support.
6576         * java/net/URLClassLoader.java
6577         (JarURLResource.getCertificates): re-read jar entry to ensure
6578         certificates are picked up.
6579         (findClass): fill in class `signers' field, too.
6580         * java/util/jar/JarFile.java (META_INF): new constant.
6581         (PKCS7_DSA_SUFFIX): new constant.
6582         (PKCS7_RSA_SUFFIX): new constant.
6583         (DIGEST_KEY_SUFFIX): new constant.
6584         (SF_SUFFIX): new constant.
6585         (MD2_OID): new constant.
6586         (MD4_OID): new constant.
6587         (MD5_OID): new constant.
6588         (SHA1_OID): new constant.
6589         (DSA_ENCRYPTION_OID): new constant.
6590         (RSA_ENCRYPTION_OID): new constant.
6591         (signaturesRead): new field.
6592         (verified): new field.
6593         (entryCerts): new field.
6594         (DEBUG): new constant.
6595         (debug): new method.
6596         (JarEnumeration.nextElement): fill in entry certificates, read
6597         signatures if they haven't been read.
6598         (getEntry): likewise.
6599         (getInputStream): verify stream if it hasn't been verified yet.
6600         (readSignatures): new method.
6601         (verify): new method.
6602         (verifyHashes): new method.
6603         (readManifestEntry): new method.
6604         (EntryInputStream): new class.
6605         * gnu/java/io/Base64InputStream.java (decode): new class
6606         method.
6607         * gnu/java/security/der/DERReader.java don't make class
6608         final.
6609         (in): made protected.
6610         (encBuf): likewise.
6611         (readLength): likewise.
6612         * gnu/java/security/ber/BER.java,
6613         * gnu/java/security/ber/BEREncodingException.java,
6614         * gnu/java/security/ber/BERReader.java,
6615         * gnu/java/security/ber/BERValue.java,
6616         * gnu/java/security/pkcs/PKCS7SignedData.java,
6617         * gnu/java/security/pkcs/SignerInfo.java:
6618         new files.
6620 2005-02-16  Tom Tromey  <tromey@redhat.com>
6622         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
6623         copied file on exit.
6625 2005-02-15  Mark Wielaard  <mark@klomp.org>
6627         * java/awt/BasicStroke.java (hashCode): Check for null dash.
6629 2005-02-15  Michael Koch  <konqueror@gmx.de>
6631         * gnu/java/awt/peer/gtk/GtkArg.java,
6632         gnu/java/awt/peer/gtk/GtkArgList.java:
6633         Removed.
6635 2005-02-15  Craig Black  <craig.black@aonix.com>
6637         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
6638         (postMenuActionEvent): Implement to notify ItemListeners.
6639         * java/awt/CheckboxMenuItem.java
6640         (dispatchEventImpl): Update state on ItemEvent.
6641         * java/awt/MenuItem.java
6642         (processActionEvent): Retarget event source.
6644 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6646         * gnu/java/awt/color/ClutProfileConverter.java,
6647         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
6648         gnu/java/awt/peer/gtk/GdkFontPeer.java,
6649         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6650         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6651         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6652         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6653         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
6654         gnu/java/awt/peer/gtk/GdkTextLayout.java,
6655         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6656         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6657         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6658         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6659         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6660         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6661         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6662         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6663         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6664         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6665         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6666         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6667         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6668         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6669         gnu/java/awt/peer/gtk/GtkToolkit.java,
6670         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6671         javax/swing/JPopupMenu.java,
6672         javax/swing/JSpinner.java,
6673         javax/swing/SortingFocusTraversalPolicy.java,
6674         javax/swing/SwingUtilities.java,
6675         javax/swing/plaf/basic/BasicComboBoxEditor.java,
6676         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
6677         javax/swing/tree/DefaultMutableTreeNode.java:
6678         Removed unused imports and expanded starred
6679         imports.
6681 2005-02-15  Mark Wielaard  <mark@klomp.org>
6683         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
6684         IllegalArgumentException when the given String is null.
6686         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
6687         when given keystoke sequence cannot be parsed.
6689         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
6690         if one is installed. Only install the given menubar is not null.
6692         * javax/swing/JViewport.java (getViewSize): Return an empty
6693         Dimension when the view isn't set or preferred component size when
6694         no viewSize is set.
6696         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
6697         empty Dimension when there is no view set.
6698         (minimumLayoutSize): Likewise.
6699         (layoutContainer): Don't try to layout when there is no view.
6701 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6703         * jawt.c: New file.
6704         * include/jawt.h: Likewise.
6705         * include/jawt_md.h: Likewise.
6706         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6707         jawt_md.h files.
6708         * jni/classpath/classpath_jawt.h: Likewise.
6709         * jni/gtk-peer/gtk_jawt.c: Likewise.
6710         * Makefile.am: Build libjawt.so.
6712 2005-02-15  Michael Koch  <konqueror@gmx.de>
6714         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6715         Merged file header with classpath CVS head.
6716         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6717         Merged code formatting with classpath CVS head.
6718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
6719         Removed debug code.
6720         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
6721         Handle special JNI strings with 2 '\0' at the end.
6722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6723         Merged file header with classpath CVS head.
6724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6725         Merged code formatting with classpath CVS head.
6727 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
6730         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
6731         (handle_response): Use GTK_RESPONSE_ACCEPT.
6733 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6735         * Makefile.am: Fix library build breakage.
6736         * Makefile.in: Regenerate.
6738 2005-02-15  Michael Koch  <konqueror@gmx.de>
6740         * javax/swing/JTabbedPane.java
6741         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
6743 2005-02-15  Michael Koch  <konqueror@gmx.de>
6745         * javax/swing/tree/DefaultMutableTreeNode.java:
6746         Reworked Javadocs all over.
6747         (getPathToRoot): Fixed direction of result array initialization.
6749 2005-02-15  Michael Koch  <konqueror@gmx.de>
6751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6752          Fix includes for cairo 0.3.0 snappshot.
6753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6754         Merged file header from classpath CVS HEAD.
6756 2005-02-15  Craig Black  <craig.black@aonix.com>
6758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6759         (copyState): Pass a JNI global reference to signal handler.
6760         (realize_cb): Use and free JNI global reference.
6761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6762         (create): Pass a JNI global reference to signal handler.
6763         (selection_changed): Match declaration.
6764         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6765         (dispose): Do not remove entries from state tables until after widget is
6766         destroyed.
6768 2005-02-15  Michael Koch  <konqueror@gmx.de>
6770         * java/awt/Container.javai (paramString):
6771         If layoutMgr is null just return result of super.paramString().
6772         * java/awt/Scrollbar.java: Reformatted.
6773         * java/awt/im/InputContext.java (static):
6774         Removed redundant initializations.
6776 2005-02-15  Michael Koch  <konqueror@gmx.de>
6778         * javax/swing/ImageIcon.java,
6779         javax/swing/UIManager.java,
6780         javax/swing/text/EditorKit.java,
6781         javax/swing/text/Segment.java:
6782         More whitespace cleanups.
6784 2005-02-15  Michael Koch  <konqueror@gmx.de>
6786         * gnu/java/awt/EmbeddedWindow.java,
6787         gnu/java/awt/image/ImageDecoder.java,
6788         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6789         java/awt/DefaultKeyboardFocusManager.java,
6790         java/awt/Frame.java,
6791         java/awt/image/RGBImageFilter.java,
6792         javax/swing/AbstractButton.java,
6793         javax/swing/ActionMap.java,
6794         javax/swing/ComponentInputMap.java,
6795         javax/swing/DefaultDesktopManager.java,
6796         javax/swing/ImageIcon.java,
6797         javax/swing/InputMap.java,
6798         javax/swing/JButton.java,
6799         javax/swing/JCheckBox.java,
6800         javax/swing/JCheckBoxMenuItem.java,
6801         javax/swing/JEditorPane.java,
6802         javax/swing/JMenu.java,
6803         javax/swing/JMenuItem.java,
6804         javax/swing/JOptionPane.java,
6805         javax/swing/JRootPane.java,
6806         javax/swing/JTable.java,
6807         javax/swing/MenuSelectionManager.java,
6808         javax/swing/RepaintManager.java,
6809         javax/swing/ScrollPaneLayout.java,
6810         javax/swing/SortingFocusTraversalPolicy.java,
6811         javax/swing/UIManager.java,
6812         javax/swing/ViewportLayout.java,
6813         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6814         javax/swing/plaf/basic/BasicInternalFrameUI.java,
6815         javax/swing/plaf/basic/BasicLabelUI.java,
6816         javax/swing/plaf/basic/BasicListUI.java,
6817         javax/swing/plaf/basic/BasicMenuItemUI.java,
6818         javax/swing/plaf/basic/BasicMenuUI.java,
6819         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6820         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6821         javax/swing/plaf/basic/BasicRootPaneUI.java,
6822         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6823         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6824         javax/swing/plaf/basic/BasicTextUI.java,
6825         javax/swing/table/TableColumnModel.java,
6826         javax/swing/text/AbstractDocument.java,
6827         javax/swing/text/EditorKit.java,
6828         javax/swing/text/Position.java,
6829         javax/swing/text/Segment.java,
6830         javax/swing/text/StyledEditorKit.java,
6831         javax/swing/text/ViewFactory.java:
6832         Cleanup whitespace differences to classpath CVS HEAD.
6834 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6836         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6837         (finalize): Call finish from here.
6838         (produce): Not from here.
6839         * Makefile.am (gtk_c_source_files):
6840         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
6841         * Makefile.in: Regenerate.
6842         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6843         (cairoSetFont):
6844         (cairoDrawGdkTextLayout):
6845         (cairoDrawString):
6846         (getPeerTextMetrics):
6847         (getPeerFontMetrics): Remove.
6848         (setFont): Don't call cairoSetFont.
6849         (cairoDrawGlyphVector): Accept font peer argument.
6850         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
6851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6852         (ensure_metrics_cairo):
6853         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
6854         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
6855         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
6856         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
6857         (metrics_cairo):
6858         (metrics_surface): Remove.
6859         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
6860         Pass and install font peer.
6862 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6864         * Makefile.am: Create "split library" structure.
6865         * Makefile.in: Regenerate.
6867 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6873         Release GDK lock during upcalls.
6875 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
6878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6879         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
6880         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
6881         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
6882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
6883         * gnu/java/awt/peer/gtk/GdkFontPeer.java
6884         (getGlyphVector):
6885         (getFontMetrics):
6886         (getTextMetrics): New native methods.
6887         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
6888         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
6889         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
6890         * Makefile.in: Regenerate.
6892 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6894         * javax/swing/SwingUtilities.java:
6895         (getAccessibleAt(java.awt.Component, java.awt.Point)):
6896         Implemented and documented.
6897         (getAccessibleChild(java.awt.Component, int)): Likewise.
6898         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
6899         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
6900         (getAccessibleStateSet(java.awt.Component)): Likewise.
6902 2005-02-15  Michael Koch  <konqueror@gmx.de>
6904         * javax/swing/SwingUtilities.java
6905         (getFontMetrics): Removed.
6907 2005-02-15  Michael Koch  <konqueror@gmx.de>
6909         * java/awt/Container.java
6910         (paramString): Implemented.
6911         * javax/swing/AbstractButton.java
6912         (paramString): Implemented.
6913         * javax/swing/JComponent.java
6914         (paramString): Implemented.
6915         * javax/swing/JMenu.java
6916         (paramString): Implemented.
6917         * javax/swing/JMenuBar.java
6918         (paramString): Implemented.
6919         * javax/swing/JMenuItem.java
6920         (paramString): Implemented.
6921         * javax/swing/JPopupMenu.java
6922         (paramString): Implemented.
6924 2005-02-15  Michael Koch  <konqueror@gmx.de>
6926         * javax/swing/JMenu.java
6927         (uiClassID): Removed.
6928         (JMenu): Set invoker on popup menu.
6929         (getUIClassID): Return id directly.
6930         (getItemCount): Simply return getMenuComponentCount().
6931         Fixed javadoc.
6932         (isTopLevelMenu): Simplified.
6933         * javax/swing/JMenuItem.java
6934         (uiClassID): Removed.
6935         (getUIClassID): Return id directly.
6936         * javax/swing/JPopupMenu.java
6937         (uiClassID): Removed.
6938         (JPopupMenu): Always initialize correctly.
6939         (getSubElements): Only return components implementing MenuElement
6940         interface.
6941         (HeavyWeightPopup.hide): Removed.
6943 2005-02-15  Michael Koch  <konqueror@gmx.de>
6945         * java/awt/image/ReplicateScaleFilter.java
6946         (replicatePixels): Made private.
6947         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
6948         (DefaultRGBChooserPanel): Made package private.
6949         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
6950         (RecentSwatchPanel): Likewise.
6951         * javax/swing/event/MouseInputAdapter.java: Reformatted.
6952         (MouseInputAdapter): Made abstract.
6953         * javax/swing/tree/DefaultMutableTreeNode.java
6954         (random): Removed.
6955         (growTree): Likewise.
6957 2005-02-15  Michael Koch  <konqueror@gmx.de>
6959         * java/awt/dnd/DropTarget.java (addDropTargetListener):
6960         Clarified comments.
6962 2005-02-15  Michael Koch  <konqueror@gmx.de>
6964         * javax/swing/JComponent.java (getComponentGraphics):
6965         Removed accidently commited code.
6967 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6969         * java/awt/dnd/DropTarget.java
6970         (addDropTargetListener): Despite documentation, do not throw.
6971         * javax/swing/JComponent.java: Set a default DropTarget.
6973 2005-02-15  Michael Koch  <konqueror@gmx.de>
6975         * javax/swing/AbstractAction.java
6976         (ENABLED_PROPERTY): Removed.
6977         (setEnabled): Replaced constant with real string.
6978         * javax/swing/AbstractButton.java
6979         (createActionPropertyChangeListener.propertyChange): Likewise.
6980         * javax/swing/JComboBox.java
6981         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
6982         (EDITABLE_CHANGED_PROPERTY): Removed.
6983         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
6984         (ENABLED_CHANGED_PROPERTY):Likewise.
6985         (RENDERER_CHANGED_PROPERTY):Likewise.
6986         (EDITOR_CHANGED_PROPERTY):Likewise.
6987         (MODEL_CHANGED_PROPERTY):Likewise.
6988         (uiClassID):Likewise.
6989         (getUIClassID): Replaced constant with real string.
6990         (setModel):Likewise.
6991         (setEditable):Likewise.
6992         (setMaximumRowCount):Likewise.
6993         (setRenderer):Likewise.
6994         (setEditor):Likewise.
6995         (setEnabled):Likewise.
6996         * javax/swing/JLabel.java
6997         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
6998         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
6999         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
7000         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7001         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7002         (ICON_CHANGED_PROPERTY): Likewise.
7003         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
7004         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
7005         (TEXT_CHANGED_PROPERTY): Likewise.
7006         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7007         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7008         (setText): Replaced constant with real string.
7009         (setIcon): Likewise.
7010         (setDisabledIcon): Likewise.
7011         (setDisplayedMnemonic): Likewise.
7012         (setIconTextGap): Likewise.
7013         (setVerticalAlignment): Likewise.
7014         (setHorizontalAlignment): Likewise.
7015         (setVerticalTextPosition): Likewise.
7016         (setHorizontalTextPosition): Likewise.
7017         (setLabelFor): Replaced constant with real string.
7018         Fire property change event after property got changed.
7019         * javax/swing/JList.java
7020         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
7021         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
7022         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
7023         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
7024         (MODEL_PROPERTY_CHANGED): Likewise.
7025         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
7026         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
7027         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
7028         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
7029         (setFixedCellWidth): Reimplemented.
7030         (setFixedCellHeight): Exit if new value is identical.
7031         Replaced constant with real string.
7032         (setSelectionBackground): Likewise.
7033         (setSelectionForeground): Likewise.
7034         (setPrototypeCellValue): Likewise.
7035         (setCellRenderer): Replaced constant with real string.
7036         (setModel): Likewise.
7037         (setSelectionModel): Likewise.
7038         * javax/swing/JMenuBar.java
7039         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7040         (MODEL_CHANGED_PROPERTY): Likewise.
7041         (MARGIN_CHANGED_PROPERTY): Likewise.
7042         (setBorderPainted): Reimplemented.
7043         (setMargin): Likewise.
7044         (setSelectionModel): Replaced constant with real string.
7045         * javax/swing/JPopupMenu.java
7046         (LABEL_CHANGED_PROPERTY): Removed.
7047         (VISIBLE_CHANGED_PROPERTY): Likewise.
7048         (borderPainted): Likewise.
7049         (setLabel): Replaced constant with real string.
7050         (setVisible): Exit if new value is identical.
7051         Replaced constant with real string.
7052         * javax/swing/JProgressBar.java
7053         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7054         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7055         (STRING_CHANGED_PROPERTY): Likewise.
7056         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
7057         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
7058         (setOrientation): Replaced constant with real string.
7059         (setStringPainted): Likewise.
7060         (setString): Likewise.
7061         (setBorderPainted): Likewise.
7062         (setIndeterminate): Likewise.
7063         * javax/swing/JScrollBar.java
7064         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
7065         (MODEL_CHANGED_PROPERTY): Likewise.
7066         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7067         (setOrientation): Replaced constant with real string.
7068         (setModel): Likewise.
7069         (setUnitIncrement): Likewise.
7070         (setBlockIncrement): Likewise.
7071         * javax/swing/JScrollPane.java
7072         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
7073         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
7074         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7075         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7076         (LAYOUT_CHANGED_PROPERTY): Likewise.
7077         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
7078         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7079         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7080         (VIEWPORT_CHANGED_PROPERTY): Likewise.
7081         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
7082         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
7083         (setComponentOrientation): Replaced constant with real string.
7084         (setColumnHeader): Likewise.
7085         (setHorizontalScrollBar): Likewise.
7086         (setHorizontalScrollBarPolicy): Likewise.
7087         (setRowHeader): Likewise.
7088         (setVerticalScrollBar): Likewise.
7089         (setVerticalScrollBarPolicy): Likewise.
7090         (setWheelScrollingEnabled): Likewise.
7091         (setViewport): Likewise.
7092         (setViewportBorder): Likewise.
7093         * javax/swing/JSlider.java
7094         (INVERTED_CHANGED_PROPERTY): Removed.
7095         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
7096         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7097         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7098         (MODEL_CHANGED_PROPERTY): Likewise.
7099         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7100         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
7101         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
7102         (setModel): Replaced constant with real string.
7103         (setOrientation): Likewise.
7104         (setLabelTable): Likewise.
7105         (setInverted): Likewise.
7106         (setMajorTickSpacing): Likewise.
7107         (setMinorTickSpacing): Likewise.
7108         (setPaintTicks): Likewise.
7109         (setPaintLabels): Likewise.
7110         * javax/swing/JTabbedPane.java
7111         (MODEL_CHANGED_PROPERTY): Removed.
7112         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
7113         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
7114         (setModel): Replaced constant with real string.
7115         (setTabPlacement): Likewise.
7116         (setTabLayoutPolicy): Likewise.
7117         * javax/swing/JToolBar.java
7118         (ORIENTATION_CHANGED_PROPERTY): Removed.
7119         (FLOATABLE_CHANGED_PROPERTY): Likewise.
7120         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
7121         (MARGIN_CHANGED_PROPERTY): Likewise.
7122         (ROLLOVER_CHANGED_PROPERTY): Likewise.
7123         (setRollover): Replaced constant with real string.
7124         (setMargin): Likewise.
7125         (setBorderPainted): Likewise.
7126         (setFloatable): Likewise.
7127         (setOrientation): Likewise.
7128         * javax/swing/plaf/basic/BasicComboBoxUI.java
7129         (PropertyChangeHandler.propertyChange): Likewise.
7130         * javax/swing/plaf/basic/BasicComboPopup.java
7131         (PropertyChangeHandler.propertyChange): Likewise.
7132         * javax/swing/plaf/basic/BasicMenuBarUI.java
7133         (PropertyChangeHandler.propertyChange): Likewise.
7134         * javax/swing/plaf/basic/BasicProgressBarUI.java
7135         (PropertyChangeHandler.propertyChange): Likewise.
7136         * javax/swing/plaf/basic/BasicScrollBarUI.java
7137         (PropertyChangeHandler.propertyChange): Likewise.
7138         * javax/swing/plaf/basic/BasicSliderUI.java
7139         (PropertyChangeHandler.propertyChange): Likewise.
7140         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7141         (PropertyChangeHandler.propertyChange): Likewise.
7142         * javax/swing/plaf/basic/BasicToolBarUI.java
7143         (PropertyChangeHandler.propertyChange): Likewise.
7145 2005-02-15  Michael Koch  <konqueror@gmx.de>
7147         * javax/swing/DefaultButtonModel.java
7148         (changeState): Made private.
7149         * javax/swing/DefaultDesktopManager.java
7150         (setWasIcon): Fixed second argument to be java.lang.Boolean.
7151         * javax/swing/JLayeredPane.java
7152         (layerToRange): Made private.
7153         (incrLayer): Likewise.
7154         (decrLayer): Likewise.
7155         * javax/swing/JTable.java
7156         (dragEnabled): Likewise.
7157         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
7158         * javax/swing/KeyStroke.java
7159         (Keystroke): Made private.
7160         * javax/swing/TransferHandler.java
7161         (COMMAND_COPY): Likewise.
7162         (COMMAND_CUT): Likewise.
7163         (COMMAND_PASTE): Likewise.
7165 2005-02-15  Michael Koch  <konqueror@gmx.de>
7167         * javax/swing/JTextField.java
7168         (postActionEvent): Use text in field when actionCommand is null.
7169         (getActionCommand): Removed.
7171 2005-02-15  Michael Koch  <konqueror@gmx.de>
7173         * javax/swing/AbstractSet.java: Removed.
7174         * Makefile.am: Removed javax/swing/AbstractSet.java.
7175         * Makefile.in: Regenerated.
7177 2005-02-15  Michael Koch  <konqueror@gmx.de>
7179         * java/awt/Window.java
7180         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
7181         * java/awt/dnd/DnDConstants.java
7182         (DnDConstants): New private constructor.
7184 2005-02-15  Michael Koch  <konqueror@gmx.de>
7186         * javax/swing/DefaultCellRenderer.java: Removed.
7187         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
7188         * Makefile.in: Regenerated.
7190 2005-02-15  Michael Koch  <konqueror@gmx.de>
7192         * javax/swing/AbstractButton.java
7193         (fireItemStateChanged): Made protected.
7194         (fireActionPerformed): Likewise.
7195         (fireStateChanged): Likewise.
7196         * javax/swing/DefaultButtonModel.java
7197         (fireItemStateChanged): Likewise.
7198         (fireActionPerformed): Likewise.
7199         (fireStateChanged): Likewise.
7200         * javax/swing/JApplet.java
7201         (JApplet): Removed.
7202         (frameInit): Likewise.
7203         (setRootPane): Made protected.
7204         (createRootPane): Likewise.
7205         * javax/swing/JComponent.java
7206         (getClientProperty): Likewise.
7207         (putClientProperty): Likewise.
7208         * javax/swing/JEditorPane.java
7209         (getContentType): Likewise.
7210         (setContentType): Likewise.
7211         * javax/swing/JFrame.java
7212         (setRootPane): Likewise.
7213         (createRootPane): Likewise.
7214         * javax/swing/JInternalFrame.java
7215         (getFocusCycleRootAncestor): Made final. Added @since tag.
7216         (isFocusCycleRoot): Likewise.
7217         (getWarningString): Made final.
7218         * javax/swing/JScrollBar.java
7219         (changeListener): Removed.
7220         (changeEvent): Likewise.
7221         (createChangeListener): Likewise.
7222         (fireStateChanged): Likewise.
7223         (addChangeListener): Likewise.
7224         (removeChangeListener): Likewise.
7225         (getChangeListeners): Likewise.
7226         * javax/swing/JScrollPane.java
7227         (createViewport): Made protected.
7228         * javax/swing/JViewport.java
7229         (addImpl): Likewise.
7230         (setBorder): New method.
7231         * javax/swing/JWindow.java
7232         (setRootPane): Made protected.
7233         (createRootPane): Likewise.
7234         * javax/swing/plaf/basic/BasicButtonUI.java
7235         (installListeners): Likewise.
7236         (uninstallListeners): Likewise.
7237         * javax/swing/plaf/basic/BasicProgressBarUI.java
7238         (incrementAnimationIndex): Likewise.
7239         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7240         (createLayoutManager): Likewise.
7241         * javax/swing/table/DefaultTableCellRenderer.java
7242         (firePropertyChange): Likewise.
7243         * javax/swing/table/JTableHeader.java
7244         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
7245         New constructor.
7246         * javax/swing/text/PlainDocument.java
7247         (reindex): Made private.
7248         * javax/swing/text/PlainView.java
7249         (drawLine): Made protected.
7250         (getTabSize): Likewise.
7251         * javax/swing/text/View.java
7252         (setSize): Removed.
7253         (preferenceChanged): New method.
7254         (getBreakWeight): Likewise.
7255         (breakView): Likewise.
7256         (getViewIndex): Likewise.
7258 2005-02-15  Michael Koch  <konqueror@gmx.de>
7260         * javax/swing/JScrollPane.java
7261         (ScrollBar): Made class protected.
7262         * javax/swing/JSpinner.java
7263         (JSpinner): Added @since tag.
7264         (listenerList): Removed.
7265         * javax/swing/JTable.java
7266         (setValueAt): New method.
7267         (getColumn): Likewise.
7268         * javax/swing/JWindow.java
7269         (rootPaneCheckingEnabled): Renamed from checking.
7271 2005-02-15  Michael Koch  <konqueror@gmx.de>
7273         * javax/swing/plaf/basic/BasicTextUI.java
7274         (RootView.modelToView): Made it public and return a java.awt.Shape.
7275         Handle null subview.
7276         (uninstall): Set textComponent to null when its not possible used
7277         anymore.
7278         * javax/swing/text/View.java
7279         (setParent): Use better argument name.
7280         (getContainer): Get parent via getParent().
7281         (getViewFactory): Likewise.
7282         (getAttributes): Get element via getElement().
7283         (getStartOffset): Likewise.
7284         (getEndOffset): Likewise.
7285         (getResizeWeight): New method.
7286         (getMaximumSpan): Likewise.
7287         (getMinimumSpan): Likewise.
7288         (setSize): Likewise.
7289         (getGraphics): Likewise.
7291 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7293         * java/awt/Checkbox.java:
7294         (AccessibleAWTCheckbox()): Added public constructor
7295         to call superclass.
7296         * java/awt/Choice.java:
7297         (AccessibleAWTChoice): Added class documentation.
7298         (AccessibleAWTChoice()): Added public constructor
7299         to call superclass.
7300         (AccessibleAWTChoice.getAccessibleAction()): Documented.
7301         (AccessibleAWTChoice.getAccessibleRole()): Documented,
7302         and changed role to COMBO_BOX.
7303         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
7304         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
7305         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
7307 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7308             Michael Koch  <konqueror@gmx.de>
7310         * javax/swing/LayoutFocusTraversalPolicy.java,
7311         javax/swing/SortingFocusTraversalPolicy.java:
7312         New classes.
7313         * Makefile.am: Added new classes.
7314         * Makefike.in: Regenerated.
7317 2005-02-15  Michael Koch  <konqueror@gmx.de>
7319         * javax/swing/DebugGraphics.java: Mostly implemented.
7321 2005-02-15  Michael Koch  <konqueror@gmx.de>
7323         * javax/swing/SwingUtilities.java
7324         (findFocusOwner): New method.
7326 2005-02-15  Michael Koch  <konqueror@gmx.de>
7328         * javax/swing/text/DefaultEditorKit.java
7329         (read): Added '\n' after each line.
7330         * javax/swing/text/PlainView.java
7331         (modelToView): Update metrics.
7332         (drawLine): Use offsets from element.
7333         (paint): Update metrics. Draw all lines.
7335 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7337         * java/awt/Checkbox.java:
7338         (AccessibleAWTCheckbox): Added class documentation
7339         * java/awt/Scrollbar.java:
7340         (AccessibleAWTScrollBar): typo corrected and docs added
7341         (AccessibleAWTScrollBar.getAccessibleRole()): documented
7342         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
7343         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
7344         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
7345         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
7346         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
7347         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
7348         (getAccessibleContext()): name of accessible class corrected
7350 2005-02-15  Mark Wielaard  <mark@klomp.org>
7352         * java/awt/BasicStroke.java (hashCode): Implement.
7353         (equals): Document.
7355 2005-02-15  Michael Koch  <konqueror@gmx.de>
7357         * java/awt/print/PrinterJob.java
7358         (pageDialog): Throws java.awt.HeadlessException.
7359         (printDialog): Likewise.
7361 2005-02-15  Mark Wielaard  <mark@klomp.org>
7363         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
7365 2005-02-15  Michael Koch  <konqueror@gmx.de>
7367         * javax/swing/JTable.java
7368         (getValueAt): New method.
7369         * javax/swing/table/JTableHeader.java
7370         (columnAtPoint): New method.
7372 2005-02-15  Michael Koch  <konqueror@gmx.de>
7374         * javax/swing/JTextField.java
7375         (actions): New field.
7376         (static): Initalize actions field.
7377         (getActions): New method.
7379 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7381         * java/awt/Checkbox.java:
7382         (AccessibleAWTCheckbox): name capitalization corrected
7383         and serialization UID added.
7384         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
7385         documented.
7386         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
7387         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
7388         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
7389         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
7390         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
7391         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
7392         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
7393         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
7394         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
7395         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
7396         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
7397         documented
7398         (getAccessibleContext()): name of accessible class corrected
7400 2005-02-15  Sven de Marothy  <sven@physto.se>
7402         * java/awt/geom/doc-files/Area-1.png,
7403         java/awt/geom/doc-files/Ellipse-1.png,
7404         java/awt/geom/doc-files/GeneralPath-1.png:
7405         New files.
7407 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
7410         Use union to avoid type-punning warning.
7412 2005-02-15  Michael Koch  <konqueror@gmx.de>
7414         * javax/swing/DefaultListSelectionModel.java
7415         (clone): New method.
7417 2005-02-15  Mark Wielaard  <mark@klomp.org>
7419         Reported by Martin Platter <motse@complang.tuwien.ac.at>
7420         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7421         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
7422         Correct method signature of gtkSetFilename.
7424 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
7426         * javax/swing/text/StringContent.java: New file.
7428 2005-02-15  Michael Koch  <konqueror@gmx.de>
7430         * Makefile.am: Added javax/swing/text/StringContent.java.
7431         * Makefile.in: Regenerated.
7433 2005-02-15  Michael Koch  <konqueror@gmx.de>
7435         * gnu/java/awt/ClasspathToolkit.java:
7436         Import statements reworked.
7437         (imageCache): Made it of type java.util.HashMap.
7439 2005-02-15  Michael Koch  <konqueror@gmx.de>
7441         * javax/imageio/stream/MemoryCacheImageInputStream.java:
7442         Reworked import statements.
7444 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
7447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
7449         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
7451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7452         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
7453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
7454         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
7459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
7460         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7461         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
7462         Rewrite uses of extern variable to be function calls.
7463         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
7464         function, from extern variable.
7465         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7466         (gdk_env): Remove variable, add new function.
7467         (java_vm): Add new variable.
7468         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
7469         java_vm rather than old gdk_env variable.
7471 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7473         * javax/swing/DefaultListModel.java
7474         (add): fire correct event,
7475         (addElement): corrected interval indices in event,
7476         (clear): corrected upper bound for interval, only fire event if
7477         list is not empty,
7478         (setSize): fire appropriate event.
7480 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7482         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
7483         * gnu/awt/xlib/XToolkit.java: Likewise.
7484         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
7485         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
7486         * gnu/java/awt/ClasspathToolkit.java: Likewise.
7487         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
7488         * java/awt/EventQueue.java (getNextEvent):
7489         Adjust event loop to switch to native mode after 100ms.
7490         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
7491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7492         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
7493         Wake up event thread.
7494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7495         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
7496         Adjust event loop to switch to java mode after 100ms.
7498 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7500         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
7501         accidentally removed in last change.
7503 2005-02-15  Michael Koch  <konqueror@gmx.de>
7505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7506         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
7508 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7510         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7511         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7512         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7513         * jni.cc: Reuse bottom frame between calls, avoid clearing
7514         frame when no local references are made.
7516 2005-02-15  Michael Koch  <konqueror@gmx.de>
7518         * javax/swing/UIDefaults.java (UIDefaults):
7519         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
7520         Fixed HTML entity and removed a redundant comma.
7522 2005-02-15  Michael Koch  <konqueror@gmx.de>
7524         * javax/swing/text/DefaultEditorKit.java
7525         (deinstall): Removed.
7526         (install): Likewise.
7528 2005-02-15  Michael Koch  <konqueror@gmx.de>
7530         * javax/swing/UIDefaults.java (put): Handle value of null.
7532 2005-02-15  Michael Koch  <konqueror@gmx.de>
7534         * java/awt/Robot.java,
7535         java/awt/Scrollbar.java,
7536         java/awt/print/PrinterJob.java,
7537         javax/swing/JTable.java,
7538         javax/swing/text/AbstractDocument.java:
7539         Reworked import statements.
7541 2005-02-15  Michael Koch  <konqueror@gmx.de>
7543         * javax/swing/JEditorPane.java
7544         (read): Implemented.
7545         (write): Likewise.
7546         * javax/swing/text/DefaultEditorKit.java
7547         (page): Renamed from page_url. Made private.
7548         (editorKit): Renamed from kit. Made private.
7549         (ctype): Removed.
7550         (JEditorPane): All constructors reimplemented.
7551         (getContentType): Use content type from editor kit.
7552         (getEditorKit): Return editorKit.
7553         (getEditorKitForContentType):Likewise.
7554         (getPage): Return page.
7555         (setContentType): Reimplemented.
7556         (setEditorKit): Likewise.
7557         (setEditorKitForContentType): Removed wrong implementation.
7558         (setPage): Implemented.
7560 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7563         (nativeSetIconImageFromData): Re-add native implementation.
7565 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
7567         * javax/swing/table/DefaultTableModel.java
7568         (DefaultTableModel()): Added Javadocs.
7569         (DefaultTableModel(int, int)): Fixed implementation.
7570         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
7571         for negative rowCount.
7572         (DefaultTableModel(Object[], int)): Added Javadocs.
7573         (DefaultTableModel(Vector, Vector)): Likewise.
7574         (DefaultTableModel(Object[][], Object[])): Likewise.
7575         (getDataVector): Likewise.
7576         (setDataVector(Vector, Vector)): Likewise.
7577         (setDataVector(Object[][], Object[])): Likewise.
7578         (newDataAvailable): Likewise.
7579         (newRowsAdded): Likewise.
7580         (rowsRemoved): Likewise.
7581         (setColumnIdentifiers(Vector)): Allow for null argument.
7582         (setColumnIdentifiers(Object[])): Added Javadocs.
7583         (setNumRows): Likewise.
7584         (setRowCount): Adds new rows if necessary, and sends more specific
7585         TableModelEvent.
7586         (setColumnCount): Allow for null columnIdentifiers.
7587         (addColumn(Object)): Added Javadocs.
7588         (addColumn(Object, Vector)): Handle null columnData.
7589         (addColumn(Object, Object[])): Handle columnData with more or less
7590         entries than rows in the table.
7591         (addRow(Vector)): Fire appropriate event.
7592         (addRow(Object[])): Added Javadocs.
7593         (insertRow(int, Vector)): Fire appropriate event.
7594         (insertRow(int, Object[])): Added Javadocs.
7595         (moveRow): Reimplemented.
7596         (removeRow(int)): Fire appropriate event.
7597         (getColumnCount): Allow for null columnIdentifiers.
7598         (getColumnName): Now returns empty string when column index is too
7599         large.
7600         (isCellEditable): Added Javadocs.
7601         (getValueAt): Likewise.
7602         (setValueAt): Fire more specific event.
7603         (convertToVector): Added Javadocs.
7604         * javax/swing/table/TableModel.java
7605         Added Javadocs.
7607 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7609         * libgcj.spec.in (lib): Add -l-javax-imageio.
7611 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7613         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
7614         references to event queue q with method call q().
7615         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
7616         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
7617         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
7618         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
7619         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
7620         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
7621         (q): New method.
7623 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7625         * gnu/java/awt/ClasspathToolkit.java
7626         (registerImageIOSpis): New method.
7627         * gnu/java/awt/image/ImageDecoder.java
7628         (imageDecoder): New constructor using InputStream
7629         (startProduction): Handle existing InputStream.
7630         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7631         (findSimpleIntegerArray): Make public and static.
7632         (updateBufferedImage): Set each pixel, in a loop.
7633         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7634         Implement ImageIO SPI classes.
7635         (createBufferedImage): Rewrite in terms of SPI classes.
7636         * gnu/java/awt/peer/gtk/GtkToolkit.java
7637         (registerImageIOSpis): New method.
7638         * java/lang/reflect/natMethod.cc
7639         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
7640         which lets JNI call interface methods properly.
7641         * javax/imageio/ImageIO.java
7642         (WriterFormatFilter.filter): Fix copy-and-paste typos.
7643         (WriterMIMETypeFilter.filter): Likewise.
7644         (ImageReaderIterator): Pass extension argument through to SPI.
7645         (getReadersByFilter): Likewise.
7646         (getWritersByFilter): Likewise.
7647         (getImageReadersByFormatName): Likewise.
7648         (getImageReadersByMIMEType): Likewise.
7649         (getImageReadersBySuffix): Likewise.
7650         (getImageWritersByFormatName): Likewise.
7651         (getImageWritersByMIMEType): Likewise.
7652         (getImageWritersBySuffix): Likewise.
7653         (read): Implement.
7654         (write): Implement.
7655         * javax/imageio/ImageReader.java
7656         (progressListeners): Initialize.
7657         (setInput): Implement.
7658         * javax/imageio/ImageWriter.java
7659         (progressListeners): Initialize.
7660         (warningListeners): Likewise.
7661         (warningLocales): Likewise.
7662         (setOutput): Test "isInstance" rather than class equality.
7663         * javax/imageio/spi/IIORegistry.java
7664         (static): Add reader and writer SPIs.
7665         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
7667         (query_formats): New function.
7668         (save_to_stream): Likewise.
7669         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
7671 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
7674         Call XFlush.
7675         (keyPress): Likewise.
7676         (keyRelease): Likewise.
7678 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7680         * javax/swing/JTable.java
7681         (columnAtPoint): New Method. Implemented.
7682         (rowAtPoint): Likewise.
7683         (countSelections): Fixed few small count errors.
7684         (getSelections): Likewise.
7685         (setSelectionMode): Set selection mode for column
7686         selection model in addition to row selection model.
7687         * javax/swing/plaf/basic/BasicTableUI.java:
7688         (getRowForPoint): Removed. Replaced by
7689         JTable.rowAtPoint().
7690         (getColForPoint): Removed. Replaced by
7691         JTable.columnAtPoint().
7692         (updateSelection): Updated to call JTable.columnAtPoint
7693         and JTable.rowAtPoint.
7694         * javax/swing/table/DefaultTableColumnModel.java:
7695         (getSelectedColumns): Implemented.
7696         (getSelectedColumnCount): Implemented.
7698 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7700         * Makefile.am
7701         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
7702         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
7703         * Makefile.in: Regenerate.
7704         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
7705         * gnu/awt/xlib/XFramePeer.java: Likewise.
7706         * gnu/awt/xlib/XToolkit.java: Likewise.
7707         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
7708         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
7709         * gnu/java/awt/ClasspathToolkit.java
7710         (nativeQueueEmpty)
7711         (wakeNativeQueue)
7712         (iterateNativeQueue): New methods.
7713         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
7714         * gnu/java/awt/peer/gtk/GtkToolkit.java
7715         (gtkInit): Absorb from defunct GtkMainThread class.
7716         (static): Run gtkInit in static startup block.
7717         (GtkToolkit): Remove construction of GtkMainThread and queue.
7718         (getSystemEventQueueImpl): Construct queue when requested.
7719         (nativeQueueEmpty)
7720         (wakeNativeQueue)
7721         (iterateNativeQueue): New methods.
7722         * java/awt/Component.java (removeNotify): Remove race.
7723         * java/awt/EventDispatchThread.java
7724         (EventDispatchThread): Don't start on construction.
7725         (run): Remove isInterrupted check.
7726         * java/awt/EventQueue.java (shutdown): New flag.
7727         (isShutdown): New method checking J2SE shutdown condition.
7728         (setShutdown): New method.
7729         (getNextEvent): Restructure to use ClasspathToolkit.
7730         (postEvent): Activate new thread on posting, wake thread on
7731         post of possible shutdown condition event.
7732         * java/awt/Frame.java
7733         (Frame): Call noteFrame in all constructors.
7734         (fireDummyEvent): New helper method.
7735         (addNotify): Fire a dummy event to wake up queue.
7736         (removeNotify): Fire a dummy event to wake up queue.
7737         (noteFrame): New method.
7738         (weakFrames): New static field.
7739         (getFrames): Implement.
7740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
7741         Remove.
7742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
7743         Move everything from GtkMainThread into this file
7744         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
7745         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
7746         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
7747         New functions to implement single-threaded queue semantics.
7749 2005-02-15  Michael Koch  <konqueror@gmx.de>
7751         * javax/swing/plaf/metal/MetalLookAndFeel.java
7752         (getControlTextFont): New method.
7753         (getMenuTextFont): Likewise.
7754         (getSubTextFont): Likewise.
7755         (getSystemTextFont): Likewise.
7756         (getUserTextFont): Likewise.
7757         (getWindowTitleFont): Likewise.
7759 2005-02-15  Michael Koch  <konqueror@gmx.de>
7761         * javax/swing/text/AbstractDocument.java
7762         (documentFilter): New field.
7763         (getDocumentFilter): New method.
7764         (setDocumentFilter): Likewise.
7765         (dump): Likewise.
7767 2005-02-15  Michael Koch  <konqueror@gmx.de>
7769         * javax/swing/JTree.java
7770         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
7772 2005-02-15  Michael Koch  <konqueror@gmx.de>
7774         * javax/swing/text/AbstractDocument.java
7775         (AbstractElement.getLength): Fixed off-by-one error.
7776         (AbstractElement.children): Made abstract.
7777         (AbstractElement.getAllowsChildren): Likewise.
7778         (AbstractElement.getElement): Likewise.
7779         (AbstractElement.dumpElement): New private method.
7780         (AbstractElement.dump): New method.
7781         (BranchElememt.getName): Fixed implementation.
7782         (BranchElememt.toString): Likewise.
7783         (BranchElememt.getElement): Fixed arguments.
7784         (LeafElement.getName): Fixed implementation.
7785         (LeafElement.toString): Likewise.
7786         * javax/swing/text/GapContent.java
7787         (GapContent): Put default content into buffer.
7788         * javax/swing/text/PlainDocument.java
7789         (reindex): Use empty attribute sets instead of null.
7790         (createDefaultRoot): Reimplemented.
7791         (insertUpdate): Call super method.
7792         (removeUpdate): Likewise.
7793         (getParagraphElement): Implemented.
7795 2005-02-15  Michael Koch  <konqueror@gmx.de>
7797         * gnu/java/awt/ClasspathToolkit.java
7798         (createRobot): Throws java.awt.AWTException.
7799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
7800         Added '__attribute__((unused))' to all unused method arguments.
7802 2005-02-15  Michael Koch  <konqueror@gmx.de>
7804         * javax/swing/DefaultBoundedRangeModel.java
7805         (fireValueChanged): Fixed off-by-one error.
7807 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7809         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
7810         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
7811         GdkRobotPeer.java.
7812         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
7813         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
7814         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
7815         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
7816         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
7817         (getDefaultScreenDevice): Implement.
7818         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
7819         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
7820         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
7821         * java/awt/Robot.java: Implement.
7822         * java/awt/peer/RobotPeer.java: Rename parameters.
7823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
7824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7825         (awt_keycode_to_keysym): Make non-static.
7826         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
7827         AWT_BUTTON3_MASK): Declare constants.
7828         (awt_keycode_to_keysym): Declare.
7830         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
7831         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
7832         and is non-empty pass its value to "make check".
7833         (test_mauve_sim): Likewise.
7835 2005-02-15  Michael Koch  <konqueror@gmx.de>
7837         * javax/imageio/IIOParam.java
7838         (setSourceBands): New method.
7839         (setSourceSubsampling): Likewise.
7840         * javax/imageio/ImageReadParam.java
7841         (setDestination): Likewise.
7842         (setDestinationBands): Likewise.
7843         (setSourceProgressivePasses): Likewise.
7844         * javax/imageio/metadata/IIOInvalidTreeException.java
7845         (serialVersionUID): New static field.
7846         * javax/imageio/metadata/IIOMetadataNode.java
7847         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
7848         (parent): Dont initailize with default value explicitely.
7849         (Object): Likewise.
7850         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
7851         (removeAttributeNode): Likewise.
7852         (removeAttributeNS): Likewise.
7853         (setAttribute): Likewise.
7854         (setAttributeNode): Likewise.
7855         (setAttributeNodeNS): Likewise.
7856         (setAttributeNS): Likewise.
7857         (appendChild): Likewise.
7858         (getNodeValue): Likewise.
7859         (insertBefore): Likewise.
7860         (removeChild): Likewise.
7861         (replaceChild): Likewise.
7862         (setPrefix): Likewise.
7864 2005-02-15  Michael Koch  <konqueror@gmx.de>
7866         * javax/swing/LookAndFeel.java
7867         (getDesktopPropertyValue): New method.
7869 2005-02-15  Michael Koch  <konqueror@gmx.de>
7871         * javax/swing/JTree.java
7872         (hasChildren): New instance field.
7874 2005-02-15  Michael Koch  <konqueror@gmx.de>
7876         * javax/swing/JComponent.java
7877         (getToolTipText): New method.
7878         (getTitledBorderText): Likewise.
7879         (getAccessibleKeyBinding): Likewise.
7880         (getVerifyInputWhenFocusTarget): Likewise.
7881         (setVerifyInputWhenFocusTarget): Likewise.
7882         (verifyInputWhenFocusTarget): New instance field.
7884 2005-02-15  Michael Koch  <konqueror@gmx.de>
7886         * javax/swing/DefaultListSelectionModel.java
7887         (fireValueChanged): New method.
7889 2005-02-15  Michael Koch  <konqueror@gmx.de>
7891         * javax/swing/DefaultBoundedRangeModel.java:
7892         Fixed javadocs all over.
7893         (fireStateChanged): Simplified.
7894         * javax/swing/BoundedRangeModel.java:
7895         Reformatted.
7897 2005-02-15  Michael Koch  <konqueror@gmx.de>
7899         * javax/swing/JRootPane.java
7900         (setMenuBar): Added @deprecated tag.
7901         (getMenuBar): Likewise.
7902         * javax/swing/JTable.java
7903         (sizeColumnsToFit): Likewise.
7905 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
7907         * javax/swing/ImageIcon.java (setImage): Implemented.
7909 2005-02-15  Michael Koch  <konqueror@gmx.de>
7911         * javax/swing/JTable.java:
7912         Removed unused imports.
7914 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7916         (prepareRenderer): Get column's index in dataModel instead
7917         of column's view index.
7918         (getColumnCount): return count of the columns in ColumnModel,
7919         not in dataModel.
7920         (removeColumn): Implemented.
7921         (moveColumm): Likewise.
7922         (setRowHeight): throw IllegalArgumentException if height is
7923         less then 1.
7924         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
7925         (DefaultTableColumnModel):Add call to createSelectionModel().
7926         (addColumn): Fire columnAdded event to registered listeners.
7927         (removeColumn): Fire columnRemoved event to registered listeners.
7928         (moveColumn): Fire columnMoved event to registered listeners.
7929         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
7930         (getColumnIndex): Changed parameter name.
7931         (setColumnSelectionAllowed): Likewise.
7932         (fireColumnAdded): Implemented.
7933         (fireColumnRemoved): Likewise.
7934         (fireColumnMoved): Likewise.
7935         (fireColumnMarginChanged): Likewise.
7936         (getListeners): Changed parameter name.
7937         (propertyChange): Implemented.
7938         (valueChanged): Changed parameter name.
7939         (createSelectionModel): Implemented.
7941 2005-02-15  Michael Koch  <konqueror@gmx.de>
7943         * gnu/java/awt/peer/gtk/GtkToolkit.java:
7944         Explicitely import used classes.
7945         (getLocalGraphicsEnvironment): Simplify.
7946         * java/awt/Window.java (Window):
7947         Enable code to get the default GraphicsConfiguration.
7949 2005-02-15  Michael Koch  <konqueror@gmx.de>
7951         * javax/swing/plaf/metal/DefaultMetalTheme.java
7952         (CONTROL_TEXT_FONT): New static field.
7953         (MENU_TEXT_FONT): Likewise.
7954         (SUB_TEXT_FONT): Likewise.
7955         (SYSTEM_TEXT_FONT): Likewise.
7956         (USER_TEXT_FONT): Likewise.
7957         (WINDOW_TITLE_FONT): Likewise.
7958         (getControlTextFont): New method.
7959         (getMenuTextFont): Likewise.
7960         (getSubTextFont): Likewise.
7961         (getSystemTextFont): Likewise.
7962         (getUserTextFont): Likewise.
7963         (getWindowTitleFont): Likewise.
7964         * javax/swing/plaf/metal/MetalTheme.java
7965         (BLACK): Initialize with Color.BLACK.
7966         (WHITE): Initialize with Color.WHITE.
7967         (getInactiveControlTextColor): Return getControlDisabled().
7968         (getMenuDisabledForeground): Return getSecondary3().
7969         (getControlTextFont): New abstract method.
7970         (getMenuTextFont): Likewise.
7971         (getSubTextFont): Likewise.
7972         (getSystemTextFont): Likewise.
7973         (getUserTextFont): Likewise.
7974         (getWindowTitleFont): Likewise.
7976 2005-02-15  Michael Koch  <konqueror@gmx.de>
7978         * javax/swing/JFormattedTextField.java
7979         (getFocusLostBehavior): Fixed typo in method name.
7980         (setFocusLostBehavior): Likewise.
7982 2005-02-15  Michael Koch  <konqueror@gmx.de>
7984         * javax/swing/TransferHandler.java:
7985         Reworked import statements.
7987 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7989         * java/awt/Button.java,
7990         java/awt/Canvas.java,
7991         java/awt/Checkbox.java,
7992         java/awt/CheckboxMenuItem.java,
7993         java/awt/Choice.java,
7994         java/awt/Dialog.java,
7995         java/awt/Frame.java,
7996         java/awt/Label.java,
7997         java/awt/List.java,
7998         java/awt/Menu.java,
7999         java/awt/MenuBar.java,
8000         java/awt/MenuItem.java,
8001         java/awt/PopupMenu.java,
8002         java/awt/ScrollPane.java,
8003         java/awt/Scrollbar.java,
8004         java/awt/TextArea.java,
8005         java/awt/Window.java (getAccessibleContext): Clean up comments.
8006         Reformat.
8007         * java/awt/Button.java,
8008         java/awt/Checkbox.java,
8009         java/awt/Choice.java,
8010         java/awt/Menu.java,
8011         java/awt/PopupMenu.java,
8012         java/awt/TextArea.java (getAccessibleContext): Only create new
8013         accessible once.
8014         * java/awt/TextComponent.java (getAccessibleContext): Implement.
8016 2005-02-15  Michael Koch  <konqueror@gmx.de>
8018         * java/awt/Button.java,
8019         javax/swing/JApplet.java,
8020         javax/swing/JFormattedTextField.java,
8021         javax/swing/JWindow.java,
8022         javax/swing/JTree.java,
8023         javax/swing/plaf/basic/BasicEditorPaneUI.java,
8024         javax/swing/plaf/basic/BasicTextPaneUI.java,
8025         javax/swing/plaf/basic/BasicTreeUI.java:
8026         Reworked import statements.
8028 2005-02-15  Michael Koch  <konqueror@gmx.de>
8030         * Makefile.am: Put javax.imageio into its own library and link it
8031         against lib-org-w3c-dom.la to fix bootstrapping.
8032         * Makefile.in: Regenerated.
8034 2005-02-15  Michael Koch  <konqueror@gmx.de>
8036         * javax/swing/text/TextAction.java
8037         (getTextComponent): Simplified. Added Javadoc.
8038         (augmentList): Implemented. Added Javadoc.
8039         (getFocusedComponent): Added javadoc.
8041 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8043         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
8044         getAccessibleContext): Implement.
8045         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
8046         getAccessibleContext): Implement.
8048 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8050         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
8051         Implement.
8052         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
8053         Implement.
8054         * java/awt/Window.java (getAccessibleContext): Fix comment.
8055         Remove extra import.
8057 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8059         * java/awt/Window.java (AccessibleAWTWindow): Implement.
8060         (isActive, isFocused, getAccessibleContext): Implement.
8062 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8064         * java/awt/MenuItem.java (getAccessibleContext): Implement.
8065         * java/awt/MenuComponent.java (accessibleContext): Make package
8066         visible.
8067         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
8068         AccessibleAWTCheckboxMenuItem): Implement.
8070 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8072         * java/awt/List.java: Implement AccessibleAWTList,
8073         AccessibleAWTListChild.
8075 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8077         * java/awt/Choice.java: Add implements declaration for
8078         Accessible.
8080 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8082         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
8083         instead of Object.
8085 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8087         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
8088         implemented interface list.
8090 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8092         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
8093         * javax/imageio/metadata/IIOAttr.java: New class.
8094         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
8095         * javax/imageio/metadata/IIONodeList.java: New class.
8096         * Makefile.am: Added new files.
8097         * Makefile.in: Regenerated.
8099 2005-02-15  Michael Koch  <konqueror@gmx.de>
8101         * javax/swing/AbstractAction.java,
8102         javax/swing/AbstractCellEditor.java,
8103         javax/swing/AbstractListModel.java,
8104         javax/swing/DefaultBoundedRangeModel.java,
8105         javax/swing/DefaultButtonModel.java,
8106         javax/swing/DefaultCellEditor.java,
8107         javax/swing/DefaultComboBoxModel.java,
8108         javax/swing/DefaultDesktopManager.java,
8109         javax/swing/JMenu.java,
8110         javax/swing/JSlider.java,
8111         javax/swing/KeyStroke.java,
8112         javax/swing/OverlayLayout.java,
8113         javax/swing/ScrollPaneLayout.java,
8114         javax/swing/SizeRequirements.java,
8115         javax/swing/ViewportLayout.java:
8116         Made serialVersionUID private.
8118 2005-02-15  Michael Koch  <konqueror@gmx.de>
8120         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8121         Reformatted.
8123 2005-02-15  Michael Koch  <konqueror@gmx.de>
8125         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
8127 2005-02-15  Michael Koch  <konqueror@gmx.de>
8129         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
8131 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
8133         * java/awt/EventDispatchThread.java,
8134         java/awt/Toolkit.java:
8135         Don't catch java.lang.ThreadDeath.
8137 2005-02-15  Michael Koch  <konqueror@gmx.de>
8139         * javax/swing/text/PasswordView.java
8140         (drawEchoCharacter): Added javadoc.
8141         (drawSelectedText): Likewise.
8142         (drawUnselectedText): Likewise.
8144 2005-02-15  Michael Koch  <konqueror@gmx.de>
8146         * javax/swing/JRootPane.java
8147         (windowDecorationStyle): New field.
8148         (setMenuBar): New method.
8149         (getMenuBar): Likewise.
8150         (getWindowDecorationStyle): Likewise.
8151         (setWindowDecorationStyle): Likewise.
8153 2005-02-15  Michael Koch  <konqueror@gmx.de>
8155         * javax/swing/DefaultListSelectionModel.java
8156         (leadAnchorNotificationEnabled): Made protected.
8158 2005-02-15  Michael Koch  <konqueror@gmx.de>
8160         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
8161         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
8162         * Makefile.in: Regenerated.
8165 2005-02-15  Michael Koch  <konqueror@gmx.de>
8167         * javax/swing/JFormattedTextField.java: Implemented.
8168         * javax/swing/JWindow.java
8169         (JWindow): New constructors.
8170         (initWindow): Renamed from initFrame.
8171         * javax/swing/UIDefaults.java
8172         (ActiveValue): Made interface static.
8173         (LazyValue): Likewise.
8174         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
8175         (TitlePaneLayout.TitlePaneLayout): New constructor.
8176         * javax/swing/plaf/basic/BasicSliderUI.java
8177         (ChangeHandler): Made public.
8178         (FocusHandler): Likewise.
8179         (PropertyChangeHandler): Likewise.
8180         (ScrollListener): Likewise.
8181         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8182         (FocusHandler): Likewise.
8183         (MouseHandler): Likewise.
8184         * javax/swing/plaf/basic/BasicTextPaneUI.java
8185         (BasicTextPaneUI): Extend BasicEditorPaneUI.
8186         * javax/swing/plaf/basic/BasicToolBarUI.java
8187         (BasicToolBarUI): Simplified. Reworked javadoc.
8188         (canDock): Simplified. Make public.
8189         (DockingListener): Made public.
8190         * javax/swing/text/JTextComponent.java
8191         (navigationFilter): New field.
8192         (getNavigationFilter): New method.
8193         (setNavigationFilter): Likewise.
8195 2005-02-15  Michael Koch  <konqueror@gmx.de>
8197         * javax/swing/plaf/metal/MetalTheme.java
8198         (getControlTextColor): Return getControlInfo().
8199         (getHighlightedTextColor): Return getControlTextColor().
8201 2005-02-15  Michael Koch  <konqueror@gmx.de>
8203         * javax/swing/plaf/basic/BasicButtonListener.java
8204         (BasicButtonListener): New constructor.
8205         * javax/swing/plaf/basic/BasicButtonUI.java
8206         (createButtonListener): Usw new BasicButtonListener constructor.
8208 2005-02-15  Michael Koch  <konqueror@gmx.de>
8210         * javax/imageio/event/package.html,
8211         javax/imageio/metadata/package.html: New files.
8213 2005-02-15  Michael Koch  <konqueror@gmx.de>
8215         * java/awt/image/MemoryImageSource.java: Reformatted.
8217 2005-02-15  Michael Koch  <konqueror@gmx.de>
8219         * javax/swing/tree/TreeCellEditor.java: Refomatted.
8221 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
8223         * java/awt/color/ICC_Profile.java
8224         (finalize): Removed pointless field assignments.
8226 2005-02-15  Michael Koch  <konqueror@gmx.de>
8228         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
8229         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
8230         * Makefile.in: Regenerated.
8232 2005-02-15  Michael Koch  <konqueror@gmx.de>
8234         * javax/swing/text/DefaultStyledDocument.java: New file.
8235         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
8236         * Makefile.in: Regenerated.
8238 2005-02-15  Michael Koch  <konqueror@gmx.de>
8240         * javax/swing/JFileChooser.java
8241         (showDialog): Return CANCEL_OPTION for now.
8242         (showOpenDialog): Likewise.
8243         (showSaveDialog): Likewise.
8245 2005-02-15  Michael Koch  <konqueror@gmx.de>
8247         * javax/swing/JApplet.java
8248         (HIDE_ON_CLOSE): Removed.
8249         (EXIT_ON_CLOSE): Likewise.
8250         (DISPOSE_ON_CLOSE): Likewise.
8251         (DO_NOTHING_ON_CLOSE): Likewise.
8252         (close_action): Likewise.
8253         (getDefaultCloseOperation): Likewise.
8254         (setDefaultCloseOperation): Likewise.
8255         (processWindowEvent): Likewise.
8256         (getPreferredSize): Simplified.
8257         * javax/swing/JInternalFrame.java
8258         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
8259         value.
8260         * javax/swing/JWindow.java
8261         (HIDE_ON_CLOSE): Removed.
8262         (EXIT_ON_CLOSE): Likewise.
8263         (DISPOSE_ON_CLOSE): Likewise.
8264         (DO_NOTHING_ON_CLOSE): Likewise.
8265         (close_action): Likewise.
8266         (processKeyEvent): Likewise.
8267         (setDefaultCloseOperation): Likewise.
8268         (getPreferredSize): Simplified.
8270 2005-02-15  Michael Koch  <konqueror@gmx.de>
8272         * javax/swing/JTextField.java
8273         (getPreferredSize): Re-implemented.
8275 2005-02-15  Michael Koch  <konqueror@gmx.de>
8277         * javax/swing/JLabel.java
8278         (setDisplayedMnemonic): Use only upper case characters.
8279         (setDisplayedMnemonicIndex): Handle index == -1 and fire
8280         PropertyChangeEvent after property got set to the new index.
8282 2005-02-15  Robert Schuster <thebohemian@gmx.net>
8284         * javax/swing/JComboBox.java:
8285         (JComboBox): Removed selection of the
8286         first item in the model.
8288 2005-02-15  Robert Schuster <thebohemian@gmx.net>
8290         * javax/swing/JComboBox.java
8291         added support for no item being selected
8292         (JComboBox): select first or nothing depending on element count
8293         (setModel): cleaned up unneeded "this." usage, added more
8294         docs, made exception behavior match that of the JDK
8295         (setLighWeightPopupEnabled): removed unneeded "this." usage
8296         (setEditable): dito
8297         (setMaximumRowCount): dito
8298         (setRenderer): dito
8299         (setPrototypeDisplayValue): dito
8300         (getSelectedItem): simplified, added more user doc
8301         (setSelectedIndex): corrected exception behavior, added more user doc
8302         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
8303         added performance warning to user doc
8304         (addItem): fixed exception behavior, added user doc
8305         (insertItemAt): dito
8306         (removeItem): dito
8307         (removeItemAt): dito
8308         (removeAll): fixed exception behavior, added user doc, added support
8309         for model not being instance of DefaultComboBoxModel
8310         (getSelectedItemObjects): simplified
8311         (getItemCount): fixed dependency on DefaultComboBoxModel
8312         (getItemAt): fixed dependency on MutableComboBoxModel
8313         * javax/swing/DefaultComboBoxModel.java:
8314         (setSelectedItem): updates selected item only if new
8315         value is null or known (match JDK behavior)
8316         * javax/swing/plaf/basic/BasicComboBoxUI.java:
8317         (paintCurrentValue): renders "" if no item is selected
8319 2005-02-15  Michael Koch  <konqueror@gmx.de>
8321         * javax/swing/plaf/metal/MetalTheme.java,
8322         javax/swing/plaf/metal/DefaultMetalTheme.java:
8323         New files.
8324         * javax/swing/plaf/metal/MetalLookAndFeel.java
8325         * Makefile.am: Added the new files.
8326         * Makefile.in: Regenerated.
8328 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8330         * javax/swing/JTable.java
8331         (editorComp): New field.
8332         (JTable): Initialize local variables and call updateUI
8333         (selectionBackground): Make protected.
8334         (selectionForeground): Likewise.
8335         (initializeLocalVars): Create default editors and renderers,
8336         initialize editingColumn, editingRow variables.
8337         (createDefaultEditors): New Method.
8338         (createDefaultRenderers): Likewise.
8339         (createDefaultListSelectionModel): Removed
8340         (createDefaultSelectionModel): New Method.
8341         (createDefaultTableHeader): Likewise
8342         (removeColumn): Likewise.
8343         (getEditingColumn): Likewise.
8344         (setEditingColumn): Likewise.
8345         (getEditingRow): Likewise.
8346         (setEditingRow): Likewise.
8347         (getEditorComponent): Likewise.
8348         (isEditing): Likewise.
8349         (setDefaultEditor): Likewise.
8350         (addColumnSelectionInterval): Likewise.
8351         (addRowSelectionInterval): Likewise.
8352         (setColumnSelectionInterval): Likewise.
8353         (setRowSelectionInterval): Likewise.
8354         (removeColumnSelectionInterval): Likewise.
8355         (removeRowSelectionInterval): Likewise.
8356         (isColumnSelected): Likewise.
8357         (isRowSelected): Likewise.
8358         (isCellSelected): Likewise.
8359         (selectAll): Likewise.
8361 2005-02-15  Michael Koch  <konqueror@gmx.de>
8363         * javax/swing/JTable.java
8364         (addColumn): New method.
8365         (getColumnClass): Likewise.
8366         (getColumnName): Likewise.
8368 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
8370         * javax/swing/TransferHandler.java
8371         (createTransferable): Made protected.
8373 2005-02-15  Michael Koch  <konqueror@gmx.de>
8375         * javax/swing/JTable.java,
8376         javax/swing/plaf/basic/BasicTableHeaderUI.java,
8377         javax/swing/plaf/basic/BasicTableUI.java:
8378         Use fixed get/setIntercellSpacing() methods.
8380 2005-02-15  Michael Koch  <konqueror@gmx.de>
8382         * javax/swing/JTable.java
8383         (getIntercellSpacing): Fixed typo in method name.
8384         (setIntercellSpacing): Likewise.
8386 2005-02-15  Michael Koch  <konqueror@gmx.de>
8388         * javax/swing/text/JTextComponent.java
8389         (focusAccelerator): New variable.
8390         (getFocusAccelerator): New method.
8391         (setFocusAccelerator): Likewise.
8393 2005-02-15  Michael Koch  <konqueror@gmx.de>
8395         * javax/swing/JComponent.java
8396         (setTransferHandler): Made public. Fire property change event.
8397         * javax/swing/TransferHandler.java: Implemented.
8398         * javax/swing/text/JTextComponent.java
8399         (DefaultTransferHandler): New inner class.
8400         (defaultTransferHandler): New variable.
8401         (copy): New method.
8402         (cut): Likewise.
8403         (paste): Likewise.
8404         (doTransferAction): Likewise.
8406 2005-02-15  Michael Koch  <konqueror@gmx.de>
8408         * javax/swing/JTree.java
8409         (collapsePath): New method.
8410         (collapseRow): Likewise.
8411         (expandPath): Likewise.
8412         (expandRow): Likewise.
8413         (checkExpandParents): Likewise.
8414         (doExpandParents): Likewise.
8415         (setExpandedState): Likewise.
8416         (makeVisible): Likewise.
8418 2005-02-15  Michael Koch  <konqueror@gmx.de>
8420         * javax/swing/JPasswordField.java: Updated javadocs.
8422 2005-02-15  Michael Koch  <konqueror@gmx.de>
8424         * javax/swing/JLayeredPane.java
8425         (getLayer): Fixed return type, made public.
8426         (getPosition): Use new getLayer().
8427         (SetPosition): Likewise.
8428         (getIndexOf): Likewise.
8429         (remove): Likewise.
8430         * javax/swing/JInternalFrame.java
8431         (getLayer): Use new JLayeredPane.getLayer().
8434 2005-02-15  Michael Koch  <konqueror@gmx.de>
8436         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
8437         (setHeaderValue): Simplified. Do nothing when old value == new value.
8439 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8441         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
8442         against null clip region.
8443         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
8444         gtkWindowSetResizable.
8445         (postConfigureEvent): Only revalidate if frame size has changed.
8446         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
8447         Only revalidate if frame size has changed.
8448         * java/awt/Component.java (reshape): Only repaint and post
8449         component events if component is showing.
8450         * java/awt/Container.java (addImpl): Only post container event if
8451         container is showing.
8452         (remove): Likewise.
8453         * java/awt/Window.java (setLocationRelativeTo): Implement.
8454         (setBoundsCallback): Only post component events if component is
8455         showing.
8456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
8457         Protect against null graphics structure.  Flush gdk event queue.
8459 2005-02-15  Michael Koch  <konqueror@gmx.de>
8461         * javax/imageio/ImageReader.java,
8462         javax/imageio/ImageTranscoder.java,
8463         javax/imageio/ImageWriter.java,
8464         javax/imageio/spi/ImageInputStreamSpi.java,
8465         javax/imageio/spi/ImageOutputStreamSpi.java,
8466         javax/imageio/spi/ServiceRegistry.java,
8467         javax/imageio/stream/ImageInputStream.java,
8468         javax/imageio/stream/ImageOutputStream.java: Updated.
8469         * javax/imageio/IIOException.java,
8470         javax/imageio/IIOImage.java,
8471         javax/imageio/IIOParam.java,
8472         javax/imageio/IIOParamController.java,
8473         javax/imageio/ImageIO.java,
8474         javax/imageio/ImageReadParam.java,
8475         javax/imageio/ImageTypeSpecifier.java,
8476         javax/imageio/ImageWriteParam.java,
8477         javax/imageio/spi/IIORegistry.java,
8478         javax/imageio/spi/ImageReaderSpi.java,
8479         javax/imageio/spi/ImageWriterSpi.java,
8480         javax/imageio/stream/FileCacheImageInputStream.java,
8481         javax/imageio/stream/FileCacheImageOutputStream.java,
8482         javax/imageio/stream/FileImageInputStream.java,
8483         javax/imageio/stream/FileImageOutputStream.java,
8484         javax/imageio/stream/ImageInputStreamImpl.java,
8485         javax/imageio/stream/ImageOutputStreamImpl.java,
8486         javax/imageio/stream/MemoryCacheImageInputStream.java,
8487         javax/imageio/stream/MemoryCacheImageOutputStream.java,
8488         javax/imageio/event/IIOReadProgressListener.java,
8489         javax/imageio/event/IIOReadUpdateListener.java,
8490         javax/imageio/event/IIOReadWarningListener.java,
8491         javax/imageio/event/IIOWriteProgressListener.java,
8492         javax/imageio/event/IIOWriteWarningListener.java,
8493         javax/imageio/metadata/IIOMetadata.java,
8494         javax/imageio/metadata/IIOMetadataController.java,
8495         javax/imageio/metadata/IIOMetadataFormat.java,
8496         javax/imageio/metadata/IIOInvalidTreeException.java,
8497         javax/imageio/metadata/IIOMetadataFormatImpl.java,
8498         javax/imageio/metadata/IIOMetadataNode.java: New files.
8499         * Makefile.am (javax_source_files): Added new files
8500         * Makefile.in: Regenerated.
8502 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8504         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8505         Rework painting into BufferedImages
8506         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8507         Construct BufferedImage with alpha only when alpha is
8508         present in colormodel.
8509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8510         Rework painting into client-side jint arrays.
8511         * jni/gtk-peer/gtkcairopeer.h:
8512         Likewise.
8514 2005-02-15  Michael Koch  <konqueror@gmx.de>
8516         * javax/swing/DefaultListCellRenderer.java
8517         (serialVersionUID): Made private.
8518         (getListCellRendererComponent): Set horizontal alignment.
8519         * javax/swing/JLabel.java
8520         (setVerticalAlignment): Re-implemented.
8521         (setHorizontalAlignment): Do nothing if old value = new value.
8522         * javax/swing/JList.java
8523         (setCellRenderer): Likewise.
8524         (setModel): Re-implemented.
8525         (setSelectionModel): Likewise.
8527 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
8529         * java/awt/Component.java,
8530         java/awt/geom/Rectangle2D.java:
8531         Javadoc fixes.
8533 2005-02-15  Michael Koch  <konqueror@gmx.de>
8535         * javax/swing/AbstractListModel.java
8536         (fireContentsChanged): Simplified.
8537         (fireIntervalAdded): Likewise.
8538         (fireIntervalRemoved): Likewise.
8539         * javax/swing/DefaultSingleSelectionModel.java:
8540         Reformatted.
8541         (fireStateChanged): Simplified.
8542         * javax/swing/JPopupMenu.java
8543         (setSelectionModel): Set property.
8545 2005-02-15  Michael Koch  <konqueror@gmx.de>
8547         * java/awt/print/Book.java: Reformatted.
8549 2005-02-15  Michael Koch  <konqueror@gmx.de>
8551         * java/awt/geom/Area.java
8552         (QuadSegment.curveArea): Remove unused variables.
8553         (CubicSegment.curveArea): Likewise.
8555 2005-02-15  Michael Koch  <konqueror@gmx.de>
8557         * javax/swing/JTree.java
8558         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
8559         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
8560         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
8561         (EXPANDED): New constant.
8562         (COLLAPSED): Likewise.
8563         (nodeStates): New field.
8564         (cellEditor): New method.
8565         (cellRenderer): Likewise.
8566         (selectionModel): Likewise.
8567         (treeModel): Likewise.
8568         (scrollPathToVisible): Likewise.
8569         (scrollRowToVisible): Likewise.
8570         (isCollapsed): Likewise.
8571         (isExpanded): Likewise.
8572         (clearToggledPaths): Likewise.
8573         (getDescendantToggledPaths): Likewise.
8574         (hasBeenExpanded): Likewise.
8575         (isVisible): Likewise.
8576         (isPathEditable): Likewise.
8578 2005-02-15  Michael Koch  <konqueror@gmx.de>
8580         * javax/swing/JLayeredPane.java: Reformatted.
8582 2005-02-15  Michael Koch  <konqueror@gmx.de>
8584         * javax/swing/tree/DefaultMutableTreeNode.java:
8585         Completely Revised.
8586         * javax/swing/tree/MutableTreeNode.java:
8587         Reformatted.
8589 2005-02-15  Michael Koch  <konqueror@gmx.de>
8591         * javax/swing/JFormattedTextField.java
8592         (setDocument): Call setDocument of super class. Don't fire property
8593         change event.
8595 2005-02-15  Sven de Marothy  <sven@physto.se>
8597         * java/awt/image/IndexColorModel.java:
8598         Add FIXME with respect to alpha handling.
8599         (getAlpha): Default to returning opaque pixels.
8600         * java/awt/image/MultiPixelPackedSampleModel.java
8601         (MultiPixelPackedSampleModel): Corrected parameters, order of
8602         bit shifts and masks, stride length off by one.
8604 2005-02-15  Michael Koch  <konqueror@gmx.de>
8606         * javax/swing/JList.java, javax/swing/JTree.java:
8607         Added much new methods and fixed much methods setting bound properties.
8609 2005-02-16  Mark Wielaard  <mark@klomp.org>
8611         * Makefile.am (gnu_xml_source_files): Removed
8612         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
8613         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
8614         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
8615         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
8616         gnu/xml/dom/DomDocumentFragment.java,
8617         gnu/xml/dom/DomProcessingInstruction.java and
8618         gnu/xml/dom/ls/DomLSException.java.
8619         * Makefile.in: Regenerated.
8621 2005-02-16  Tom Tromey  <tromey@redhat.com>
8623         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
8624         attribute index is out of bounds.
8626 2005-02-16  Chris Burdess  <dog@gnu.org>
8628         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
8629         isDeclared methods. Improved performance of isSpecified methods.
8631 2005-02-16  Chris Burdess  <dog@gnu.org>
8633         Fixes bug libgcj/19864
8634         * gnu/xml/dom/DomAttr.java,
8635         gnu/xml/dom/DomCDATA.java,
8636         gnu/xml/dom/DomCDATASection.java,
8637         gnu/xml/dom/DomCharacterData.java,
8638         gnu/xml/dom/DomDOMException.java,
8639         gnu/xml/dom/DomDoctype.java,
8640         gnu/xml/dom/DomDocument.java,
8641         gnu/xml/dom/DomDocumentConfiguration.java,
8642         gnu/xml/dom/DomDocumentFragment.java,
8643         gnu/xml/dom/DomElement.java,
8644         gnu/xml/dom/DomEx.java,
8645         gnu/xml/dom/DomFragment.java,
8646         gnu/xml/dom/DomImpl.java,
8647         gnu/xml/dom/DomIterator.java,
8648         gnu/xml/dom/DomNamedNodeMap.java,
8649         gnu/xml/dom/DomNode.java,
8650         gnu/xml/dom/DomNsNode.java,
8651         gnu/xml/dom/DomPI.java,
8652         gnu/xml/dom/DomProcessingInstruction.java,
8653         gnu/xml/dom/DomText.java,
8654         gnu/xml/dom/DomLSEx.java,
8655         gnu/xml/dom/DomLSException.java,
8656         gnu/xml/dom/DomLSParser.java,
8657         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
8658         implementation class names to conform to Classpath guidelines.  Make
8659         DomLSException use JDK 1.4+ exception chaining.
8660         * gnu/xml/util/SAXNullTransformerFactory.java,
8661         gnu/xml/xpath/Predicate.java: Use constants relative to
8662         declaring class or interface.
8664 2005-02-16  Andrew Haley  <aph@redhat.com>
8666         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
8667         null, create a new AccessControlContext.
8668         * java/security/SecureClassLoader.java (protectionDomainCache):
8669         new field.
8670         (defineClass): Create a new protection domain and add it to our
8671         cache.
8673         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
8674         addStub() to keep track of the stub we've exported.
8675         (unexportObject): Call deleteStub().
8676         * java/rmi/server/RemoteObject.java (stubs): New field.
8677         (addStub): New method.
8678         (deleteStub): New method.
8679         (toStub): Rewrite.
8681         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
8682         true to findHelper (tryParents).
8683         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
8684         Likewise.
8685         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
8686         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
8687         ProtectionDomain.
8688         If tryParents is false, don't scan parent class loaders.
8690         * java/security/Permissions.java (PermissionsHash.implies):
8691         Iterate over the collection and invoke implies() on each
8692         element.
8694 2005-02-16  Andrew Haley  <aph@redhat.com>
8696         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
8697         fields.
8698         (PersistentByteMap): Set name
8699         Magic number changed to 0x67636a64 ("gcjd").
8700         (init): Force the map to be prime.
8701         (emptyPersistentByteMap): File name was a string, now a File.
8702         (addBytes): Share srings between entries.
8703         (stringTableSize): New method.
8704         (capacity): Scale by load factor.
8705         (force): New method.
8706         (getFile): New method.
8707         (close): New method.
8708         (putAll): New method.
8709         (ByteWrapper): New class.
8710         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
8711         (main): Guess the average string size as 32, not 64.
8712         Copy a database before modifying it, so that we can update a
8713         database in a running system.
8714         If a database isn't big enough, resize it.
8715         "-m": new option: merges databases.
8716         "-a": Create a new detabase if it doesn't exist.
8717         (usage): Correct, add new option.
8718         (addJar): Copy a database before modifying it.
8719         (resizeMap): New method.
8721 2005-02-15  David Daney <ddaney@avtrex.com>
8722             Bryce McKinlay  <mckinlay@redhat.com>
8724         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
8725         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
8726         ensure that GC threads inherit the new signal mask.
8727         (block_sigchld): Call JvFail rather than throwing exception if
8728         pthread_sigmask() fails.
8730 2005-02-15  Mark Wielaard  <mark@klomp.org>
8732         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
8733         file path elements are separated by spaces.
8735 2005-02-15  Mark Wielaard  <mark@klomp.org>
8737         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
8738         to describe attributes without a constant field value in this class.
8740 2005-02-15  Michael Koch  <konqueror@gmx.de>
8742         * java/util/jar/Attributes.java
8743         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
8745 2005-02-15  Mark Wielaard  <mark@klomp.org>
8747         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
8748         space for parsing CLASS_PATH attribute.
8750 2005-02-15  Mark Wielaard  <mark@klomp.org>
8752         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
8753         aside for "GCJLIBS" in directory where jarfiles are loaded.
8754         (JarURLLoader.getClass): Removed method.
8755         (JarURLLoader.toString): Removed method.
8756         (FileResource.toString): Removed method.
8758 2005-02-15  Mark Wielaard  <mark@klomp.org>
8760         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
8761         and/or cause before throwing.
8763 2005-02-15  Richard Henderson  <rth@redhat.com>
8765         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
8766         (libgcj0_convenience_la_SOURCES): ... here.
8767         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
8768         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
8769         * Makefile.in: Regenerate.
8771 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8773         * jawt.c: New file.
8774         * include/jawt.h: Likewise.
8775         * include/jawt_md.h: Likewise.
8776         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
8777         jawt_md.h files.
8778         * include/Makefile.in: Regenerate.
8779         * jni/classpath/classpath_jawt.h: Likewise.
8780         * jni/gtk-peer/gtk_jawt.c: Likewise.
8781         * Makefile.am: Build libjawt.so.
8782         * Makefile.in: Regenerate.
8784 2005-02-14  Tom Tromey  <tromey@redhat.com>
8786         * testsuite/libjava.lang/PR19921.java: Use correct class name.
8788 2005-02-14  Tom Tromey  <tromey@redhat.com>
8790         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
8791         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
8793 2005-02-14  Tom Tromey  <tromey@redhat.com>
8795         For PR java/19929:
8796         * testsuite/libjava.lang/PR19929.out: New file.
8797         * testsuite/libjava.lang/PR19929.java: New file.
8799 2005-02-14  Anthony Green  <green@redhat.com>
8801         PR libgcj/18116
8802         * testsuite/libjava.jni/PR18116.c: New file.
8803         * testsuite/libjava.jni/PR18116.java: New file.
8804         * testsuite/libjava.jni/PR18116.out: New file.
8806 2005-02-13  Anthony Green  <green@redhat.com>
8808         PR libgcj/18116
8809         * jni.cc (nathash_add): Don't strdup the method signature.
8810         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
8811         method signature.
8812         Update copyright.
8814 2005-02-12  Mark Wielaard  <mark@klomp.org>
8816         Fixes bug libgcj/8170
8817         * java/lang/ClassLoader.java (loadClass): Don't rewrap
8818         ClassNotFoundException.
8819         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
8820         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
8821         (remove_internal): New field superceding remove_interpreter.
8822         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
8823         Remove no-class methods starting with "_Jv_". And Replace null
8824         class or method names with the empty string. Stop at either the
8825         MainThread or a real Thread run() method.
8826         (newElement): Made static.
8827         * java/net/URLClassLoader.java (findClass): Throw
8828         ClassNotFoundExceptions including urls, plus parent using toString().
8829         (thisString): New field.
8830         (toString): New method.
8832 2005-02-10  Tom Tromey  <tromey@redhat.com>
8834         * external/sax/Makefile.in: Rebuilt.
8835         * external/sax/Makefile.am (all-local): Removed.
8836         (BUILT_SOURCES): New variable.
8837         (mostlyclean-local): No error if no classes to delete.
8838         * external/w3c_dom/Makefile.in: Rebuilt.
8839         * external/w3c_dom/Makefile.am (all-local): Removed.
8840         (BUILT_SOURCES): New variable.
8841         (mostlyclean-local): No error if no classes to delete.
8843 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
8845         * testsuite/libjava.mauve/xfails: Updated to reflect current state
8846         of mauve and libjava.
8848 2005-02-09  Tom Tromey  <tromey@redhat.com>
8850         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
8851         jar file with OPEN_DELETE.
8852         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
8853         OPEN_DELETE is used.
8855 2005-02-09  Tom Tromey  <tromey@redhat.com>
8857         * java/util/zip/InflaterInputStream.java (markSupported):
8858         Override.
8859         (mark, reset): Likewise.
8861 2005-02-08  Tom Tromey  <tromey@redhat.com>
8863         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
8864         name or port is missing.
8865         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
8866         AUTHORITY_PORT_GROUP): Updated.
8868 2005-02-08  Tom Tromey  <tromey@redhat.com>
8870         * configure: Rebuilt.
8871         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
8872         AC_CHECK_HEADERS.
8874 2005-02-07  Tom Tromey  <tromey@redhat.com>
8876         * java/lang/natRuntime.cc (insertSystemProperties): Set
8877         sun.boot.class.path earlier.
8879 2005-02-07  Tom Tromey  <tromey@redhat.com>
8881         * defineclass.cc (handleClassBegin): Use
8882         _Jv_RegisterInitiatingLoader.
8883         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
8884         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
8885         class.  Use _Jv_UnregisterInitiatingLoader.
8886         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
8887         New function.
8889 2005-02-07  Mark Wielaard  <mark@klomp.org>
8891         Reported by Timo Lindfors <timo.lindfors@iki.fi>
8892         java/util/regex/Matcher.java (lookingAt): Set position when match
8893         found.
8894         (matches): Implemented through lookingAt().
8896 2005-02-07  Mark Wielaard  <mark@klomp.org>
8898         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
8899         * java/util/regex/Pattern.java (split(CharSequence,int)):
8900         Fix while empties > 0 loops.
8902 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
8904         * gnu/java/nio/charset/ISO_8859_1.java,
8905         gnu/java/nio/charset/US_ASCII.java,
8906         gnu/java/nio/charset/UTF_16.java,
8907         gnu/java/nio/charset/UTF_16_LE.java,
8908         gnu/java/nio/charset/UTF_16_BE.java,
8909         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
8910          and aliases according to
8911          "http://www.iana.org/assignments/character-sets",
8912          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
8913          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
8914         * gnu/java/nio/charset/Provider.java: Made charset lookup
8915          case-insensitive which fixes bug #11740.
8917 2005-02-07  Tom Tromey  <tromey@redhat.com>
8919         PR libgcj/19611:
8920         * Makefile.in: Rebuilt.
8921         * Makefile.am (src.zip): New target.
8922         (install-src.zip): Likewise.
8923         (sourcesdir): New variable.
8925 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
8927         * javax/imageio/metadata/IIOMetadataNode.java:
8928         Implemented.
8929         * javax/imageio/metadata/IIOAttr.java,
8930         javax/imageio/metadata/IIONamedNodeMap.java,
8931         javax/imageio/metadata/IIONodeList.java:
8932         New files
8934 2005-02-06  Graydon Hoare  <graydon@redhat.com>
8936         * gnu/java/awt/ClasspathToolkit.java
8937         (registerImageIOSpis): New method.
8938         * javax/imageio/ImageIO.java
8939         (WriterFormatFilter.filter): Fix copy-and-paste typos.
8940         (WriterMIMETypeFilter.filter): Likewise.
8941         (ImageReaderIterator): Pass extension argument through to SPI.
8942         (getReadersByFilter): Likewise.
8943         (getWritersByFilter): Likewise.
8944         (getImageReadersByFormatName): Likewise.
8945         (getImageReadersByMIMEType): Likewise.
8946         (getImageReadersBySuffix): Likewise.
8947         (getImageWritersByFormatName): Likewise.
8948         (getImageWritersByMIMEType): Likewise.
8949         (getImageWritersBySuffix): Likewise.
8950         (read): Implement.
8951         (write): Implement.
8952         * javax/imageio/ImageReader.java
8953         (progressListeners): Initialize.
8954         (setInput): Implement.
8955         * javax/imageio/ImageWriter.java
8956         (progressListeners): Initialize.
8957         (warningListeners): Likewise.
8958         (warningLocales): Likewise.
8959         (setOutput): Test "isInstance" rather than class equality.
8960         * javax/imageio/spi/IIORegistry.java
8961         (static): Add reader and writer SPIs.
8962         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
8964 2005-02-06  Michael Koch  <konqueror@gmx.de>
8966         * javax/imageio/metadata/IIOInvalidTreeException.java
8967         (IIOInvalidTreeException): Reformatted.
8968         * javax/imageio/spi/IIORegistry.java
8969         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
8970         * javax/imageio/stream/MemoryCacheImageInputStream.java:
8971         Reworked import statements.
8973 2005-02-06  Michael Koch  <konqueror@gmx.de>
8975         * javax/imageio/stream/FileImageOutputStream.java:
8976         Implemented.
8978 2005-02-06  Michael Koch  <konqueror@gmx.de>
8980         * javax/imageio/stream/FileCacheImageInputStream.java,
8981         javax/imageio/stream/FileCacheImageOutputStream.java,
8982         javax/imageio/stream/FileImageInputStream.java,
8983         javax/imageio/stream/ImageInputStreamImpl.java,
8984         javax/imageio/stream/ImageOutputStreamImpl.java,
8985         javax/imageio/stream/MemoryCacheImageInputStream.java,
8986         javax/imageio/stream/MemoryCacheImageOutputStream.java:
8987         Added all missing methods in javax.imageio.stream.
8989 2005-02-02  David Daney  <ddaney@avtrex.com>
8991         * java/net/InetAddress.java (InetAddress): Make a private copy of
8992         the address.
8993         * java/net/Inet4Address.java (getAddress): Return a copy of the
8994         address.
8995         * java/net/Inet6Address.java (Inet6Address): Use private copy of
8996         the address
8997         (getAddress): Return a copy of the address.
8998         (equals): Rewrote.
9000 2005-02-02  Tom Tromey  <tromey@redhat.com>
9002         * Makefile.in: Rebuilt.
9003         * Makefile.am (classes.stamp): New target, broken out from
9004         libgcj.jar target.
9005         ($(all_java_class_files)): Depend on it.
9006         (libgcj-@gcc_version@.jar): Likewise.
9007         (all-recursive): Likewise.
9008         (CLEANFILES): Include classes.stamp.
9010 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
9012         * link.cc: Include <stdio.h>
9014 2005-02-02  Tom Tromey  <tromey@redhat.com>
9016         PR libgcj/19681:
9017         * Makefile.in: Rebuilt.
9018         * Makefile.am (ordinary_java_source_files): Added new class.
9019         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
9020         Use system_instance, not instance.
9021         * gnu/gcj/runtime/SystemClassLoader.java: New file.
9022         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
9023         java.class.path.
9024         (system_instance): New field.
9025         (initialize): Initialize the system loader as well.
9026         (VMClassLoader): Default to LIB_CACHE.
9028 2005-02-02  Tom Tromey  <tromey@redhat.com>
9030         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
9031         * prims.cc: Fixed comment.
9033 2005-02-01  Tom Tromey  <tromey@redhat.com>
9035         * Makefile.in: Rebuilt.
9036         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
9037         (.java.class): Use BOOTCLASSPATH.
9039 2005-02-01  Tom Tromey  <tromey@redhat.com>
9041         * external/w3c_dom/Makefile.am: New file.
9042         * external/w3c_dom/Makefile.in: New file.
9043         * external/sax/Makefile.am: New file.
9044         * external/sax/Makefile.in: New file.
9045         * external/Makefile.in: New file.
9046         * external/Makefile.am: New file.
9047         * external/README: New file from Classpath.
9048         * configure, aclocal.m4, Makefile.in: Rebuilt.
9049         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
9050         * Makefile.am (SUBDIRS): Added external.
9051         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
9052         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
9053         (BOOTCLASSPATH): New variable.
9054         (AM_GCJFLAGS): Use it.
9055         (gnu_xml_source_files): New variable.
9056         (libgcj_la_SOURCES): Use it.
9057         (libgcj_la_LDADD): Include new convenience libraries.
9058         (lib_org_ietf_jgss_la_SOURCES): Removed.
9059         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
9060         (lib_org_ietf_jgss_la_LIBADD): Likewise.
9061         (lib_org_w3c_dom_la_SOURCES): Removed.
9062         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
9063         (lib_org_w3c_dom_la_LIBADD): Likewise.
9064         (lib_org_xml_sax_la_SOURCES): Removed.
9065         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
9066         (lib_org_xml_sax_la_LIBADD): Likewise.
9067         (all_java_source_files): Updated.
9068         (property_files): Likewise.
9069         (libgcj-@gcc_version@.jar): Include classes from external/.
9070         (javax_source_files): Updated.
9071         (ordinary_java_source_files): Updated.
9072         * javax/xml/XMLConstants.java,
9073         javax/xml/datatype/DatatypeConfigurationException.java,
9074         javax/xml/datatype/DatatypeConstants.java,
9075         javax/xml/datatype/DatatypeFactory.java,
9076         javax/xml/datatype/Duration.java,
9077         javax/xml/datatype/XMLGregorianCalendar.java,
9078         javax/xml/datatype/package.html,
9079         javax/xml/namespace/NamespaceContext.java,
9080         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
9081         javax/xml/parsers/DocumentBuilder.java,
9082         javax/xml/parsers/DocumentBuilderFactory.java,
9083         javax/xml/parsers/FactoryConfigurationError.java,
9084         javax/xml/parsers/ParserConfigurationException.java,
9085         javax/xml/parsers/SAXParser.java,
9086         javax/xml/parsers/SAXParserFactory.java,
9087         javax/xml/parsers/package.html,
9088         javax/xml/transform/ErrorListener.java,
9089         javax/xml/transform/OutputKeys.java,
9090         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
9091         javax/xml/transform/SourceLocator.java,
9092         javax/xml/transform/Templates.java,
9093         javax/xml/transform/Transformer.java,
9094         javax/xml/transform/TransformerConfigurationException.java,
9095         javax/xml/transform/TransformerException.java,
9096         javax/xml/transform/TransformerFactory.java,
9097         javax/xml/transform/TransformerFactoryConfigurationError.java,
9098         javax/xml/transform/URIResolver.java,
9099         javax/xml/transform/package.html,
9100         javax/xml/transform/dom/DOMLocator.java,
9101         javax/xml/transform/dom/DOMResult.java,
9102         javax/xml/transform/dom/DOMSource.java,
9103         javax/xml/transform/dom/package.html,
9104         javax/xml/transform/sax/SAXResult.java,
9105         javax/xml/transform/sax/SAXSource.java,
9106         javax/xml/transform/sax/SAXTransformerFactory.java,
9107         javax/xml/transform/sax/TemplatesHandler.java,
9108         javax/xml/transform/sax/TransformerHandler.java,
9109         javax/xml/transform/sax/package.html,
9110         javax/xml/transform/stream/StreamResult.java,
9111         javax/xml/transform/stream/StreamSource.java,
9112         javax/xml/transform/stream/package.html,
9113         javax/xml/validation/Schema.java,
9114         javax/xml/validation/SchemaFactory.java,
9115         javax/xml/validation/TypeInfoProvider.java,
9116         javax/xml/validation/Validator.java,
9117         javax/xml/validation/ValidatorHandler.java,
9118         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
9119         javax/xml/xpath/XPathConstants.java,
9120         javax/xml/xpath/XPathException.java,
9121         javax/xml/xpath/XPathExpression.java,
9122         javax/xml/xpath/XPathExpressionException.java,
9123         javax/xml/xpath/XPathFactory.java,
9124         javax/xml/xpath/XPathFactoryConfigurationException.java,
9125         javax/xml/xpath/XPathFunction.java,
9126         javax/xml/xpath/XPathFunctionException.java,
9127         javax/xml/xpath/XPathFunctionResolver.java,
9128         javax/xml/xpath/XPathVariableResolver.java,
9129         javax/xml/xpath/package.html: New files, from GNU JAXP.
9130         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
9131         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
9132         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
9133         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
9134         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
9135         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
9136         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
9137         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
9138         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
9139         org/w3c/dom/ranges/DocumentRange.java,
9140         org/w3c/dom/ranges/Range.java,
9141         org/w3c/dom/ranges/RangeException.java,
9142         org/w3c/dom/traversal/DocumentTraversal.java,
9143         org/w3c/dom/traversal/NodeFilter.java,
9144         org/w3c/dom/traversal/NodeIterator.java,
9145         org/w3c/dom/traversal/TreeWalker.java,
9146         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
9147         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
9148         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
9149         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
9150         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
9151         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
9152         org/xml/sax/SAXNotRecognizedException.java,
9153         org/xml/sax/SAXNotSupportedException.java,
9154         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
9155         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
9156         org/xml/sax/ext/DeclHandler.java,
9157         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
9158         org/xml/sax/helpers/AttributeListImpl.java,
9159         org/xml/sax/helpers/AttributesImpl.java,
9160         org/xml/sax/helpers/DefaultHandler.java,
9161         org/xml/sax/helpers/LocatorImpl.java,
9162         org/xml/sax/helpers/NamespaceSupport.java,
9163         org/xml/sax/helpers/NewInstance.java,
9164         org/xml/sax/helpers/ParserAdapter.java,
9165         org/xml/sax/helpers/ParserFactory.java,
9166         org/xml/sax/helpers/XMLFilterImpl.java,
9167         org/xml/sax/helpers/XMLReaderAdapter.java,
9168         org/xml/sax/helpers/XMLReaderFactory.java,
9169         org/xml/sax/helpers/package.html: Moved to external/.
9170         * external/sax/README,
9171         external/sax/org/xml/sax/AttributeList.java,
9172         external/sax/org/xml/sax/Attributes.java,
9173         external/sax/org/xml/sax/ContentHandler.java,
9174         external/sax/org/xml/sax/DTDHandler.java,
9175         external/sax/org/xml/sax/DocumentHandler.java,
9176         external/sax/org/xml/sax/EntityResolver.java,
9177         external/sax/org/xml/sax/ErrorHandler.java,
9178         external/sax/org/xml/sax/HandlerBase.java,
9179         external/sax/org/xml/sax/InputSource.java,
9180         external/sax/org/xml/sax/Locator.java,
9181         external/sax/org/xml/sax/Parser.java,
9182         external/sax/org/xml/sax/SAXException.java,
9183         external/sax/org/xml/sax/SAXNotRecognizedException.java,
9184         external/sax/org/xml/sax/SAXNotSupportedException.java,
9185         external/sax/org/xml/sax/SAXParseException.java,
9186         external/sax/org/xml/sax/XMLFilter.java,
9187         external/sax/org/xml/sax/XMLReader.java,
9188         external/sax/org/xml/sax/package.html,
9189         external/sax/org/xml/sax/ext/Attributes2.java,
9190         external/sax/org/xml/sax/ext/Attributes2Impl.java,
9191         external/sax/org/xml/sax/ext/DeclHandler.java,
9192         external/sax/org/xml/sax/ext/DefaultHandler2.java,
9193         external/sax/org/xml/sax/ext/EntityResolver2.java,
9194         external/sax/org/xml/sax/ext/LexicalHandler.java,
9195         external/sax/org/xml/sax/ext/Locator2.java,
9196         external/sax/org/xml/sax/ext/Locator2Impl.java,
9197         external/sax/org/xml/sax/ext/package.html,
9198         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
9199         external/sax/org/xml/sax/helpers/AttributesImpl.java,
9200         external/sax/org/xml/sax/helpers/DefaultHandler.java,
9201         external/sax/org/xml/sax/helpers/LocatorImpl.java,
9202         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
9203         external/sax/org/xml/sax/helpers/NewInstance.java,
9204         external/sax/org/xml/sax/helpers/ParserAdapter.java,
9205         external/sax/org/xml/sax/helpers/ParserFactory.java,
9206         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
9207         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
9208         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
9209         external/sax/org/xml/sax/helpers/package.html,
9210         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
9211         external/w3c_dom/org/w3c/dom/Attr.java,
9212         external/w3c_dom/org/w3c/dom/CDATASection.java,
9213         external/w3c_dom/org/w3c/dom/CharacterData.java,
9214         external/w3c_dom/org/w3c/dom/Comment.java,
9215         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
9216         external/w3c_dom/org/w3c/dom/DOMError.java,
9217         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
9218         external/w3c_dom/org/w3c/dom/DOMException.java,
9219         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
9220         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
9221         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
9222         external/w3c_dom/org/w3c/dom/DOMLocator.java,
9223         external/w3c_dom/org/w3c/dom/DOMStringList.java,
9224         external/w3c_dom/org/w3c/dom/Document.java,
9225         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
9226         external/w3c_dom/org/w3c/dom/DocumentType.java,
9227         external/w3c_dom/org/w3c/dom/Element.java,
9228         external/w3c_dom/org/w3c/dom/Entity.java,
9229         external/w3c_dom/org/w3c/dom/EntityReference.java,
9230         external/w3c_dom/org/w3c/dom/NameList.java,
9231         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
9232         external/w3c_dom/org/w3c/dom/Node.java,
9233         external/w3c_dom/org/w3c/dom/NodeList.java,
9234         external/w3c_dom/org/w3c/dom/Notation.java,
9235         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
9236         external/w3c_dom/org/w3c/dom/Text.java,
9237         external/w3c_dom/org/w3c/dom/TypeInfo.java,
9238         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
9239         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
9240         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
9241         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
9242         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
9243         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
9244         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
9245         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
9246         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
9247         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
9248         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
9249         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
9250         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
9251         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
9252         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
9253         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
9254         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
9255         external/w3c_dom/org/w3c/dom/css/Counter.java,
9256         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
9257         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
9258         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
9259         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
9260         external/w3c_dom/org/w3c/dom/css/Rect.java,
9261         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
9262         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
9263         external/w3c_dom/org/w3c/dom/events/Event.java,
9264         external/w3c_dom/org/w3c/dom/events/EventException.java,
9265         external/w3c_dom/org/w3c/dom/events/EventListener.java,
9266         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
9267         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
9268         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
9269         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
9270         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
9271         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
9272         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
9273         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
9274         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
9275         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
9276         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
9277         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
9278         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
9279         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
9280         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
9281         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
9282         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
9283         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
9284         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
9285         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
9286         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
9287         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
9288         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
9289         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
9290         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
9291         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
9292         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
9293         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
9294         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
9295         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
9296         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
9297         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
9298         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
9299         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
9300         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
9301         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
9302         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
9303         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
9304         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
9305         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
9306         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
9307         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
9308         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
9309         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
9310         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
9311         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
9312         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
9313         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
9314         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
9315         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
9316         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
9317         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
9318         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
9319         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
9320         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
9321         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
9322         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
9323         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
9324         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
9325         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
9326         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
9327         external/w3c_dom/org/w3c/dom/ls/LSException.java,
9328         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
9329         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
9330         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
9331         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
9332         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
9333         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
9334         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
9335         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
9336         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
9337         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
9338         external/w3c_dom/org/w3c/dom/ranges/Range.java,
9339         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
9340         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
9341         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
9342         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
9343         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
9344         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
9345         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
9346         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
9347         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
9348         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
9349         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
9350         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
9351         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
9352         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
9353         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
9354         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
9355         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
9356         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
9357         from Classpath.
9359 2005-01-31  Anthony Green  <green@redhat.com>
9361         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
9362         Support IP_MULTICAST_LOOP.
9363         (setOption): Support IP_MULTICAST_LOOP.
9365         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
9366         SO_REUSEADDR support.
9367         (getOption): Support SO_REUSEADDR.
9369 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
9371         PR libgcj/19649
9372         * java/util/Date.java
9373         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
9374         constructor.
9375         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
9376         arguments.
9377         (getTimezoneOffset): Inverted sign.
9379 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
9381         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
9382         remove other passing tests and add new XFAILs.
9384 2005-01-24  Tom Tromey  <tromey@redhat.com>
9386         * java/lang/Class.h (next): Updated documentation.  Renamed to
9387         'next_or_version'.
9388         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
9389         _Jv_CheckABIVersion.
9390         (_Jv_RegisterClasses_Counted): Likewise.
9391         (_Jv_RegisterClassHookDefault): Fix starting condition of
9392         duplicate-checking loop.
9393         * include/jvm.h (GCJ_VERSION): New define.
9394         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
9395         (_Jv_CheckABIVersion): New function.
9397 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
9399         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
9400         (libgij_la_LDFLAGS): Add.
9401         * Makefile.in: Rebuilt.
9403 2005-01-24  Roger Sayle  <roger@eyesopen.com>
9405         PR java/19295
9406         * testsuite/libjava.compile/PR19295.java: New test case.
9408 2005-01-19  Tom Tromey  <tromey@redhat.com>
9410         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
9411         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
9412         if 'handler' is valid.
9414 2005-01-17  Tom Tromey  <tromey@redhat.com>
9416         * java/text/MessageFormat.java (scanString): Changed how quoting
9417         is handled.
9418         (scanFormatElement): Likewise.
9420 2004-12-07  Mark Wielaard  <mark@klomp.org>
9422         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
9424 2005-01-15  Michael Koch  <konqueror@gmx.de>
9426         PR libgcj/19444
9427         * java/net/URI.java
9428         (AUTHORITY_REGEXP): New regexp constant.
9429         (AUTHORITY_USERINFO_GROUP): New constant.
9430         (AUTHORITY_HOST_GROUP): Likewise.
9431         (AUTHORITY_PORT_GROUP): Likewise.
9432         (port): Changed default value to -1.
9433         (parseURI): Parse authority part and initialize host,
9434         port and userInfo.
9436 2005-01-14  Robin Green  <greenrd@greenrd.org>
9438         * java/io/File.java (toURI): Generate a URI which we understand.
9440 2005-01-13  Graydon Hoare  <graydon@redhat.com>
9442         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
9443         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
9444         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
9445         * jni.cc: Reuse bottom frame between calls, avoid clearing
9446         frame when no local references are made.
9448 2005-01-13  Michael Koch  <konqueror@gmx.de>
9450         PR libgcj/17784
9451         * java/lang/Thread.java
9452         (Thread): Call checkAccess().
9453         (stop): Fixed argument name to match javadoc.
9454         * java/lang/natThread.cc
9455         (interrupt): Call checkAccess().
9456         (stop): Likewise.
9458 2005-01-11  Michael Koch  <konqueror@gmx.de>
9460         PR libgcj/13972
9461         * java/net/URL.java (URL): Handle specs like
9462         "/redir?http://domain2.com/index.html" which start with a slash.
9464 2005-01-11  Michael Koch  <konqueror@gmx.de>
9466         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
9467         * gnu/java/net/BASE64.java,
9468         gnu/java/net/EmptyX509TrustManager.java,
9469         gnu/java/net/LineInputStream.java,
9470         gnu/java/net/protocol/http/Authenticator.java,
9471         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
9472         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
9473         gnu/java/net/protocol/http/ChunkedInputStream.java,
9474         gnu/java/net/protocol/http/Cookie.java,
9475         gnu/java/net/protocol/http/CookieManager.java,
9476         gnu/java/net/protocol/http/Credentials.java,
9477         gnu/java/net/protocol/http/HTTPConnection.java,
9478         gnu/java/net/protocol/http/HTTPDateFormat.java,
9479         gnu/java/net/protocol/http/HTTPURLConnection.java,
9480         gnu/java/net/protocol/http/Headers.java,
9481         gnu/java/net/protocol/http/Request.java,
9482         gnu/java/net/protocol/http/RequestBodyWriter.java,
9483         gnu/java/net/protocol/http/Response.java,
9484         gnu/java/net/protocol/http/ResponseBodyReader.java,
9485         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
9486         gnu/java/net/protocol/http/SimpleCookieManager.java,
9487         gnu/java/net/protocol/http/event/ConnectionEvent.java,
9488         gnu/java/net/protocol/http/event/ConnectionListener.java,
9489         gnu/java/net/protocol/http/event/RequestEvent.java,
9490         gnu/java/net/protocol/http/event/RequestListener.java: New files.
9491         * gnu/java/net/protocol/http/Connection.java: Removed.
9492         * gnu/java/net/protocol/http/Handler.java,
9493         javax/net/ssl/HttpsURLConnection.java: Updated.
9494         * Makefile.am: Added new files and remove old ones.
9495         * Makefile.in: Regenerated.
9497 2005-01-11  Tom Tromey  <tromey@redhat.com>
9499         PR libgcj/18840:
9500         * java/io/BufferedInputStream.java (read): Repeatedly read to
9501         fill buffer.
9502         (refill): Change test to see if buffer must be grown.
9504 2005-01-10  Tom Tromey  <tromey@redhat.com>
9506         * mauve-libgcj: Exclude some swing tests.
9508 2005-01-10  Tom Tromey  <tromey@redhat.com>
9510         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
9511         * java/lang/Package.java (getPackages): Use VMClassLoader when
9512         appropriate.
9513         (getPackage): Likewise.
9514         * prims.cc (_Jv_CreateJavaVM): Call
9515         _Jv_RegisterBootstrapPackages.
9516         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
9517         * java/lang/VMClassLoader.java (getPackage): Rewrote.
9518         (getPackages): Likewise.
9519         (definedPackages): New field.
9520         (definePackageForNative): New method.
9521         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
9522         * java/lang/natVMClassLoader.cc (loadClass): Updated.
9523         * defineclass.cc (handleClassBegin): Use
9524         ClassLoader.findLoadedClass.
9525         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
9526         Rewrote.
9527         (struct _Jv_LoaderInfo): Removed.
9528         (initiated_classes): Likewise.
9529         (_Jv_UnregisterClass): Don't use initiated_classes.
9530         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
9531         (_Jv_FindClass): Register classes found during boostrap.
9532         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
9533         (bootstrap_class_list): New global.
9534         (bootstrap_index): Likewise.
9535         (_Jv_RegisterBootstrapPackages): New function.
9536         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
9537         definePackageForNative.
9538         (findClass): Updated.
9539         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
9540         New method.
9542 2005-01-10  Tom Tromey  <tromey@redhat.com>
9544         PR libgcj/18868:
9545         * include/jvm.h (_Jv_Linker::find_field): Declare.
9546         (_Jv_Linker::find_field_helper): Likewise.
9547         * link.cc (find_field_helper): New method.
9548         (find_field): Likewise.
9549         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
9550         not found.
9551         (link_symbol_table): Use find_field.
9553 2005-01-10  Michael Koch  <konqueror@gmx.de>
9555         PR libgcj/18014
9556         * java/util/Locale.java (Locale): Don't uppercase variant.
9557         (getISOCountries): Fixed typo in javadoc.
9559 2005-01-10  Michael Koch  <konqueror@gmx.de>
9561         * java/util/SimpleTimeZone.java (checkRule):
9562         Throw IllegalArgumentException on invalid month values.
9563         * java/util/TimeZone.java (setID):
9564         Throw NullPointerException if needed.
9566 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9568         * java/util/SimpleTimeZone.java (getOffset):
9569         offset end date with daylight savings
9571 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
9573         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
9574         * testsuite/libjava.compile/PR19277.xfail: Likewise.
9576 2005-01-09  Michael Koch  <konqueror@gmx.de>
9578         PR libgcj/17069
9579         * java/net/InetAddress.java (getLocalHost):
9580         Throw UnknownHostException if local hostname cannot be determined.
9582 2005-01-06  Tom Tromey  <tromey@redhat.com>
9584         * java/lang/ClassLoader.java (findClass): Fixed documentation.
9586 2005-01-07  Michael Koch  <konqueror@gmx.de>
9588         PR libgcj/18115
9589         * java/nio/Buffer.java (address): New field.
9590         * java/nio/DirectByteBufferImpl.java (address): Removed.
9591         * java/nio/MappedByteBufferImpl.java (address): Likewise.
9592         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
9593         Explicitly initialize Buffer.address if needed.
9594         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
9595         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
9596         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
9597         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
9598         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
9599         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
9600         DirectByteBufferImpl object.
9601         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9602         * testsuite/libjava.jni/directbuffer.c,
9603         testsuite/libjava.jni/directbuffer.java,
9604         testsuite/libjava.jni/directbuffer.out,
9605         testsuite/libjava.jni/bytebuffer.c,
9606         testsuite/libjava.jni/bytebuffer.java,
9607         testsuite/libjava.jni/bytebuffer.out: New files.
9609 2005-01-05  Tom Tromey  <tromey@redhat.com>
9611         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
9612         argument.
9613         (compressedSize): Now 'long'.  Default to -1.
9614         (getCompressedSize): Rewrote.
9615         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
9616         deflate at all if we need input.
9618 2005-01-05  Tom Tromey  <tromey@redhat.com>
9620         PR libgcj/15719:
9621         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
9622         correctly.
9624 2005-01-05  Tom Tromey  <tromey@redhat.com>
9626         * java/lang/natRuntime.cc (insertSystemProperties): Set
9627         java.ext.dirs earlier.
9629 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
9631         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
9632         sync_info element of the object if needed.
9634 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
9636         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
9637         a non-zero exit status from 'false'.
9639 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
9641         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.