* tree-ssa-loop.c (tree_vectorize): Return the result of
[official-gcc.git] / libjava / ChangeLog
blobb02e649ae5a5d9ff1d2a8e7d6822f1da83ad4574
1 2006-11-03  Gary Benson  <gbenson@redhat.com>
3         * java/net/InetAddress.java: Removed.
4         * java/net/natInetAddressNoNet.cc: Likewise.
5         * java/net/natInetAddressPosix.cc: Likewise.
6         * java/net/natInetAddressWin32.cc: Likewise.
7         * java/net/VMInetAddress.java (getLocalHostname,
8         lookupInaddrAny, getHostByAddr, getHostByName,
9         aton): Replace glue methods with native ones.
10         * java/net/natVMInetAddressNoNet.cc: New file.
11         * java/net/natVMInetAddressPosix.cc: Likewise.
12         * java/net/natVMInetAddressWin32.cc: Likewise.
13         * Makefile.am, configure.ac: Reflect the above.
14         * sources.am, Makefile.in, configure: Rebuilt.
16         * java/net/natVMNetworkInterfaceWin32.cc
17         (winsock2GetRealNetworkInterfaces): Create InetAddress
18         objects using InetAddress.getByAddress.
19         * gnu/java/net/natPlainSocketImplWin32.cc
20         (accept, getOption): Likewise.
21         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
22         (peekData, receive, getOption): Likewise.
24 2006-11-02  Keith Seitz  <keiths@redhat.com>
26         * gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.
28 2006-11-02  Keith Seitz  <keiths@redhat.com>
30         * jvmti.cc (_Jv_JVMTI_GetLineNumberTable): New function.
31         (_Jv_JVMTI_Interface): Define GetLineNumberTable.
33 2006-11-01  Keith Seitz  <keiths@redhat.com>
35         * gnu/gcj/jvmti/Location.java: New file.
36         * gnu/gcj/jvmti/BreakpointManager.java: New file.
37         * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
38         (_Jv_JVMTI_ClearBreakpoint): New function.
39         (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
40         * sources.am: Regenerated.
41         * Makefile.in: Regenerated.
43 2006-10-28  Keith Seitz  <keiths@redhat.com>
45         * Makefile.am (nat_source_files): Add natBreakpoint.cc.
46         * sources.am: Regenerated.
47         * Makefile.in: Regenerated.
48         * gnu/gcj/jvmti/Breakpoint.java: New file.
49         * gnu/gcj/jvmti/natBreakpoint.java: New file.
51 2006-10-27  Keith Seitz  <keiths@redhat.com>
53         * include/java-stack.h (ncodeMap): Declare.
54         (_Jv_StackTrace): Make _Jv_GetMethodDeclaringClass friend.
55         * java/lang/Class.h (_Jv_GetMethodDeclaringClass): Declare.
56         * java/lang/natClass.cc (_Jv_GetMethodDeclaringClass): New
57         function.
58         * stacktrace.cc (ncodeMap): Redefine from file global to global
59         for class _Jv_StackTrace.
60         (_Jv_StackTrace::UpdateNCodeMap): Add interpreted classes, too,
61         so that _Jv_GetMethodDeclaringClass can find them all.
62         (_Jv_StackTrace::ClassForFrame): Exclude interpreted classes.
63         * jvmti.cc (_Jv_JVMTI_GetMethodDeclaringClass): New function.
64         (_Jv_JVMTI_Interface): Define GetMethodDeclaringClass function.
66 2006-10-25  Andreas Tobler  <a.tobler@schweiz.org>
68         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace
69         formatting modifiers %p with %#llx and cast the arguments.
71 2006-10-20  Tom Tromey  <tromey@redhat.com>
73         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
74         Correctly pass jvalues.
76 2006-10-18  Tom Tromey  <tromey@redhat.com>
77             Bryce McKinlay  <mckinlay@redhat.com>
79         * testsuite/libjava.jni/register2.java: New file.
80         * testsuite/libjava.jni/register2.out: New file.
81         * testsuite/libjava.jni/register2.c: New file.
82         * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
83         * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
84         * jni.cc (struct NativeMethodCacheEntry): New struct.
85         (nathash): Changed type.
86         (hash): Updated.
87         (nathash_find_slot): Likewise.
88         (nathash_find): Likewise.
89         (natrehash): Likewise.
90         (nathash_add): Likewise.
91         (_Jv_JNI_RegisterNatives): Likewise.
92         (_Jv_LookupJNIMethod): Likewise.
93         Idea from Juerg Lehni <juerg@scratchdisk.com>
95 2006-10-16  Geoffrey Keating  <geoffk@apple.com>
97         * testsuite/libjava.jvmti/natevents.cc (env): Delete.
98         (ExceptionCB): Fix types for printf arguments.
99         (ExceptionCatchCB): Likewise.
100         (SingleStepCB): Likewise.
101         (BreakpointCB): Likewise.
102         (FieldAccessCB): Likewise.
103         (FieldModificationCB): Likewise.
104         (CompiledMethodLoadCB): Likewise.
106 2006-10-14  Keith Seitz  <keiths@redhat.com>
108         * include/java-insns.h (enum java_code): Add op_breakpoint.
109         * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
110         [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
111         [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
112         (install_break): Declare.
113         * interpret.cc (breakpoint_insn): Define breakpoint insn.
114         (compile): Add op_breakpoint to "can't happen" cases.
115         [INTERPRETER] Initialize breakpoint insn if necessary.
116         (install_break): New method.
117         * interpret-run.cc: Add op_breakpoint to insn_targets.
118         Add insn_breakpoint label.
119         * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
120         opcodes section of switch statement.
121         (verify_instructions_0): Likewise.
123 2006-10-12  Keith Seitz  <keiths@redhat.com>
125         * include/jvmti-int.h (JVMTI): Declare all members "extern".
126         * jvmti.cc (JVMTI): Define.
128 2006-10-11  Tom Tromey  <tromey@redhat.com>
130         * Makefile.in: Rebuilt.
131         * Makefile.am (install-data-local): Use mkinstalldirs.
133 2006-10-10  Tom Tromey  <tromey@redhat.com>
135         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
136         Removed obsolete comment.
138 2006-10-10  Keith Seitz  <keiths@redhat.com>
140         * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
141         (_Jv_InterpMethod::set_insn): Declare.
142         * interpret.cc (_Jv_InterpMethod::get_insn): New method.
143         (_Jv_InterpMethod::get_insn): New method.
145 2006-10-10  Tom Tromey  <tromey@redhat.com>
147         * prims.cc (_Jv_PrependVersionedLibdir): Use
148         _Jv_platform_path_separator.
150 2006-10-10  Tom Tromey  <tromey@redhat.com>
152         PR libgcj/29205:
153         * Makefile.in: Rebuilt.
154         * Makefile.am (install-data-local): Install the .pc file.
155         (pkgconfig_DATA): Removed.
157 2006-10-03  Gary Benson  <gbenson@redhat.com>
159         * java/net/InetAddress.java
160         (<clinit>): Reorder the static initializers.
162 2006-10-02  Gary Benson  <gbenson@redhat.com>
164         * java/net/InetAddress.java
165         (checkConnect): Reinstated.
166         (loopbackAddress): Ensure initialized from non-null object.
168 2006-09-30  Keith Seitz  <keiths@redhat.com>
170         * include/java-interp.h (prepared): Change type to pc_t.
171         (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
172         * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
173         (insn_index): Implement for bytecode interpreter.
174         * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
175         qualifier to resolve_pool_entry.
176         [!DIRECT_THREADED] (AVAL2U): Likewise.
177         [!DIRECT_THREADED] bytecode() cannot be called without an object.
178         Changed all typos.
179         [!DIRECT_THREADED] Likewise for defining_class.
181 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
183         PR target/26792:
184         * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
185         if HAVE_GETIPINFO not defined.
186         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
187         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
188         * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
189         * aclocal.m4, configure, include/config.h.in, Makefile.in:
190         Rebuilt.
192 2006-09-27  Tom Tromey  <tromey@redhat.com>
194         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
195         * java/util/Locale.java (hashcode): No longer transient.
196         (writeObject): Use ObjectOutputStream.PutField and
197         defaultWriteObject.
198         (readObject): Use defaultReadObject.
200 2006-09-25  Keith Seitz  <keiths@redhat.com>
202         * gnu/classpath/jdwp/VMVirtualMachine.java
203         (_jdwp_suspend_counts): New private variable.
204         * gnu/classpath/jdwp/natVMVirtualMachine.cc
205         (initialize): Initialize _jdwp_suspend_counts.
206         (suspendThread): Implement.
207         (resumeThread): Implement.
208         (getSuspendCount): Implement.
210 2006-09-22  Marco Trudel  <mtrudel@gmx.ch>
212         * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static.  Marked JNICALL.
214 2006-09-21  Keith Seitz  <keiths@redhat.com>
216         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
217         events.
218         (check_enabled_event): New function.
219         (check_enabled_events): New function.
220         (post_event): New function.
221         (_Jv_JVMTI_SetEventNotificationMode): New function.
222         (_Jv_JVMTI_SetEventCallbacks): New function.
223         (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
224         SetEventCallbacks members.
225         * include/jvmti-int.h: New file.
226         * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
227         (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
228         * testsuite/libjava.jvmti/events.java: New file.
229         * testsuite/libjava.jvmti/events.out: New file.
230         * testsuite/libjava.jvmti/natevents.cc: New file. 
232 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
234         * configure.ac: Don't use darwin-signal.h as signal handler for
235         Darwin/i386.
236         * configure.host: Enable Darwin/i386 as a supported host, with no
237         signal unwinding.
239 2006-09-20  Keith Seitz  <keiths@redhat.com>
241         * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
242         and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
243         (_Jv_JVMTI_GetClassMethods): Likewise.
244         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
245         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
246         (_Jv_JVMTI_GetSystemProperty): Likewise.
248 2006-09-20  Keith Seitz  <keiths@redhat.com>
250         * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
251         (_Jv_JVMTI_Interface): Define GetErrorName member.
252         * testsuite/libjava.jvmti/geterrorname.java: New file.
253         * testsuite/libjava.jvmti/geterrorname.out: New file.
254         * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
256 2006-09-20  Gary Benson  <gbenson@redhat.com>
258         * java/net/InetAddress.java: Mostly merged with Classpath.
259         * java/net/VMInetAddress.java: New file.
260         * sources.am, Makefile.in: Rebuilt.
262         * java/net/natVMNetworkInterfacePosix.cc
263         (getInterfaces): Create InetAddress objects using
264         InetAddress.getByAddress.
265         * gnu/java/net/natPlainSocketImplPosix.cc
266         (accept, getOption): Likewise.
267         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
268         (peekData, receive, getLocalAddress): Likewise.
270 2006-09-19  Keith Seitz  <keiths@redhat.com>
272         * testsuite/libjava.jvmti/jvmti.exp: New file.
274 2006-09-19  Keith Seitz  <keiths@redhat.com>
276         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
277         (THREAD_CHECK_VALID): Likewise.
278         (THREAD_CHECK_ALIVE): Likewise.
279         (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
280         jthread.
281         (_Jv_JVMTI_ResumeThread): Likewise.
282         (_Jv_JVMTI_InterruptThread): Likewise.
284         (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
285         that was just freed.
287 2006-09-19  Mark Wielaard  <mark@klomp.org>
289         Fixes bug #29137
290         * java/util/logging/LogManager.java (addLogger): Always check for
291         existing children of a new Logger.
293 2006-09-19  Tom Tromey  <tromey@redhat.com>
295         * java/util/logging/LogManager.java: Re-merged with Classpath.
297 2006-09-18  Tom Tromey  <tromey@redhat.com>
299         * configure: Rebuilt.
301 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
303         * configure.host: Handle kfreebsd.
305 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
307         * configure: Rebuilt.
308         * shlibpath.m4: Handle GNU/kFreeBSD.
310 2006-09-14  Tom Tromey  <tromey@redhat.com>
312         PR boehm-gc/29068:
313         * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
314         (_Jv_GCDetachThread): Likewise.
316 2006-09-14  Andreas Schwab  <schwab@suse.de>
318         * posix-threads.cc: Include "posix.h".
320 2006-09-13  Geoffrey Keating  <geoffk@apple.com>
322         * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
323         microseconds; use gettimeofday when available.
324         * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
325         timeout calculation.
326         * testsuite/libjava.lang/Thread_Sleep_2.java: New.
327         * testsuite/libjava.lang/Thread_Sleep_2.out: New.
328         * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
330 2006-09-12  Tom Tromey  <tromey@redhat.com>
332         PR java/29013:
333         * testsuite/libjava.lang/PR29013.out: Likewise.
334         * testsuite/libjava.lang/PR29013.java: New file.
336 2006-09-12  Tom Tromey  <tromey@redhat.com>
338         * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
340 2006-09-07  Matthias Klose  <doko@debian.org>
342         * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
343         * Makefile.in: Regenerate.
345 2006-09-06  Keith Seitz  <keiths@redhat.com>
347         * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
348         to _Jv_MethodBase instead of _Jv_InterpMethod.
349         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
350         Do not check access flags.
351         Fix some minor style anomalies.
352         
353 2006-09-01  Geoffrey Keating  <geoffk@apple.com>
355         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
356         Pass -lgcj to linker for C++ files on Darwin.
358 2006-09-01  Keith Seitz  <keiths@redhat.com>
360         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
361         (THREAD_CHECK_VALID): Likewise.
362         (THREAD_CHECK_IS_ALIVE): Likewise.
363         (NULL_CHECK): Likewise.
364         (ILLEGAL_ARGUMENT): Likewise.
366 2006-09-01  Keith Seitz  <keiths@redhat.com>
368         * include/jvm.h (_Jv_JVMTI_Init): Declare.
369         * jvmti.cc (_Jv_JVMTI_Init): New function.
370         * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
372         * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
373         (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
375         * jvmti.cc (_jvmtiEnvironments): New linked list of
376         JVMTI environments.
377         (FOREACH_ENVIRONMENT): New macro.
378         (_envListLock): New object to act as synchronization lock
379         for _jvmtiEnvironments.
380         (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
381         Remove the environment from the list of known environments.
382         (_Jv_GetJVMTIEnv): Add the new environment to the list
383         of known environments.
385 2006-09-01  Gary Benson  <gbenson@redhat.com>
387         * java/net/InetAddress.java (getLocalHost): Refactor to avoid
388         security check if getLocalHostname() fails and to provide more
389         meaningful exceptions it the security check fails.
391 2006-09-01  Gary Benson  <gbenson@redhat.com>
393         * java/net/InetAddress.java (getByAddress): Create Inet4Address
394         objects when passed IPv4-mapped IPv6 addresses.
395         (getByName, getAllByName): Defer to the above to ensure that the
396         correct Inet*Address objects are returned.
398 2006-09-01  Gary Benson  <gbenson@redhat.com>
400         * java/net/InetAddress.java (getByName, getAllByName):
401         Only perform security check when DNS lookups are required.
403 2006-08-31  Keith Seitz  <keiths@redhat.com>
405         * include/jvmti_md.h: New file.
407         * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
408         Pass millis to _Jv_CondWait.
410 2006-08-31  Tom Tromey  <tromey@redhat.com>
412         PR libgcj/28698:
413         * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
414         classes.
416 2006-08-24  Keith Seitz  <keiths@redhat.com>
418         * prims.cc (remoteDebug): New global.
419         (jdwpOptions): New global.
420         (parse_x_arg): Add processing for "X" options "debug" and
421         "runjdwp:"
422         (_Jv_RunMain): If debugging, start up JDWP backend.
423         Send VM_INIT and VM_DEATH when appropriate.
425 2006-08-23  Keith Seitz  <keiths@redhat.com>
427         * gnu/classpath/jdwp/VMVirtualMachine.java
428         (initialize): Declare.
429         * gnu/classpath/jdwp/natVMVirtualMachine.cc
430         (initialize): Get and save JVMTI environment.
432 2006-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
434         PR libgcj/27890
435         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
436         Set gnu.classpath.home.url to TOOLEXECLIBDIR.
437         * configure.ac: Do not add --with-native-libdir to
438         ac_configure_args.
439         * java/security/libgcj.security: Remove file.
440         * java/util/logging/logging.properties: Likewise.
441         * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
442         * classpath/resource/Makefile.am (loggingdir): Define to
443         toolexeclibdir.
444         (securitydir): Likewise.
445         * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
446         Set default nativeexeclibdir using toolexeclibdir.
447         * HACKING: Fix classpath aclocal arguments.
448         * Makefile.am (secdir): Remove variable.
449         (propdir): Likewise.
450         (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
451         definition.
452         (all_property_files): Remove variable.
453         (install-data-local): Do not install libgcj.security or
454         logging.properties.
455         * configure, Makefile.in, classpath/configure,
456         classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
457         classpath/native/jni/midi-alsa/Makefile.in,
458         classpath/native/jni/classpath/Makefile.in,
459         classpath/native/jni/midi-dssi/Makefile.in,
460         classpath/native/jni/Makefile.in,
461         classpath/native/jni/java-nio/Makefile.in,
462         classpath/native/jni/java-net/Makefile.in,
463         classpath/native/jni/gconf-peer/Makefile.in,
464         classpath/native/jni/java-io/Makefile.in,
465         classpath/native/jni/xmlj/Makefile.in,
466         classpath/native/jni/java-util/Makefile.in,
467         classpath/native/jni/qt-peer/Makefile.in,
468         classpath/native/jni/gtk-peer/Makefile.in,
469         classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
470         classpath/native/target/Linux/Makefile.in,
471         classpath/native/target/Makefile.in,
472         classpath/native/target/generic/Makefile.in,
473         classpath/native/fdlibm/Makefile.in,
474         classpath/native/plugin/Makefile.in,
475         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
476         classpath/tools/Makefile.in, classpath/doc/Makefile.in,
477         classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
478         classpath/external/Makefile.in,
479         classpath/external/sax/Makefile.in,
480         classpath/external/w3c_dom/Makefile.in,
481         classpath/external/relaxngDatatype/Makefile.in,
482         classpath/include/Makefile.in, classpath/aclocal.m4,
483         classpath/examples/Makefile.in, aclocal.m4: Regenerate.
485 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
487         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
488         to GC.
489         (_Jv_DetachCurrentThread): Detach thread from GC.
490         * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
491         Declare.
492         * boehm.cc (_Jv_GCAttachThread): New function.
493         (_Jv_GCDetachThread): Likewise.
495 2006-08-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
497         * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
498         as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
499         function prologue.
501 2006-08-17  H.J. Lu  <hongjiu.lu@intel.com>
503         * Makefile.am (install-exec-hook): Support $(DESTDIR).
504         * Makefile.in: Regenerated.
506 2006-08-16  Tom Tromey  <tromey@redhat.com>
508         * libtool-version: Updated.
510 2006-08-16  Jakub Jelinek  <jakub@redhat.com>
511             Bryce McKinlay  <bryce@mckinlay.net.nz>
513         * configure, Makefile.in: Rebuilt.
514         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
515         (libgcj_bc_la_SOURCES): New variable.
516         (libgcj_bc_la_LDFLAGS): Likewise.
517         (libgcj_bc_la_LIBADD): Likewise.
518         (libgcj_bc_la_DEPENDENCIES): Likewise.
519         (libgcj_bc_la_LINK): Likewise.
520         (libgcj_bc_dummy_LINK): Likewise.
521         (libgcj_bc.la): New target.
522         (install-exec-hook): Likewise.
523         * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
524         * libgcj_bc.c: New file.
525         * configure.ac (LIBGCJ_SPEC): New subst.
526         * configure.host (use_libgcj_bc): New variable.
528 2006-08-15  Kyle Galloway  <kgallowa@redhat.com>
530         * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
531         * interpret.cc: Added placeholder for debug variable type info to STORE*
532         macros.
533         (_Jv_InterpMethod::run_debug): New method.
534         (_Jv_InterpMethod::run_sync_object_debug): New method.
535         (_Jv_InterpMethod::run_sync_class_debug): New method.
536         (_Jv_InterpMethod::run_normal_debug): New method.
537         (_Jv_InterpMethod::run_class_debug): New method.
538         (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
539         versions of these functions.
540         * interpret-run.cc: New file, holds contents of old     
541         _Jv_InterpMethod::run method.
542         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
543         appropriate function for debug or normal mode.
545 2006-08-14  Mark Wielaard  <mark@klomp.org>
547         Imported GNU Classpath 0.92
548         * HACKING: Add more importing hints. Update automake version
549         requirement.
551         * configure.ac (gconf-peer): New enable AC argument.
552         Add --disable-gconf-peer and --enable-default-preferences-peer
553         to classpath configure when gconf is disabled.
554         * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
555         gnu/java/awt/dnd/peer/gtk to bc. Classify
556         gnu/java/security/Configuration.java as generated source file.
558         * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
559         gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
560         gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
561         gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
562         gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
563         gnu/java/lang/management/VMThreadMXBeanImpl.java,
564         gnu/java/lang/management/VMMemoryMXBeanImpl.java,
565         gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
566         classes.
567         * java/lang/management/VMManagementFactory.java: Likewise.
568         * java/net/VMURLConnection.java: Likewise.
569         * gnu/java/nio/VMChannel.java: Likewise.
571         * java/lang/Thread.java (getState): Add stub implementation.
572         * java/lang/Class.java (isEnum): Likewise.
573         * java/lang/Class.h (isEnum): Likewise.
575         * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
577         * javax/naming/spi/NamingManager.java: New override for StackWalker
578         functionality.
580         * configure, sources.am, Makefile.in, gcj/Makefile.in,
581         include/Makefile.in, testsuite/Makefile.in: Regenerated.
583 2006-08-14  Gary Benson  <gbenson@redhat.com>
585         * java/lang/Thread.java (accessControlState): New field.
586         * java/security/VMAccessControlState.java: New file.
587         * java/security/natVMAccessControlState.cc: Likewise.
588         * java/security/VMAccessController.java
589         (contexts, inGetContext): Removed.
590         (pushContext, popContext, getContext): Use VMAccessControlState.
591         * Makefile.am (nat_source_files): Updated.
592         * sources.am, Makefile.in: Rebuilt.
594 2006-08-10  Gary Benson  <gbenson@redhat.com>
596         * include/java-stack.h (GetAccessControlStack): Change return
597         type.
598         * stacktrace.cc (accesscontrol_trace_fn): Record the number of
599         Java frames encountered.
600         (GetAccessControlStack): Return a flag indicating whether a call to
601         doPrivileged was encountered rather than an array of method names.
602         * java/security/natVMAccessController.cc (getStack): Change return
603         type.
604         * java/security/VMAccessController.java (getStack): Likewise.
605         (getContext): Change to reflect the above.
607 2006-08-09  Gary Benson  <gbenson@redhat.com>
609         * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
611 2006-08-09  Gary Benson  <gbenson@redhat.com>
613         * java/lang/System.java (setSecurityManager): Javadoc fix.
614         * java/security/VMAccessController.java (getContext): Comment fix.
616 2006-08-09  Gary Benson  <gbenson@redhat.com>
618         * include/java-stack.h (accesscontrol_trace_fn): Declare.
619         (GetAccessControlStack): Likewise.
620         (GetClassMethodStack): Remove.
621         * stacktrace.cc (accesscontrol_trace_fn): New method.
622         (GetAccessControlStack): Likewise.
623         (GetClassMethodStack): Remove.
624         * java/security/natVMAccessController.cc (getStack): Use
625         GetAccessControlStack.
627 2006-08-07  Gary Benson  <gbenson@redhat.com>
629         PR libgcj/28340:
630         * java/lang/ClassLoader.java (clinit): Install a default
631         security manager if java.security.manager is defined.
632         (getParent, getSystemClassLoader): Use the correct stack
633         frame during security checks.
634         * java/net/URLClassLoader.java (findClass): Avoid calling
635         this.toString() during VM initialization.
636         (runtimeInitialized): New method.
637         * java/net/natURLClassLoader.cc: New file.
638         * Makefile.am (nat_source_files): Added the above.
639         * Makefile.in: Rebuilt.
641 2006-08-07  Gary Benson  <gbenson@redhat.com>
642             Casey Marshall <csm@gnu.org>
644         * java/lang/SecurityManager.java (getSecurityContext,
645         checkPermission, checkAccess, checkRead, checkConnect,
646         checkPackageAccess, checkPackageDefinition, checkPackageList):
647         Merge with Classpath.
648         (SecurityContext): Remove.
650 2006-08-07  Gary Benson  <gbenson@redhat.com>
652         * java/security/VMAccessController.java (pushContext, popContext,
653         getContext): Use Thread.currentThread() to determine when we're
654         bootstrapping.
655         (runtimeInitialized): Remove.
656         * java/security/natVMAccessController.cc (runtimeInitialized):
657         Remove.
659 2006-08-06  Tom Tromey  <tromey@redhat.com>
661         PR libgcj/28491:
662         * configure, include/config.h.in: Rebuilt.
663         * configure.ac: Look for ifaddrs.h, getifaddrs.
664         * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
665         getifaddrs if available.
667 2006-08-06  Tom Tromey  <tromey@redhat.com>
669         PR libgcj/28576:
670         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
671         Implemented.
672         (disconnect): Likewise.
673         (send): Handle already-connected case.
675 2006-08-04  Mark Wielaard  <mark@klomp.org>
677         * jvmti.cc: Include gcj/method.h.
679 2006-08-04  Tom Tromey  <tromey@redhat.com>
681         * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
682         (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
683         result to _Jv_uintptr_t.
685 2006-08-01  Keith Seitz  <keiths@redhat.com>
687         * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
688         * gnu/classpath/jdwp/VMIdManager.java: Likewise.
689         * gnu/classpath/jdwp/VMMethod.java: Likewise.
690         * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
691         * gnu/classpath/jdwp/natVMFrame.java: New file.
692         * gnu/classpath/jdwp/natVMMethod.java: New file.
693         * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
694         * Makefile.am (nat_source_files): Add new filles.
695         * Makefile.in: Regenerated.
697 2006-08-03  Tom Tromey  <tromey@redhat.com>
699         * jvmti.cc (REQUIRE_PHASE): New macro.
700         (_Jv_JVMTI_InterruptThread): New function.
701         (_Jv_JVMTI_CreateRawMonitor): Likewise.
702         (_Jv_JVMTI_DestroyRawMonitor): Likewise.
703         (_Jv_JVMTI_RawMonitorEnter): Likewise.
704         (_Jv_JVMTI_RawMonitorExit): Likewise.
705         (_Jv_JVMTI_RawMonitorWait): Likewise.
706         (_Jv_JVMTI_RawMonitorNotify): Likewise.
707         (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
708         (_Jv_JVMTI_Allocate): Likewise.
709         (_Jv_JVMTI_Deallocate): Likewise.
710         (_Jv_JVMTI_GetClassModifiers): Likewise.
711         (_Jv_JVMTI_GetClassMethods): Likewise.
712         (_Jv_JVMTI_IsInterface): Likewise.
713         (_Jv_JVMTI_IsArrayClass): Likewise.
714         (_Jv_JVMTI_GetClassLoader): Likewise.
715         (_Jv_JVMTI_GetObjectHashCode): Likewise.
716         (_Jv_JVMTI_GetFieldModifiers): Likewise.
717         (_Jv_JVMTI_IsFieldSynthetic): Likewise.
718         (_Jv_JVMTI_GetMethodModifiers): Likewise.
719         (_Jv_JVMTI_IsMethodNative): Likewise.
720         (_Jv_JVMTI_IsMethodSynthetic): Likewise.
721         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
722         (_Jv_JVMTI_ForceGarbageCollection): Likewise.
723         (_Jv_JVMTI_GetSystemProperty): Likewise.
724         (_Jv_JVMTI_SetSystemProperty): Likewise.
725         (_Jv_JVMTI_GetTime): Likewise.
726         (_Jv_JVMTI_GetAvailableProcessors): Likewise.
727         (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
728         (_Jv_JVMTI_SetVerboseFlag): Likewise.
729         (_Jv_JVMTI_GetObjectSize): Likewise.
730         (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
731         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
732         (_Jv_JVMTI_Interface): Updated.
733         (NULL_CHECK): New macro.
735 2006-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
737         PR libgcj/28546
738         * include/no-threads.h: Declare _Jv_Thread_t as empty class.
740 2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
742         * gnu/classpath/natSystemProperties.cc: Add additional check for
743         getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
744         (SystemProperties::insertSystemProperties): Likewise.
745         * java/io/natFilePosix.cc (File::performList): Add
746         additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
747         * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
748         additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
750 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
752         PR libgcj/28312
753         * classpath/native/jni/midi-alsa/Makefile.am
754         (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
755         * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
756         * classpath/native/jni/midi-dssi/Makefile.am
757         (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
758         * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
759         * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
760         sections.
761         (libqtpeer_la_LDFLAGS): Add -avoid-version.
762         * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
763         * classpath/native/jni/gtk-peer/Makefile.am
764         (libgtkpeer_la_LDFLAGS): Add -avoid-version.
765         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
766         * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
767         -avoid-version.
768         * classpath/native/jawt/Makefile.in: Regenerate.
769         * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
770         * Makefile.in: Regenerate.
772 2006-07-28  Andrew Haley  <aph@redhat.com>
774         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
775         curLoader to VMClassLoader::bootLoader.
777 2006-07-28  Gary Benson  <gbenson@redhat.com>
778             Casey Marshall <csm@gnu.org>
780         PR libgcj/13604:
781         * include/java-stack.h (GetClassMethodStack): Declare.
782         * stacktrace.cc (GetClassMethodStack): New method.
783         * java/security/AccessController.java: Removed.
784         * java/security/VMAccessController.java: New file.
785         * java/security/natVMAccessController.cc: Likewise.
786         * Makefile.am (nat_source_files): Added the above.
787         * sources.am, Makefile.in: Rebuilt.
789 2006-07-28  Gary Benson  <gbenson@redhat.com>
791         * java/lang/SecurityManager.java (currentClassLoader,
792         currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
793         checkWrite, checkTopLevelWindow, checkPrintJobAccess,
794         checkSystemClipboardAccess, checkAwtEventQueueAccess,
795         checkPackageList): Remerged javadoc.
797 2006-07-28  Gary Benson  <gbenson@redhat.com>
799         * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
800         from the start to the end of the function.  Remove references
801         to VMThrowable.trace_enabled.
802         * java/lang/natVMThrowable.cc (fillInStackTrace): Use
803         runtimeInitialized rather than trace_enabled to decide
804         whether to inhibit stack trace generation.
805         * java/lang/VMThrowable.java (trace_enabled): Removed.
807 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
809         * include/win32-threads.h (_Jv_Thread_t): Explicitly
810         name the struct.
812 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
814         * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
815         attribute.
816         (_Jv_JVMTI_ResumeThread): Likewise.
817         (_Jv_JVMTI_DisposeEnvironment): Likewise.
819 2006-07-21  Mohan Embar  <gnustuff@thisiscool.com>
821         * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
822         SockAddr before using - needed for OS X/PPC.
824 2006-07-21  Keith Seitz  <keiths@redhat.com>
826         * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
827         just the contents.
828         (_Jv_ResumeThread): Likewise.
829         * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
830         _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
831         to JVMTI instead.
832         * include/posix-threads.h: Likewise.
833         * win32-threads.cc: Likewise.
834         * include/win32-threads.h: Likewise.
835         * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
836         (_Jv_JVMTI_ResumeThread): New function.
837         (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
839 2006-07-21  David Daney  <ddaney@avtrex.com>
841         PR libgcj/28426
842         * configure: Regenerated.
844 2006-07-21  Mark Wielaard  <mark@klomp.org>
846         * java/io/OutputStreamWriter.java (flush): Create work if null.
848 2006-07-21  Keith Seitz  <keiths@redhat.com>
850         * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
851         * Makefile.am (java/lang/Thread.h): Add friend function 
852         _Jv_ThreadGetData.
853         * Makefile.in: Regenerate.
855 2006-07-20  Keith Seitz  <keiths@redhat.com>
857         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
858         (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
860 2006-07-20  Keith Seitz  <keiths@redhat.com>
862         * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
863         * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
864         * jvmti.cc: New file.
865         * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
866         * Makefile.in: Regenerate. 
868 2006-07-20  David Daney  <ddaney@avtrex.com>
870         * configure.host: Enable the interpreter for mipsel-* and mips-*.
872 2006-07-20  David Daney  <ddaney@avtrex.com>
874         * include/mips-signal.h: Update copyright.
875         (struct kernel_sigaction): Removed.
876         (SIGNAL_HANDLER): Changed prototype.
877         (MAKE_THROW_FRAME): Added cast.
878         (INIT_SEGV): Use sigaction instead of syscall.
879         (INIT_FPE): Likewise.
881 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
883         * configure: Regenerate.
885 2006-07-18  Gary Benson  <gbenson@redhat.com>
887         * java/io/File.java (deleteOnExit): Fix security check.
889 2006-07-14  Anthony Green  <green@redhat.com>
891         * java/io/natFilePosix.cc (performSetLastModified): Return true on
892         success, false otherwise.
894 2006-07-14  Ranjit Mathew  <rmathew@gcc.gnu.org>
896         * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
897         _Unwind_Backtrace().
898         (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
899         EH.
900         (_Jv_StackTrace::GetClassContext): Unconditionally use
901         _Unwind_Backtrace().
902         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
903         * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
904         (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
905         (_Unwind_GetRegionStart): Likewise.
906         (_Unwind_Backtrace): Likewise.
907         (fallback_backtrace): Accept additional unwind trace function
908         argument.  Call it during unwinding.  Stop when any of _Jv_RunMain(),
909         _Jv_ThreadStart() or main() is seen during unwinding.
910         * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
911         additional unwind trace function argument.
913 2006-07-14  Gary Benson  <gbenson@redhat.com>
915         * java/io/File.java (internalExists): New method.
916         (exists): Use internalExists.
917         (internalIsDirectory): New method.
918         (isDirectory): Use internalIsDirectory.
919         (createTempFile): Use internalExists and internalIsDirectory.
921 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
923         * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
925 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
927         * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
928         (_Jv_InterpMethod::run): SAVE_PC before executing any instruction 
929         using resolve_pool_entry, as it can throw. Likewise for div/rem ops
930         that can throw ArithmeticException.
932 2006-07-12  Gary Benson  <gbenson@redhat.com>
934         * java/io/File.java (renameTo): Fix security checks.
936 2006-07-12  Bryce McKinlay  <mckinlay@redhat.com>
938         PR libgcj/28352
939         * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
940         looking up line number for interpreted frame.
942 2006-07-07  Bryce McKinlay  <mckinlay@redhat.com>
943             Geoffrey Keating <geoffk@apple.com>
945         * testsuite/libjava.lang/StackTrace2.java: Renamed from
946         StackTrace.java. Changed class name.
947         * testsuite/libjava.lang/StackTrace2.out: Renamed from
948         StackTrace.out. Updated for new class name.
950 2006-07-07  Ranjit Mathew  <rmathew@gcc.gnu.org>
952         * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
953         prologue to determine its beginning.  Stop unwinding when we reach
954         JvRunMain().
956 2006-07-07  Gary Benson  <gbenson@redhat.com>
958         * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
959         * Makefile.in: Regenerate.
961 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
963         * stacktrace.cc (ClassForFrame): Remove commented-out code.
964         (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
965         only when needed.
966         (getLineNumberForFrame): Don't adjust IP here.
967         * testsuite/libjava.lang/StackTrace.java: New test case.
968         * testsuite/libjava.lang/StackTrace.out: Ditto.
970 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
972         * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
973         -fno-indirect-classes.
974         * Makefile.in: Regenerate.
975         * gcj/Makefile.in: Regenerate.
976         * include/Makefile.in: Regenerate.
977         * testsuite/Makefile.in: Regenerate.
979 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
981         * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
983 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
985         * configure.ac (ac_configure_args): Add --with-native-libdir.
986         * configure: Regenerate.
987         * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
988         sections.
989         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
990         * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
991         * classpath/native/jawt/Makefile.in: Regenerate.
992         * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
993         * classpath/native/plugin/Makefile.in: Regenerate.
995 2006-07-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
996             Danny Smith  <dannysmith@users.sourceforge.net>
998         * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
999         startfile.
1000         * configure.ac: Allow targets to affect the spec for startfile
1001         by specifying a THREADSTARTFILESPEC variable.  Define this for
1002         the win32 threads package to include crtmt.o.
1003         * configure: Regenerate.
1004         * win32.cc (_CRT_MT): Remove definition.
1005         (__mingwthr_key_dtor): Likewise.
1007 2006-07-04  Andreas Tobler  <a.tobler@schweiz.ch>
1009         * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
1010         the -B$specdir.
1012         PR libgcj/28226:
1013         * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
1014         * include/win32.h (_Jv_platform_dladdr): Likewise.
1015         * posix.cc (_Jv_platform_dladdr): Likewise.
1016         * win32.cc (_Jv_platform_dladdr): Likewise.
1018         * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
1019         instead of libgcj-*.jar.
1021 2006-07-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1023         PR libgcj/28244:
1024         * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
1025         libgcj.spec.
1026         * Makefile.in: Regenerate.
1028 2006-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1030         * classpath/tools/Makefile.am: Comment out tools wrapper creation.
1031         (TOOLS_ZIP): Rename tools.zip tools.jar.
1032         (noinst_DATA): Do not install tools.jar.
1033         * classpath/tools/Makefile.in: Regenerate.
1034         * classpath/Makefile.am (SUBDIRS): Add tools.
1035         (DIST_SUBDIRS): Likewise.
1036         * classpath/Makefile.in: Regenerate.
1037         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
1038         (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
1039         (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
1040         Add build logic for libgcj-tools.la,
1041         libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
1042         gkeytool.
1043         * Makefile.in: Regenerate.
1045 2006-06-29  Ranjit Mathew  <rmathew@gcc.gnu.org>
1047         * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
1048         C99.
1049         * include/java-stack.h: Include stdlib.h.
1050         (_Jv_AddrInfo): New structure to hold address information.
1051         * include/posix.h (_Jv_platform_dladdr): Declare.
1052         * include/win32.h (_Jv_platform_dladdr): Declare.
1053         (backtrace): Remove declaration.
1054         * posix.cc: Include dlfcn.h if available.  Include java-stack.h.
1055         (_Jv_platform_dladdr): Define.
1056         * win32.cc: Include string.h.  Include java-stack.h.
1057         (backtrace): Remove.
1058         (_Jv_platform_dladdr): Define.
1059         * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
1060         frame pointer value is 32-bit word-aligned.  Use operand of the CALL
1061         instruction calling the current function to find its starting address.
1062         * stacktrace.cc: Do not include dlfcn.h.  Include platform.h.
1063         (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
1064         instead of dladdr().
1065         (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
1066         (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
1067         targets with SJLJ exceptions instead of using _Unwind_Backtrace().
1068         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
1070 2006-06-27  Tom Tromey  <tromey@redhat.com>
1072         * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
1073         Set 'out.count' earlier.
1074         (close): Call setFinished on converter.
1075         (flush): Always write work buffer.
1076         * java/io/PrintStream.java (writeChars): Do 'do' loop.
1077         (close): Call setFinished on converter.  Write a 'flush' array.
1078         * java/lang/natString.cc (getBytes): Call setFinished on
1079         converter.
1080         * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
1081         field.
1082         (write): Set hasBytes.  Changed 'finished' logic.
1083         (havePendingBytes): Rewrote.
1084         (setFinished): New method.
1085         * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
1086         * testsuite/libjava.lang/RH194522.java: New file.
1087         * testsuite/libjava.lang/RH194522.out: New file.
1089 2006-06-27  Marco Trudel  <mtrudel@gmx.ch>
1091         * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
1092         conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
1093         !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
1095 2006-06-27  Tom Tromey  <tromey@redhat.com>
1097         PR libgcj/28178:
1098         * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
1099         (_Jv_JNI_DeleteGlobalRef): Likewise.
1100         * testsuite/libjava.jni/PR28178.java: New file.
1101         * testsuite/libjava.jni/PR28178.c: New file.
1102         * testsuite/libjava.jni/PR28178.out: New file.
1104 2006-06-26  Keith Seitz  <keiths@redhat.com>
1106         * include/posix-threads.h: Fix coding style aberrations from
1107         2006-06-19 check-in.
1108         * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1109         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
1110         * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1112 2006-06-26  Keith Seitz  <keiths@redhat.com>
1114         * include/no-gc.h (_Jv_SuspendThread): Declare.
1115         (_Jv_ResumeThread): Likewise.
1116         * include/boehm-gc.h (_Jv_SuspendThread): Declare.
1117         (_Jv_ResumeThread): Likewise.
1118         * nogc.cc (_Jv_SuspendThread): New function.
1119         (_Jv_ResumeThread): Likewise.
1120         * boehm.cc (_Jv_SuspendThread): New function.
1121         (_Jv_ResumeThread): Likewise.
1123 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1125         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1126         Link against -ljvm, not -lgcj.
1128 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1130         * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
1131         toolexeclibdir.
1132         * Makefile.in: Regenerate.
1134 2006-06-22  Tom Tromey  <tromey@redhat.com>
1136         * java/lang/reflect/natField.cc (getAddr): Allow setting of final
1137         field when it is accessible.
1139 2006-06-21  Bryce McKinlay  <mckinlay@redhat.com>
1141         * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef. 
1142         (_Jv_GetPlatformThreadID): New function.
1143         * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
1144         (_Jv_GetPlatformThreadID): New function.
1146 2006-06-20  Bryce McKinlay  <mckinlay@redhat.com>
1148         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1149         Bump "java.class.version" to 48.0.
1151 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
1153         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
1154         "$(dbexecdir)".
1155         Build libjvm.la.
1156         * Makefile.in: Regenerate.
1157         * jni.cc (the_vm): Rename and export as ...
1158         (_Jv_the_vm): New exported symbol.
1159         (_Jv_JNI_AttachCurrentThread): Export.
1160         (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
1161         references.
1162         (_Jv_GetJavaVM): Likewise.
1163         (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
1164         JNI_GetCreatedJavaVMs): Move to ...
1165         * jni-libjvm.cc: New file.
1167 2006-06-19  Andrew Haley  <aph@redhat.com>
1169         * testsuite/libjava.lang/PR27908.out: New.
1170         * testsuite/libjava.lang/PR27908.java: New.
1172 2006-06-19  Keith Seitz  <keiths@redhat.com>
1174         * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
1175         (_Jv_ThreadDebugResume): Declare.
1176         (_Jv_ThreadDebugSuspendCount): Declare.
1177         * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
1178         (_Jv_ThreadDebugSuspendCount): New function.
1179         (_Jv_ThreadDebugResume): New function.
1181         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
1182         (_Jv_ThreadDebugResume): Declare.
1183         (_Jv_ThreadDebugSuspendCount): Declare.
1184         * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
1185         (_Jv_ThreadDebugSuspendCount): New function.
1186         (_Jv_ThreadDebugResume): New function.
1187         
1188 2006-06-16  Andrew Haley  <aph@redhat.com>
1190         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
1191         copy the whole Class instance from the initializer: instead, copy
1192         everything but the first word (the vtable pointer).
1193         Change prototype to (const char* class_initializer).
1194         (_Jv_RegisterNewClasses): Change prototype to (const char**).
1195         * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
1196         (const char**).
1198 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
1200         * classpath/Makefile.am: Do not recurse into tools directory.
1201         * classpath/Makefile.in: Regenerate.
1203 2006-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1205         * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
1206         -I$(top_srcdir)/include.
1207         (gjarsigner_CFLAGS): Likewise.
1208         (gkeytool_CFLAGS): Likewise.
1209         * classpath/tools/Makefile.in: Regenerate.
1211 2006-06-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1213         * configure: Regenerate.
1214         * Makefile.in: Regenerate.
1215         * configure.ac (--enable-plugin): New option.
1216         (ac_configure_args): Add --enable-tool-wrappers.
1217         (ac_configure_args): Add --disable-plugin unless --enable-plugin
1218         was specified.
1219         * gcj/Makefile.in: Regenerate.
1220         * sources.am (gnu_java_net_source_files): Add
1221         classpath/gnu/java/net/IndexListParser.java.
1222         (property_files): Remove
1223         classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
1224         classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
1225         Add
1226         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
1227         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
1228         classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
1229         classpath/resource/gnu/classpath/tools/jar/messages.properties,
1230         classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
1231         classpath/resource/gnu/classpath/tools/keytool/messages.properties,
1232         classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
1233         classpath/resource/gnu/classpath/tools/serialver/messages.properties.
1234         * classpath/Makefile.in: Regenerate.
1235         * classpath/native/jni/gtk-peer/cairographics2d.h,
1236         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1237         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1238         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1239         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1240         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1241         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1242         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
1243         Merge from GNU Classpath.
1244         * classpath/native/Makefile.in: Regenerate.
1245         * classpath/native/jawt/Makefile.in: Regenerate.
1246         * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
1247         versioned library directory.
1248         * classpath/native/Makefile.am: Add plugin directory if
1249         --enable-plugin was specified.
1250         * classpath/native/plugin/Makefile.in: Regenerate.  *
1251         classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
1252         GCJ's versioned library directory.
1253         * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
1254         New file.
1255         * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
1256         Likewise.
1257         * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
1258         Likewise.
1259         * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
1260         Remove file.
1261         * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
1262         New file.
1263         * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
1264         Remove file.
1265         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
1266         New file.
1267         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
1268         Likewise.
1269         * classpath/resource/gnu/classpath/tools/jar/messages.properties:
1270         Likewise.
1271         * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
1272         Likewise.
1273         * classpath/gnu/java/net/IndexListParser.java:
1274         Likewise.
1275         * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1276         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1277         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1278         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1279         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1280         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1281         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1282         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1283         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1284         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1285         classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
1286         classpath/gnu/java/awt/java2d/PolyEdge.java,
1287         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
1288         GNU Classpath.
1289         * classpath/tools/toolwrapper.c: Replace tools.zip reference with
1290         libgcj-tools-4.2.0.jar.
1291         * classpath/tools/Makefile.in: Regenerate.
1292         * classpath/tools/Makefile.am: Rename tools.zip to
1293         libgcj-tools-4.2.0.jar.  Install libgcj-tools-4.2.0.jar in
1294         $(datadir)/java.
1295         * classpath/javax/swing/JTabbedPane.java,
1296         classpath/javax/swing/text/DefaultStyledDocument.java,
1297         classpath/javax/swing/text/html/HTMLDocument.java,
1298         classpath/javax/swing/text/GapContent.java,
1299         classpath/javax/swing/JComponent.java,
1300         classpath/javax/swing/RepaintManager.java,
1301         classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1302         classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
1303         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1304         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1305         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1306         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1307         classpath/java/text/Bidi.java,
1308         classpath/java/awt/image/BufferedImage.java,
1309         classpath/java/awt/datatransfer/DataFlavor.java,
1310         classpath/java/awt/geom/AffineTransform.java,
1311         classpath/java/awt/dnd/DropTargetDropEvent.java,
1312         classpath/java/awt/dnd/DropTargetContext.java,
1313         classpath/java/awt/font/TextLayout.java,
1314         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1315         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1316         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1317         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1318         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1319         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
1320         GNU Classpath.
1321         * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1322         classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1323         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1324         classpath/native/jni/gtk-peer/gtkcairopeer.h,
1325         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
1326         Remove files.
1327         * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
1328         directory.
1329         * include/Makefile.in: Regenerate.
1330         * testsuite/Makefile.in: Regenerate.
1332 2006-06-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1334         * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
1335         to no.
1337 2006-06-12  Andrew Haley  <aph@redhat.com>
1339         * testsuite/libjava.lang/PR27908.out: Delete.
1340         * testsuite/libjava.lang/PR27908.java: Delete.
1342 2006-06-12  Andrew Haley  <aph@redhat.com>
1344         * testsuite/libjava.lang/PR27908.out: New.
1345         * testsuite/libjava.lang/PR27908.java: New.
1347 2006-06-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
1349         * configure.ac (ac_configure_args): Add --disable-plugin.
1350         (--enable-gtk-cairo): Remove option.
1351         * configure: Regenerate.
1353 2006-06-09  Tom Tromey  <tromey@redhat.com>
1355         PR libgcj/27730:
1356         * java/lang/Thread.java (threadId): New field.
1357         (nextThreadId): New static field.
1358         (Thread): Initialize new field.
1359         (getId): New method.
1361 2006-06-09  Tom Tromey  <tromey@redhat.com>
1363         * java/lang/Class.java (getClassLoaderInternal): Now native.
1365 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
1367         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1368         (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
1369         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
1370         Likewise.
1371         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
1372         Likewise.
1374 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
1376         * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
1377         classpath/native/jni/qt-peer/eventmethods.h,
1378         classpath/native/jni/qt-peer/qtmenupeer.cpp,
1379         classpath/native/jni/qt-peer/.cvsignore,
1380         classpath/native/jni/gtk-peer/gdkdisplay.h,
1381         classpath/native/jni/gtk-peer/cairographics2d.h,
1382         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1383         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1384         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1385         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1386         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1387         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1388         classpath/native/jni/gtk-peer/.cvsignore,
1389         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
1390         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1391         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1392         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1393         classpath/native/jni/gtk-peer/gtkpeer.h,
1394         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1395         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1396         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
1397         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1398         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
1399         classpath/native/jni/gtk-peer/Makefile.am,
1400         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1401         classpath/native/jawt/Makefile.am,
1402         classpath/native/jawt/.cvsignore,
1403         classpath/native/target/Linux/Makefile.in,
1404         classpath/native/plugin/gcjwebplugin.cc,
1405         classpath/native/plugin/Makefile.am,
1406         classpath/native/plugin/.cvsignore,
1407         classpath/resource/Makefile.in,
1408         classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1409         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1410         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1411         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1412         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1413         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1414         classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1415         classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1416         classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
1417         classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1418         classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
1419         classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
1420         classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1421         classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
1422         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1423         classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1424         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1425         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1426         classpath/gnu/java/awt/peer/gtk/GtkImage.java,
1427         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1428         classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1429         classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
1430         classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
1431         classpath/gnu/java/awt/peer/swing/SwingComponent.java,
1432         classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
1433         classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
1434         classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
1435         classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
1436         classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
1437         classpath/gnu/java/awt/print/JavaPrinterJob.java,
1438         classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
1439         classpath/gnu/java/awt/print/SpooledDocument.java,
1440         classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
1441         classpath/gnu/java/awt/BitwiseXORComposite.java,
1442         classpath/gnu/java/awt/font/GNUGlyphVector.java,
1443         classpath/gnu/java/awt/font/opentype/NameDecoder.java,
1444         classpath/gnu/java/awt/java2d/RasterGraphics.java,
1445         classpath/gnu/java/awt/java2d/TexturePaintContext.java,
1446         classpath/gnu/java/awt/java2d/PolyEdge.java,
1447         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
1448         classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
1449         classpath/gnu/java/awt/java2d/ImagePaint.java,
1450         classpath/gnu/java/awt/Buffers.java,
1451         classpath/gnu/classpath/Configuration.java.in,
1452         classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
1453         classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
1454         classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1455         classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
1456         classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
1457         classpath/tools/toolwrapper.c,
1458         classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
1459         classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
1460         classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
1461         classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
1462         classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
1463         classpath/tools/gnu/classpath/tools/getopt/Messages.java,
1464         classpath/tools/gnu/classpath/tools/getopt/Option.java,
1465         classpath/tools/gnu/classpath/tools/getopt/Parser.java,
1466         classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
1467         classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
1468         classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
1469         classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
1470         classpath/tools/gnu/classpath/tools/jarsigner/package.html,
1471         classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
1472         classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
1473         classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
1474         classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
1475         classpath/tools/gnu/classpath/tools/keytool/Messages.java,
1476         classpath/tools/gnu/classpath/tools/keytool/package.html,
1477         classpath/tools/gnu/classpath/tools/keytool/Command.java,
1478         classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
1479         classpath/tools/gnu/classpath/tools/keytool/Main.java,
1480         classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
1481         classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
1482         classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
1483         classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
1484         classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
1485         classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
1486         classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
1487         classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
1488         classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
1489         classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
1490         classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
1491         classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
1492         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
1493         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
1494         classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
1495         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
1496         classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
1497         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
1498         classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
1499         classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
1500         classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
1501         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
1502         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
1503         classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
1504         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
1505         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
1506         classpath/tools/gnu/classpath/tools/serialver/Messages.java,
1507         classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
1508         classpath/tools/gnu/classpath/tools/jar/Creator.java,
1509         classpath/tools/gnu/classpath/tools/jar/Entry.java,
1510         classpath/tools/gnu/classpath/tools/jar/Lister.java,
1511         classpath/tools/gnu/classpath/tools/jar/Main.java,
1512         classpath/tools/gnu/classpath/tools/jar/Updater.java,
1513         classpath/tools/gnu/classpath/tools/jar/Messages.java,
1514         classpath/tools/gnu/classpath/tools/jar/Extractor.java,
1515         classpath/tools/gnu/classpath/tools/jar/Action.java,
1516         classpath/tools/gnu/classpath/tools/jar/Indexer.java,
1517         classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
1518         classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
1519         classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
1520         classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
1521         classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
1522         classpath/tools/keytool.in, classpath/tools/appletviewer.in,
1523         classpath/tools/.cvsignore, classpath/configure.ac,
1524         classpath/javax/swing/JTabbedPane.java,
1525         classpath/javax/swing/AbstractButton.java,
1526         classpath/javax/swing/JViewport.java,
1527         classpath/javax/swing/KeyboardManager.java,
1528         classpath/javax/swing/JMenuItem.java,
1529         classpath/javax/swing/JMenuBar.java,
1530         classpath/javax/swing/MenuSelectionManager.java,
1531         classpath/javax/swing/JOptionPane.java,
1532         classpath/javax/swing/JSpinner.java,
1533         classpath/javax/swing/JCheckBoxMenuItem.java,
1534         classpath/javax/swing/JEditorPane.java,
1535         classpath/javax/swing/JFormattedTextField.java,
1536         classpath/javax/swing/JTree.java,
1537         classpath/javax/swing/CellRendererPane.java,
1538         classpath/javax/swing/JScrollPane.java,
1539         classpath/javax/swing/tree/VariableHeightLayoutCache.java,
1540         classpath/javax/swing/tree/TreeNode.java,
1541         classpath/javax/swing/tree/FixedHeightLayoutCache.java,
1542         classpath/javax/swing/tree/DefaultTreeCellEditor.java,
1543         classpath/javax/swing/tree/TreePath.java,
1544         classpath/javax/swing/tree/RowMapper.java,
1545         classpath/javax/swing/tree/DefaultMutableTreeNode.java,
1546         classpath/javax/swing/tree/DefaultTreeModel.java,
1547         classpath/javax/swing/tree/AbstractLayoutCache.java,
1548         classpath/javax/swing/tree/TreeSelectionModel.java,
1549         classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
1550         classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
1551         classpath/javax/swing/tree/ExpandVetoException.java,
1552         classpath/javax/swing/JList.java,
1553         classpath/javax/swing/table/JTableHeader.java,
1554         classpath/javax/swing/table/AbstractTableModel.java,
1555         classpath/javax/swing/table/DefaultTableModel.java,
1556         classpath/javax/swing/table/TableCellEditor.java,
1557         classpath/javax/swing/table/TableCellRenderer.java,
1558         classpath/javax/swing/ProgressMonitor.java,
1559         classpath/javax/swing/JToolBar.java,
1560         classpath/javax/swing/TransferHandler.java,
1561         classpath/javax/swing/DefaultCellEditor.java,
1562         classpath/javax/swing/DefaultButtonModel.java,
1563         classpath/javax/swing/JLayeredPane.java,
1564         classpath/javax/swing/text/DefaultEditorKit.java,
1565         classpath/javax/swing/text/DefaultCaret.java,
1566         classpath/javax/swing/text/FieldView.java,
1567         classpath/javax/swing/text/JTextComponent.java,
1568         classpath/javax/swing/text/TextAction.java,
1569         classpath/javax/swing/text/StyleContext.java,
1570         classpath/javax/swing/text/html/HTMLDocument.java,
1571         classpath/javax/swing/text/html/MinimalHTMLWriter.java,
1572         classpath/javax/swing/text/html/ImageView.java,
1573         classpath/javax/swing/text/html/HTMLEditorKit.java,
1574         classpath/javax/swing/text/AbstractWriter.java,
1575         classpath/javax/swing/text/GapContent.java,
1576         classpath/javax/swing/text/Utilities.java,
1577         classpath/javax/swing/text/PlainView.java,
1578         classpath/javax/swing/UIManager.java,
1579         classpath/javax/swing/JSplitPane.java,
1580         classpath/javax/swing/JComponent.java,
1581         classpath/javax/swing/SwingUtilities.java,
1582         classpath/javax/swing/border/AbstractBorder.java,
1583         classpath/javax/swing/border/CompoundBorder.java,
1584         classpath/javax/swing/border/TitledBorder.java,
1585         classpath/javax/swing/border/MatteBorder.java,
1586         classpath/javax/swing/border/BevelBorder.java,
1587         classpath/javax/swing/RepaintManager.java,
1588         classpath/javax/swing/JTable.java,
1589         classpath/javax/swing/UIDefaults.java,
1590         classpath/javax/swing/DefaultDesktopManager.java,
1591         classpath/javax/swing/JMenu.java,
1592         classpath/javax/swing/JLabel.java,
1593         classpath/javax/swing/JSlider.java,
1594         classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
1595         classpath/javax/swing/plaf/basic/BasicButtonUI.java,
1596         classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
1597         classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
1598         classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
1599         classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
1600         classpath/javax/swing/plaf/basic/BasicSliderUI.java,
1601         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1602         classpath/javax/swing/plaf/basic/BasicComboPopup.java,
1603         classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
1604         classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
1605         classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
1606         classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
1607         classpath/javax/swing/plaf/basic/BasicPanelUI.java,
1608         classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
1609         classpath/javax/swing/plaf/basic/BasicTreeUI.java,
1610         classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
1611         classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
1612         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1613         classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
1614         classpath/javax/swing/plaf/basic/BasicListUI.java,
1615         classpath/javax/swing/plaf/basic/BasicIconFactory.java,
1616         classpath/javax/swing/plaf/basic/BasicTextUI.java,
1617         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1618         classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
1619         classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
1620         classpath/javax/swing/plaf/basic/BasicTableUI.java,
1621         classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
1622         classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
1623         classpath/javax/swing/plaf/multi/MultiListUI.java,
1624         classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
1625         classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
1626         classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
1627         classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
1628         classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
1629         classpath/javax/swing/plaf/metal/MetalSliderUI.java,
1630         classpath/javax/swing/plaf/metal/MetalIconFactory.java,
1631         classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
1632         classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
1633         classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
1634         classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
1635         classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
1636         classpath/javax/swing/plaf/metal/MetalBorders.java,
1637         classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
1638         classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
1639         classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
1640         classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
1641         classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
1642         classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
1643         classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
1644         classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
1645         classpath/javax/swing/plaf/metal/MetalUtils.java,
1646         classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
1647         classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
1648         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1649         classpath/javax/swing/JPopupMenu.java,
1650         classpath/javax/swing/JProgressBar.java,
1651         classpath/javax/swing/WindowConstants.java,
1652         classpath/javax/swing/JFrame.java,
1653         classpath/javax/swing/JFileChooser.java,
1654         classpath/javax/swing/JComboBox.java,
1655         classpath/javax/swing/event/EventListenerList.java,
1656         classpath/javax/swing/ListSelectionModel.java,
1657         classpath/javax/swing/JScrollBar.java,
1658         classpath/java/text/SimpleDateFormat.java,
1659         classpath/java/text/NumberFormat.java,
1660         classpath/java/text/class-dependencies.conf,
1661         classpath/java/awt/image/ColorModel.java,
1662         classpath/java/awt/image/BufferedImage.java,
1663         classpath/java/awt/Window.java,
1664         classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
1665         classpath/java/awt/LightweightDispatcher.java,
1666         classpath/java/awt/EventDispatchThread.java,
1667         classpath/java/awt/BasicStroke.java,
1668         classpath/java/awt/ColorPaintContext.java,
1669         classpath/java/awt/Container.java,
1670         classpath/java/awt/TexturePaint.java,
1671         classpath/java/awt/Component.java, classpath/java/awt/Font.java,
1672         classpath/java/awt/GraphicsConfiguration.java,
1673         classpath/java/awt/DefaultKeyboardFocusManager.java,
1674         classpath/java/awt/print/PrinterJob.java,
1675         classpath/java/awt/im/InputContext.java,
1676         classpath/java/awt/dnd/DragGestureRecognizer.java,
1677         classpath/java/awt/Toolkit.java,
1678         classpath/java/awt/font/GraphicAttribute.java,
1679         classpath/java/awt/font/ImageGraphicAttribute.java,
1680         classpath/java/awt/font/GlyphVector.java,
1681         classpath/java/awt/font/GlyphMetrics.java,
1682         classpath/java/awt/font/ShapeGraphicAttribute.java,
1683         classpath/java/awt/Graphics2D.java,
1684         classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1685         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1686         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1687         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1688         classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1689         classpath/include/config.h.in,
1690         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1691         classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1692         classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1693         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
1694         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1695         classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
1696         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
1697         classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
1698         Merge from GNU Classpath HEAD.
1700 2006-06-08  Tom Tromey  <tromey@redhat.com>
1702         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1703         Set gnu.gcj.user.realname.
1705 2006-06-09  Andreas Tobler  <a.tobler@schweiz.ch>
1707         * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
1709 2006-06-07  Andrew Haley  <aph@redhat.com>
1711         * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
1712         (_Jv_Linker::uaddr): New.
1713         * link.cc (resolve_pool_entry): Call search_method_in_superclasses
1714         instead of an open-coded loop around search_method_in_class.
1715         (search_method_in_class): Add a new arg, check_perms.
1716         (search_method_in_superclasses): New.
1717         (link_symbol_table): Call maybe_adjust_signature() to extract the
1718         least significnt bit of the signature pointer.  Do this three
1719         times, for instace method calls, static methods, and interfaces.
1720         Call search_method_in_superclasses() instead of
1721         _Jv_LookupDeclaredMethod.
1722         (typedef uaddr): Delete.
1723         
1724 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1726         * scripts/makemake.tcl (emit_bc_rule): Do not skip
1727         gnu-java-awt-peer-qt.lo.
1728         * configure.ac (QT_AWT): Remove conditional.
1729         Do not add gnu/java/awt/peer/qt to standard.omit.
1730         * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
1731         in GCJ's versioned library directory.
1732         * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
1733         Load libqtpeer.so unconditionally.
1734         * gij.cc (main): Do not re-exec gij.
1735         * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
1736         (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
1737         when linking gij.
1739 2006-06-06  David Daney  <ddaney@avtrex.com>
1741         * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
1742         (showRaw): New method.
1743         * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
1744         (getLineNumberForFrame): Show IP offset in trace if line number
1745         not available and show_raw true.
1747 2006-06-06  Gary Benson  <gbenson@redhat.com>
1749         * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
1750         * configure.ac: Remove realpath check and add checks for
1751         lstat and readlink.
1752         * configure: Rebuilt.
1753         * include/config.h.in: Likewise.
1754         * java/io/File.java: Javadoc fix.
1756 2006-06-05  Andreas Schwab  <schwab@suse.de>
1758         PR libgcj/27860
1759         * link.cc: Check for closure support in libffi with FFI_CLOSURES.
1761 2006-06-05  Tom Tromey  <tromey@redhat.com>
1763         PR libgcj/27892:
1764         * gij.cc (main): Use putenv.
1766 2006-06-03  Paolo Bonzini  <bonzini@gnu.org>
1768         * scripts/jar.in: Ensure return with argument has non-empty argument.
1770 2006-06-01  Paolo Bonzini  <bonzini@gnu.org>
1772         * configure.ac (ZIP, UNZIP): New programs.
1773         (JAR): Fall back to bash script.  Generate it.
1774         (BASH_JAR): New conditional.
1775         * Makefile.am (bin_SCRIPTS): New.
1776         * scripts/jar.in: New file.
1778 2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>
1780         * gnu/java/lang/MainThread (run): Revert exception chaining change.
1782 2006-05-31  Bryce McKinlay  <mckinlay@redhat.com>
1784         * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
1785         name, not Latin1.
1786         * gnu/java/lang/MainThread.java (run): Allow file separator char to
1787         be used in place of '.' as class-name separator. Don't chain
1788         ClassNotFoundException.
1790 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1792         * java/lang/VMClassLoader.java (initialize): Set default library
1793         control to LIB_NEVER.
1795 2006-05-31  Alan Modra  <amodra@bigpond.net.au>
1797         * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
1798         interpreted classes.
1800 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1802         * scripts/makemake.tcl (emit_bc_rule): Do not skip
1803         gnu-java-awt-peer-gtk.lo.
1804         Include gnu/java/awt/peer/gtk Java objects in libgcj.so.  Use C++
1805         ABI for gnu/java/awt/peer/gtk package.
1806         * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
1807         New function.
1808         (insertSystemProperties): Only set java.ext.dirs if it is not
1809         already defined.  Prepend GCJ_VERSIONED_LIBDIR to module search
1810         path where necessary.
1811         * configure.ac (GTK_AWT): Remove automake conditional.
1812         Do not add gnu/java/awt/peer/gtk to standard.omit.
1813         * include/jvm.h (_Jv_PrependVersionedLibdir): New function
1814         declaration.
1815         * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
1816         and re-exec self.
1817         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
1818         PATH_SEPARATOR macros.
1819         Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
1820         * prims.cc (_Jv_PrependVersionedLibdir): New function.
1822 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1824         * java/lang/natThread.cc (countStackFrames): Do not throw
1825         UnsupportedOperationException.
1826         (resume): Likewise.
1827         (stop): Likewise.
1828         (suspend): Likewise.
1830 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1832         * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
1833         * configure: Rebuilt.
1834         * include/config.h.in: Likewise.
1835         * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
1836         <sys/rw_lock.h>.
1838 2006-05-24  Tom Tromey  <tromey@redhat.com>
1840         PR libgcj/27024:
1841         * sources.am, Makefile.in: Rebuilt.
1842         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
1843         * java/net/URLConnection.java: Removed.
1845 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
1847         * Makefile.am: Add install-html target. Add install-html to .PHONY
1848         * Makefile.in: Regenerate.
1849         * aclocal.m4: Regenerate.
1850         * gcj/Makefile.in: Regenerate.
1851         * include/Makefile.in: Regenerate.
1852         * testsuite/Makefile.in: Regenerate.
1854 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
1856         * testsuite/libjava.lang/stacktrace.java: New file.
1857         * testsuite/libjava.lang/stacktrace.out: Likewise.
1859 2006-05-24  Tom Tromey  <tromey@redhat.com>
1861         * sources.am, Makefile.in: Rebuilt.
1862         * scripts/makemake.tcl: Accept -verbose command-line option.
1863         (is_verbose): New global.
1864         (verbose): Use it.
1865         (classify_source_file): Don't special case '.' for 'package'
1866         type.
1868 2006-05-24  Tom Tromey  <tromey@redhat.com>
1870         PR libgcj/27729:
1871         * java/lang/reflect/natField.cc (getAddr): Added parens.
1872         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
1873         Renamed.  Don't mask flags.
1874         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
1875         constant.
1876         (getModifiersInternal): Renamed.
1877         (getModifiers): Rewrote.
1878         (isSynthetic, isVarArgs): New methods.
1879         (hashCode): Rewrote.
1880         (addTypeParameters, toGenericString): New methods.
1881         (getTypeParameters): Rewrote.
1882         (getSignature): New method.
1883         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
1884         * java/lang/reflect/natMethod.cc (getModifiersInternal):
1885         Renamed.  Don't mask flags.
1886         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
1887         Don't mask flags.
1888         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
1889         ENUM): New constants.
1890         (INVISIBLE): Changed value.
1891         * java/lang/reflect/Method.java: Mostly merged with Classpath.
1892         (getModifiersInternal): Renamed.
1893         (getModifiers): Rewrote.
1894         (isBridge, isSynthetic, isVarArgs): New methods.
1895         (toGenericString): Likewise.
1896         (getTypeParameters): Likewise.
1897         (getSignature): Likewise.
1898         (getGenericExceptionTypes, getGenericParameterTypes,
1899         getGenericReturnType): Likewise.
1900         (METHOD_MODIFIERS): New constant.
1901         * java/lang/reflect/Field.java: Mostly merged with Classpath.
1902         Added javadoc everywhere.
1903         (getModifiersInternal): Renamed.
1904         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
1905         (toGenericString): New method.
1906         (getGenericType, getSignature): Likewise.
1907         (FIELD_MODIFIERS): New constant.
1909 2006-05-24  Tom Tromey  <tromey@redhat.com>
1911         PR libgcj/27731:
1912         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
1913         tanh): New methods.
1914         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
1915         tanh): Declare.
1917 2006-05-22  Mark Wielaard  <mark@klomp.org>
1919         * HACKING: Update GNU Classpath import instructions.
1921 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
1923         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
1924         signature as MAYBE_UNUSED for HAVE_TLS == 0.
1925         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
1926         HAVE_TLS == 0.
1928 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
1929             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1931         * configure.ac: Add the POSIX thread libs to the HP-UX PA
1932         configuration. Add signal specification for HP-UX PA.
1933         * configure: Rebuilt.
1934         * configure.host: Add defaults for the HP-UX PA architecture.
1935         Add descriptor files for HP-UX PA 32-bit and 64-bit.
1936         * include/hppa-signal.h: New file.
1937         * include/posix.h: Add shared library suffix for HP-UX.
1938         * sysdep/pa/descriptor-pa32-hpux.h: New file.
1939         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
1941 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
1943         * ChangeLog: Correct incorrect GNU Classpath version in the
1944         entry for the latest import.
1946 2006-05-18  Tom Tromey  <tromey@redhat.com>
1948         * source.am, Makefile.in: Rebuilt.
1949         * Makefile.am (property_files): Removed.
1950         * scripts/makemake.tcl (properties_map): New global.
1951         (properties_files): Likewise.
1952         (emit_property_files): New proc.
1953         (scan_packages): Scan META-INF.
1954         Print property_files variable.  Scan classpath/resource.
1956 2006-05-18  Tom Tromey  <tromey@redhat.com>
1958         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
1959         Renamed.
1960         (gcj_write_and_byte_compile): New proc.
1961         (gcj_special_lazy_illegal_access): Likewise.
1963 2006-05-18  Mark Wielaard  <mark@klomp.org>
1965         Imported GNU Classpath 0.91
1966         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
1968         * sources.am: Regenerated.
1969         * gcj/javaprims.h: Regenerated.
1970         * Makefile.in: Regenerated.
1971         * gcj/Makefile.in: Regenerated.
1972         * include/Makefile.in: Regenerated.
1973         * testsuite/Makefile.in: Regenerated.
1975         * gnu/java/lang/VMInstrumentationImpl.java: New override.
1976         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
1977         * gnu/classpath/jdwp/VMMethod.java: Likewise.
1978         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
1979         interface.
1980         * java/lang/Thread.java: Add UncaughtExceptionHandler.
1981         * java/lang/reflect/Method.java: Implements GenericDeclaration and
1982         isSynthetic(),
1983         * java/lang/reflect/Field.java: Likewise.
1984         * java/lang/reflect/Constructor.java
1985         * java/lang/Class.java: Implements Type, GenericDeclaration,
1986         getSimpleName() and getEnclosing*() methods.
1987         * java/lang/Class.h: Add new public methods.
1988         * java/lang/Math.java: Add signum(), ulp() and log10().
1989         * java/lang/natMath.cc (log10): New function.
1990         * java/security/VMSecureRandom.java: New override.
1991         * java/util/logging/Logger.java: Updated to latest classpath
1992         version.
1993         * java/util/logging/LogManager.java: New override.
1995 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
1997         PR libgcj/27352
1998         * java/lang/Class.java (getClassLoaderInternal): New method.
1999         (forName (String, Class)): Use getClassLoaderInternal.
2000         (getPackage): Likewise.
2001         (getResource): Likewise.
2002         (getResourceAsStream): Likewise.
2003         (desiredAssertionStatus): Likewise.
2005 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
2007         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
2008         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
2009         klass->methods[j].ncode.
2011 2006-05-13  Tom Tromey  <tromey@redhat.com>
2013         * sources.am, Makefile.in: Rebuilt.
2014         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
2015         natChannels.cc.
2016         * java/nio/channels/natVMChannels.cc: Renamed from
2017         natChannels.cc.
2018         * java/nio/channels/Channels.java: Removed.
2019         * java/nio/channels/natChannels.cc: Removed.
2020         * java/nio/channels/VMChannels.java: New file.
2022 2006-05-13  Tom Tromey  <tromey@redhat.com>
2024         * sources.am, Makefile.in: Rebuilt.
2025         * java/text/DateFormat.java: Removed.
2027 2006-05-13  Tom Tromey  <tromey@redhat.com>
2029         * sources.am, Makefile.in: Rebuilt.
2030         * gnu/java/net/protocol/jar/Connection.java: Removed.
2031         * java/net/JarURLConnection.java: Removed.
2033 2006-05-13  Tom Tromey  <tromey@redhat.com>
2035         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
2036         declaration.
2038 2006-05-12  Tom Tromey  <tromey@redhat.com>
2040         * sources.am, Makefile.in: Rebuilt.
2041         * java/util/logging/LogManager.java: Removed.
2042         * java/util/logging/Logger.java (resetLogger): New method, from
2043         Classpath.
2044         * java/io/RandomAccessFile.java: Removed.
2045         * gnu/java/nio/channels/FileChannelImpl.java (create): New
2046         method.
2047         (FileChannelImpl): Now private.
2048         * java/io/FileInputStream.java: Removed.
2049         * java/io/FileOutputStream.java: Removed.
2050         * java/security/AccessControlContext.java: Removed.
2051         * java/lang/ThreadLocal.java: Removed.
2052         * java/lang/InheritableThreadLocal.java: Removed.
2053         * java/lang/Thread.java (locals): New field.
2054         (getThreadLocals): New method.
2055         * java/lang/natThread.cc (finish_): Clear 'locals'.
2057 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
2059         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
2060         fails, don't try again.
2061         (use_addr2line): Field no longer final.
2063 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
2065         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
2066         (lookup): If addr2line fails to find an address, flag the binary as
2067         having no debug info and avoid calling addr2line on it again.
2069 2006-05-11  David Daney  <ddaney@avtrex.com>
2071         * testsuite/libjava.compile/PR20418.java: New.
2072         * testsuite/libjava.compile/PR20418.xfail: New.
2074 2006-05-11  Andrew Haley  <aph@redhat.com>
2076         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
2077         line.
2079 2006-05-10  Andrew Haley  <aph@redhat.com>
2081         * java/lang/natClassLoader.cc: Add comments.
2083 2006-05-09  Andrew Haley  <aph@redhat.com>
2085         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
2086         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
2087         Remove body.
2088         (_Jv_CompiledEngine::allocate_field_initializers): New.
2089         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
2090         allocate_field_initializers.
2091         (class _Jv_IndirectCompiledClass): New.
2092         (struct _Jv_IndirectCompiledEngine): New.
2093         * java/lang/Class.h: (IndirectCompiledEngine): New.
2094         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
2095         engine to _Jv_soleIndirectCompiledEngine
2096         * link.cc (ensure_fields_laid_out): Call
2097         engine->allocate_field_initializers().
2099 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
2101         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
2102         HP-UX and add appropriate extension for shared libraries, sl.
2103         (gcj_jni_test_one): Likewise.
2105         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
2106         library extensions.
2108 2006-05-05  Tom Tromey  <tromey@redhat.com>
2110         PR libgcj/27294:
2111         * java/lang/natVMClassLoader.cc (defineClass): Throw
2112         VirtualMachineError if no interpreter configured.
2114 2006-05-03  Andrew Haley  <aph@redhat.com>
2116         PR libgcj/27352
2117         * java/lang/Class.java (getClassLoader(Class)): New.
2118         forName(String, Class): New.
2119         * java/lang/natClass.cc (getClassLoader(Class)): New.
2121 2006-05-02  Andrew Haley  <aph@redhat.com>
2123         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
2125 2006-05-04  Tom Tromey  <tromey@redhat.com>
2127         PR libgcj/26861:
2128         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
2129         <insn_putfield>: Likewise.
2130         (NULLCHECK): Define unconditionally.
2131         * link.cc (ensure_class_linked): Removed dead code.
2133 2006-05-04  Tom Tromey  <tromey@redhat.com>
2135         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
2136         * Makefile.in: Rebuilt.
2137         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
2138         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
2139         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
2140         New field.
2141         (loadedClasses): Removed.
2142         (findClass): Declare.
2143         (addClass): Add to nativeClasses, not loadedClasses.
2145 2006-05-04  Andrew Haley  <aph@redhat.com>
2147         PR java/26858
2148         * testsuite/libjava.lang/PR26858.xfail: Delete.
2150 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
2152         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
2153         -findirect-dispatch compilation.
2155 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
2157         * configure.ac: Simplify the mmap check a bit more.
2158         * configure: Rebuilt.
2159         * include/config.h.in: Likewise.
2161 2006-05-01  Roger Sayle  <roger@eyesopen.com>
2162             Andrew Haley  <aph@redhat.com>
2164         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
2165         before calling GC_register_has_static_roots_callback.
2166         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
2167         HAVE_DLADDR before calling dladdr.
2169 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
2171         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
2172         to resolve_method.
2173         * interpret.cc (insn_invokevirtual): Use method->index, not
2174         vtable_index. Check accflag FINAL to determine finals. Only do
2175         explicit null check if calling a final method. Use
2176         throw_null_pointer_exception.
2177         (invokevirtual_resolved): Likewise.
2178         (null_pointer_exc): Remove static field.
2179         (throw_null_pointer_exception): Always define. Throw a new
2180         NullPointerException every time.
2181         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
2182         field.
2183         * include/execution.h (resolve_method): Remove vtable_index argument.
2185 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
2187         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
2188         * configure: Rebuilt.
2190 2006-04-25  Tom Tromey  <tromey@redhat.com>
2192         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
2193         Include platform.h.  Set GC_DEBUG before including gc.h, if
2194         needed.
2196 2006-04-25  Andrew Haley  <aph@redhat.com>
2198         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
2199         * boehm.cc: Don't include link.h.
2200         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
2202 2006-04-24  Tom Tromey  <tromey@redhat.com>
2204         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
2206 2006-04-21  Andrew Haley  <aph@redhat.com>
2208         * include/execution.h (struct _Jv_CompiledEngine): Define for
2209         compiled classes.
2210         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
2211         _Jv_RegisterLibForGc.
2212         (_Jv_RegisterClasses_Counted): Likewise.
2213         (_Jv_NewClassFromInitializer): New.
2214         (_Jv_RegisterNewClasses): New.
2215         * sources.am: Regenerate.
2216         * boehm.cc (_Jv_GC_has_static_roots): new.
2217         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
2218         (filename_node, find_file, _Jv_print_gc_store, new_node,
2219         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
2220         * scripts/makemake.tcl: Add -fno-indirect-classes.
2221         * Makefile.in: Regenerate.
2222         * link.cc (resolve_pool_entry): Allocate constant pool.
2223         Allocate fields.
2224         
2225 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
2227         * configure.ac: Weaken the check for MMAP.
2228         * configure: Rebuilt.
2229         * include/config.h.in: Likewise.
2231 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
2233         PR libgcj/27170
2234         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
2235         dlopen(). From Anthony Green.
2237 2006-04-20  Tom Tromey  <tromey@redhat.com>
2239         PR libgcj/21941:
2240         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
2241         UnknownHostException if needed.
2242         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
2243         UnknownHostException if needed.
2245 2006-04-19  Tom Tromey  <tromey@redhat.com>
2247         * Makefile.in: Rebuilt.
2248         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
2249         all_java_deps_files.
2251 2006-04-19  Tom Tromey  <tromey@redhat.com>
2253         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
2254         handle EINTR.
2256 2006-04-17  Tom Tromey  <tromey@redhat.com>
2258         PR libgcj/27171:
2259         * testsuite/libjava.lang/pr27171.java: New file.
2260         * testsuite/libjava.lang/pr27171.out: New file.
2261         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
2262         true if we've seen a high surrogate.
2263         (write): Handle high surrogates at the end of the stream.
2264         Properly emit isolated low surrogates.
2266 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
2268         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
2269         of failure.
2271 2006-04-13  Tom Tromey  <tromey@redhat.com>
2273         PR libgcj/26522:
2274         * Makefile.in: Rebuilt.
2275         * Makefile.am (libsubdir): New variable.
2277 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
2279         PR libgcj/23829
2280         * configure.ac: Link against -lpthread rather than -lc_r on
2281         FreeBSD 5 and above.
2282         * configure: Regenerate.
2284 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
2286         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
2287         of package-private field "loadedClasses" using reflection.
2288         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
2289         block.
2291 2006-04-10  Matthias Klose  <doko@debian.org>
2293         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
2294         directory names containing underscores.
2296 2006-04-10  Andrew Haley  <aph@redhat.com>
2298         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
2299         (SIGNAL_HANDLER): Mark arg as unused.
2300         * configure.host (x86_64-* DIVIDESPEC): Use
2301         fno-use-divide-subroutine.
2303 2006-04-07  Andrew Haley  <aph@redhat.com>
2305         * java/net/InetAddress.java: Throw an UnknownHostException if
2306         lookup fails.
2308 2006-04-05  Tom Tromey  <tromey@redhat.com>
2310         PR libgcj/26625:
2311         * Makefile.in: Rebuilt.
2312         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
2313         classpath/lib/compile-classes.
2315 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
2317         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
2318         MinGW since EBP is used for backtracking through call frames on this
2319         platform.
2321 2006-04-05  Archit Shah  <ashah@redhat.com>
2323         PR java/25414
2324         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
2325         Add classpath argument.
2326         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
2327         caller.
2328         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
2329         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
2330         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
2331         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
2332         mkdirs for destination directory, correct handling of superclasses
2333         and interfaces of the remote class, correct handling of exceptions
2334         declared by remote methods.
2336 2006-04-04  Tom Tromey  <tromey@redhat.com>
2338         PR libgcj/26990:
2339         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
2340         * gnu/java/lang/natMainThread.cc (call_main): Use
2341         exitNoChecksAccessor.
2342         * testsuite/libjava.lang/pr26990.out: New file.
2343         * testsuite/libjava.lang/pr26990.java: New file.
2344         * java/lang/Runtime.java (exitNoChecks): New method.
2345         (exitNoChecksAccessor): Likewise.
2346         (exit): Call exitNoChecks.
2348 2006-04-03  Tom Tromey  <tromey@redhat.com>
2350         * Makefile.in: Rebuilt.
2351         * Makefile.am (ZIP): Removed.
2352         (libgcj-$(gcc_version).jar): Use $(JAR).
2353         (src.zip): Likewise.
2354         * configure: Rebuilt.
2355         * configure.ac: Check for jar.  Removed code to set ZIP.
2357 2006-04-03  Andrew Haley  <aph@redhat.com>
2359         * testsuite/libjava.lang/Float_2.java: New file.
2361 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
2363         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2365 2006-03-30  Tom Tromey  <tromey@redhat.com>
2367         PR java/26042:
2368         * testsuite/libjava.compile/pr26042.java: New file.
2370 2006-03-29  Tom Tromey  <tromey@redhat.com>
2372         * sources.am, Makefile.in: Rebuilt.
2373         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
2375 2006-03-29  Tom Tromey  <tromey@redhat.com>
2377         PR java/26390:
2378         * testsuite/libjava.lang/pr26390.out: New file.
2379         * testsuite/libjava.lang/pr26390.java: New file.
2380         * sources.am, Makefile.in: Rebuilt.
2381         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
2383 2006-03-29  Tom Tromey  <tromey@redhat.com>
2385         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
2386         CLOCK_HIGHRES.
2388 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
2390         * scripts/unicode-muncher.pl: Removed this file.
2391         * scripts/MakeCharTables.java: Likewise.
2392         * scripts/unicode-to-chartables.pl: New file.
2393         * java/lang/natCharacter.cc: 
2394         (UNASSIGNED_TYPE): New field.
2395         (UNASSIGNED_DIGIT): Likewise.
2396         (UNASSIGNED_DIRECTION): Likewise.
2397         (UNASSIGNED_NUMERIC_VALUE): Likewise.
2398         (PRIVATE_TYPE): Likewise.
2399         (PRIVATE_DIRECTION): Likewise.
2400         (readCodePoint): New method.
2401         (getType(jint)): Likewise.
2402         (toLowerCase(jint)): Likewise.
2403         (toUpperCase(jint)): Likewise.
2404         (toTitleCase(jint)): Likewise.
2405         (digit(jint, jint)): Likewise.
2406         (getNumericValue(jint)): Likewise.
2407         (getDirectionality(jint)): Likewise.
2408         (readChar),
2409         (getType(jchar)),
2410         (toLowerCase(jchar)),
2411         (toUpperCase(jchar)),
2412         (toTitleCase(jchar)),
2413         (digit(jchar, jint)),
2414         (getNumericValue(jchar)),
2415         (getDirectionality(jchar)): Changed references from data to data[0], 
2416         blocks to blocks[0], direction to direction[0], numValue to 
2417         numValue[0], upper to upper[0], lower to lower[0], and shift to 
2418         shift[0] to reflect the new structures in java-chartables.h.    
2419         * java/lang/Character.java:
2420         (readCodePoint): Declared new native method.
2421         (getType(int)): Likewise.
2422         (toLowerCase(int)): Likewise.
2423         (toUpperCase(int)): Likewise.
2424         (toTitleCase(int)): Likewise.
2425         (digit(int, int)): Likewise.
2426         (getNumericValue(int)): Likewise.
2427         (getDirectionality(int)): Likewise.
2428         (isLowerCase(int)): New method.
2429         (isUpperCase(int)): Likewise.
2430         (itTitleCase(int)): Likewise.
2431         (isDigit(int)): Likewise.
2432         (isDefined(int)): Likewise.
2433         (isLetter(int)): Likewise.
2434         (isLetterOrDigit(int)): Likewise.
2435         (isJavaIdentifierStart(int)): Likewise.
2436         (isJavaIdentifierPart(int)): Likewise.
2437         (isUnicodeIdentifierStart(int)): Likewise.
2438         (isUnicodeIdentifierPart(int)): Likewise.
2439         (isIdentifierIgnorable(int)): Likewise.
2440         (isSpaceChar(int)): Likewise.
2441         (isWhitespace(int)): Likewise.
2442         (isISOControl(int)): Likewise.
2443         (isMirrored(int)): Likewise.
2444         * include/java-chartables.h: Generated from 
2445         scripts/unicode-to-chartables.h.
2447 2006-03-24  David Daney  <ddaney@avtrex.com)
2449         * testsuite/libjava.lang/PR26858.java: New test.
2450         * testsuite/libjava.lang/PR26858.out: Ditto.
2451         * testsuite/libjava.lang/PR26858.xfail: Ditto.
2453 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
2455         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
2456         macro.
2457         
2458 2006-03-15  Tom Tromey  <tromey@redhat.com>
2460         * testsuite/libjava.jacks/jacks.xfail: Removed
2461         13.1-runtime-method-5.
2463 2006-03-15  Tom Tromey  <tromey@redhat.com>
2465         PR java/26638:
2466         * link.cc (get_interfaces): Skip <clinit>.
2467         (append_partial_itable): Likewise.
2469 2006-03-10  Tom Tromey  <tromey@redhat.com>
2471         PR libgcj/25713:
2472         * java/util/zip/Deflater.java (flush): New method.
2473         * sources.am, Makefile.in: Rebuilt.
2474         * java/util/zip/DeflaterOutputStream.java: Removed.
2475         * java/util/zip/InflaterInputStream.java: Likewise.
2476         * java/util/zip/GZIPInputStream.java: Likewise.
2477         * java/util/zip/GZIPOutputStream.java: Likewise.
2479 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
2481         * include/powerpc-signal.h: Fix typo in comment.
2483 2006-03-09  Mark Wielaard  <mark@klomp.org>
2485         Imported GNU Classpath 0.90
2486         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
2487         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
2488         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
2489         * java/lang/Math.java: New override file.
2490         * java/lang/Character.java: Merged from Classpath.
2491         (start, end): Now 'int's.
2492         (canonicalName): New field.
2493         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
2494         (UnicodeBlock): Added argument.
2495         (of): New overload.
2496         (forName): New method.
2497         Updated unicode blocks.
2498         (sets): Updated.
2499         * sources.am: Regenerated.
2500         * Makefile.in: Likewise.
2502 2006-03-09  Tom Tromey  <tromey@redhat.com>
2504         PR libgcj/23495:
2505         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
2506         (equals): Use memcmp.
2507         (contentEquals): Likewise.
2508         (getChars): Use memcpy.
2509         (toCharArray): Likewise.
2510         (regionMatches): Use memcmp.
2511         (regionMatches): Likewise.
2512         (startsWith): Likewise.
2513         (concat): Use memcpy.
2514         (valueOf): Likewise.
2516 2006-03-09  Tom Tromey  <tromey@redhat.com>
2518         * configure: Rebuilt.
2519         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
2520         well.
2522 2006-03-09  Tom Tromey  <tromey@redhat.com>
2524         PR libgcj/24461:
2525         * java/util/zip/InflaterInputStream.java (fill): Throw exception
2526         if stream is truncated.
2528 2006-03-09  Tom Tromey  <tromey@redhat.com>
2530         * win32.cc (_Jv_platform_nanotime): New function.
2531         * include/win32.h (_Jv_platform_nanotime): Declare.
2532         * posix.cc (_Jv_platform_nanotime): New function.
2533         * include/posix.h (_Jv_platform_nanotime): Declare.
2534         * java/lang/natSystem.cc (nanoTime): New method.
2535         * java/lang/System.java (nanoTime): Declare.
2536         * include/config.h.in, configure: Rebuilt.
2537         * configure.ac: Check for clock_gettime.
2539 2006-03-08  David Daney  <ddaney@avtrex.com>
2541         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
2542         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
2543         (LD_FINISH_STATIC_SPEC): Ditto
2544         * configure: Regenerated.
2545         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
2546         LD_FINISH_STATIC_SPEC.
2547         
2548 2006-03-07  Tom Tromey  <tromey@redhat.com>
2550         PR libgcj/26103:
2551         * java/lang/ClassLoader.java (loadClass): Don't throw
2552         StringIndexOutOfBoundsException if name is empty.
2553         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
2554         if class not found.
2556 2006-03-07  David Daney  <ddaney@avtrex.com>
2558         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
2560 2006-03-07  David Daney  <ddaney@avtrex.com>
2562         * link.cc: Include ffi.h if USE_LIBFFI defined.
2563         
2564 2006-03-03  Tom Tromey  <tromey@redhat.com>
2566         * interpret.cc (do_allocate_static_fields): Added comment.
2568 2006-03-01  Tom Tromey  <tromey@redhat.com>
2570         PR java/24321:
2571         * testsuite/libjava.lang/pr24321.java: New file.
2572         * testsuite/libjava.lang/pr24321.out: New file.
2573         * java/lang/natClass.cc (isInstance): Don't initialize class.
2574         (isAssignableFrom): Likewise.
2576 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
2578         PR other/26208
2579         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
2580         of _Unwind_GetIP.
2581         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
2582         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
2583         to throw.
2584         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
2585         macro.
2586         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
2587         macro.
2589 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
2591         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
2592         before returning, handle null clip.
2593         (getClipBounds): Handle null clip.
2594         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
2595         * gnu/awt/xlib/XCanvasPeer.java (): 
2596         (getLocationOnScreen): Implement.
2597         * classpath/gnu/java/awt/peer/GLightweightPeer.java
2598         (repaint): Merged with Classpath.
2599         * classpath/java/awt/Graphics.java (hitClip): Merged with
2600         Classpath.
2602 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
2604         * link.cc: Added variant of create_error_method that
2605         will not complain about unused parameter if compiled with
2606         USE_LIBFFI not being defined.
2607         (_Jv_Linker::find_field_helper): Fixed indentation.
2608         (_Jv_Linker::create_error_method): Fixed indentation.
2609         (_Jv_Linker::link_symbol_table): Fixed indentation.
2611 2006-02-16  Andrew Haley  <aph@redhat.com>
2613         * stacktrace.cc (GetStackTraceElements): Call
2614         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
2615         non-Java frames should be removed from a printed stack trace.
2616         Pass methodName to getLineNumberForFrame().
2617         (getLineNumberForFrame): Set method_name from info.dli_sname.
2618         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
2619         (remove_unknown): New variable.
2620         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
2621         Add methodName arg.
2623 2006-02-15  Matthias Klose  <doko@debian.org>
2625         * gnu/java/nio/charset, gnu/java/net/protocol/file,
2626         gnu/regexp: Remove empty directories.
2628 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
2630         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
2631         'itable' inline, instead of as a pointer.
2632         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
2633         * link.cc (null_idt): Update definition.
2634         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
2635         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
2636         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
2637         (_Jv_Linker::find_iindex): Likewise. Update comment.
2638         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
2639         _Jv_IDispatchTable change.
2640         (_Jv_IsAssignableFrom): Likewise.
2642 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
2644         PR libgcj/25187:
2645         * gnu/gcj/io/natSimpleSHSStream.cc
2646         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
2647         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
2648         _Jv_InterpFrame(). 
2649         * boehm.cc: #undef some autoconf macros before including gc-config.h.
2650         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
2651         (_Jv_MarkArray): Likewise.
2652         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
2653         Simplify _Jv_GCRegisterDisappearingLink() call.
2654         * java/lang/Class.h (getComponentType): Use element_type.
2655         (element_type): New field declaration, as a union with "methods".
2656         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
2657         * java/net/natVMNetworkInterfacePosix.cc
2658         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
2659         avoid sign comparison warning.  
2660         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
2661         argument, not parent call frame.
2662         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
2663         without a cast.
2664         (restore_rt): Declare with hidden visibility, not "static".
2665         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
2666         constant.
2667         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
2668         warning.
2670 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
2672         PR libgcj/26113:
2673         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
2674         as "const char *".
2675         * verify.cc (verify_fail): Likewise.
2676         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
2677         * interpret.cc (throw_internal_error, throw_class_format_error):
2678         Likewise.
2679         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
2680         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
2681         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
2682         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
2683         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
2684         is_attribute_name): Likewise.
2685         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
2686         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
2688 2006-02-08  Tom Tromey  <tromey@redhat.com>
2690         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
2691         * defineclass.cc (parse): Use _Jv_AllocRawObj.
2692         (read_constpool): Likewise.
2693         (read_one_code_attribute): Use internal function name.
2694         (handleConstantPool): Use _Jv_AllocRawObj.
2695         (handleInterfacesBegin): Likewise.
2696         (handleFieldsBegin): Likewise.
2697         (handleMethodsBegin): Likewise.
2698         (handleCodeAttribute): Likewise.
2699         (handleMethodsEnd): Likewise.
2700         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
2701         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
2702         Allocate reference fields separately.
2703         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
2704         (add_miranda_methods): Likewise.
2705         (generate_itable): Use _Jv_AllocBytes.
2706         (find_iindex): Likewise.
2707         (struct method_closure): New structure.
2708         (create_error_method): Use struct method_closure; allocate with
2709         _Jv_AllocBytes.
2710         (ensure_fields_laid_out): Separate reference fields from
2711         non-reference fields.
2712         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
2713         of Class.
2714         (_Jv_MarkArray): Mark vtable.
2715         (_Jv_AllocRawObj): Don't allocate objects of size 0.
2716         * include/execution.h
2717         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
2718         parameter.
2719         (struct _Jv_CompiledEngine): Updated.
2720         (class _Jv_InterpreterEngine): Updated.
2722 2006-02-08  Tom Tromey  <tromey@redhat.com>
2724         PR java/22578:
2725         * gcj/javaprims.h: Updated.
2726         * sources.am, Makefile.in: Rebuilt.
2727         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
2728         (doubleToRawLongBits): Likewise.
2729         (longBitsToDouble): Likewise.
2730         (toString): Likewise.
2731         (parseDouble): Likewise.
2732         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
2733         (floatToRawIntBits): Likewise.
2734         (intBitsToFloat): Likewise.
2735         * java/lang/VMDouble.java: New file.
2736         * java/lang/VMFloat.java: New file.
2737         * java/lang/Float.java, java/lang/Double.java: Removed.
2739 2006-02-06  Tom Tromey  <tromey@redhat.com>
2741         * gij.cc (version): Use 2006.
2742         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
2743         * gnu/gcj/convert/Convert.java (version): Use 2006.
2744         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
2746 2006-02-04  Tom Tromey  <tromey@redhat.com>
2748         PR java/25676:
2749         * testsuite/libjava.lang/pr25676.out: New file.
2750         * testsuite/libjava.lang/pr25676.java: New file.
2752 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2754         * Makefile.am (src.zip): Update src.zip file search to look in
2755         classpath directory.
2756         * Makefile.in: Regenerate.
2758 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
2760         * link.cc:
2761         (_Jv_Linker::create_error_method): Added missing (void *) cast.
2763 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
2765         * include/jvm.h:
2766         (_Jv_Linker::create_error_method): New method declaration.
2767         * link.cc:
2768         (_Jv_Linker::create_error_method): New method.
2769         (_Jv_Linker::link_symbol_table): Use new method above.
2771 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
2773         * link.cc:
2774         (_Jv_Linker::find_field_helper): Added checks.
2775         (_Jv_Linker::find_field): Use exception swallowing class resolution
2776         and added early return.
2777         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
2778         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
2779         resolution, added ffi_closure installation routine, use
2780         _Jv_ThrowNoClassDefFoundError for missing static method.
2781         (_Jv_Linker::ensure_class_linked): Added string check which does
2782         not trigger class resolution.
2783         * java/lang/natClassLoader.cc:
2784         (_Jv_FindClassNoException): New method.
2785         * java/lang/Class.h:
2786         (_Jv_FindClassNoException): New method declaration.
2787         * include/jvm.h:
2788         (_Jv_FindClassNoException): New method declaration.
2789         (_Jv_FindClassFromSignatureNoException): New method declaration.
2790         * prims.cc:
2791         (_Jv_FindClassFromSignatureNoException): New method.
2792         * gcj/javaprims.h:
2793         (_Jv_equalsUtf8Classname): New method declaration.
2794         (_Jv_isPrimitiveOrDerived): Dito.
2795         * prims.cc:
2796         (_Jv_equalsUtf8Classnames): New method.
2797         (_Jv_isPrimitiveOrDerived): New method.
2798         * verify.cc:
2799         (ref_intersection::equals): Use new classname comparison method.
2800         (type::compatible): Use new classname comparison method. Added
2801         check whether LHS' type is java.lang.Object .
2802         (type::resolve): Added new optional debug message and simplified
2803         if-expression.
2804         (type::to_array): Added codepath that generates an array type
2805         without resolving the element type.
2807 2006-01-31  Mark Wielaard  <mark@klomp.org>
2809         * NEWS: Add 4.1 updates.
2811 2006-01-30  Keith Seitz  <keiths@redhat.com>
2813         * include/java-interp.h (insn_index): New declaration.
2814         (num_insn_slots): New private variable.
2815         (get_line_table): New declaration.
2816         * interpret.cc (insn_index): New function.
2817         (get_line_table): New function.
2819 2006-01-24  Archit Shah  <ashah@redhat.com>
2820             Tom Tromey  <tromey@redhat.com>
2822         * prims.cc (next_property_value): Never return NULL.
2823         (process_gcj_properties): Copy 'props' before using it.
2825 2006-01-23  Keith Seitz  <keiths@redhat.com>
2827         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
2828         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
2830 2006-01-23  David Daney  <ddaney@avtrex.com>
2832         * configure.host (disable_dladdr): Remove variable and its
2833         documentation.
2834         * configure.ac: Do not test for disable_dladdr.
2835         * configure: Regenerate.
2836         * include/config.h.in: Regenerate.
2838 2006-01-18  Tom Tromey  <tromey@redhat.com>
2840         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
2841         already exists.
2843 2006-01-18  Keith Seitz  <keiths@redhat.com>
2845         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
2846         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
2847         * interpret.cc (_Jv_CompileMethod): New function.
2848         (run):  Massage code to allow for NULL args.
2849         Update comments to explain NULL args.
2850         Return if compiling the method and args is NULL.
2852 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
2854         PR libgcj/25840
2855         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
2857 2006-01-17  Tom Tromey  <tromey@redhat.com>
2859         PR classpath/20198:
2860         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
2861         (JarURLLoader): Likewise.
2862         (addURLImpl): Canonicalize file URLs.
2864 2006-01-16  Mark Wielaard  <mark@klomp.org>
2866         Imported GNU Classpath 0.20
2867         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
2868         * java/nio/charset/spi/CharsetProvider.java: New override file.
2869         * java/security/Security.java: Likewise.
2870         * sources.am: Regenerated.
2871         * Makefile.in: Likewise.
2873 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
2875         * configure.ac (dbexecdir): New substituted var.
2876         * configure: Rebuilt.
2877         * Makefile.am (dbexecdir): Remove.
2878         * Makefile.in: Rebuilt.
2880 2006-01-13  Tom Tromey  <tromey@redhat.com>
2882         * gnu/regexp/MessagesBundle_fr.properties: Removed.
2883         * gnu/regexp/MessagesBundle.properties: Removed.
2885 2006-01-13  Tom Tromey  <tromey@redhat.com>
2887         * java/security/classpath.security: Removed.
2888         * Makefile.in: Rebuilt.
2889         * Makefile.am (install-data-local): Don't install
2890         classpath.security.
2892 2006-01-08  Chris Burdess  <dog@gnu.org>
2894         * java/lang/Character.java (toChars,toCodePoint): Correct these
2895           methods to use algorithms from Unicode specification.
2897 2006-01-08  Tom Tromey  <tromey@redhat.com>
2899         * java/lang/StringBuilder.java (appendCodePoint): New method.
2900         (insert): New overloads.
2901         * java/lang/StringBuffer.java (StringBuffer): New constructor.
2902         (charAt): Remerged javadoc.
2903         (codePointAt, codePointBefore): New methods.
2904         (appendCodePoint): New method.
2905         (append): New overloads.
2906         (insert): Likewise.
2907         (trimToSize, codePointCount, offsetByCodePoints): New methods.
2908         * java/lang/Float.java (SIZE): New field.
2909         (valueOf): New method.
2910         * java/lang/natDouble.cc (initIDs): Removed.
2911         * java/lang/Double.java (static initializer): Removed.
2912         (SIZE): New field.
2913         (valueOf): New method.
2914         (initIDs): Removed.
2916 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
2918         PR libgcj/24940
2919         * shlibpath.m4: Replace $SED with sed.
2920         * configure: Rebuilt.
2922 2006-01-06  Tom Tromey  <tromey@redhat.com>
2924         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
2925         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
2926         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
2927         MAX_LOW_SURROGATE): Javadoc fixes.
2928         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
2929         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
2930         methods from Classpath.
2931         * java/lang/String.java (codePointAt, codePointBefore,
2932         codePointCount, contains, replace): New methods from Classpath.
2933         (contentEquals): Declare.
2934         * java/lang/natString.cc (contentEquals): New method.
2936 2005-12-26  Anthony Green  <green@redhat.com>
2938         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
2939         of data to read (dst.remaining()).
2940         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
2942 2005-11-11  Mark Wielaard  <mark@klomp.org>
2944         Reported by john.zigman@anu.edu.au as bug #24608.
2945         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
2946         destination ByteBuffer when it doesn't have an array instead of len
2947         bytes.
2949 2006-01-05  Tom Tromey  <tromey@redhat.com>
2951         * java/lang/natThread.cc (finish_): Don't clear 'group'.
2952         * sources.am, Makefile.in: Rebuilt.
2953         * java/lang/Runtime.java (exit): Merged with Classpath.
2954         (runShutdownHooks): New method from Classpath.
2955         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
2956         FileDeleter.
2957         * gnu/gcj/runtime/FileDeleter.java: Removed.
2958         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
2959         (exitInternal): Don't run finalizers or delete files.
2961 2006-01-05  Tom Tromey  <tromey@redhat.com>
2963         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
2965 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
2967         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
2969 2006-01-04  Tom Tromey  <tromey@redhat.com>
2971         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
2972         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
2973         Changed argument type.  Use SystemClassLoader.addClass.
2974         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
2976 2005-12-24  David Daney <ddaney@avtrex.com>
2977             Tom Tromey  <tromey@redhat.com>
2979         PR libgcj/9715, PR libgcj/19132:
2980         * java/nio/charset/Charset.java (charsetForName): Try default
2981         provider first.
2982         (availableCharsets): Re-merged.
2983         (providers2): Likewise.
2984         (defaultCharset): Likewise.
2985         * sources.am, Makefile.in: Rebuilt.
2986         * gnu/java/nio/charset/Provider.java: Removed.
2987         * java/io/OutputStreamWriter.java
2988         (OutputStreamWriter(OutputStream,Charset)): New constructor.
2989         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2990         * java/io/InputStreamReader.java
2991         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
2992         (InputStreamReader(InputStream,Charset)): Likewise.
2993         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
2994         BytesToCharsetAdaptor.
2995         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
2996         CharsetToBytesAdaptor.
2997         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
2998         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
2999         * mauve-libgcj: Remove getEncoding exclusion.
3001 2005-12-28  Anthony Green  <green@redhat.com>
3003         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
3004         as previous patch, but for win32.
3006 2005-12-28  Anthony Green  <green@redhat.com>
3008         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
3009         address and port before attempting anything.
3011 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3013         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
3014         operation atomic.
3016 2005-12-22  Andrew Haley  <aph@redhat.com>
3018         PR java/25535
3019         * testsuite/libjava.lang/PR25535.java: New test.
3021 2005-12-22  Tom Tromey  <tromey@redhat.com>
3023         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
3024         reference NUM_OBJECT_METHODS.
3025         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
3027 2005-12-18  Anthony Green  <green@redhat.com>
3029         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
3030         New helper function.
3031         (setOption): Use getLocalAddress.  Don't downcast value to
3032         InetAddress.
3033         (getOption): Use getLocalAddress.
3035 2005-12-16  Tom Tromey  <tromey@redhat.com>
3037         * java/lang/Class.java (getPackage): Get package from
3038         VMClassLoader if needed.
3040 2005-12-16  Tom Tromey  <tromey@redhat.com>
3042         * testsuite/libjava.jacks/jacks.xfail
3043         (8.5.2-accessible-static-member-usage-3): Removed.
3045 2005-12-15  Tom Tromey  <tromey@redhat.com>
3047         * testsuite/libjava.compile/rh175833.java: New file.
3048         * testsuite/libjava.compile/pr25429.java: New file.
3050 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
3052         * testsuite/lib/libjava.exp: Revert 2005-12-01.
3053         * testsuite/libjava.lang/Array_3.xfail: Delete.
3055 2005-12-14  Andrew Haley  <aph@redhat.com>
3057         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
3058         handle stdout from the child process.
3060 2005-12-14  Tom Tromey  <tromey@redhat.com>
3062         PR classpath/25389:
3063         * java/io/File.java (File): Throw IllegalArgumentException if URI is
3064         non-hierarchical.
3066 2005-12-12  Andrew Haley  <aph@redhat.com>
3068         * java/lang/VMCompiler.java: Directly generate a new instance of
3069         gnu.java.security.provider.MD5.
3071 2005-12-08  Andrew Haley  <aph@redhat.com>
3073         PR libgcj/25265
3074         * java/lang/Object.h (throwNoSuchMethodError): New method.
3075         * java/lang/Object.java (throwNoSuchMethodError): New method.
3076         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
3077         * link.cc (_Jv_ThrowNoSuchFieldError): New.
3078         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
3079         missing.  Instead, set the otable entry to zero.
3080         (link_symbol_table): If we don't find a nonstatic method, insert
3081         the vtable offset of Object.throwNoSuchMethodError() into the
3082         otable.
3084 2005-12-05  Tom Tromey  <tromey@redhat.com>
3086         * testsuite/libjava.compile/rh174912.java: New file.
3088 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
3090         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
3091         xfail-byte-exec.
3092         * testsuite/libjava.lang/Array_3.xfail: New file.
3094 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
3096         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
3097         to compare _Jv_InterpMethod::run against current func.
3099 2005-11-30  Andrew Haley  <aph@redhat.com>
3101         * classpath/lib/Makefile.am (resources): Use `cp -p'.
3102         Remove `@' from start of line.
3104 2005-11-28  Tom Tromey  <tromey@redhat.com>
3106         PR java/18278:
3107         * testsuite/libjava.jni/pr18278.out: New file.
3108         * testsuite/libjava.jni/pr18278.c: New file.
3109         * testsuite/libjava.jni/pr18278.java: New file.
3110         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
3111         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
3112         (call): Unwrap return value if needed.
3114 2005-11-25  Mark Wielaard  <mark@klomp.org>
3116         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
3117         gnu/javax/rmi.
3118         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
3119         gnu/javax/rmi to bc.
3120         * gnu/CORBA/ObjectCreator.java: New override file for missing
3121         VMStackWalker issue.
3122         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
3123         * gnu/CORBA/DynAn/RecordAny.java: Likewise
3124         * sources.am: Regenerated.
3125         * Makefile.in: Regenerated
3127 2005-11-25  Andrew Haley  <aph@redhat.com>
3129         PR libgcj/25016
3130         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
3131         struct timespec we pass to pthread_cond_timedwait.
3133 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
3135         * testsuite/libjava.jacks/jacks.xfail: Remove
3136         non-jls-argument-expansion-13 and add
3137         non-jls-argument-expansion-error-1 in response to the @file support
3138         patch in the main GCC driver.
3140 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
3142         * sysdep/ia64-frame.h: Removed.
3143         * sysdep/ia64.c: Removed.
3144         * sysdep/dwarf2-backtrace.cc: Removed.
3145         * configure.ac: Remove references to HAVE_BACKTRACE and
3146         SUPPLY_BACKTRACE.
3147         * Makefile.am: Remove SUPPLY_BACKTRACE support.
3148         * configure: Rebuilt.
3149         * Makefile.in: Rebuilt.
3151 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
3153         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
3155 2005-11-17  Mark Wielaard  <mark@klomp.org>
3157         Imported GNU Classpath gcj-import-20051117.
3158         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
3159         * sources.am: Regenerated.
3160         * Makefile.in: Likewise.
3162 2005-11-17  Mark Wielaard  <mark@klomp.org>
3164         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
3165         * java/net/ServerSocket.java: Likewise.
3166         * sources.am: Regenerated.
3167         * Makefile.in: Regenerated.
3169 2005-11-17  Mark Wielaard  <mark@klomp.org>
3171         Fixes bug #24006
3172         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
3174 2005-11-17  Tom Tromey  <tromey@redhat.com>
3176         * java/net/ServerSocket.java (accept): Use correct security manager
3177         call.
3179 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3181         * java/net/ServerSocket.java
3182         (bound): Removed.
3183         (local): New field.
3184         (bind): Cache local socket address.
3185         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
3186         Use cached local socket address.
3187         (close): bound field was removed.
3189 2005-11-17  Tom Tromey  <tromey@redhat.com>
3191         * java/net/URLConnection.java (setDoInput): Javadoc fix.
3192         (setDoOutput): Likewise.
3193         (setContentHandlerFactory): Likewise.
3194         (setFileNameMap): Likewise.
3196 2005-11-17  Mark Wielaard  <mark@klomp.org>
3198         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
3200 2005-11-17  Mark Wielaard  <mark@klomp.org>
3202         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
3203         call urls.add() and addURLImpl() directly on each URL.
3205 2005-11-17  Tom Tromey  <tromey@redhat.com>
3207         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
3209 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3211         * java/net/URLClassLoader.java
3212         (Resource.name): Removed field.
3213         (JarURLResource.name): Added field.
3214         (FileResource.getURL): Use File.toURL() instead of doing it in
3215         a way that breaks on Windows.
3217 2005-11-17  Roman Kennke  <roman@kennke.org>
3219         Reported by: Ingo Proetel  <proetel@aicas.com>
3220         * java/net/URLClassLoader.java
3221         (findClass): Added null check to avoid NullPointerException.
3223 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
3225         * java/net/URLClassLoader.java: reordered some API doc comments to
3226         suppress Eclipse warnings, and fixed API doc link.
3228 2005-11-17  Tom Tromey  <tromey@redhat.com>
3230         * java/net/URLClassLoader.java (URLClassLoader): Removed
3231         unused constructor.
3233 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3235         * java/net/URLClassLoader (findClass): Close InputStream after we're
3236         done with it.
3238 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
3240         Implement -Xss.
3241         * include/jvm.h (gcj::stack_size): Declare.
3242         (_Jv_StackSize): Declare.
3243         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
3244         (_Jv_ThreadStart): Set stack size if specified.
3245         * prims.cc (gcj::stack_size): Define.
3246         (parse_memory_size): Renamed from parse_heap_size.
3247         (_Jv_SetStackSize): Parse stack size argument and set 
3248         gcj::stack_size.
3250 2005-11-17  Mark Wielaard  <mark@klomp.org>
3252         * java/text/SimpleDateFormat.java: Removed, fully merged now.
3253         * sources.am: Regenerated.
3254         * Makefile.in: Regenerated.
3256 2005-11-17  Sven de Marothy  <sven@physto.se>
3258         * java/text/SimpleDateFormat.java
3259         (computeOffset): Allow timezone to be first in the parsed String.
3261 2005-11-17  Mark Wielaard  <mark@klomp.org>
3263         * java/text/SimpleDateFormat.java (field, size): Make package private.
3265 2005-11-17  Tom Tromey  <tromey@redhat.com>
3267         * java/text/SimpleDateFormat.java (compileFormat): Correctly
3268         handle quoted single quotes.  PR classspath/23183.
3270 2005-11-17  Tom Tromey  <tromey@redhat.com>
3272         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
3274 2005-11-17  Tom Tromey  <tromey@redhat.com>
3276         * java/text/DateFormat.java (serialVersionUID): New field.
3278 2005-11-17  Mark Wielaard  <mark@klomp.org>
3280         * java/text/DateFormat.java (equals): Reimplement.
3282 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
3284         * java/text/Collator.java: API doc fixes,
3285         * java/text/DateFormat.java: likewise,
3286         * java/text/DecimalFormatSymbols.java: likewise,
3287         * java/text/DateFormatSymbols.java: likewise,
3288         * java/text/SimpleDateFormat.java: likewise.
3290 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3292         * java/text/Collator.java (getInstance(Locale)):
3293         Added default collation pattern to handle case when resource
3294         is missing and throw InternalError instead of returning null
3295         should parsing fail.
3297 2005-11-15  Mark Wielaard  <mark@klomp.org>
3299         * java/util/zip/ZipEntry.java: Removed, fully merged now.
3300         * java/util/zip/ZipFile.java: Likewise.
3301         * sources.am: Regenerated.
3302         * Makefile.in: Regenerated.
3304 2005-11-15  Tom Tromey  <tromey@redhat.com>
3306         classpath/23890:
3307         * java/util/Calendar.java (equals): Include other calendar
3308         attributes.
3309         (hashCode): Updated.
3310         * java/util/GregorianCalendar.java (hashCode): New method.
3311         (equals): Use super.equals().
3313 2005-11-15  Sven de Marothy  <sven@physto.se>
3315         * java/util/Calendar (setTimeInMillis): Recompute time fields.
3317 2005-11-15  Mark Wielaard  <mark@klomp.org>
3319         * java/util/SimpleTimeZone.java: Removed, fully merged now.
3320         * java/util/Date.java: Likewise.
3321         * sources.am: Regenerated.
3322         * Makefile.in: Regenerated.
3324 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
3326         * java/util/Calendar.java: fixed minor problems in API docs,
3327         * java/util/Date.java: likewise,
3328         * java/util/ResourceBundle.java: likewise,
3329         * java/util/SimpleTimeZone.java: likewise,
3331 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
3333         * java/io/ObjectInputStream.java
3334         (parseContent): Removed bogus println and fixed bug #24422.
3335                 
3336 2005-11-15  Mark Wielaard  <mark@klomp.org>
3338         * java/io/ObjectStreamClass.java: Removed, fully merged now.
3339         * sources.am: Regenerated.
3340         * Makefile.in: Regenerated.
3342 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
3344         * java/io/ObjectInputStream.java
3345         (processResolution): Pass Error, RuntimeException and
3346         ObjectStreamException through to the caller.
3347         (readObject): Documentation update.
3349 2005-11-15  Mark Wielaard  <mark@klomp.org>
3351         Imported GNU Classpath 0.19 + gcj-import-20051115.
3352         * sources.am: Regenerated.
3353         * Makefile.in: Likewise.
3354         * scripts/makemake.tcl: Use glob -nocomplain.
3356 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
3358         * Makefile.in: Re-generated.
3359         * gnu/awt/xlib/XGraphicsDevice.java: New file.
3360         * gnu/awt/xlib/XToolkit.java
3361         (getLocalGraphicsEnvironment): Implemented. 
3362         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
3363         * sources.am: Re-generated.
3365 2005-15-09  David Daney <ddaney@avtrex.com>
3367         PR libgcj/15430
3368         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
3369         function.
3370         (accept): Call it.
3371         (close): Call shutdown before closing.
3372         (read()): Call read_helper with proper parameters.
3373         (read(buffer, int, int)): Likewise.
3374         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
3375         and timeout parameters.  Make prototype to match. Use 
3376         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
3377         in two places.
3379 2005-11-15  Andrew Haley  <aph@redhat.com>
3381         * Merge from Classpath head:
3383    2005-09-16  Andrew Haley  <aph@redhat.com>
3384    
3385            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
3386            protected readResolve().  Rewrite accessibility check.
3387    
3388    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
3389    
3390            * java/io/ObjectStreamClass.java
3391            (findAccessibleMethod): Added code to make method accessible.
3392    
3393    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
3394    
3395            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
3396            (findAccessibleMethod): Likewise.
3397            (cacheMethods): Lookup readResolve and writeReplace using the new
3398            findAccessibleMethod().
3399    
3400 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
3402         * java/net/natVMNetworkInterfaceWin32.cc: Include
3403         java/net/VMNetworkInterface.h.
3405 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
3406             David Daney  <ddaney@avtrex.com>
3408         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
3409         (read): Handle count == 0 case.
3411 2005-11-09  Tom Tromey  <tromey@redhat.com>
3413         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
3414         passes.
3416 2005-11-08  Tom Tromey  <tromey@redhat.com>
3418         PR libgcj/24587:
3419         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
3421 2005-11-08  Tom Tromey  <tromey@redhat.com>
3423         PR libgcj/23763.  From aeby@graeff.com.
3424         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
3425         before exec.
3427 2005-11-08  Mark Wielaard  <mark@klomp.org>
3429         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
3431 2005-11-07  David Daney  <ddaney@avtrex.com>
3433         * mauve-libgcj: Disable javax.rmi.* and
3434         java.io.InputStreamReader.getEncoding.
3436 2005-11-04  Tom Tromey  <tromey@redhat.com>
3438         PR libgcj/14358, libgcj/24552:
3439         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
3440         aliases for 'euc_jp' and 'eucjp'.
3441         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
3442         canonical names in output.
3443         (%map): Added UnicodeLittle and UnicodeBig.
3445 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3447         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
3449 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
3451         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
3452         library extensions.
3454 2005-10-12  Andrew Haley  <aph@redhat.com>
3456         PR java/24251
3457         * link.cc (ensure_method_table_complete): Install Miranda methods
3458         for interfaces too.
3460 2005-10-10  Tom Tromey  <tromey@redhat.com>
3462         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
3463         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
3464         Now static.
3466 2005-10-05  Richard Henderson  <rth@redhat.com>
3468         PR target/23602
3469         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
3470         but not BACKTRACESPEC.
3471         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
3473 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
3475         * testsuite/lib/jni.exp (gcj_jni_test_one): For
3476         darwin, use -shared-libgcc not -lgcc_s, and explain why.
3477         (gcj_jni_invocation_test_one): Likewise.
3479 2005-09-30  Tom Tromey  <tromey@redhat.com>
3481         PR libgcj/24051:
3482         * Makefile.in: Rebuilt.
3483         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
3484         requested.
3485         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
3486         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
3487         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
3488         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
3489         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
3490         * configure: Rebuilt.
3491         * configure.ac: Pass --enable-qt-peers when qt is requested.
3493 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
3495         * configure.ac: Fix typo.
3496         * configure: Regenerate.
3498 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
3500         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
3501         __LP64__ is defined rather than __powerpc64__.
3502         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
3503         (compare_and_swap_release): Likewise.
3505 2005-09-28  David Daney  <ddaney@avtrex.com>
3507         * HACKING: Update instructions for classpath import.
3509 2005-09-27  Tom Tromey  <tromey@redhat.com>
3511         PR libgcj/23367:
3512         * include/jvm.h (_Jv_FreeMethodCache): Declare.
3513         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
3514         (struct _Jv_mcache): Likewise.
3515         (method_cache): Likewise.
3516         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
3517         (_Jv_AddMethodToCache): Likewise.
3518         (_Jv_FreeMethodCache): New function.
3519         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
3520         * aclocal.m4, configure, include/config.h.in: Rebuilt.
3521         * configure.ac: Invoke GCC_CHECK_TLS.
3523 2005-09-27  Tom Tromey  <tromey@redhat.com>
3525         * configure, Makefile.in: Rebuilt.
3526         * sources.am: Rebuilt.
3527         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
3528         * configure.ac (TOOLKIT): Handle Qt peers properly.
3530 2005-09-23  Tom Tromey  <tromey@redhat.com>
3532         Imported Classpath 0.18.
3533         * sources.am, Makefile.in: Updated.
3534         * Makefile.am (nat_source_files): Removed natProxy.cc.
3535         * java/lang/reflect/natProxy.cc: Removed.
3536         * gnu/classpath/jdwp/VMFrame.java,
3537         gnu/classpath/jdwp/VMIdManager.java,
3538         gnu/classpath/jdwp/VMVirtualMachine.java,
3539         java/lang/reflect/VMProxy.java: New files.
3541 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3543         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
3544         list.
3546 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3548         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
3549         Remove ClasspathToolkit references.
3551 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3553         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
3554         * gnu/awt/xlib/XFramePeer.java: Likewise.
3555         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
3557 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3559         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
3560         classpath/native/jawt/jawt.c.
3561         * Makefile.in: Regenerate.
3562         * jawt.c: Remove file.
3563         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
3564         jawt_md.h.  Add ../classpath/include/jawt.h and
3565         ../classpath/include/jawt_md.h.
3566         * include/Makefile.in: Regenerate.
3567         * include/jawt.h: Regenerate.
3568         * include/jawt_md.h: Regenerate.
3570 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
3572         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
3573         `null' parent ClassLoader to parent constructor.
3574         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
3575         constructor.
3577 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
3579         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
3581 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3583         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
3584         Use libjava_find_lib to find the proper libgcj.
3586 2005-09-16  Anthony Green  <green@redhat.com>
3588         PR libgcj/20198
3589         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
3590         resources should all have canonicalized names.
3592 2005-09-15  Tom Tromey  <tromey@redhat.com>
3594         PR libgcj/16032:
3595         * interpret.cc (AVAL1U): Resolve pool entry when not direct
3596         threaded.
3597         (AVAL2U): Likewise.
3598         (compile): Handle 'ldc class' specially.
3599         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
3600         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
3601         * defineclass.cc (handleCodeAttribute): Set new field.
3602         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
3603         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
3604         (parse): Check version numbers.
3605         (_Jv_ClassReader::is_15): New field.
3606         (_Jv_ClassReader): Initialize it.
3607         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
3609 2005-09-15  Tom Tromey  <tromey@redhat.com>
3611         For PR libgcj/23288:
3612         * java/net/URLClassLoader.java (definePackage): Correctly order
3613         arguments to definePackage.  Look up per-entry Attributes.
3614         (getAttributeValue): New method.
3616 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
3618         PR libgcj/23762
3619         * shlibpath.m4: New file.
3620         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
3621         macro.
3622         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
3623         [USE_LTDL]: If it was not defined with -D set java.library.path to
3624         the value of LTDL_SHLIBPATH_VAR.
3626 2005-09-08  Andrew Haley  <aph@redhat.com>
3628         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
3629         loader.
3630         (toString): Likewise.
3632 2005-09-08  Andrew Haley  <aph@redhat.com>
3634         PR java/22084
3635         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
3636         R/M field in instruction is 100.
3638 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3640         PR libgcj/23761
3641         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
3642         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
3643         lt_dlinit.
3644         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
3645         Define variable.
3646         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
3647         _Jv_Module_Load_Path.
3649 2005-09-06  Tom Tromey  <tromey@redhat.com>
3651         PR libgcj/23739:
3652         * testsuite/libjava.jni/pr23739.c: New file.
3653         * testsuite/libjava.jni/pr23739.java: New file.
3654         * testsuite/libjava.jni/pr23739.out: New file.
3655         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
3656         * java/lang/reflect/natMethod.cc (invoke): Updated.
3657         * java/lang/natClass.cc (isAssignableFrom): Updated.
3658         (isInstance): Likewise.
3659         (_Jv_IsAssignableFrom): Reversed arguments.
3660         (_Jv_IsInstanceOf): Updated.
3661         (_Jv_CheckCast): Likewise.
3662         (_Jv_CheckArrayStore): Likewise.
3663         (_Jv_IsAssignableFromSlow): Reversed arguments.
3664         (_Jv_InterfaceAssignableFrom): Likewise.
3665         * link.cc (verify_type_assertions): Updated.
3666         * prims.cc (_Jv_CheckAccess): Updated.
3668 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
3670         Testsuite changes for PR java/23431.
3671         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
3672         8.4.6.2-hiding-5.
3673         * testsuite/libjava.compile/PR23431_1.java: New testcase.
3674         * testsuite/libjava.compile/PR23431_2.java: Likewise.
3675         * testsuite/libjava.compile/PR23431_1.xfail: New file.
3676         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
3678 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3680         PR libgcj/23549
3681         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
3682         -disableassertions and -da.
3684 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
3686         * configure.ac: Replace "*-*-darwin[0-7].*" with
3687         "*-*-darwin[[0-7]].*"
3688         * configure: Regenerate.
3690 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
3692         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
3693         darwin < 8.
3694         * configure: Regenerate.
3696 2005-08-23  Roman Kennke  <roman@kennke.org>
3698         * java/lang/Character.java
3699         (toChars(int)): New JDK1.5 method.
3700         (toChars(int, char[], int)): New JDK1.5 method.
3701         (charCount): New JDK1.5 method.
3702         (isSupplementaryCodePoint): New JDK1.5 method.
3703         (isValidCodePoint): New JDK1.5 method.
3705 2005-08-23  Tom Tromey  <tromey@redhat.com>
3707         * aclocal.m4, Makefile.in: Rebuilt.
3708         * Makefile.am (property_files): Added META-INF files.
3709         (propertyo_files): Changed definition.
3710         ($(propertyo_files)): Updated patterns.
3712 2005-08-22  Tom Tromey  <tromey@redhat.com>
3714         PR libgcj/22622:
3715         * configure: Rebuilt.
3716         * configure.ac: Correctly create Configuration.java (for
3717         temporary use).
3719 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
3721         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
3722         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
3723         * mingwld.m4: ... this new file.
3724         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
3725         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
3727 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3729         PR libgcj/23507
3730         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
3731         assignment.  Cast operands of compare to function pointer type.
3733 2005-08-21  Tom Tromey  <tromey@redhat.com>
3735         * HACKING: Updated for hacking classpath in libgcj.
3737 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3739         PR libgcj/21692
3740         * sysdep/pa/descriptor.h: New file.
3741         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
3743 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
3745         * Makefile.am (extra_ldflags_libjava): New variable to
3746         substitute in.
3747         (LIBLINK): Add extra_ldflags_libjava to it.
3748         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
3749         "-Wl,-single_module".
3750         * Makefile.in: Regenerate.
3751         * aclocal.m4: Regenerate.
3752         * configure: Regenerate.
3753         * gcj/Makefile.in: Regenerate.
3754         * include/Makefile.in: Regenerate.
3755         * testsuite/Makefile.in: Regenerate.
3757 2005-08-17  Tom Tromey  <tromey@redhat.com>
3759         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
3760         friend.
3761         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
3762         * testsuite/libjava.lang/bclink.java: New file.
3763         * testsuite/libjava.lang/bclink.out: New file.
3764         * link.cc (print_class_loaded): Changed ABI test to look at
3765         various _syms fields.
3767 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
3769         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
3770         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
3772 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
3774         More testsuite adjustments for PR java/19870.
3775         * testsuite/libjava.lang/PR19870_2.java: New testcase.
3776         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
3777         new testcase.
3778         * testsuite/libjava.jacks/jacks.xfail: Remove
3779         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
3781 2005-08-16  Tom Tromey  <tromey@redhat.com>
3783         * gnu/xml/xpath/XPathParser.y: Removed.
3785 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
3787         PR libgcj/23353:
3788         * java/lang/natObject.cc (clone): Clear sync_info.
3790 2005-07-26  Tom Tromey  <tromey@redhat.com>
3792         * gnu/java/net/protocol/ftp/package.html,
3793         gnu/javax/swing/text/html/package.html,
3794         gnu/javax/swing/text/html/parser/package.html,
3795         gnu/javax/swing/text/html/parser/models/package.html,
3796         gnu/javax/swing/text/html/parser/support/package.html,
3797         gnu/javax/swing/text/html/parser/support/low/package.html,
3798         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
3799         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
3800         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
3801         java/awt/geom/doc-files/CubicCurve2D-1.png,
3802         java/awt/geom/doc-files/CubicCurve2D-2.png,
3803         java/awt/geom/doc-files/CubicCurve2D-3.png,
3804         java/awt/geom/doc-files/CubicCurve2D-4.png,
3805         java/awt/geom/doc-files/CubicCurve2D-5.png,
3806         java/awt/geom/doc-files/Ellipse-1.png,
3807         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
3808         java/awt/geom/doc-files/GeneralPath-1.png,
3809         java/awt/geom/doc-files/QuadCurve2D-1.png,
3810         java/awt/geom/doc-files/QuadCurve2D-2.png,
3811         java/awt/geom/doc-files/QuadCurve2D-3.png,
3812         java/awt/geom/doc-files/QuadCurve2D-4.png,
3813         java/awt/geom/doc-files/QuadCurve2D-5.png,
3814         javax/imageio/package.html, javax/imageio/event/package.html,
3815         javax/imageio/metadata/package.html,
3816         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
3817         javax/swing/border/doc-files/BevelBorder-1.png,
3818         javax/swing/border/doc-files/BevelBorder-2.png,
3819         javax/swing/border/doc-files/BevelBorder-3.png,
3820         javax/swing/border/doc-files/EmptyBorder-1.png,
3821         javax/swing/border/doc-files/EtchedBorder-1.png,
3822         javax/swing/border/doc-files/EtchedBorder-2.png,
3823         javax/swing/border/doc-files/LineBorder-1.png,
3824         javax/swing/border/doc-files/MatteBorder-1.png,
3825         javax/swing/border/doc-files/MatteBorder-2.png,
3826         javax/swing/border/doc-files/MatteBorder-3.png,
3827         javax/swing/border/doc-files/MatteBorder-4.png,
3828         javax/swing/border/doc-files/MatteBorder-5.png,
3829         javax/swing/border/doc-files/MatteBorder-6.png,
3830         javax/swing/border/doc-files/SoftBevelBorder-1.png,
3831         javax/swing/border/doc-files/SoftBevelBorder-2.png,
3832         javax/swing/border/doc-files/SoftBevelBorder-3.png,
3833         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3834         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3835         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3836         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3837         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3838         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3839         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3840         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3841         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3842         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3843         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
3844         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3845         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3846         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3847         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3848         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3849         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3850         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
3851         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3852         javax/swing/plaf/doc-files/ComponentUI-1.png,
3853         javax/swing/plaf/doc-files/TreeUI-1.png,
3854         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
3855         javax/xml/parsers/package.html, javax/xml/transform/package.html,
3856         javax/xml/transform/dom/package.html,
3857         javax/xml/transform/sax/package.html,
3858         javax/xml/transform/stream/package.html,
3859         javax/xml/validation/package.html, javax/xml/xpath/package.html:
3860         Removed.
3862 2005-07-22  Tom Tromey  <tromey@redhat.com>
3864         * include/Makefile.in: Rebuilt.
3865         * include/Makefile.am (tool_include__HEADERS): Include
3866         classpath's jni.h.
3868 2005-07-20  Tom Tromey  <tromey@redhat.com>
3870         * sources.am, Makefile.in: Rebuilt.
3871         * Makefile.am (all_xlib_lo_files): Removed.
3872         (all_libgcj_lo_files): Likewise.
3873         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
3874         (xlib_java_source_files): Removed.
3875         (xlib_nat_headers): Updated.
3876         * configure: Rebuilt.
3877         * configure.ac: Create standard.omit.
3878         * standard.omit.in: New file.
3879         * standard.omit: Removed.
3880         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
3881         'package'.
3882         (emit_package_rule): Special case xlib peers.
3883         (emit_source_var): Likewise.
3884         Read standard.omit.in.
3885         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
3887 2005-07-18  Tom Tromey  <tromey@redhat.com>
3889         * HACKING: Updated.
3891 2005-07-19  Matthias Klose  <doko@debian.org>
3893         * classpath/java/awt/im/InputContext.java (clinit): Initialize
3894           line, im.
3896 2005-07-18  Tom Tromey  <tromey@redhat.com>
3898         PR libgj/21058:
3899         * sources.am, Makefile.in: Rebuilt.
3900         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
3901         file.
3902         (emit_source_var): Don't emit patsubst with './'.
3904 2005-07-18  Tom Tromey  <tromey@redhat.com>
3906         * Makefile.in: Rebuilt.
3907         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
3909 2005-07-17  Andreas Jaeger  <aj@suse.de>
3911         * defineclass.cc (handleClassBegin): Remove unused variable.
3913 2005-07-16  Andreas Schwab  <schwab@suse.de>
3915         * scripts/makemake.tcl (emit_package_rule): Emit command to create
3916         target directory.
3917         * Makefile.am (%.lo): Don't create it here.
3918         * sources.am, Makefile.in: Regenerated.
3920 2005-07-15  Tom Tromey  <tromey@redhat.com>
3922         Major merge with Classpath.
3923         Removed many duplicate files.
3924         * HACKING: Updated.x
3925         * classpath: Imported new directory.
3926         * standard.omit: New file.
3927         * Makefile.in, aclocal.m4, configure: Rebuilt.
3928         * sources.am: New file.
3929         * configure.ac: Run Classpath configure script.  Moved code around
3930         to support.  Disable xlib AWT peers (temporarily).
3931         * Makefile.am (SUBDIRS): Added 'classpath'
3932         (JAVAC): Removed.
3933         (AM_CPPFLAGS): Added more -I options.
3934         (BOOTCLASSPATH): Simplified.
3935         Completely redid how sources are built.
3936         Include sources.am.
3937         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
3938         * include/jni.h: Removed (in Classpath).
3939         * scripts/classes.pl: Updated to look at built classes.
3940         * scripts/makemake.tcl: New file.
3941         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
3942         -I options.
3943         (gcj_jni_invocation_compile_c_to_binary): Likewise.
3945 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
3947         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
3948         (eventMask): New field.
3949         (XCanvasPeer(Component)): Use attributes field.
3950         (setBackground): Implemented.
3951         (setEventMask): Process mask only if changed.
3952         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
3953         (eventLoopThread): New field.
3954         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
3955         (interrupt): Removed.
3956         (run): New method.
3957         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
3958         and Component events.
3959         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
3960         field.
3961         (configureNotify): Set and clear processingConfigureNotify.
3962         (setBounds): Process only if processingConfigureNotify is false.
3963         (toBack): Implemented.
3964         (toFront): Implemented.
3965         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
3966         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
3967         color.
3968         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
3969         (wakeNativeQueue): Do nothing.
3970         (iterateNativeQueue): Do queue.wait if blocking.
3971         * gnu/gcj/xlib/Font.java (loadFont): New method.
3972         (loadFontImpl): Renamed native method, was loadFont. 
3973         * gnu/gcj/xlib/Window.java (toFront): New method.
3974         (toBack): New method.
3975         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
3976         loadFont.
3977         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
3978         (toFront): New method. 
3979         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
3981 2005-07-14  Andrew Haley  <aph@redhat.com>
3983         * gnu/java/net/protocol/file/Connection.java (unquote): New
3984         method.
3985         (connect): Unquote filename.
3986         gnu/java/net/protocol/jar/Connection.java (getInputStream):
3987         Likewise.  
3988         (getJarFile): Likewise.
3990         * java/net/URLConnection.java (getContentHandler): Guard cast with
3991         instaceof.
3993         * java/net/URL.java (URL): If the file part of a spec is absolute,
3994         ignore the file part of its context.
3996 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
3998         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
3999         Implemented VirtualMachine Command Set.
4001 2005-07-14  Tom Tromey  <tromey@redhat.com>
4003         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
4004         Classpath.
4006 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
4008         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
4009         Implemented the Field CommandSet.
4010         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
4011         Implemented the InterfaceType CommandSet.
4013 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
4015         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
4016         shutdown to jdwp instead of connection.
4018 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
4020         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
4021         New file.
4023 2005-07-08  Colin Walters  <walters@verbum.org>
4025         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
4026         check for abstract classes or interfaces here; JVM spec
4027         says it should throw an exception, so we'll do so later.
4028         * interpret.cc (run): Throw an InstantiationException for
4029         abstract classes and interfaces.
4031 2005-07-08  Andrew Haley  <aph@redhat.com>
4033         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
4034         (regular, non-realtime scheduling), not SCHED_RR (realtime,
4035         round-robin).
4037 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
4039         * gnu/classpath/jdwp/util/Signature.java
4040         (computeFieldSignature): New Method.
4042 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
4044         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
4045         file.
4047 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
4049         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
4050         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
4052 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
4054         * testsuite/libjava.compile/PR21045.java: New test.
4055         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
4056         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
4058 2005-07-06  Tom Tromey  <tromey@redhat.com>
4060         * java/io/InputStreamReader.java (refill): Handle no-progress
4061         case correctly.
4062         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
4064 2005-07-06  Tom Tromey  <tromey@redhat.com>
4066         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
4068 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4070         * testsuite/libjava.compile/PR19674.java: New test.
4072 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
4074         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
4075         New file.
4077 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
4079         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
4080         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
4081         CommandSets to handle JdwpCommandPackets.
4082         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
4083         Constructor.
4085 2005-07-01  Tom Tromey  <tromey@redhat.com>
4087         * libtool-version: Updated.
4089 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
4091         * gnu/classpath/jdwp/util/JdwpString.java: New file.
4093 2005-06-30  Keith Seitz  <keiths@redhat.com>
4095         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
4096         (myWrite): New abstract method.
4097         (toBytes): Remove.
4098         (myToBytes): Remove.
4099         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
4100         method.
4101         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
4102         method.
4103         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
4104         JdwpPacket.write instead of JdwpPacket.toBytes.
4106 2005-06-30  Keith Seitz  <keiths@redhat.com>
4108         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
4109         method.
4110         (_bytes): New member.
4111         (_doStream): New member.
4112         (JdwpConnection): Initialize new members.
4114 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
4116         * all files: Update for new FSF address.
4118 2005-06-29  Tom Tromey  <tromey@redhat.com>
4120         PR libgcj/22211:
4121         * testsuite/libjava.lang/pr22211.java: New file.
4122         * java/lang/natThread.cc (finish_): Synchronize when updating
4123         alive_flag.
4124         (_Jv_AttachCurrentThread): Likewise.
4125         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
4126         * java/lang/Thread.java (isAlive): Now synchronized.
4128 2005-06-29  Tom Tromey  <tromey@redhat.com>
4130         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
4131         _Jv_CheckCast.
4133 2005-06-28  Robin Green  <greenrd@greenrd.org>
4135         PR java/22189
4136         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
4137         error.
4139 2005-06-27  Tom Tromey  <tromey@redhat.com>
4141         PR java/21540, PR java/13788:
4142         * testsuite/libjava.compile/pr21540.java: New file.
4143         * testsuite/libjava.compile/pr13788.java: New file.
4144         * testsuite/libjava.jacks/jacks.xfail: Updated.
4146 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
4148         * testsuite/libjava.mauve/xfails: Updated to reflect current state
4149         of mauve and libjava. 
4151 2005-06-24  Tom Tromey  <tromey@redhat.com>
4153         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
4154         where class' name is NULL.
4155         (_Jv_FindClass): Don't wait for class state.
4156         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
4157         name found.
4158         * include/java-interp.h (_Jv_DefineClass): Updated.
4159         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
4160         (struct _Jv_ClassReader): Likewise.
4161         (found_name): New field.
4162         (handleClassBegin): Set *found_name.
4163         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
4164         (handleClassBegin): Throw error if super class not set.
4165         (read_methods): Correctly call check_tag and prepare_pool_entry.
4167 2005-06-24  Tom Tromey  <tromey@redhat.com>
4169         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
4171 2005-06-24  Tom Tromey  <tromey@redhat.com>
4173         * verify.cc (verify_instructions_0): Correctly handle situation
4174         where PC falls off end.
4176 2005-06-24  Tom Tromey  <tromey@redhat.com>
4178         * interpret.cc (compile): Handle case where table entry is
4179         outside of PC range.
4181 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
4183         * testsuite/libjava.compile/PR20697.java: New test-case.
4185 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
4187         * Makefile.am (SUBDIRS): Use append for conditional.
4188         (toolexeclib_LTLIBRARIES): Likewise.
4189         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
4190         a conditional append.
4191         * Makefile.in: Regenerate.
4193 2005-06-17  Keith Seitz  <keiths@redhat.com>
4195         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
4196         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
4197         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
4198         file.
4199         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
4200         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
4201         file.
4202         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
4203         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
4204         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
4205         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
4206         file.
4207         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
4208         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
4210 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
4212         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
4213         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
4214         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
4215         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
4216         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
4217         * Makefile.in: Regenerate.
4219 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
4221         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
4222         (USING_POSIX_PLATFORM): ... here.
4223         * Makefile.am: Delete USING_ECOS_PLATFORM.
4224         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4225         external/Makefile.in, external/sax/Makefile.in,
4226         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
4228 2005-06-15  Tom Tromey  <tromey@redhat.com>
4230         PR libgcj/17536:
4231         * testsuite/libjava.lang/pr17536.java: New file.
4232         * testsuite/libjava.lang/pr17536.out: New file.
4234 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
4236         PR libgcj/21074:
4237         * gnu/java/net/protocol/http/HTTPURLConnection.java
4238         (getHeaderFieldKey): Check index.
4240 2005-06-15  Tom Tromey  <tromey@redhat.com>
4242         PR libgcj/21906:
4243         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
4244         methods.
4245         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
4246         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
4247         static.
4248         (append_partial_itable): Use it.
4249         (set_vtable_entries): Likewise.
4251 2005-06-15  Tom Tromey  <tromey@redhat.com>
4253         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
4254         last_was_sep in loop.
4256 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4258         * configure.host: Handle Solaris 10/x86.
4260 2005-06-14  Keith Seitz  <keiths@redhat.com>
4262         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
4263         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
4265 2005-06-14  Keith Seitz  <keiths@redhat.com>
4267         * gnu/classpath/jdwp/id/ArrayId.java: New file.
4268         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
4269         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
4270         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
4271         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
4272         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
4273         * gnu/classpath/jdwp/id/JdwpId.java: New file.
4274         * gnu/classpath/jdwp/id/ObjectId.java: New file.
4275         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
4276         * gnu/classpath/jdwp/id/StringId.java: New file.
4277         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
4278         * gnu/classpath/jdwp/id/ThreadId.java: New file.
4280 2005-06-14  Tom Tromey  <tromey@redhat.com>
4282         PR libgcj/19877:
4283         * configure, aclocal.m4, Makefile.in: Rebuilt.
4285 2005-06-14  Tom Tromey  <tromey@redhat.com>
4287         * java/lang/Class.java (getClasses): New method.
4288         (internalGetClasses): Likewise.
4289         (getClassLoader): Updated documentation.
4290         (getDeclaredClasses): New overload; old overload no longer
4291         native.
4292         (_getConstructors): Removed.
4293         (resourcePath): Updated.
4294         * java/lang/natClass.cc (getClasses): Removed.
4295         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
4296         Updated.
4297         (_getConstructors): Removed.
4299 2005-06-13  Jim Huang  <jserv@kaffe.org>
4301         PR libgcj/22036:
4302         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
4303         (_Jv_JNI_NewObject): Likewise.
4305 2005-06-13  Tom Tromey  <tromey@redhat.com>
4307         PR java/21844:
4308         * testsuite/libjava.lang/pr21844.java: New file.
4309         * testsuite/libjava.lang/pr21844.out: New file.
4311 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
4313         PR libgcj/21949
4314         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
4315         From Gary Benson.
4317 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
4319         * java/text/MessageFormat.java (parse): When parsing strings, check
4320         for an empty pattern trailer.
4322 2005-06-06  Keith Seitz  <keiths@redhat.com>
4324         * gnu/classpath/jdwp/util/Signature.java: New file.
4325         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
4327 2005-06-05  Anthony Green  <green@redhat.com>
4329         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
4330         fall-through bug.
4332 2005-06-04  Anthony Green  <green@redhat.com>
4334         * java/net/URLClassLoader.java: import gnu.gcj.Core,
4335         and gnu.java.net.protocol.core.CoreInputStream.
4336         (CureURLLoader): New class.
4337         (CoreResource): New class.
4338         (addURLImpl): Add special treatment for the "core" protocol.
4339         * gnu/gcj/natCore.cc (find): New method.
4340         * gnu/gcj/Core.java (find): New method.
4342 2005-06-03  Keith Seitz  <keiths@redhat.com>
4344         * gnu/classpath/jdwp/transport/ITransport.java: New file.
4345         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
4346         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
4348 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
4350         * jawt.c: Remove malloc.h, covered by stdlib.h.
4352         * testsuite/libjava.jni/jni.exp
4353         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
4354         the build process.
4356 2005-06-02  Keith Seitz  <keiths@redhat.com>
4358         * gnu/classpath/jdwp/transport/TransportException.java: New file.
4360 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
4362         * mauve-libgcj: Remove implemented classes from the fail section.
4363         Add two new not implemented to it.
4365 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
4367         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
4368         AC_SUBST definition from configure.host.
4369         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
4370         to -fomit-frame-pointer on 32-bit x86 targets.
4372 2005-06-01  Tom Tromey  <tromey@redhat.com>
4374         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
4376 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
4378         PR libgcj/20435:
4379         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
4380         (static): Add possessive matching to JAVA_1_4 syntax.
4381         * gnu/regexp/RETokenRepeated.java (possessive): New field.
4382         (makePossessive, isPossessive): New methods.
4383         (match): Don't back off during possessive matching.
4384         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
4385         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
4386         to JAVA_1_4.
4388 2005-06-01  Keith Seitz  <keiths@redhat.com>
4390         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
4391         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
4392         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
4394 2005-06-01  Tom Tromey  <tromey@redhat.com>
4396         PR libgcj/21785:
4397         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
4398         (currentLoader): New method.
4399         * java/io/ObjectInputStream.java (resolveProxyClass): Use
4400         currentLoader.
4401         (currentLoader): Now native.
4402         (currentClassLoader): Removed.
4403         * testsuite/libjava.lang/pr21785.java: New file.
4404         * testsuite/libjava.lang/pr21785.out: New file.
4406 2005-06-01  Tom Tromey  <tromey@redhat.com>
4408         PR libgcj/21753:
4409         * java/lang/natString.cc (substring): Changed sharing heuristic.
4411 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
4413         PR libgcj/21821
4414         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
4415         MAXPATHLEN. Format exception message using a StringBuffer instead.
4417 2005-05-29  Michael Koch  <konqueror@gmx.de>
4419         PR libgcj/20273:
4420         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
4422 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
4424         * ChangeLog: Fix typo.
4426 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
4428         Testsuite adjustments for PR java/19870.
4429         * testsuite/libjava.lang/PR19870.java: New testcase.
4430         * testsuite/libjava.lang/PR19870.out: Expected output for the
4431         testcase.
4432         * testsuite/libjava.jacks/jacks.xfail: Add
4433         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
4436 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
4438         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
4439         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
4440         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
4441         classes.
4442         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
4443         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
4444         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
4445         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
4447 2005-05-25  Richard Henderson  <rth@redhat.com>
4449         PR libgcj/21692
4450         * sysdep/descriptor-n.h: New file.
4451         * sysdep/descriptor-y.h: New file.
4452         * sysdep/powerpc/descriptor.h: New file.
4453         * configure.host: Set $descriptor_h appropriate for the host.
4454         * configure.ac: Link it.
4455         * configure: Regenerate.
4456         * stacktrace.cc: Include sysdep/descriptor.h.
4457         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
4459 2005-05-25  Chris Burdess  <dog@gnu.org>
4461         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
4462         end entity callbacks.
4464 2005-05-24  Gary Benson  <gbenson@redhat.com>
4466         PR libgcj/21736:
4467         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
4468         Handle DateFormat.DEFAULT case correctly.
4470 2005-05-21  Tom Tromey  <tromey@redhat.com>
4472         PR libgcj/21703:
4473         * java/lang/ref/natReference.cc (find_slot): Handle case where
4474         table has no NULL entries.
4475         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
4476         table has no NULL entries.
4478 2005-05-22  Andreas Jaeger  <aj@suse.de>
4480         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
4481         avoid warnings.
4483 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
4485         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
4487 2005-05-19  Richard Henderson  <rth@redhat.com>
4489         * exception.cc: Revert 05-17 gcc_unreachable change.
4491 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
4493         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
4494         _Jv_RegisterInitiatingLoader to register array classes, not
4495         _Jv_RegisterClass.
4496         (_Jv_RegisterInitiatingLoader): Give up if called very early during
4497         bootstrapping. Add a FIXME to handle this case better.
4499 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
4501         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
4502         convenience library.
4503         (libgcj_la_SOURCES): New. Move sources here.
4504         (libgcj.la): Remove rule.
4506 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
4508         PR libgcj/19729
4509         * gnu/java/security/provider/DSASignature.java: Import updates
4510         from GNU Crypto.
4512 2005-05-18  Anthony Green  <green@redhat.com>
4514         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
4515         classpath_jawt_object_unlock, classpath_jawt_create_lock,
4516         classpath_jawt_destroy_lock): New functions.
4517         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
4518         classpath_jawt_object_unlock, classpath_jawt_create_lock,
4519         classpath_jawt_destroy_lock): New functions.
4520         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
4521         field.
4522         * jawt.c: #include malloc.h.
4523         (_Jv_Lock): Use lock.
4524         (_Jv_Unlock): Ditto.
4525         (_Jv_GetDrawingSurface): Initialize lock.
4526         (_Jv_FreeDrawingSurface): Destroy lock.
4527         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
4529 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
4531         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
4532         * Makefile.in: Regenerate.
4534 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
4536         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
4537         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
4538         * aclocal.m4, configure, config.h.in, include/config.h.in,
4539         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4540         external/Makefile.in, external/sax/Makefile.in,
4541         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
4543 2005-05-17  David Daney  <ddaney@avtrex.com>
4545         PR libgcj/18220
4546         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
4548 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
4550         * exception.cc (abort): Remove std::abort hack.
4551         (gcc_unreacheable): Define.
4553 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
4555         * Makefile.am (Makefile.deps): Do not create native.list and
4556         bytecodes.list.
4557         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
4558         * Makefile.in: Regenerate.
4560 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
4562         * configure.ac (--enable-libgcj-multifile): Remove.
4564         * Makefile.am (all_native_compiled_source_files,
4565         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
4566         all_libgcj_lo_files, all_xlib_lo_files,
4567         all_java_deps_files, all_java_stamp_files,
4568         all_java_filelist_files): New variables.
4569         (EXTRA_DIST): New Automake variable.
4570         (CLEANFILES): Add .stamp, .list and .lo files.
4571         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
4572         (classes.stamp): Depend on $(all_java_stamp_files).
4573         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
4574         going through write_entries_to_file.
4576         (all_java_source_files, all_property_files): Move earlier.
4577         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
4578         all_java_class_files): Remove.
4579         (gtk_awt_peer_sources): Rename to...
4580         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
4582         (ONESTEP): Remove.
4583         (libgcj0_convenience_la_SOURCES): Remove Java source files.
4584         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
4585         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
4586         (libgcj_la_SOURCES): Remove.
4587         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
4588         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
4589         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4591         * configure: Regenerate.
4592         * Makefile.in: Regenerate.
4593         * external/Makefile.in: Regenerate.
4594         * external/sax/Makefile.in: Regenerate.
4595         * external/w3c_dom/Makefile.in: Regenerate.
4596         * gcj/Makefile.in: Regenerate.
4597         * include/Makefile.in: Regenerate.
4598         * libltdl/Makefile.in: Regenerate.
4599         * testsuite/Makefile.in: Regenerate.
4601 2005-05-16  Tom Tromey  <tromey@redhat.com>
4603         * java/nio/charset/Charset.java (encode, decode): Synchronize on
4604         'this', not the class.
4606 2005-05-16  Tom Tromey  <tromey@redhat.com>
4608         * gnu/java/net/protocol/http/Headers.java (parse): Include final
4609         character of line.
4611 2005-05-16  Tom Tromey  <tromey@redhat.com>
4613         PR libgcj/21606:
4614         * java/net/URI.java (unquote): Handle lower-case letters as well.
4616 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
4618         PR libgcj/20504
4619         * gnu/regexp/RE.java: Add support for quoting constructs.
4621 2005-05-15  Tom Tromey  <tromey@redhat.com>
4623         * java/lang/String.java (startsWith): Fixed javadoc.
4625 2005-05-15  Tom Tromey  <tromey@redhat.com>
4627         PR java/21519:
4628         * testsuite/libjava.compile/pr21519.java: New file.
4629         * testsuite/libjava.compile/pr21519.no-link: New file.
4631 2005-05-15  Tom Tromey  <tromey@redhat.com>
4633         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
4635 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
4637         PR libgcj/21557
4638         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
4639         interrupt status flag if _Jv_CondWait is interrupted.
4641 2005-05-13  Tom Tromey  <tromey@redhat.com>
4643         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
4644         element in path.
4646 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
4648         * include/jvm.h (gcj::verifyClasses): Declare.
4649         * link.cc (gcj::verbose_class_flag): Moved.
4650         * prims.cc (gcj::verifyClasses): Define here.
4651         (gcj::verbose_class_flag): Move definition here.
4652         (_Jv_Linker::wait_for_state): Don't call verify_class
4653         if gcj::verifyClasses is not set.
4654         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
4656 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
4658         * gij.cc (main): Recognize '-verify', '-noverify', and
4659         '-verifyremote'
4661 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
4663         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
4665 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
4667         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
4668         libgcjawt.la.
4670 2005-05-11  Tom Tromey  <tromey@redhat.com>
4672         * external/w3c_dom/Makefile.in: Rebuilt.
4673         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
4674         -fbootstrap-classes.
4675         * external/sax/Makefile.in: Rebuilt.
4676         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
4677         -fbootstrap-classes.
4678         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
4679         friend.
4680         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4681         Call _Jv_CopyClassesToSystemLoader.
4682         * java/lang/natClassLoader.cc (system_class_list): New global.
4683         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
4684         classes differently.
4685         (_Jv_CopyClassesToSystemLoader): New function.
4686         (SYSTEM_LOADER_INITIALIZED): New define.
4687         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
4688         (_Jv_CheckABIVersion): Use it.
4689         (_Jv_ClassForBootstrapLoader): New function.
4690         * Makefile.in: Rebuilt.
4691         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
4693 2005-05-10  Tom Tromey  <tromey@redhat.com>
4695         * gcj/javaprims.h: Updated.
4696         * java/lang/String.java (String(StringBuilder)): New constructor.
4697         * java/lang/natStringBuilder.cc: New file.
4698         * java/lang/StringBuilder.java: New file.
4699         * Makefile.in: Rebuilt.
4700         * Makefile.am (core_java_source_files): Added StringBuilder.java.
4701         (nat_source_files): Added natStringBuilder.cc.
4703 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
4705         PR java/21436
4706         * testsuite/libjava.jacks/jacks.xfail: Adjust.
4708 2005-05-09  Mike Stump  <mrs@apple.com>
4710         * configure: Regenerate.
4712 2005-05-09  David Daney  <ddaney@avtrex.com>
4714         * java/util/BitSet.java (get(int, int)): Fix breakage when
4715         requested set doesn't start on a multiple of 64.
4717 2005-05-07  Matthias Klose  <doko@debian.org>
4719         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
4721 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
4723         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
4724         * Makefile.in: Regenerate.
4725         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
4726         (createCompatibleVolatileImage(int,int)): Implement.
4727         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
4728         Likewise.
4729         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
4730         New fields.
4731         (createVolatileImage): Implement.
4732         (createBuffers): Likewise.
4733         (getBackBuffer): Likewise.
4734         (flip): Likewise.
4735         (destroyBuffers): Likewise.
4736         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
4737         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
4738         (CanvasFlipBufferStrategy): Likewise.
4739         (createBufferStrategy(int)): New method.
4740         (createBufferStrategy(int,BufferCapabilities)): Likewise.
4741         * java/awt/Component.java (BltBufferStrategy): Implement and
4742         document class.
4743         (FlipBufferStrategy): Likewise.
4744         * java/awt/Window.java (WindowBltBufferStrategy): New class.
4745         (WindowFlipBufferStrategy): Likewise.
4746         (createBufferStrategy(int)): New method.
4747         (createBufferStrategy(int,BufferCapabilities)): Likewise.
4748         (getBufferStrategy): Likewise.
4749         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
4750         front to frontCaps and back to backCaps.
4752 2005-05-06  Michael Koch  <konqueror@gmx.de>
4754         * java/awt/BufferCapabilities.java
4755         (BufferCapabilities): Merged javadoc.
4757 2005-05-06  Michael Koch  <konqueror@gmx.de>
4759         * java/util/Locale.java
4760         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
4761         (getLocale): New methods. Use it everywhere where instances of Locales
4762         are needed.
4763         (getDisplayLanguage): Merged javadoc.
4764         (getDisplayCountry): Likewise.
4765         (getDisplayVariant): Likewise.
4767 2005-05-06  Archie Cobbs  <archie@dellroad.org>
4769         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
4770         use DeleteLocalRef() to avoid exhausting local native references.
4772 2005-05-06  Mark Wielaard  <mark@klomp.org>
4774         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4775         (window_delete_cb): Don't use C++ style comments.
4777 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
4779         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
4780         copyright header.
4782 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
4784         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4785         (window_delete_cb): Made the function return TRUE.
4787 2005-05-06  Roman Kennke  <roman@kennke.org>
4789         * javax/swing/text/PlainView.java
4790         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
4791         offset parameter.
4792         * javax/swing/text/Utilities.java
4793         (drawTabbedText): Initilialize local variable pos correctly.
4795 2005-05-06  Roman Kennke  <roman@kennke.org>
4797         * javax/swing/text/AbstractDocument.java
4798         (LeafElement): Made start and end package private fields for
4799         effective reindexing.
4800         * javax/swing/text/PlainDocument.java
4801         (constructor): The field rootElement is always BranchElement,
4802         so we handle it as such.
4803         (removeUpdate): Rewritten reindexing for removeUpdate so that
4804         the actual removal is taken into account.
4806 2005-05-06  Roman Kennke  <roman@kennke.org>
4808         * javax/swing/text/GapContent.java:
4809         Removed debugging output stuff, which I accidentally left in.
4811 2005-05-06  Roman Kennke  <roman@kennke.org>
4813         * javax/swing/text/GapContent.java:
4814         Implemented a real GapContent. Only the public methods have
4815         been implemented so far and still no UndoableEdit support.
4817 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
4819         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
4820         the typo.
4822 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
4824         * java/awt/image/BufferStrategy.java: Document.
4826         * java/awt/BufferCapabilities.java: Document.
4828 2005-05-04  Tom Tromey  <tromey@redhat.com>
4830         * java/nio/channels/FileLock.java (toString): Entirely avoid
4831         String "+".
4833 2005-05-04  Andrew Overholt  <overholt@redhat.com>
4835         * java/nio/channels/FileLock.java (toString): Re-implement using
4836         StringBuffer.
4838 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
4840         * java/awt/ImageCapabilities.java: Document.
4842         * java/awt/image/VolatileImage.java: Unindent copyright header.
4844 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
4846         * java/awt/image/VolatileImage.java: Document.
4848 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
4850         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
4851         (init_glib_threads): Check if threading system is already
4852         initialized.
4854 2005-05-03  Andrew Overholt  <overholt@redhat.com>
4856         PR libgcj/21372:
4857         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
4858         could not be acquired.
4859         * java/nio/channels/FileLock.java (toString): Re-implement to be
4860         in line with other implementations.
4862 2005-05-03  Tom Tromey  <tromey@redhat.com>
4864         * java/lang/VMSecurityManager.java (currentClassLoader): Use
4865         'systemClasssLoader' directly.
4867 2005-05-03  Tom Tromey  <tromey@redhat.com>
4869         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
4870         call VMClassLoader.getSystemClassLoader.
4872 2005-04-29  Michael Koch  <konqueror@gmx.de>
4874         * java/net/NetworkInterface.java
4875         (static): Removed.
4876         (NetworkInterface(String,InetAddress)): Made package-private.
4877         (NetworkInterface(String,InetAddress[])): New constructor.
4878         (getRealNetworkInterfaces): Removed.
4879         (getByName): Use VMNetworkInterface.getInterfaces().
4880         (getByInetAddress): Likewise.
4881         (getNetworkInterfaces): Likewise.
4882         * java/net/VMNetworkInterface.java,
4883         java/net/natVMNetworkInterfaceNoNet.cc,
4884         java/net/natVMNetworkInterfacePosix.c,c
4885         java/net/natVMNetworkInterfaceWin32.cc: New files.
4886         * java/net/natNetworkInterfaceNoNet.cc,
4887         java/net/natNetworkInterfacePosix.cc,
4888          java/net/natNetworkInterfaceWin32.cc: Removed.
4889         * configure.ac
4890         * Makefile.am
4891         * configure, Makefile.in: Regenerated.
4893 2005-04-29  Andrew Haley  <aph@redhat.com>
4895         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
4897 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
4899         * java/nio/channels/FileChannelImpl.java
4900         (FileChannelImpl(String, int)): Removed.
4901         (FileChannelImpl(File, int)): Added. Check if opened file is a
4902         directory.
4903         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
4904         Call FileChannelImpl(File, int).
4905         * java/io/FileOutputStream.java (FileInputStream): Call
4906         FileChannelImpl(File, int).
4907         * java/io/RandomAccessFile.java (RandomAccessFile):
4908         Call FileChannelImpl(File, int). Switched constructors around.
4910 2005-04-27  Andrew Haley  <aph@redhat.com>
4912         PR java/19285
4913         * prims.cc (_Jv_ResolvePoolEntry): New function.
4914         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
4915         * link.cc (_Jv_Linker::find_field): New arg: found_class.
4916         (resolve_pool_entry): Initialize the class in which a field is
4917         found.
4918         (link_symbol_table): Pass new arg to found_class.
4920 2005-04-29  Michael Koch  <konqueror@gmx.de>
4922         * java/nio/charset/Charset.java
4923         (provider): Reformatted.
4925 2005-04-29  Michael Koch  <konqueror@gmx.de>
4927         * gnu/java/net/protocol/http/HTTPConnection.java:
4928         (userAgent): Initialize from system properties.
4929         (initUserAgent): Removed.
4931 2005-04-29  Mark Wielaard  <mark@klomp.org>
4933         * java/util/ResourceBundle.java (getObject): Clarify
4934         MissingResourceException detailed message.
4935         (tryBundle(String,ClassLoader)): Likewise.
4937 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
4939         * java/beans/FeatureDescriptor.java:
4940         (getShortDescription): Implemented fallback mechanism and fixed
4941         documentation (fixes bug #12637).
4942         (getDisplayName): Dito.
4944 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
4946         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
4947         will now be set correctly.
4948         (flushCaches): Now flushes all cached intermediate data.
4950 2005-04-28  Michael Koch  <konqueror@gmx.de>
4952         * java/net/InetAddress.java
4953         (aton): Fixed javadoc.
4954         (lookup): Likewise.
4956 2005-04-28  Tom Tromey  <tromey@redhat.com>
4958         * javax/swing/Timer.java
4959         (drainEvents, queueEvent): Now package-private.
4961 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
4963         * javax/swing/Timer.java
4964         (constructor): Assigning initialDelay.
4966 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
4968         * javax/swing/Timer.java
4969         (Waker.run): firing the first action event.
4971 2005-04-28  Michael Koch  <konqueror@gmx.de>
4973         * javax/swing/Timer.java: Reordered all fields and methods,
4974         Added more javadocs.
4976 2005-04-28  Michael Koch  <konqueror@gmx.de>
4978         * javax/swing/Timer.java: Javadocs merged
4979         from GNU classpath.
4981 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
4983         * gnu/java/net/protocol/file/Connection.java
4984         (StaticData): New inner class to contain statics.
4985         (connect, getHeaderField): Modified to use StaticData.
4987 2005-04-28  Michael Koch  <konqueror@gmx.de>
4989         * gnu/java/net/protocol/file/Connection.java
4990         (lineSeparator): Initialize with SystemProperties.getProperty().
4992 2005-04-27  Chris Burdess  <dog@gnu.org>
4994         * gnu/java/net/protocol/file/Connection.java: Return correct content
4995         length for directory listing.
4996         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
4997         #11285: return valid URLs for directories.i
4999 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5001         * Makefile.am (ordinary_java_source_files): Add
5002         gnu/java/net/protocol/https/Handler.java.
5003         * Makefile.in: Regenerate.
5004         * java/net/URL.java: Remove org.metastatic.jessie from default
5005         protocol search path.
5007 2005-04-27  Chris Burdess  <dog@gnu.org>
5009         * gnu/java/net/protocol/https/Handler.java: New file.
5011 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
5013         * javax/imageio/spi/IIORegistry.java (IIORegistry):
5014         Don't assume that awt Toolkit is always ClasspathToolkit.
5016 2005-04-27  Chris Burdess  <dog@gnu.org>
5018         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
5019         absolute and relative paths in Location header.
5021 2005-04-27  Chris Burdess  <dog@gnu.org>
5023         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
5024         FileNotFoundException and implement getErrorStream on 404.
5026 2005-04-27  Sven de Marothy <sven@physto.se>
5028         * java/util/TimeZone.java,
5029         (getDefaultDisplayName): Fix previous fix.
5031 2005-04-27  Sven de Marothy <sven@physto.se>
5033         * java/util/TimeZone.java,
5034         (getDefaultDisplayName): Don't print zero offsets.
5036 2005-04-27  Roman Kennke  <roman@kennke.org>
5038         * javax/swing/plaf/basic/BasicScrollBarUI
5039         (getThumbBounds): Do not make thumb smaller than
5040         minimumThumbSize.
5041         * javax/swing/plaf/metal/MetalLookAndFeel
5042         (initComponentDefaults): Added color defaults for ScrollBar.
5043         * javax/swing/plaf/metal/MetalScrollBarUI
5044         (paintThumb): Added.
5045         (getMinimumThumbSize): Added.
5047 2005-04-27  Roman Kennke  <roman@kennke.org>
5049         * javax/swing/plaf/metal/MetalLookAndFeel
5050         (initComponentDefaults): Added some default colors.
5052 2005-04-27  Roman Kennke  <roman@kennke.org>
5054         * javax/swing/plaf/basic/BasicScrollBarUI.java
5055         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
5056         to 'ScrollBar.thumbShadow'. The formes does not exist.
5057         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
5059 2005-04-27  Roman Kennke  <roman@kennke.org>
5061         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
5062         * javax/swing/BoxLayout.java: Likewise.
5063         * javax/swing/UIManager.java: Likewise.
5064         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
5065         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
5066         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5067         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5068         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
5069         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
5070         * javax/swing/text/Document.java: Likewise.
5071         * javax/swing/text/GapContent.java: Likewise.
5072         * javax/swing/text/SimpleAttributeSet.java: Likewise.
5073         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
5075 2005-04-27  Roman Kennke  <roman@kennke.org>
5077         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
5078         (getPropertyPrefix): Added.
5080 2005-04-27  Roman Kennke  <roman@kennke.org>
5082         * javax/swing/plaf/basic/BasicButtonUI.java
5083         (getPropertyPrefix): Added.
5084         (installDefaults): Use getPropertyPrefix instead of hard-coded
5085         prefix.
5087 2005-04-27  Roman Kennke  <roman@kennke.org>
5089         * javax/swing/JToggleButton.java
5090         (JToggleButton): Removed horizontalAlignment setting, this
5091         was wrong. Added setting of an actionCommand, ToggleButtons
5092         have "" as default actionCommand.
5094 2005-04-27  Michael Koch  <konqueror@gmx.de>
5096         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
5097         to work around CNI limitation.
5099 2005-04-27  Sven de Marothy  <sven@physto.se>
5101         * java/nio/charset/Charset.java:
5102         (defaultCharset()): New method.
5103         Status updated to 1.5
5105 2005-04-27  Sven de Marothy  <sven@physto.se>
5107         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
5109 2005-04-27  Sven de Marothy  <sven@physto.se>
5111         * java/nio/charset/Charset.java: Reset cached de/encoders.
5113 2005-04-27  Robert Schuster <thebohemian@gmx.net>
5115         * java/nio/charset/Charset.java (forName): Throws
5116         IllegalArgumentException when argument is null
5117         and added documentation.
5119 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5121         * java/nio/charset/Charset.java (providers):
5122         New method to make an array of CharsetProviders defined in
5123         META-INF/services/java.nio.charset.spi.CharsetProvider.
5124         (charsetForName, availableCharsets): Use the
5125         new method providers().
5127 2005-04-26  Michael Koch  <konqueror@gmx.de>
5129         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
5130         Fixed typos in javadocs.
5131         (isSiteLocalAddress): Fixed handling of byte values.
5132         (isMCLinkLocal): Likewise.
5133         * java/net/Inet4Address.java
5134         (isMulticastAddress): Call super method.
5135         (isLoopbackAddress): Likewise.
5136         (isAnyLocalAddress): Likewise.
5137         (isLinkLocalAddress): Likewise.
5138         (isSiteLocalAddress): Likewise.
5139         (isMCGlobal): Likewise.
5140         (isMCNodeLocal): Likewise.
5141         (isMCLinkLocal): Likewise.
5142         (isMCSiteLocal): Likewise.
5143         (isMCOrgLocal): Likewise.
5144         (getHostAddress): Likewise.
5146 2005-04-26  Sven de Marothy  <sven@physto.se>
5148         * java/net/InetAddress.java
5149         (toString): Don't print empty hostnames.
5151 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
5153         PR libgcj/21136:
5154         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
5155         'false' to native lock().
5156         (lock): Pass 'true' to native lock().
5158 2005-04-26  Michael Koch  <konqueror@gmx.de>
5160         * java/net/InetAddress.java:
5161         Fixed typos in javadocs.
5163 2005-04-26  Andrew Haley  <aph@redhat.com>
5165         PR libgcj/21020:
5166         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
5167         field's type.
5169 2005-04-26  Tom Tromey  <tromey@redhat.com>
5171         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
5172         gnu): Now package-private.
5173         * javax/swing/text/html/parser/DocumentParser.java (parser,
5174         callBack, gnu): Now package-private.
5175         * javax/swing/text/StringContent.java (content, setOffset,
5176         checkLocation): Now package-private.
5177         * javax/swing/text/JTextComponent.java (doc): Now
5178         package-private.
5179         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
5180         lastGoodOrientation, origParent, borders, cachedBounds,
5181         cachedOrientation, DragWindow): Now package-private.
5182         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
5183         decrButton, viewport, panel, currentScrollLocation, layoutManager,
5184         tabAreaRect, contentRect, createIncreaseButton,
5185         createDecreaseButton, findPointForIndex): Now package-private.
5186         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5187         (currentDividerLocation, moveDividerTo): Now package-private.
5188         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
5189         package-private.
5190         * javax/swing/plaf/basic/BasicScrollBarUI.java
5191         (calculatePreferredSize, valueForYPosition, valueForXPosition):
5192         Now package-private.
5193         * javax/swing/plaf/basic/BasicPopupMenuUI.java
5194         (topWindowListener): Now package-private.
5195         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
5196         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
5197         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
5198         package-private.
5199         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
5200         package-private.
5201         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
5202         Now package-private.
5203         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
5204         package-private.
5205         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
5206         borderInsets): Now package-private.
5207         (arrowButtonWidth): Likewise.  Now a constant.
5208         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
5209         makeTabs, updatePreviewPanel): Now package-private.
5210         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
5211         darkShadow, highlight): Now package-private.
5212         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5213         (addColorToQueue): Now package-private.
5214         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5215         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
5216         GSpinner, BSpinner): Now package-private.
5217         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
5218         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
5219         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
5220         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
5221         updateTrack): Now package-private.
5222         * javax/swing/TransferHandler.java (clipboard): Now
5223         package-private.
5224         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
5225         package-private.
5226         * javax/swing/Timer.java (drainEvents, queueEvent): Now
5227         package-private.
5228         * javax/swing/RepaintManager.java (globalManager): Now
5229         package-private.
5230         * javax/swing/JFormattedTextField.java (editValid): Now
5231         package-private.
5232         * javax/swing/JColorChooser.java (makeModal): Now
5233         package-private.
5234         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
5235         index, path): Now package-private.
5236         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
5237         lineQuadIntersect, lineCubicIntersect, linesIntersect,
5238         pointEquals): Now package-private.
5239         * java/awt/geom/Arc2D.java (type): Now package-private.
5240         * java/awt/Window.java (windowFocusOwner): Now package-private.
5241         * java/awt/TextComponent.java (editable, selectionStart,
5242         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
5243         package-private.
5244         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
5245         package-private.
5246         * java/awt/MenuComponent.java (focusListener): Now
5247         package-private.
5248         * java/awt/Frame.java (state): Now package-private.
5249         * java/awt/Choice.java (pItems): Now package-private.
5250         * java/awt/Checkbox.java (state): Now package-private.
5251         * java/awt/Button.java (actionCommand, label): Now
5252         package-private.
5253         * gnu/javax/swing/text/html/parser/support/Parser.java
5254         (attributes, _handleEndTag_remaining, _handleStartTag): Now
5255         package-private.
5256         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
5257         package-private.
5258         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
5259         clip, transform, font, comp): Now package-private.
5261 2005-04-26  Tom Tromey  <tromey@redhat.com>
5263         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
5264         static way.
5266 2005-04-26  Mark Wielaard  <mark@klomp.org>
5268         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
5269         to MalformedURLException.
5271 2005-04-26  Michael Koch  <konqueror@gmx.de>
5273         * java/security/AccessControlContext.java:
5274         Reformated.
5275         (protectedDomains): Renamed from 'protectionDomain'.
5276         * java/security/AccessController.java:
5277         Reformatted.
5279 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
5281         * gnu/java/security/action/GetSecurityPropertyAction.java
5282         (GetSecurityPropertyAction): Implement PrivilegedAction instead
5283         of extending GetPropertyAction.
5284         (name): New field.
5285         (value): Likewise.
5286         (setParamters): New methods.
5287         (GetSecurityPropertyAction): Use new setParameters methods.
5289 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
5291         * java/security/Security.java,
5292         java/security/cert/X509CRLSelector.java,
5293         java/security/cert/X509CertSelector.java:
5294         Modified to use SystemProperties.
5296 2005-04-26  Michael Koch  <konqueror@gmx.de>
5298         * java/lang/System.java
5299         (setSecurityManager): Fixed comment.
5300         (getSecurityManager): Removed obsolete comment.
5302 2005-04-25  Tom Tromey  <tromey@redhat.com>
5304         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
5306 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
5308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5309         (connectSignals): Realize the window widget after connecting
5310         signals.
5312 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
5314         * java/awt/GraphicsEnvironment.java
5315         (localGraphicsEnvironment): New field.
5316         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
5317         property.
5318         (isHeadless): Added support for java.awt.headless property.
5319         (isHeadlessInstance): Call headless().
5321 2005-04-25  Roman Kennke  <roman@kennke.org>
5323         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
5324         (getDisplayMode): Added. Returns the current display mode.
5325         (isFullScreenSupported): Added.
5326         * java/awt/GraphicsDevice.java
5327         (setFullScreenWindow): Implemented a primitive fullscreen mode.
5328         This resizes and relocates the fullscreen window so that it uses
5329         the whole screen. This is not a fully accelerated fullscreen
5330         exclusive mode.
5332 2005-04-25  Michael Koch  <konqueror@gmx.de>
5334         * java/lang/Runtime.java,
5335         java/lang/SecurityManager.java,
5336         java/lang/System.java,
5337         java/lang/ThreadGroup.java:
5338         Replaced java.lang.Runtime.securityManager by
5339         java.lang.SecurityManager.current (as used in GNU classpath).
5341 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
5343         * java/awt/Transparency.java
5344         (getTransparency): fixed API docs.
5346 2005-04-25  Archie Cobbs  <archie@dellroad.org>
5348         * java/lang/Throwable.java: simplify initializing cause in constructor
5350 2005-04-25  Michael Koch  <konqueror@gmx.de>
5352         * gnu/classpath/SystemProperties.java: New file.
5353         * gnu/classpath/natSystemProperties.cc: New file.
5354         * java/lang/Runtime.java
5355         (defaultProperties): Removed.
5356         (static): Likewise.
5357         (): Made thrown exceptions more verbose.
5358         (insertSystemProperties): Removed.
5359         * java/lang/System.java
5360         (static): Likewise.
5361         (properties): Likewise.
5362         (setSecurityManager): Reordered modifiers.
5363         (getenv): Improved javadoc.
5364         (): Likewise.
5365         (isWordsBigEndian): Removed.
5366         * java/lang/natRuntime.cc
5367         (_Jv_SetDLLSearchPath): Likewise.
5368         (file_encoding): Likewise.
5369         (default_file_encoding): Likewise.
5370         (getpwuid_adaptor): Likewise.
5371         (insertSystemProperties): Likewise.
5372         * java/lang/natSystem.cc
5373         (isWordsBigEndian): Likewise.
5374         * Makefile.am
5375         (ordinary_java_source_files):
5376         Added gnu/classpath/SystemProperties.java.
5377         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
5378         * Makefile.in: Regenerated.
5380 2005-04-25  Roman Kennke  <roman@kennke.org>
5382         * javax/swing/plaf/basic/BasicScrollBarUI.java
5383         (initDefaults): Initialize thumb*Color fields correctly.
5385 2005-04-25  Roman Kennke  <roman@kennke.org>
5387         * javax/swing/text/GapContent.java:
5388         Added API comments.
5390 2005-04-25  Roman Kennke  <roman@kennke.org>
5392         * javax/swing/plaf/metal/MetalBorders.java:
5393         Added inner class ScrollPaneBorder.
5394         * javax/swing/plaf/metal/MetalLookAndFeel.java
5395         (initComponentDefaults): Added default for "ScrollPane.border"
5396         to use the new ScrollPaneBorder.
5398 2005-04-25  Roman Kennke  <roman@kennke.org>
5400         * javax/swing/text/AbstractDocument.java:
5401         Added FIXME comments. This class still has to be
5402         implemented thread-safe.
5404 2005-04-25  Roman Kennke  <roman@kennke.org>
5406         * javax/swing/tree/DefaultTreeSelectionModel.java
5407         (DefaultTreeSelectionModel): Initialize listenerList here.
5409 2005-04-25  Roman Kennke  <roman@kennke.org>
5411         * javax/swing/plaf/metal/MetalTextFieldUI.java
5412         (createUI): Return one instance per Component instead of a
5413         shared instance.
5415 2005-04-25  Roman Kennke  <roman@kennke.org>
5417         * javax/swing/text/Document.java:
5418         Added API documentation comments.
5420 2005-04-25  Roman Kennke  <roman@kennke.org>
5422         * javax/swing/text/AbstractDocument.java
5423         (getDocumentProperties): Implemented.
5424         (setDocumentProperties): Implemented.
5425         (getProperty): Implemented.
5426         (putProperty): Implemented.
5428 2005-04-25  Roman Kennke  <roman@kennke.org>
5430         * javax/swing/BoxLayout
5431         (preferredLayoutSize): Fixed computation so that it correctly
5432         adds the top and bottom insets of the container.
5434 2005-04-25  Roman Kennke  <roman@kennke.org>
5436         * javax/swing/plaf/basic/BasicMenuItemUI.java
5437         (paintText): Make use of the 'selectionForeground' UI default
5438         for text painting.
5440 2005-04-25  Roman Kennke  <roman@kennke.org>
5442         * javax/swing/plaf/basic/BasicLookAndFeel.java
5443         (initSystemColorDefaults): Modified colors to match the
5444         BasicLookAndFeel in the reference implementation.
5445         (initComponentDefaults): Likewise.
5447 2005-04-25  Tom Tromey  <tromey@redhat.com>
5449         * include/jni.h (_Jv_va_list): Removed.
5450         Moved configuration code...
5451         * include/jni_md.h: ... here.  New file.
5452         * include/Makefile.in: Rebuilt.
5453         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
5455 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
5457         * java/io/FileInputStream.java (FileInputStream(File)),
5458         java/io/FileOutputStream.java (FileOutputStream(File)):
5459         Removed unnecessary File.isDirectory() check.
5461 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
5463         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
5464         gij if get_multilibs fails.
5466 2005-04-22  Anthony Green  <green@redhat.com>
5468         * jni.cc (natrehash): Don't bother clearing memory again.
5469         * interpret.cc (do_allocate_static_fields): Ditto.
5470         * java/lang/natString.cc (rehash): Ditto.
5472 2005-04-22  Roman Kennke  <roman@kennke.org>
5474         * javax/swing/plaf/basic/BasicLookAndFeel.java
5475         (initComponentDefaults): Changed Button.border to be
5476         BasicBorders.getButtonBorder as it should be.
5478 2005-04-22  Roman Kennke  <roman@kennke.org>
5480         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5481         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
5482         should according to a mauve testcase, instead of the preferred
5483         size.
5485 2005-04-22  Roman Kennke  <roman@kennke.org>
5487         * javax/swing/JMenu.java
5488         (add): add(Component) now calls PopupMenu.insert(..) instead of
5489         PopupMenu.add(..). add(..) is not implemented for Component,
5490         so JComponent.add(..) is called instead, adding the component
5491         in the wrong place.
5493 2005-04-22  Roman Kennke  <roman@kennke.org>
5495         * javax/swing/plaf/basic/BasicButtonListener.java
5496         (mousePressed): replaced query to getModifiersEx with getModifiers.
5497         This method relied on faulty behaviour in getModifierEx.
5498         (mouseReleased): replaced query to getModifiersEx with getModifiers.
5499         This method relied on faulty behaviour in getModifierEx.
5501 2005-04-22  Roman Kennke  <roman@kennke.org>
5503         * javax/swing/plaf/metal/MetalLookAndFeel.java
5504         (getDefaults): Call addCustomEntriesToTable on the theme.
5506 2005-04-22  Roman Kennke  <roman@kennke.org>
5508         * javax/swing/tree/DefaultTreeSelectionModel.java
5509         (constructor): Added implementation.
5510         (getRowMapper): Added implementation.
5511         (setSelectionMode): Added implementation.
5512         (getSelectionMode): Added implementation.
5513         (getSelectionPath): Added implementation.
5514         (getSelectionPaths): Added implementation.
5515         (getSelectionCount): Added implementation.
5516         (isSelectionEmpty): Added implementation.
5517         (getSelectionRows): Added implementation.
5518         (getMinSelectionRow): Added implementation.
5519         (getMaxSelectionRow): Added implementation.
5520         (getLeadSelectionRow): Added implementation.
5521         (getLeadSelectionPath): Added implementation.
5523 2005-04-22  Casey Marshall <csm@gnu.org>
5525         * gnu/java/security/der/DERValue.java
5526         (getValueAs): new method.
5527         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
5528         (<init>): read both dates with 'DERValue.getValueAs', with
5529         'GENERALIZED_TIME' as the argument.
5531 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
5533         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
5534         be null, check for that case and don't deference it.
5536 2005-04-22  Sven de Marothy  <sven@physto.se>
5538         * java/util/logging/LogManager.java: Reformatted.
5539         (readConfiguration): If a logger for a key is not found, create one.
5541 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5543         * java/rmi/Naming.java:
5544         Added class documentation.
5545         (lookup(String)): Call parseURL and getName.
5546         (bind(String,java.rmi.Remote)): Likewise.
5547         (unbind(String)): Likewise.
5548         (rebind(String, java.rmi.Remote)): Likewise.
5549         (list(String)): Call parseURL.
5550         (parseURL(String)): New method to handle parsing and defaults.
5551         (getName(java.net.URL)): New method to handle finding the service name.
5553 2005-04-21  Tom Tromey  <tromey@redhat.com>
5555         * java/lang/natClass.cc (initializeClass): Link class.
5557 2005-04-21  Tom Tromey  <tromey@redhat.com>
5559         * java/lang/AssertionError.java: Typo fix.
5561 2005-04-21  Tom Tromey  <tromey@redhat.com>
5563         * java/lang/VMClassLoader.java (transformException): Removed.
5564         (resolveClass): No longer native.  Now does nothing.
5565         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
5567 2005-04-21  Anthony Green  <green@redhat.com>
5569         PR libgcj/21115
5570         * testsuite/libjava.special/special.exp,
5571         testsuite/libjava.special/pr21115I.java,
5572         testsuite/libjava.special/pr21115.java,
5573         testsuite/libjava.special/pr21115.out: New files.
5575 2005-04-21  Chris Burdess  <dog@gnu.org>
5577         * gnu/java/net/CRLFInputStream.java: Rewrite to return
5578         CRLF-delimited chunks.
5580 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5582         * java/net/URI.java:
5583         Added class documentation.
5584         (parseURI(String)): Only handle scheme-specific parts
5585         if URI is not opaque.  Allow for parts that can't be null.
5586         (toString()): Output the scheme-specific part whole, rather
5587         than as its possibly non-existent components.
5589 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
5591         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
5592         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
5593         Adjusted to match new regexp.
5595 2005-04-20  Michael Koch  <konqueror@gmx.de>
5597         * gnu/java/net/protocol/file/Connection.java,
5598         gnu/java/net/protocol/jar/Connection.java:
5599         Reorganized import statements. Fixed @author tags.
5601 2005-04-20  Chris Burdess  <dog@gnu.org>
5603         * java/io/DataOutputStream.java (writeUTF): Use block write for
5604         output.
5606 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
5608         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
5609         (readLine): Changed newline handling.
5611 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
5613         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
5614         ColorModel,byte[],int,int): Fixed byte to int conversion.
5616 2005-04-20  Michael Koch  <konqueror@gmx.de>
5618         * java/io/FilePermission.java
5619         (serialVersionUID): Made private.
5620         (ALL_FILES): New constant.
5621         (implies): Handle '<<ALL FILES>>' case.
5623 2005-04-20  Sven de Marothy  <sven@physto.se>
5625         * gnu/java/awt/peer/gtk/GdkGraphics.java:
5626         (drawImage): Don't notify the image observer for offscreen images.
5627         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
5628         (setPixels): Don't notify the image observer.
5630 2005-04-20  Sven de Marothy  <sven@physto.se>
5632         * java/nio/ByteBufferImpl.java:
5633         (putChar): Inlined for speed.
5634         (put, get): Bulk methods can use arraycopy.
5635         * java/nio/CharBufferImpl.java:
5636         (put, get): Bulk methods can use arraycopy.
5638 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
5640         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
5641         and field updates.
5642         * java/nio/CharBufferImpl.java
5643         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
5644         (get(), put(char)): Inlined checks and field updates. Fixed to
5645         take array_offset into account.
5646         (get(int), put(int, char)): Fixed to take array_offset into account.
5648 2005-04-20  Sven de Marothy  <sven@physto.se>
5650         * java/text/SimpleDateFormat.java:
5651         (formatWithAttribute): Pad year before truncating digits.
5653 2005-04-20  Michael Koch  <konqueror@gmx.de>
5655         * gnu/java/net/PlainDatagramSocketImpl.java:
5656         Merged copyright header.
5657         * gnu/java/net/PlainSocketImpl.java:
5658         Reorganized import statements. Fixed @author tags.
5660 2005-04-20  Michael Koch  <konqueror@gmx.de>
5662         * gnu/java/lang/ClassHelper.java,
5663         gnu/java/lang/reflect/TypeSignature.java:
5664         Fixed @author tag.
5666 2005-04-20  Michael Koch  <konqueror@gmx.de>
5668         * gnu/java/beans/IntrospectionIncubator.java:
5669         Fixed HTML tags in javadocs.
5671 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
5673         * gnu/java/beans/IntrospectionIncubator.java
5674         (addToPropertyHash, addToListenerHash): Don't confuse get(),
5675         set(), is(), add() and remove() with properties or events.
5677 2005-04-20  Michael Koch  <konqueror@gmx.de>
5679         * gnu/java/awt/image/XBMDecoder.java:
5680         Fixed modifier order.
5682 2005-04-20  Roman Kennke  <roman@kennke.org>
5684         * javax/swing/plaf/basic/BasicButtonUI.java
5685         (paint): This should not care about margin and insets
5686         at the same time, as insets already include the margin
5687         through the border.
5688         * javax/swing/plaf/basic/BasicGraphicsUtils.java
5689         (getPreferredButtonSize): Likewise.
5690         * javax/swing/plaf/metal/MetalBorders.java
5691         (getBorderInsets): Likewise.
5693 2005-04-20  Roman Kennke  <roman@kennke.org>
5695         * javax/swing/plaf/basic/BasicOptionPaneUI.java
5696         (createMessageArea): The JPanel that holds the message area
5697         doesn't need to override getPreferredSize. This prevents some
5698         message components from rendering nicely.
5700 2005-04-20  Roman Kennke  <roman@kennke.org>
5702         * javax/swing/plaf/metal/MetalInternalFrameUI.java
5703         (createUI): Do not share instances between components.
5704         * javax/swing/plaf/metal/MetalSliderUI.java
5705         (createUI): Do not share instances between components.
5707 2005-04-20  Roman Kennke  <roman@kennke.org>
5709         * javax/swing/plaf/metal/MetalBorders:
5710         (PopupMenuBorder): Added.
5711         * javax/swing/plaf/metal/MetalLookAndFeel
5712         (initComponentDefaults): Added PopupMenuBorder.
5714 2005-04-20  Roman Kennke  <roman@kennke.org>
5716         * javax/swing/tree/DefaultTreeSelectionModel.java:
5717         Added API documentation all over the class.
5719 2005-04-20  Roman Kennke  <roman@kennke.org>
5721         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5722         (installDefaults): Link managed JScrollPane in instance field.
5723         (uninstallDefaults): Unlink managed JScrollPane in instance field.
5725 2005-04-20  Roman Kennke  <roman@kennke.org>
5727         * javax/swing/plaf/basic/BasicScrollBarUI.java
5728         (PropertyChangeHandler.propertyChange): Add default
5729         to switch statement to avoid errors with unusual values
5730         for orientation.
5731         (installComponents): Likewise.
5733 2005-04-20  Roman Kennke  <roman@kennke.org>
5735         * javax/swing/plaf/metal/MetalScrollBarUI.java:
5736         (createUI): Instances cannot be shared among JScrollPanes.
5738 2005-04-20  Roman Kennke  <roman@kennke.org>
5740         * javax/swing/plaf/metal/MetalLookAndFeel.java
5741         (initComponentDefaults): Added defaults for Menu, MenuBar
5742         MenuEntry fonts.
5744 2005-04-20  Roman Kennke  <roman@kennke.org>
5746         * javax/swing/plaf/basic/BasicScrollBarUI.java
5747         (installUI): Install listeners after everything all, otherwise
5748         we get strange NPEs in some situations, especially with
5749         custom L&Fs.
5750         (createIncreaseButton): Orientation is expected to be
5751         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5752         HORIZONTAL or VERTICAL.
5753         (createDecreaseButton): Orientation is expected to be
5754         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5755         HORIZONTAL or VERTICAL.
5756         (installComponents): Orientation for buttons is expected to be
5757         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5758         HORIZONTAL or VERTICAL.
5760 2005-04-20  Roman Kennke  <roman@kennke.org>
5762         * javax/swing/JToolBar.java
5763         (addImpl): Adjust added AbstractButtons to look and feel like
5764         toolbar buttons.
5765         * javax/swing/plaf/metal/MetalBorders.java:
5766         Adjusted insets of ButtonBorder.
5767         (RolloverMarginBorder): Added class for toolbar buttons.
5768         (getButtonBorder): Adjusted factory method to return a shared
5769         instance of button border.
5770         (getToolbarButtonBorder): Added factory method to return a shared
5771         instance of toolbar button border.
5772         (getMarginBorder): Added factory method to return a shared
5773         instance of margin border.
5774         * javax/swing/plaf/metal/MetalButtonUI.java
5775         (installDefauls): If button is child of a JToolBar then set
5776         special border on this button.
5778 2005-04-20  Michael Koch  <konqueror@gmx.de>
5780         * java/net/URLConnection.java
5781         (getContent): Fixed javadoc comment.
5783 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5785         * java/net/URL.java:
5786         (toURI()): Implemented.
5788 2005-04-19  Michael Koch  <konqueror@gmx.de>
5790         * java/net/InetAddress.java
5791         (InetAddress): Fixed javadoc comment.
5792         (aton): Likewise.
5793         (lookup): Added javadoc.
5794         (getFamily): Likewise.
5795         * java/net/ServerSocket.java
5796         (getChannel): Improved javadoc comment.
5798 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5800         * gnu/xml/dom/html2/DomHTMLParser.java:
5801         Changed 'enum' references to become 'enumeration'.
5803 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
5805         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
5807 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5809         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
5810         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
5811         * gnu/javax/swing/text/html/parser/htmlValidator.java:
5812         (validateParameters(TagElement,htmlAttributeSet)):
5813         Replaced 'enum' with 'enumeration'.
5814         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
5815         Likewise.
5817 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
5819         * javax/swing/text/html/parser/Entity.java (getType): New method.
5820         * javax/swing/text/html/parser/DocumentParser.java:
5821         Inherit from javax.swing.text.html.parser.Parser.
5823 2005-04-19  Chris Burdess  <dog@gnu.org>
5825         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
5826         check for HTML/XHTML namespace.
5828 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
5830         * javax/swing/text/html/parser/Parser.java,
5831         javax/swing/text/html/parser/Entity.java:
5832         Inheriting from DTDConstants.
5833         * javax/swing/text/html/parser/AttributeList.java
5834         (getValues): Changed return type.
5835         * javax/swing/text/html/parser/DocumentParser
5836         (parse): Adding the callback parameter that receives
5837         the parsing events.
5839 2005-04-19  Chris Burdess  <dog@gnu.org>
5841         * gnu/xml/dom/DomImpl.java,
5842         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
5843         gnu/xml/dom/html2/DomHTMLDocument.java,
5844         gnu/xml/dom/html2/DomHTMLElement.java,
5845         gnu/xml/dom/html2/DomHTMLFormElement.java,
5846         gnu/xml/dom/html2/DomHTMLFrameElement.java,
5847         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
5848         gnu/xml/dom/html2/DomHTMLImpl.java,
5849         gnu/xml/dom/html2/DomHTMLInputElement.java,
5850         gnu/xml/dom/html2/DomHTMLObjectElement.java,
5851         gnu/xml/dom/html2/DomHTMLOptionElement.java,
5852         gnu/xml/dom/html2/DomHTMLSelectElement.java,
5853         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
5854         gnu/xml/dom/html2/DomHTMLTableElement.java,
5855         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
5856         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
5857         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
5858         UI events, and tree utility functions.
5860 2005-04-19  Michael Koch  <konqueror@gmx.de>
5862         * gnu/javax/swing/text/html/parser/HTML_401F.java,
5863         gnu/javax/swing/text/html/parser/gnuDTD.java,
5864         gnu/javax/swing/text/html/parser/models/node.java:
5865         Reworked import statements.
5867 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
5869         * javax/swing/text/html/HTMLDocument.java: New file.
5871 2005-04-19  Michael Koch  <konqueror@gmx.de>
5873         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
5874         Reformatted.
5875         * javax/swing/text/html/parser/AttributeList.java:
5876         Fixed order of modifiers.
5877         (AttributeList): Made final.
5878         * javax/swing/text/html/parser/ContentModel.java:
5879         Fixed html characters in javadocs.
5880         * javax/swing/text/html/parser/DTD.java
5881         (DTD): Don't implement java.io.Serializable directly.
5882         (getElement): Simplified.
5883         * javax/swing/text/html/parser/DTDConstants.java:
5884         Reformatted file.
5885         * javax/swing/text/html/parser/Element.java:
5886         Fixed order of modifiers.
5887         * javax/swing/text/html/parser/Parser.java:
5888         Reformatted. Don't use fully-qualified class names.
5889         * javax/swing/text/html/parser/ParserDelegator.java:
5890         Fixed order of modifiers.
5891         * javax/swing/text/rtf/RTFParser.java:
5892         Re-ordered import statements.
5893         * javax/swing/text/rtf/RTFScanner.java:
5894         Removed unused import statement.
5896 2005-04-19  Chris Burdess  <dog@gnu.org>
5898         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
5899         gnu/xml/dom/html2/DomHTMLCollection.java,
5900         gnu/xml/dom/html2/DomHTMLDocument.java,
5901         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
5902         types.
5903         * gnu/xml/dom/html2/DomHTMLDListElement.java,
5904         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
5905         gnu/xml/dom/html2/DomHTMLDivElement.java,
5906         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
5907         gnu/xml/dom/html2/DomHTMLFontElement.java,
5908         gnu/xml/dom/html2/DomHTMLFormElement.java,
5909         gnu/xml/dom/html2/DomHTMLFrameElement.java,
5910         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
5911         gnu/xml/dom/html2/DomHTMLHRElement.java,
5912         gnu/xml/dom/html2/DomHTMLHeadElement.java,
5913         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
5914         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
5915         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
5916         gnu/xml/dom/html2/DomHTMLImageElement.java,
5917         gnu/xml/dom/html2/DomHTMLInputElement.java,
5918         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
5919         gnu/xml/dom/html2/DomHTMLLIElement.java,
5920         gnu/xml/dom/html2/DomHTMLLabelElement.java,
5921         gnu/xml/dom/html2/DomHTMLLegendElement.java,
5922         gnu/xml/dom/html2/DomHTMLLinkElement.java,
5923         gnu/xml/dom/html2/DomHTMLMapElement.java,
5924         gnu/xml/dom/html2/DomHTMLMenuElement.java,
5925         gnu/xml/dom/html2/DomHTMLMetaElement.java,
5926         gnu/xml/dom/html2/DomHTMLModElement.java,
5927         gnu/xml/dom/html2/DomHTMLOListElement.java,
5928         gnu/xml/dom/html2/DomHTMLObjectElement.java,
5929         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
5930         gnu/xml/dom/html2/DomHTMLOptionElement.java,
5931         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
5932         gnu/xml/dom/html2/DomHTMLParamElement.java,
5933         gnu/xml/dom/html2/DomHTMLPreElement.java,
5934         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
5935         gnu/xml/dom/html2/DomHTMLScriptElement.java,
5936         gnu/xml/dom/html2/DomHTMLSelectElement.java,
5937         gnu/xml/dom/html2/DomHTMLStyleElement.java,
5938         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
5939         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
5940         gnu/xml/dom/html2/DomHTMLTableColElement.java,
5941         gnu/xml/dom/html2/DomHTMLTableElement.java,
5942         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
5943         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
5944         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
5945         gnu/xml/dom/html2/DomHTMLTitleElement.java,
5946         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
5948 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
5950         * javax/swing/text/ChangedCharSetException.java,
5951         javax/swing/text/html/HTMLEditorKit.java,
5952         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
5953         javax/swing/text/html/parser/AttributeList.java,
5954         javax/swing/text/html/parser/ContentModel.java,
5955         javax/swing/text/html/parser/DocumentParser.java,
5956         javax/swing/text/html/parser/DTD.java,
5957         javax/swing/text/html/parser/DTDConstants.java,
5958         javax/swing/text/html/parser/Element.java,
5959         javax/swing/text/html/parser/Entity.java,
5960         javax/swing/text/html/parser/Parser.java,
5961         javax/swing/text/html/parser/TagElement.java,
5962         gnu/javax/swing/text/html/package.html,
5963         gnu/javax/swing/text/html/parser/gnuDTD.java,
5964         gnu/javax/swing/text/html/parser/HTML_401F.java,
5965         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
5966         gnu/javax/swing/text/html/parser/htmlValidator.java,
5967         gnu/javax/swing/text/html/parser/package.html,
5968         gnu/javax/swing/text/html/parser/models/list.java,
5969         gnu/javax/swing/text/html/parser/models/node.java,
5970         gnu/javax/swing/text/html/parser/models/noTagModel.java,
5971         gnu/javax/swing/text/html/parser/models/package.html,
5972         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
5973         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
5974         gnu/javax/swing/text/html/parser/models/transformer.java,
5975         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
5976         gnu/javax/swing/text/html/parser/support/package.html,
5977         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
5978         gnu/javax/swing/text/html/parser/support/Parser.java,
5979         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
5980         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
5981         gnu/javax/swing/text/html/parser/support/low/Constants.java,
5982         gnu/javax/swing/text/html/parser/support/low/Location.java,
5983         gnu/javax/swing/text/html/parser/support/low/node.java,
5984         gnu/javax/swing/text/html/parser/support/low/package.html,
5985         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
5986         gnu/javax/swing/text/html/parser/support/low/pattern.java,
5987         gnu/javax/swing/text/html/parser/support/low/Queue.java,
5988         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
5989         New files.
5990         * javax/swing/text/html/HTML.java,
5991         javax/swing/text/html/parser/ParserDelegator.java:
5992         New files (replacing).
5993         * javax/swing/text/html/package.html,
5994         javax/swing/text/html/parser/package.html: Documenting the
5995         packages.
5997 2005-04-19  Chris Burdess  <dog@gnu.org>
5999         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
6000         gnu/xml/dom/html2/DomHTMLAppletElement.java,
6001         gnu/xml/dom/html2/DomHTMLAreaElement.java,
6002         gnu/xml/dom/html2/DomHTMLBaseElement.java,
6003         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
6004         gnu/xml/dom/html2/DomHTMLBodyElement.java,
6005         gnu/xml/dom/html2/DomHTMLBRElement.java,
6006         gnu/xml/dom/html2/DomHTMLButtonElement.java,
6007         gnu/xml/dom/html2/DomHTMLCollection.java,
6008         gnu/xml/dom/html2/DomHTMLDocument.java,
6009         gnu/xml/dom/html2/DomHTMLElement.java: New files.
6011 2005-04-19  Michael Koch  <konqueror@gmx.de>
6013         * Makefile.am: Added new files.
6014         * Makefile.in: Regenerated.
6016 2005-04-19  Roman Kennke  <roman@kennke.org>
6018         * javax/swing/text/JTextComponent.java
6019         (JTextComponent): Added repaintListener which issues repaint
6020         requests when the underlying document changes.
6021         (setDocument): Adds repaintListener to document when the
6022         document is changed.
6023         * javax/swing/text/DefaultEditorKit.java:
6024         Removed repaint calls on JTextComponent. This is now handled
6025         through a DocumentListener in JTextComponent that repaints
6026         the component when needed.
6028 2005-04-19  Roman Kennke  <roman@kennke.org>
6030         PR libgcj/21064
6031         * javax/swing/text/StyleContext.java
6032         (NamedStyle.setResolveParent): Added null
6033         pointer check.
6035 2005-04-19  Michael Koch  <konqueror@gmx.de>
6037         * java/rmi/server/RemoteObject.java:
6038         Removed unused import statement.
6040 2005-04-19  Michael Koch  <konqueror@gmx.de>
6042         * java/net/URL.java: Formatting cleanups.
6044 2005-04-19  Michael Koch  <konqueror@gmx.de>
6046         * java/awt/FontMetrics.java: Reformatted.
6047         (getFontRenderContext): Handle case when java.awt.Graphics context is
6048         given.
6050 2005-04-19  Michael Koch  <konqueror@gmx.de>
6052         * java/awt/FontMetrics.java
6053         (getStringBounds): New methods.
6056 2005-04-19  Michael Koch  <konqueror@gmx.de>
6058         * gnu/java/security/x509/X509Certificate.java
6059         (parse): Handle val == null case.
6061 2005-04-19  Roman Kennke  <roman@kennke.org>
6063         * javax/swing/plaf/metal/MetalLookAndFeel.java
6064         (initComponentDefaults): Added defaults for Menu, MenuBar
6065         MenuEntry fonts.
6067 2005-04-19  Roman Kennke  <roman@kennke.org>
6069         * javax/swing/plaf/metal/MetalLookAndFeel.java
6070         (initComponentDefaults): Added Label.font.
6071         (initSystemColorDefaults): Added this method and adjusted the
6072         general control color.
6074 2005-04-19  Roman Kennke  <roman@kennke.org>
6076         * javax/swing/plaf/metal/MetalBorders.java:
6077         Added.
6078         * javax/swing/plaf/metal/MetalButtonUI.java:
6079         (installDefaults): Install button font.
6080         * javax/swing/plaf/metal/MetalLookAndFeel.java:
6081         (initComponentDefaults): Added button border, font and margin.
6082         Changed components background color to the Metal current themes
6083         standard color.
6085 2005-04-19  Roman Kennke  <roman@kennke.org>
6087         * javax/swing/plaf/metal/MetalLookAndFeel.java
6088         (initComponentDefaults): Added to set Metal specific component
6089         defaults.
6091 2005-04-19  Mark Wielaard  <mark@klomp.org>
6093         * javax/swing/plaf/metal/MetalLookAndFeel.java
6094         (initClassDefaults): Call super.initClassDefaults().
6096 2005-04-19  Roman Kennke  <roman@kennke.org>
6098         * javax/swing/plaf/metal/MetalLookAndFeel.java
6099         (initClassDefaults): Added to include the *UI classes.
6101 2005-04-19  Roman Kennke  <roman@kennke.org>
6103         * javax/swing/plaf/metal/MetalComboBoxUI.java:
6104         Added.
6105         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
6106         Added.
6107         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
6108         Added.
6109         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
6110         Added.
6111         * javax/swing/plaf/metal/MetalProgressBarUI.java:
6112         Added.
6113         * javax/swing/plaf/metal/MetalRootPaneUI.java:
6114         Added.
6115         * javax/swing/plaf/metal/MetalScrollBarUI.java:
6116         Added.
6117         * javax/swing/plaf/metal/MetalSeparatorUI.java:
6118         Added.
6119         * javax/swing/plaf/metal/MetalSliderUI.java:
6120         Added.
6121         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
6122         Added.
6123         * javax/swing/plaf/metal/MetalTextFieldUI.java:
6124         Added.
6125         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
6127 2005-04-19  Roman Kennke  <roman@kennke.org>
6129         * javax/swing/plaf/metal/MetalButtonUI.java:
6130         Added skeleton class.
6131         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
6132         Added skeleton class.
6133         * javax/swing/plaf/metal/MetalLabelUI.java:
6134         Added skeleton class.
6135         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
6136         Added skeleton class.
6137         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
6138         Added skeleton class.
6139         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
6140         Added skeleton class.
6142 2005-04-19  Roman Kennke  <roman@kennke.org>
6144         * javax/swing/UIDefaults.java:
6145         Added API documentation for all methods.
6147 2005-04-19  Roman Kennke  <roman@kennke.org>
6149         * javax/swing/UIDefaults.java
6150         (put): Now uses new checkAndPut method instead of checking
6151         directly.
6152         (putDefaults): Fixed so that it accepts null-values and
6153         treats them like remove(key).
6154         (checkAndPut): Added. This checks for null-values and calls
6155         put or remove.
6157 2005-04-19  Michael Koch  <konqueror@gmx.de>
6159         * Makefile.am: Added new files.
6160         * Makefile.in: Regenerated.
6162 2005-04-19  Mark Wielaard  <mark@klomp.org>
6164         * java/lang/natRuntime.cc (insertSystemProperties): Set
6165         java.class.path to CLASSPATH only when not empty. Fall back to
6166         default path "." when java.class.path is empty.
6168 2005-04-19  Michael Koch  <konqueror@gmx.de>
6170         * javax/swing/text/rtf/ControlWordToken.java,
6171         javax/swing/text/rtf/RTFEditorKit.java,
6172         javax/swing/text/rtf/RTFParseException.java,
6173         javax/swing/text/rtf/RTFParser.java,
6174         javax/swing/text/rtf/RTFScanner.java,
6175         javax/swing/text/rtf/TextToken.java,
6176         javax/swing/text/rtf/Token.java: New files.
6177         * Makefile.am: Added new files.
6178         * Makefile.in: Regenerated.
6180 2005-04-19  Michael Koch  <konqueror@gmx.de>
6182         * java/awt/geom/QuadCurve2D.java:
6183         Fixed Brian Gough's name for real.
6185 2005-04-19  Roman Kennke  <roman@kennke.org>
6187         * javax/swing/UIManager.java:
6188         Make the UIManager respect the swing.defaultlaf system
6189         property.
6191 2005-04-19  Tom Tromey  <tromey@redhat.com>
6193         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
6194         not _Jv_InitClass.
6196 2005-04-19  Roman Kennke  <roman@kennke.org>
6198         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6199         Fixed tabs to spaces.
6201 2005-04-19  Roman Kennke  <roman@kennke.org>
6203         * javax/swing/plaf/basic/BasicMenuUI.java
6204         (getMaximumSize): Now returns preferredSize because JMenu should
6205         never be bigger than that.
6206         * javax/swing/JRootPane
6207         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
6209 2005-04-19  Roman Kennke  <roman@kennke.org>
6211         * javax/swing/JRootPane.java:
6212         Fixed various tabs to be spaces.
6213         (RootLayout.layoutContainer): Made menubar left aligned.
6215 2005-04-19  Roman Kennke  <roman@ontographics.com>
6217         * javax/swing/JList.java
6218         (getPreferredScrollableViewportSize):
6219         The previous implementation was merely guessing the size,
6220         now it respects layoutOrientation, visibleRowCount
6221         and preferredSize.
6222         (getScrollableTracksViewportHeight):
6223         Reimplemented so that layoutOrientation, visibleRowCount
6224         and preferred size are respected.
6225         (getScrollableTracksViewportWidth):
6226         Reimplemented so that layoutOrientation, visibleRowCount
6227         and preferred size are respected.
6228         * javax/swing/plaf/basic/BasicListUI.java
6229         (getPreferredSize):
6230         Improved calculation of preferredSize when JList is
6231         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
6232         (getCellBounds):
6233         The previous implementation assumed a layoutOrientation of
6234         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
6235         JList.VERTICAL_WRAP.
6237 2005-04-19  Roman Kennke  <roman@ontographics.com>
6239         * javax/swing/plaf/basic/BasicListUI.java
6240         (paintCell): use CellRendererPane for painting the cells.
6242 2005-04-19  Roman Kennke  <roman@ontographics.com>
6244         * javax/swing/plaf/basic/BasicListUI:
6245         fixed modifiers of several fields, methods and inner
6246         classes to match the 'spec'.
6247         (getMaximumSize): removed. It's not in the spec and the
6248         implementations was superfluous.
6250 2005-04-19  Roman Kennke  <roman@ontographics.com>
6252         * javax/swing/plaf/basic/BasicListUI:
6253         make BasicListUI capable of wrapping lists
6254         (layoutOrientation property of javax.swing.JList)
6256 2005-04-19  Roman Kennke  <roman@ontographics.com>
6258         * javax/swing/plaf/basic/BasicListUI
6259         (updateLayoutState,paint): make BasicListUI aware of the
6260         width of the rendered JList.
6262 2005-04-19  Roman Kennke  <roman@kennke.org>
6264         * javax/swing/ImageIcon.java
6265         Added API documentation.
6267 2005-04-19  Roman Kennke  <roman@kennke.org>
6269         * javax/swing/text/ImageIcon.java
6270         (ImageIcon): Use setImage instead of direct assignment.
6271         (setImage): Call loadImage to make sure that the image is loaded.
6272         (loadImage): Waits for the image to complete loading.
6273         (getImageLoadStatus): Added. Returns the load status of the
6274         image.
6276 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
6278         * javax/swing/JTextArea.java (replaceRange):
6279         Fixing doc.remove(start, length) misinterpretation.
6281 2005-04-19  Roman Kennke  <roman@ontographics.com>
6283         * javax/swing/CellRendererPane.java:
6284         implemented all methods of this class.
6285         reformatted all wrong formatted code.
6287 2005-04-19  Roman Kennke  <roman@kennke.org>
6289         * javax/swing/BoxLayout.java:
6290         (layoutContainer): Made this layout manager respect the
6291         minimum, maximum and preferred size more correctly.
6293 2005-04-19  Roman Kennke  <roman@ontographics.com>
6295         * javax/swing/BoxLayout.java:
6296         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
6297         layoutContainer): Make these methods and thereby the
6298         BoxLayout respect the insets (like borders) of the
6299         component that is laid out.
6301 2005-04-19  Roman Kennke  <roman@kennke.org>
6303         * javax/swing/JComponent.java:
6304         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
6305         Untabified the file.
6307 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
6309         * javax/swing/JComboBox.java (constructors): selecting the
6310         first item if the box was constructed from the provided
6311         non - empty array or vector.
6313 2005-04-19  Michael Koch  <konqueror@gmx.de>
6315         * gnu/java/awt/peer/gtk/GdkGraphics.java
6316         (getClipBounds): Handle clip being null.
6317         (setClip): Likewise.
6318         * java/beans/beancontext/BeanContextSupport.java
6319         (add): Implemented.
6320         (addAll): Likewise.
6321         (clear): Likewise.
6322         (removeAll): Likewise.
6323         (retainAll): Likewise.
6325 2005-04-19  Michael Koch  <konqueror@gmx.de>
6327         * java/beans/beancontext/BeanContextServicesSupport.java
6328         (BeanContextServicesSupport): Reimplemented.
6329         (addBeanContextServicesListener): Implemented.
6330         (initialize): Likewise.
6331         (removeBeanContextServicesListener): Likewise.
6332         * java/beans/beancontext/BeanContextSupport.java
6333         (add): Likewise.
6334         (addBeanContextMembershipListener): Likewise.
6335         (getLocale): Likewise.
6336         (initialize): Likewise.
6337         (iterator): Likewise.
6338         (remove): Likewise.
6339         (toArray): Likewise.
6341 2005-04-19  Roman Kennke  <roman@kennke.org>
6343         * java/awt/MediaTracker.java:
6344         Reindented tabs to spaces.
6346 2005-04-19  Roman Kennke  <roman@kennke.org>
6348         * java/awt/MediaTracker.java
6349         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
6350         confused the media tracker and lead to lockups. The LOADING
6351         bit is handled on other places.
6352         (addImage): Removed the 'start image tracking' stuff. This
6353         is not necessary and could confuse the media tracker.
6354         (checkAll): Improved the check for image status so that
6355         images that already complete images are detected. Also now
6356         are really all images checked and if necessary loaded. Before
6357         the method bailed out after the first incomplete image.
6358         (statusAll): Detect images that are complete after the
6359         call to Component.prepareImage(..).
6360         (checkID): The same as in checkAll.
6361         (statusID): The same as in statusAll.
6363 2005-04-19  Roman Kennke  <roman@kennke.org>
6365         * java/awt/MediaTracker.java
6366         (addImage): Synchronized list access.
6367         (waitForAll): Fixed comparison of time (changed < to >).
6368         (waitForID): Fixed comparison of time (changed < to >).
6369         (removeImage): Synchronized list access.
6371 2005-04-19  Roman Kennke  <roman@kennke.org>
6373         * java/awt/MediaTracker.java
6374         Added API documentation.
6376 2005-04-19  Roman Kennke  <roman@kennke.org>
6378         * java/awt/MediaTracker.java
6379         (MediaEntry.imageUpdate): Fixed flags. The different flags
6380         must not be ORed together.
6381         (checkAll): Modified to handle different meaning of the flags.
6382         (waitForAll): Fixed so that it waits maximum the
6383         specified amount of milliseconds.
6384         (statusAll): Modified to handle different meaning of the flags.
6385         (waitForID): Fixed so that it waits maximum the
6386         specified amount of milliseconds.
6388 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
6390         * java/awt/Font.java (decode): Handle null argument and allow
6391         space as delimiter.
6393 2005-04-19  Robert Schuster <thebohemian@gmx.net>
6395         * java/beans/EventHandler.java: Reworked documentation.
6396         (invoke): Fixed behavior to match spec.
6398 2005-04-19  Michael Koch  <konqueror@gmx.de>
6400         * java/awt/print/PrinterJob.java
6401         (pageDialog): New method.
6402         (printDialog): Implemented.
6404 2005-04-19  Michael Koch  <konqueror@gmx.de>
6406         * java/awt/image/ConvolveOp.java:
6407         Removed comment added by eclipse.
6409 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
6411         * java/awt/image/IndexColorModel.java
6412         (getRGB): Check if pixel is negative.
6414 2005-04-19  Michael Koch  <konqueror@gmx.de>
6416         * java/awt/image/RasterOp.java:
6417         Fixed wrong formatting.
6419 2005-04-18  Roman Kennke  <roman@kennke.org>
6421         * java/awt/Compmonent.java
6422         (setComponentOrientation): Made this property firing a
6423         PropertyChangeEvent.
6425 2005-04-18  Roman Kennke  <roman@kennke.org>
6427         * java/awt/BorderLayout.java
6428         (calcSize): Check for overflow when component sizes are added.
6430 2005-04-18  Robert Schuster <thebohemian@gmx.net>
6432         * java/awt/AWTEvent.java (toString): Added case
6433         for source not being an AWT component.
6435 2005-04-18  Chris Burdess  <dog@gnu.org>
6437         * gnu/java/net/BASE64.java: Truncate encoded byte array.
6439 2005-04-18  Michael Koch  <konqueror@gmx.de>
6441         gnu/java/awt/EmbeddedWindowSupport.java,
6442         gnu/java/net/HeaderFieldHelper.java,
6443         gnu/java/net/URLParseError.java,
6444         gnu/java/net/protocol/file/Handler.java,
6445         gnu/java/net/protocol/jar/Handler.java:
6446         Fixed usage of @author tag.
6448 2005-04-18  Michael Koch  <konqueror@gmx.de>
6450         * gnu/xml/aelfred2/XmlParser.java:
6451         Reverted my typo fix.
6453 2005-04-18  Michael Koch  <konqueror@gmx.de>
6455         * java/awt/geom/CubicCurve2D.java,
6456         java/awt/geom/QuadCurve2D.java:
6457         Fixed mentioning of Brian Gouph.
6459 2005-04-18  Michael Koch  <konqueror@gmx.de>
6461         * gnu/java/awt/Buffers.java,
6462         gnu/java/awt/image/ImageDecoder.java,
6463         gnu/java/awt/image/XBMDecoder.java,
6464         gnu/java/awt/peer/ClasspathFontPeer.java,
6465         gnu/java/net/CRLFInputStream.java,
6466         gnu/java/net/EmptyX509TrustManager.java,
6467         gnu/java/net/LineInputStream.java,
6468         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
6469         gnu/java/net/protocol/ftp/BlockInputStream.java,
6470         gnu/java/net/protocol/ftp/CompressedInputStream.java,
6471         gnu/java/net/protocol/ftp/DTP.java,
6472         gnu/java/net/protocol/ftp/DTPInputStream.java,
6473         gnu/java/net/protocol/ftp/FTPConnection.java,
6474         gnu/java/net/protocol/ftp/FTPURLConnection.java,
6475         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
6476         gnu/java/net/protocol/ftp/StreamInputStream.java,
6477         gnu/java/net/protocol/http/ChunkedInputStream.java,
6478         gnu/java/net/protocol/http/HTTPConnection.java,
6479         gnu/java/net/protocol/http/HTTPURLConnection.java,
6480         gnu/java/net/protocol/http/Headers.java,
6481         gnu/java/net/protocol/http/Request.java,
6482         gnu/java/nio/ChannelInputStream.java,
6483         gnu/java/nio/ChannelOutputStream.java,
6484         gnu/java/nio/InputStreamChannel.java,
6485         gnu/java/nio/OutputStreamChannel.java,
6486         gnu/java/nio/SelectorProviderImpl.java,
6487         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6488         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6489         gnu/java/rmi/dgc/DGCImpl.java,
6490         gnu/java/rmi/registry/RegistryImpl.java,
6491         gnu/java/rmi/server/ProtocolConstants.java,
6492         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
6493         gnu/java/rmi/server/RMIIncomingThread.java,
6494         gnu/java/rmi/server/RMIObjectInputStream.java,
6495         gnu/java/rmi/server/RMIObjectOutputStream.java,
6496         gnu/java/rmi/server/RMIVoidValue.java,
6497         gnu/java/rmi/server/UnicastConnectionManager.java,
6498         gnu/java/rmi/server/UnicastRef.java,
6499         gnu/java/rmi/server/UnicastRemoteCall.java,
6500         gnu/java/rmi/server/UnicastRemoteStub.java,
6501         gnu/java/rmi/server/UnicastServerRef.java,
6502         gnu/java/security/OID.java,
6503         gnu/java/security/der/DERReader.java,
6504         gnu/java/security/provider/CollectionCertStoreImpl.java,
6505         gnu/java/security/provider/DSAParameterGenerator.java,
6506         gnu/java/security/provider/DefaultPolicy.java,
6507         gnu/java/security/provider/EncodedKeyFactory.java,
6508         gnu/java/security/provider/GnuDHPublicKey.java,
6509         gnu/java/security/provider/GnuDSAPrivateKey.java,
6510         gnu/java/security/provider/GnuDSAPublicKey.java,
6511         gnu/java/security/provider/GnuRSAPrivateKey.java,
6512         gnu/java/security/provider/GnuRSAPublicKey.java,
6513         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
6514         gnu/java/security/provider/RSA.java,
6515         gnu/java/security/provider/SHA1PRNG.java,
6516         gnu/java/security/provider/SHA1withRSA.java,
6517         gnu/java/security/provider/X509CertificateFactory.java,
6518         gnu/java/security/x509/GnuPKIExtension.java,
6519         gnu/java/security/x509/X500DistinguishedName.java,
6520         gnu/java/security/x509/X509CRL.java,
6521         gnu/java/security/x509/X509CRLEntry.java,
6522         gnu/java/security/x509/X509CertPath.java,
6523         gnu/java/security/x509/X509CertSelectorImpl.java,
6524         gnu/java/security/x509/X509Certificate.java,
6525         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
6526         gnu/java/security/x509/ext/BasicConstraints.java,
6527         gnu/java/security/x509/ext/CRLNumber.java,
6528         gnu/java/security/x509/ext/CertificatePolicies.java,
6529         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
6530         gnu/java/security/x509/ext/Extension.java,
6531         gnu/java/security/x509/ext/GeneralNames.java,
6532         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
6533         gnu/java/security/x509/ext/KeyUsage.java,
6534         gnu/java/security/x509/ext/PolicyConstraint.java,
6535         gnu/java/security/x509/ext/PolicyMappings.java,
6536         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
6537         gnu/java/security/x509/ext/ReasonCode.java,
6538         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
6539         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
6540         Reorganized import statements.
6542 2005-04-18  Michael Koch  <konqueror@gmx.de>
6544         * gnu/java/awt/color/CieXyzConverter.java,
6545         gnu/java/awt/color/ClutProfileConverter.java,
6546         gnu/java/awt/color/ColorLookUpTable.java,
6547         gnu/java/awt/color/ColorSpaceConverter.java,
6548         gnu/java/awt/color/GrayProfileConverter.java,
6549         gnu/java/awt/color/GrayScaleConverter.java,
6550         gnu/java/awt/color/LinearRGBConverter.java,
6551         gnu/java/awt/color/ProfileHeader.java,
6552         gnu/java/awt/color/PyccConverter.java,
6553         gnu/java/awt/color/RgbProfileConverter.java,
6554         gnu/java/awt/color/SrgbConverter.java,
6555         gnu/java/awt/color/TagEntry.java,
6556         gnu/java/awt/color/ToneReproductionCurve.java:
6557         Standardized file headers.
6559 2005-04-16  Tom Tromey  <tromey@redhat.com>
6561         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
6562         'ANY' package-private.
6564 2005-04-15  Tom Tromey  <tromey@redhat.com>
6566         * Makefile.in: Rebuilt.
6567         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
6568         (libgcj0_convenience_la_LIBADD): ... here.
6570 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
6572         * gij.cc (version): Properly quote java version.
6573         (main): Fix typo in comment.
6575 2005-04-13  Mark Wielaard  <mark@klomp.org>
6577         * java/lang/natRuntime.cc (insertSystemProperties): Set
6578         java.class.path to CLASSPATH if not already set.
6580 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6582         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
6584 2005-04-12  Mike Stump  <mrs@apple.com>
6586         * configure: Regenerate.
6588 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
6590         PR libgcj/20958
6591         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
6592         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
6594 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
6596         PR libgcj/20975
6597         * scripts/TexinfoDoclet.java: Removed.
6598         * Makefile.am (texinfo): Removed.
6599         * Makefile.in: Regenerated.
6601 2005-04-11  Michael Koch  <konqueror@gmx.de>
6603         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
6604         Fixed wrong casting.
6606 2005-04-06  Andrew Haley  <aph@redhat.com>
6608         * testsuite/libjava.lang/bytearray.java: New file.
6609         * testsuite/libjava.lang/bytearray.out: New file.
6610         * java/lang/ClassLoader.java (loadClassFromSig): Declare
6611         (loadClass): Use it.
6612         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
6614 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
6616         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
6617         gcj-dbtool dependency
6618         * Makefile.in: Regenerated
6620 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
6622         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
6623         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
6625 2005-04-05  Andrew Haley  <aph@redhat.com>
6627         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
6628         (Tokenizer): New class.
6629         (getFiles): New method.
6630         (main): Add "-" argument.
6631         Add "-0" argument.
6632         Read list of files from stdin when merging map databases.
6633         (usage):  Add "-" argument.
6634         Add "-0" argument.
6635         Minor corrections.
6637 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
6639         PR libgcj/20750
6640         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
6641         * Makefile.in: Regenerate.
6642         * configure.ac: Add --with-java-home option.
6643         * configure: Regenerate.
6644         * external/Makefile.in: Regenerate.
6645         * external/sax/Makefile.in: Regenerate.
6646         * external/w3c_dom/Makefile.in: Regenerate.
6647         * gcj/Makefile.in: Regenerate.
6648         * include/Makefile.in: Regenerate.
6649         * testsuite/Makefile.in: Regenerate.
6650         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
6651         to JAVA_HOME macro.
6653 2005-04-05  Tom Tromey  <tromey@redhat.com>
6655         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
6656         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
6657         Rewrote to use _Jv_FindClassFromSignature.
6658         * verify.cc (resolve): throw NoClassDefFoundError.
6659         * link.cc (resolve_field): Throw NoClassDefFoundError.
6660         (find_field): Likewise.
6661         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
6662         Handle error cases.  Added 'endp' argument.
6663         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
6665 2005-04-05  Tom Tromey  <tromey@redhat.com>
6667         * Makefile.in: Rebuilt.
6668         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
6669         gtk_awt_peer_sources.
6670         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
6671         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
6672         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
6673         (gtk-awt-peer.lo): New target.
6675 2005-04-04  Steve Pribyl <steve@netfuel.com>
6677         PR libgcj/20761
6678         * configure.ac: Fix fastjar definition for cross builds.
6679         * configure: Rebuilt.
6681 2005-04-04  Tom Tromey  <tromey@redhat.com>
6683         * java/lang/ClassLoader.java (loadClass): Resolve class even if
6684         it was already found.
6686 2005-04-04  Tom Tromey  <tromey@redhat.com>
6688         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
6689         org.metastatic.jessie.
6691 2005-04-02  Anthony Green  <green@redhat.com>
6693         PR libgcj/20727
6694         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
6696 2005-04-02  Mark Wielaard  <mark@klomp.org>
6698         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
6699         Attributes and attribute order doesn't matter.
6700         (BasicAttributesEnumeration.where): Initialize to zero.
6701         (BasicAttributesEnumeration.nextElement): Update and compare where
6702         appropriately (zero based).
6704 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
6706         PR libgcj/20090, PR libgcj/20526
6707         * gij.cc (nonstandard_opts_help): New function.
6708         (add_option): New function.
6709         (main): Support java options.  Set java.class.path.  Don't set
6710         _Jv_Jar_Class_Path.
6711         * prims.cc (parse_x_arg): New function.
6712         (parse_init_args): Call parse_x_arg for -X and _ options, when
6713         ignoreUnrecognized is true.
6714         (new _Jv_RunMain): New vm_args variant.
6715         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
6716         (_Jv_Jar_Class_Path): Remove variable.
6717         * include/java-props.h: Likewise.
6718         * include/cni.h (JvRealloc): New function.
6719         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
6720         * java/lang/natRuntime.cc (insertSystemProperties): Remove
6721         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
6722         macros.
6723         * configure.ac (JV_VERSION): Define.
6724         (JV_API_VERSION): Likewise.
6725         * configure: Regenerate.
6726         * include/config.h.in: Regenerate.
6728 2005-04-01 Mark Anderson <mark@panonet.net>
6730         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
6731         -Infinity as parameters.
6733 2005-04-01  Michael Koch  <konqueror@gmx.de>
6735         * java/io/PipedInputStream.java
6736         (read): Make sure a positive byte value is returned. Revised javadoc.
6737         Thanks to Olafur Bragason for reporting these bugs.
6739 2005-04-01  Tom Tromey  <tromey@redhat.com>
6741         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6742         Updated for name change.
6743         (nativeFindClass): New method.
6744         (loadClass): Use nativeFindClass.
6745         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
6746         form of loadClass.
6747         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
6748         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
6749         VMClassLoader.
6750         (initialize): New method.
6751         (nativeFindClass): Declare.
6752         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
6753         * gnu/gcj/runtime/VMClassLoader.java: Removed.
6754         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
6755         VMClassLoader.java.
6756         (definePackageForNative): Removed.
6757         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
6758         Moved to VMClassLoader.java.
6759         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
6760         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
6761         (ordinary_java_source_files): Added ExtensionClassLoader.java,
6762         removed VMClassLoader.java.
6763         (nat_source_files): Removed natVMClassLoader.cc.
6765 2005-04-01  Tom Tromey  <tromey@redhat.com>
6767         * Makefile.in: Rebuilt.
6768         * Makefile.am (db_pathtail): Use $(gcc_version), not
6769         @gcc_version@.
6771 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
6773         * java/util/Timer.java
6774         (run): Stop the queue if a task throws an exception.
6776 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6778         * javax/swing/text/JTextComponent.java (viewToModel): New method.
6780 2005-03-29  Ian Lance Taylor  <ian@airs.com>
6782         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
6783         * external/sax/Makefile.in: Rebuild.
6784         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
6785         "-fclasspath=".
6786         * external/w3c_dom/Makefile.in: Rebuild.
6788 2005-03-29  Tom Tromey  <tromey@redhat.com>
6790         * java/lang/natRuntime.cc (insertSystemProperties): Set
6791         gnu.gcj.runtime.endorsed.dirs.
6792         * Makefile.in: Rebuilt.
6793         * Makefile.am (ordinary_java_source_files): Added
6794         HelperClassLoader.java.
6795         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
6796         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
6797         HelperClassLoader.
6798         (init): Use addDirectoriesFromProperty.
6799         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
6800         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
6801         gnu.gcj.runtime.endorsed.dirs.
6802         * gnu/gcj/runtime/HelperClassLoader.java: New file.
6804 2005-03-26  Chris Burdess  <dog@gnu.org>
6806         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
6807         required.
6809 2005-03-13  Michael Koch  <konqueror@gmx.de>
6811         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
6813 2005-03-11  Chris Burdess  <dog@gnu.org>
6815         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
6816         warnings.
6818 2005-02-27  Chris Burdess  <dog@gnu.org>
6820         * gnu/xml/aelfred2/JAXPFactory.java,
6821         gnu/xml/aelfred2/SAXDriver.java,
6822         gnu/xml/aelfred2/XmlParser.java,
6823         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
6824         formatting conventions. Replaced arrays of Object with struct-like
6825         classes for easier maintainability. Made SAXDriver.stringInterning
6826         package private to allow access from XmlParser inside the loop without
6827         a method call overhead.
6829 2005-03-11  Chris Burdess  <dog@gnu.org>
6831         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
6832         warnings.
6834 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
6836         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
6837         settings to sub Makefiles.
6838         (GCJH, ZIP): Prefix with top_builddir.
6839         * configure: Rebuild.
6840         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
6841         * external/w3c_dom/Makefile.in: Rebuild.
6842         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
6843         * external/sax/Makefile.in: Rebuild.
6845 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
6847         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
6848         libsocket to the libraries to link for Solaris.
6850 2005-03-28  Per Bothner  <per@bothner.com>
6852         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
6853         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
6855 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
6857         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
6858         to fix a ONESTEP fallout.
6859         * Makefile.in: Regenerate.
6861 2005-03-25  Mike Stump  <mrs@apple.com>
6863         * configure.ac: Fix ZIP and GCJH at configure time to absolute
6864         paths like we do for the compiler, as we use it in external/sax
6865         and it doesn't get MULTIBUILDTOP right when multilibing.
6867 2005-03-24  Anthony Green  <green@redhat.com>
6869         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
6870         -p option.
6871         (usage): Add [LIBDIR] to help output.
6872         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
6873         * Makefile.am (AM_CXXFLAGS): Define
6874         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
6875         (db_pathtail): New macro.
6877 2005-03-24  Tom Tromey  <tromey@redhat.com>
6879         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
6880         add sax and w3c libraries.
6881         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
6882         libw3c-gcj.la.
6883         * external/w3c_dom/Makefile.in: Rebuilt.
6884         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
6885         AM_GCJFLAGS.
6886         (libw3c_gcj_la_LDFLAGS): New variable.
6887         (noinst_LTLIBRARIES): Renamed.
6888         * external/sax/Makefile.in: Rebuilt.
6889         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
6890         AM_GCJFLAGS.
6891         (libsax_gcj_la_LDFLAGS): New variable.
6892         (noinst_LTLIBRARIES): Renamed.
6894 2005-03-23  Tom Tromey  <tromey@redhat.com>
6896         * Makefile.in: Rebuilt.
6897         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
6898         (libgcj0_convenience_la_SOURCES): Don't include
6899         gnu_xml_source_files.
6900         (libgcj0_convenience_la_LIBADD): New variable.
6901         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
6902         (all_java_source_files): javax_imageio_source_files,
6903         javax_xml_source_files, and gnu_java_beans_source_files.
6904         ($(gnu_xml_source_files:.java=.lo)): Removed target.
6905         (gnu-xml.lo): New target.
6906         (javax-imageio.lo): Likewise.
6907         (javax-xml.lo): Likewise.
6908         (gnu-java-beans.lo): Likewise.
6909         (gnu_java_beans_source_files): New variable.
6910         (javax_imageio_source_files): Likewise.
6911         (javax_xml_source_files): Likewise.
6912         (javax_source_files): Moved files to other variable.
6913         (awt_java_source_files): Likewise.
6914         (ordinary_java_source_files): Added BootClassLoader.java.
6915         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
6916         not system class loader.
6917         (initBootLoader): New method.
6918         (loadClass): Search bootLoader.
6919         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
6920         boot loader, not system class loader.
6921         (_Jv_UnregisterInitiatingLoader): Likewise.
6922         (_Jv_FindClass): Likewise.  Ensure entries in
6923         bootstrap_class_list are unique.
6924         * java/lang/natClass.cc (getClassLoader): Don't special case
6925         system class loader.
6926         * java/lang/VMClassLoader.java (bootLoader): New field.
6927         (getResource): Use bootLoader.
6928         (getResources): Likewise.
6929         (initBootLoader): Declare.
6930         * gnu/gcj/runtime/BootClassLoader.java: New file.
6931         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
6932         (EMPTY_ENUMERATION): Now package-private.
6933         * external/w3c_com/Makefile.in: Rebuilt.
6934         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
6935         (w3c.jar): New target.
6936         (classes.stamp): Updated.
6937         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
6938         Changed name of library.
6939         (libw3c_gcj_la_SOURCES): New variable.
6940         (libw3c_gcj_la_GCJFLAGS): Likewise.
6941         (source_files): Renamed from lib3c_convenience_la_SOURCES.
6942         * external/sax/Makefile.in: Rebuilt.
6943         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
6944         (sax.jar): New target.
6945         (classes.stamp): Updated.
6946         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
6947         Changed name of library.
6948         (libsax_gcj_la_SOURCES): New variable.
6949         (libsax_gcj_la_GCJFLAGS): Likewise.
6950         (source_files): Renamed from libsax_convenience_la_SOURCES.
6951         * stacktrace.cc (non_system_trace_fn): Don't look at system class
6952         loader.
6953         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
6954         loader.
6955         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
6957 2005-03-23  Sven de Marothy  <sven@physto.se>
6959         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
6960         PR libgcj/11085:
6961         * java/util/Calendar.java
6962         (set): Use starting day of week when one is needed if none is given.
6963         * java/text/SimpleDateFormat.java
6964         (parse): Handle 1-12 and 1-24 timestamps correctly.
6965         * java/util/GregorianCalendar.java
6966         (computeTime, computeFields): HOUR should be in 0-11 format.
6967         (nonLeniencyCheck): Adjust leniency checking to that fact.
6968         (getLinearDay): Should be private.
6970 2005-03-23  Tom Tromey  <tromey@redhat.com>
6972         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
6973         (_Jv_CheckABIVersion): Use it.
6975 2005-03-22  Mike Stump  <mrs@apple.com>
6977         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
6979         * include/posix.h: .dylib is used on all Apple MACH platforms.
6980         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
6982 2005-03-22  Tom Tromey  <tromey@redhat.com>
6984         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
6986 2005-03-21  Tom Tromey  <tromey@redhat.com>
6988         * java/lang/VMCompiler.java (static block): Also catch
6989         BufferUnderflowException.
6991 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
6993         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
6994         set tool_include_dir.  In all substitutions, leave $(gcc_version)
6995         to be expanded by the Makefile.
6996         * aclocal.m4, configure: Regenerate.
6997         * Makefile.am: Set gcc_version.  Replace all uses of
6998         @gcc_version@ with $(gcc_version).
6999         * external/Makefile.am, external/sax/Makefile.am
7000         * external/w3c_dom/Makefile.am, gcj/Makefile.am
7001         * testsuite/Makefile.am: Set gcc_version.
7002         * include/Makefile.am: Set gcc_version and tool_include_dir.
7003         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
7004         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
7005         * testsuite/Makefile.in: Regenerate.
7007 2005-03-17  Andrew Haley  <aph@redhat.com>
7009         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
7010         arg: klass.
7011         Pass klass to _Jv_StackTrace::GetClassContext().
7012         * java/lang/ClassLoader.java (getParent): Pass class to
7013         VMSecurityManager.getClassContext()
7014         (getSystemClassLoader): Likewise.
7015         * java/lang/Package.java (getPackage): Likewise.
7016         (getPackages): Likewise.
7017         * java/lang/SecurityManager.java (getClassContext): Likewise.
7018         (currentClassLoader): Likewise.
7019         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
7020         (currentClassLoader) Add new arg: caller.
7021         Pass caller to VMSecurityManager.getClassContext.
7023         * stacktrace.cc (GetClassContext): Correct calculation of
7024         jframe_count.
7026         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
7027         im->source_file_name.
7029 2005-03-16  Andrew Haley  <aph@redhat.com>
7031         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
7033 2005-03-16  Tom Tromey  <tromey@redhat.com>
7035         * link.cc (ensure_class_linked): Removed #ifdef.
7036         (print_class_loaded): Likewise.
7037         (wait_for_state): Likewise.
7038         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
7039         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
7040         * include/java-interp.h: ... here.
7042 2005-03-16  Tom Tromey  <tromey@redhat.com>
7044         * gnu/java/lang/MainThread.java (run): Load main class using
7045         system class loader.
7047 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
7049         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
7050         lgcc_s to the libraries to link for Darwin.
7052 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
7054         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
7055         interpreter-specific code with #ifdef INTERPRETER.
7056         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
7057         (_Jv_StackTrace::FillInFrameInfo): Likewise.
7058         (_Jv_StackTrace::non_system_trace_fn): Likewise.
7059         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
7060         #ifdef INTERPRETER. Also protect declarations that use it.
7061         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
7062         #ifdef INTERPRETER block.
7064 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
7066         PR libgcj/20251
7067         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
7068         * Makefile.in: Rebuilt.
7070 2005-03-15  David Daney  <ddaney@avtrex.com>
7072         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
7073         count == 0 case.
7075 2005-03-15  David Daney  <ddaney@avtrex.com>
7077         * java/io/BufferedInputStream.java (available): Use 'in' instead
7078         of 'super' for underlying stream access.
7079         (close): Ditto.
7080         (read(byte[], int, int)): Ditto.
7081         (refill): Ditto.
7082         (skip): Call skip on underlying stream when possible.
7084 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
7086         * stacktrace.cc (GetCallerInfo): Return nothing in case of
7087         SJLJ_EXCEPTIONS is defined.
7089 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
7091         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
7092         tests.
7094 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
7096         * testsuite/lib/libjava.exp (libjava_init): Use the same target
7097         check for Darwin.
7098         (libjava_arguments): Likewise.
7100         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
7101         (gcj_jni_test_one): Likewise.
7102         (gcj_jni_invocation_compile_c_to_binary): Likewise.
7103         Add flags to keep the Darwin linker quiet.
7104         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
7105         Add -liconv for Darwin.
7107 2005-03-11  Tom Tromey  <tromey@redhat.com>
7109         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
7110         (_Jv_CheckABIVersion): Use it.
7112 2005-03-11  Tom Tromey  <tromey@redhat.com>
7114         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
7115         (usage): Document '-p'.
7116         * Makefile.in: Rebuilt.
7117         * Makefile.am (dbexecdir): New variable.
7118         (db_name): Likewise.
7119         (dbexec_DATA): Likewise.
7120         ($(db_name)): New target.
7121         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
7122         * java/lang/natRuntime.cc (insertSystemProperties): Set default
7123         system database.
7125 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
7127         * exception.cc: Remove stray MethodRef.h include.
7128         * java/lang/natClass.cc: Likewise.
7129         * gnu/gcj/runtime/MethodRef.java: Removed.
7130         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
7131         gnu/gcj/runtime/natStackTrace.cc: Really removed.
7132         * java/lang/natRuntime.cc (_load): Remove unsed variable.
7133         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
7134         * Makefile.in: Rebuilt.
7136 2005-03-10  Tom Tromey  <tromey@redhat.com>
7138         * Makefile.in: Rebuilt.
7139         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
7141 2005-03-10  Chris Burdess  <dog@bluezoo.org>
7143         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
7144         not currently parsing the DTD.
7146 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
7148         New Stack Trace infrastructure.
7149         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
7150         (gnu/gcj/runtime/StackTrace.java): Removed.
7151         (ordinary_java_source_files): Remove obsolete files.
7152         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
7153         * configure.host (fallback_backtrace_h): Set backtrace header
7154         for mingw and cygwin targets.
7155         * configure.ac: Make symlink for fallback backtrace headers.
7156         * Makefile.in, configure: Rebuilt.
7157         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
7158         Read 'LineNumberTable' attribute.
7159         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
7160         attribute.
7161         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
7162         table fields.
7163         * exception.cc: Remove unused include.
7164         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
7165         (SAVE_PC): New macro. Save current PC in the interpreter frame.
7166         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
7167         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
7168         table to direct threaded instruction values.
7169         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
7170         (_Jv_InterpMethod::run): No longer member function. All
7171         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
7172         is made or where an instruction could throw.
7173         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
7174         in line_table.
7175         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
7176         (catch_fpe): Likewise.
7177         * stacktrace.cc: New file. Stack trace code now here.
7178         * gnu/gcj/runtime/MethodRef.java:
7179         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
7180         calls addr2line to look up PC addresses in a given binary or shared
7181         library.
7182         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
7183         gnu/gcj/runtime/natStackTrace.cc: Removed.
7184         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
7185         this function name is specially recognised by the stack trace code
7186         and shouldn't be changed.
7187         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
7188         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
7189         (_Jv_InterpMethod::run): Update declaration.
7190         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
7191         friends.
7192         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
7193         * include/java-stack.h: New file. Declarations for stack tracing.
7194         * include/jvm.h (_Jv_Frame_info): Removed.
7195         * java/lang/Class.h: Update friend declarations.
7196         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
7197         exception message.
7198         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
7199         (getStackTrace): Now native.
7200         (data): New RawDataManaged field.
7201         * java/lang/natClass.cc: Update includes.
7202         (forName): Use _Jv_StackTrace::GetCallingClass for
7203         calling-classloader check.
7204         (getClassLoader): Likewise.
7205         * java/lang/natRuntime.cc: Update includes.
7206         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
7207         * java/lang/natVMSecurityManager.cc: Update includes.
7208         (getClassContext): Use _Jv_StackTrace::GetClassContext.
7209         * java/lang/natVMThrowable.cc: New file. Native methods for
7210         VMThrowable.
7211         * java/lang/reflect/natArray.cc: Update includes.
7212         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
7213         accessibility check.
7214         * java/lang/reflect/natConstructor.cc: Update includes.
7215         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
7216         accessibility check.
7217         * java/lang/reflect/natField.cc: Update includes.
7218         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
7219         accessibility check.
7220         * java/lang/reflect/natMethod.cc: Update includes.
7221         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
7222         accessibility check.
7223         * java/util/natResourceBundle.cc: Update includes.
7224         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
7225         * java/util/logging/natLogger.cc: Update includes. Use
7226         _Jv_StackTrace::GetCallerInfo to get call-site info.
7227         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
7228         implementation.
7229         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
7230         implementation.
7232 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
7234         * testsuite/libjava.compile/PR20312.java: New file.
7235         * testsuite/libjava.compile/PR20312.xfail: Likewise.
7236         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
7238 2005-03-09  Andrew Haley  <aph@redhat.com>
7240         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
7241         New.
7242         (smallTransferTo): New.
7243         (transferFrom): Loop around smallTransferFrom, copying pageSize
7244         bytes each time.
7245         (transferTo): Likewise.
7247 2005-03-09  David Daney  <ddaney@avtrex.com>
7249         PR libgcj/20389
7250         Merge BufferedInputStream from GNU Classpath.
7251         * java/io/BufferedInputStream.java (marktarget): Field removed.
7252         (CHUNKSIZE): Field removed.
7253         (bufferSize): New field.
7254         (BufferedInputStream): Initialize fields.
7255         (close): Invalidate mark and buffer indexes.
7256         (mark):  Rewritten.
7257         (read()): Move mark handling code to refill.
7258         (read(byte[], int, int)): Ditto.
7259         (skip): Ditto and simplify EOF testing.
7260         (refill): Rewritten.
7261         * java/io/InputStreamReader.java (refill): Removed mark and reset
7262         of internal BufferedInputStream.
7264 2005-03-09  Tom Tromey  <tromey@redhat.com>
7266         * java/lang/natVMClassLoader.cc (defineClass): Reference
7267         'systemClassLoader' field directly.
7268         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
7269         field directly.
7270         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7271         Reference 'systemClassLoader' field directly.
7272         (_Jv_UnregisterInitiatingLoader): Likewise.
7273         (_Jv_FindClass): Likewise.
7275 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
7277         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
7279         * java/lang/mprec.h: Remove commented headers. Fix comment to match
7280         the file in GNU Classpath style.
7282 2005-03-09  Tom Tromey  <tromey@redhat.com>
7284         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
7285         (toString): Synchronize.
7287 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
7289         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
7290         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
7292 2005-03-07  Tom Tromey  <tromey@redhat.com>
7294         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
7295         (usage): Document '-f'.
7297 2005-03-07  Tom Tromey  <tromey@redhat.com>
7299         * java/lang/VMCompiler.java (md5Digest): New field.
7300         (compileClass): Clone md5Digest instead of looking up a new one.
7302 2005-03-07  Tom Tromey  <tromey@redhat.com>
7304         PR java/20215:
7305         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
7306         * link.cc (find_field_helper): Added 'type' argument.
7307         (find_field): Updated.
7309 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
7310         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
7311         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
7312         throw UnsupportedOperationException, fixed comments.
7313         (setFont, setForeground): Fixed comments.
7314         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
7315         return type to boolean.
7316         (getNextEvent): Fixed javadocs.
7317         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
7318         (nativeQueueEmpty): Removed unused code.
7319         (iterateNativeQueue): Removed outer loop.
7321 2005-03-06  Roger Sayle  <roger@eyesopen.com>
7323         PR libgcj/20155
7324         * Makefile.am (libgcj0_convenience.la): Revert last change.
7325         * Makefile.in: Regenerate.
7327 2005-03-05  Anthony Green  <green@redhat.com>
7329         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
7330         classpath_jawt_lock, classpath_jawt_unlock): New functions.
7331         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
7332         (_Jv_GetDrawingSurface): Set visualID.
7333         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
7334         (JAWT_GetAWT): Set Lock and Unlock.
7335         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
7336         visualID.
7337         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
7338         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
7339         JAWT_LOCK_SURFACE_CHANGED): New macros.
7340         (struct _JAWT): Add Lock and Unlock.
7342 2005-03-05  Roger Sayle  <roger@eyesopen.com>
7343             Alexandre Oliva  <aoliva@redhat.com>
7344             Kelley Cook  <kcook@gcc.gnu.org>
7346         PR libgcj/20155
7347         * Makefile.am (libgcj0_convenience.la): New rule to create a file
7348         of the object files to link to avoid exceeding the command line
7349         length limits on some platforms.
7350         (clean-local): Clean up objectlist files.
7351         * Makefile.in: Regenerate.
7353 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
7355         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
7356         spec_case. Initialize pointer mlo.
7358         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
7359         delta.
7361         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
7363         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
7364         and k.
7366         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
7367         uninitialized variable z.
7369         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
7370         possible unused variables.
7372         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
7374         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
7376 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
7378         PR libgcj/20292
7379         * testsuite/libjava.jni/jni.exp
7380         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
7381         flags.
7382         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
7384 2005-02-23  David Daney  <ddaney@avtrex.com>
7386         * configure.host: Don't use -mxgot for MIPS builds.
7388 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
7390         PR bootstrap/17383
7391         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
7392         (COMPPATH): Removed.
7393         (ZIP, GCJH): Replace it with ../$(host_subdir).
7394         (built_gcc_dir): Add $(host_subdir).
7395         * configure: Regenerate.
7396         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
7397         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
7398         external/w3c_dom/Makefile.in: Regenerate.
7400 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
7402         * java/awt/font/TextAttribute.java: changed names to lower case;
7403         (readResolve): implemented.
7404         Added doc comments all over.
7406 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7408         PR libgcj/16923
7409         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
7410         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
7411         value.  Move argument parsing code to prims.cc.
7412         * prims.cc (no_properties): Remove.
7413         (_Jv_Compiler_Properties): Initialize to NULL.
7414         (_Jv_Properties_Count): Initialize to 0.
7415         (parse_verbose_args): New function.
7416         (parse_init_args): New function.
7417         (_Jv_CreateJavaVM): Call parse_init_args.
7418         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
7419         * gcj/cni.h (JvVMOption): New struct.
7420         (JvVMInitArgs): Likewise.
7421         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
7422         void*.
7423         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
7424         (_Jv_VMInitArgs): Likewise.
7425         * include/java-props.h (_Jv_Properties_Count): Declare.
7426         * java/lang/natRuntime.cc (insertSystemProperties): Use
7427         _Jv_Properties_Count in for loop exit condition.
7428         * testsuite/libjava.jni/jni.exp
7429         (gcj_invocation_compile_c_to_binary): New procedure.
7430         (gcj_invocation_test_one): Likewise.
7431         (gcj_jni_run): Run JNI invocation API tests.
7432         * testsuite/libjava.jni/invocation/PR16923.c,
7433         testsuite/libjava.jni/invocation/PR16923.java,
7434         testsuite/libjava.jni/invocation/PR16923.out: New test.
7436 2005-02-23  Michael Koch  <konqueror@gmx.de>
7438         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
7439         * Makefile.in: Regenerated.
7441 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
7443         * gnu/java/nio/ChannelReader: Fixed comments.
7445 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
7447         * java/nio/channels/Channels: Added FIXMEs about
7448         stub method implementation.
7449         (newReader): Implemented.
7450         * gnu/java/nio/ChannelReader: New class.
7452 2005-02-23  Michael Koch  <konqueror@gmx.de>
7454         * java/text/SimpleDateFormat.java:
7455         Removed unused import.
7457 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7459         PR libgcj/20029:
7460         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
7461         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
7462         * Makefile.in: Regenerate.
7463         * configure.ac: Check for libXtst.
7464         * configure: Regenerate.
7466 2005-02-22  Mark Wielaard  <address@bogus.example.com>
7468         * java/security/AlgorithmParameterGenerator.java (getInstance):
7469         Mention provider when throwing NoSuchProviderException.
7470         * java/security/AlgorithmParameters.java (getInstance): Likewise.
7471         * java/security/KeyFactory.java (getInstance): Likewise.
7472         * java/security/KeyStore.java (getInstance): Likewise.
7473         * java/security/SecureRandom.java (getInstance): Likewise.
7474         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
7476 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
7478         * java/lang/reflect/Proxy.java,
7479         java/net/URL.java,
7480         java/security/SecureRandom.java,
7481         java/util/Timer.java,
7482         java/util/prefs/AbstractPreferences.java:
7483         Don't catch java.lang.ThreadDeath.
7485 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
7487         * java/awt/font/TransformAttribute.java,
7488         (TransformAttribute(AffineTransform)): throw
7489         IllegalArgumentException for null transform.
7490         (getTransform): return a copy of transform.
7491         Added doc comments to all.
7493 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
7495         * java/io/Externalizable.java,
7496         java/io/Serializable.java
7497         (serialVersionUID): Removed.
7498         * java/rmi/server/RemoteObject.java,
7499         java/rmi/server/UID.java
7500         (serialVersionUID): Made private.
7501         * java/rmi/server/RemoteRef.java,
7502         java/rmi/server/ServerRef.java
7503         (serialVersionUID): Set proper value.
7504         * java/security/interfaces/DSAPrivateKey.java,
7505         java/security/interfaces/DSAPublicKey.java,
7506         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7507         java/security/interfaces/RSAPrivateCrtKey.java,
7508         java/security/interfaces/RSAPrivateKey.java,
7509         java/security/interfaces/RSAPublicKey.java,
7510         javax/crypto/SecretKey.java
7511         (serialVersionUID): Added.
7513 2005-02-22  Tom Tromey  <tromey@redhat.com>
7515         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
7517 2005-02-22  Tom Tromey  <tromey@redhat.com>
7519         PR java/20056:
7520         * verify.cc (type::EITHER): New constant.
7521         (check_field_constant): Use it.
7522         (type::compatible): Handle it.
7524 2005-02-22  Michael Koch  <konqueror@gmx.de>
7526         * gnu/java/security/PolicyFile.java,
7527         gnu/java/security/pkcs/PKCS7SignedData.java,
7528         gnu/java/security/pkcs/SignerInfo.java:
7529         Fixed copyright header.
7531 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
7533         * java/beans/PropertyDescriptor.java
7534         (PropertyDescriptor,setReadMethod): Set propertyType.
7536 2005-02-22  Michael Koch  <konqueror@gmx.de>
7538         * java/nio/DirectByteBufferImpl.java
7539         (owner): Fixed formatting of javadoc.
7540         * java/text/DateFormat.java
7541         (getAvailableLocales): Fixed formatting.
7542         * java/text/SimpleDateFormat.java:
7543         Fixed formatting and import statement order.
7544         * java/util/Calendar.java
7545         (Calendar): Fixed javadoc to be HTML compliant.
7546         * java/util/SimpleTimeZone.java:
7547         Fixed javadocs.
7549 2005-02-22  Roman Kennke <roman@ontographics.com>
7551         * javax/swing/plaf/basic/BasicLookAndFeel.java
7552         (initComponentDefaults): Fixed Button left and right margin.
7554 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7556         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
7557         empty Runnable.
7559         PR libgcj/17952:
7560         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7561         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7562         (getWidth): New method.
7563         (getHeight): Likewise.
7564         (create): Remove width, height and insets parameters.  Move size
7565         setup ...
7566         (realize_cb): ... here.  New function.
7567         (connectSignals): Connect realize_cb.
7568         (request_frame_extents): Remove FIXME.  Move
7569         postInsetsChangedEvent lookup ...
7570         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
7571         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
7572         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
7573         jmethodID.
7574         (windowGetWidthID): Likewise.
7575         (windowGetHeightID): Likewise.
7577 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7579         PR libgcj/19842
7580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7581         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
7583 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
7585         Merge serialization from GNU Classpath.
7586         * gcj/method.h: Add missing #includes.
7587         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
7588         primitive class IDs on the stream here...
7589         (resolveClass): ...not here.
7590         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
7591         fields.
7592         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
7593         setLongNative, setIntNative, setShortNative, setCharNative,
7594         setByteNative, setBooleanNative, setObjectNative): New native methods.
7595         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
7596         setLongNative, setIntNative, setShortNative, setCharNative,
7597         setByteNative, setBooleanNative, setObjectNative): Implement them.
7598         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
7599         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
7600         the constructor here.
7601         (callConstructor): Removed.
7602         (getCallersClassLoader): Removed.
7603         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
7604         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
7605         to control whether setting final field values is permitted. Call
7606         getAddr() with checkFinal parameter instead of setAddr().
7607         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
7608         only if not done already.
7609         (getAddr): Add checkFinal parameter. Do the final field check only if
7610         checkFinal is set.
7611         (setAddr): Removed.
7613 2005-02-21  Mark Wielaard  <mark@klomp.org>
7615         # Fixes bug #11957
7616         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
7617         twice.
7619 2005-02-21  Mark Wielaard  <mark@klomp.org>
7621         Fixes bug #11618.
7622         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
7623         without a super class and us ObjectStreamClass.lookupForClassObject().
7624         (resolveClass): Check for primitive types.
7625         (lookupClass): Return null when argument is null.
7627 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
7629         * java/io/ObjectInputStream.java
7630         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
7632 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
7634         * java/io/ObjectOutputStream.java
7635         (writeObject, callWriteMethod): Replaced reflection with accessing
7636         cached info in ObjectStreamClass.
7637         (getMethod): Removed.
7638         * java/io/ObjectStreamClass.java
7639         (findMethod): Added check to make sure the method found has the
7640         right modifiers.
7641         (cacheMethods): Added writeReplace and writeObject methods.
7642         (setFlags): Look at new writeObjectMethod field instead of doing
7643         reflection again.
7644         (writeReplaceMethod): New field.
7645         (writeObjectMethod): New field.
7647 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
7648         Jeroen Frijters  <jeroen@frijters.net>
7650         * java/io/ObjectInputStream.java
7651         (newObject): Changed prototype. Get a constructor reflect object
7652         directly.
7653         (callConstructor): Removed.
7654         (allocateObject): Changed prototype.
7655         (readClassDescriptor): Build the constructor reflection directly.
7656         (readObject): Invoke newObject using the new prototype.
7658         * java/io/ObjectStreamClass.java
7659         (firstNonSerializableParent): Removed.
7660         (firstNonSerializableParentConstructor): Added.
7662 2005-02-21  Mark Wielaard  <mark@klomp.org>
7664         * gnu/java/locale/LocaleInformation_en.java: Extend
7665         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
7667 2005-02-21  Mark Wielaard  <mark@klomp.org>
7669         * java/text/SimpleDateFormat.java
7670         (SimpleDateFormat(String, DateFormatSymbols)): Throw
7671         NullPointerException when formatData is null.
7673 2005-02-21  Mark Wielaard  <mark@klomp.org>
7675         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
7676         taking dstSavings into account.
7678 2005-02-21  Sven de Marothy <sven@physto.se>
7680         * java/text/SimpleDateFormat.java,
7681         (parse): Set correct DST_OFFSET to the correct value.
7683 2005-02-21  Mark Wielaard  <mark@klomp.org>
7685         * java/util/SimpleTimeZone.java (checkRule): Throw
7686         IllegalArgumentException when month out of range.
7688 2005-02-21  Sven de Marothy  <sven@physto.se>
7690         * java/util/GregorianCalendar.java,
7691         (add): Don't set fields directly anymore. Use set()
7693 2005-02-21  Mark Wielaard  <mark@klomp.org>
7695         * java/text/SimpleDateFormat.java (CompiledField.toString):
7696         Use StringBuffer, not StringBuilder.
7697         (toString): Likewise.
7699 2005-02-21  Sven de Marothy  <sven@physto.se>
7701         * java/util/Calendar.java
7702         (clear): Dates should clear to local time.
7703         * java/util/GregorianCalendar.java
7704         (computeTime): Fix priority problem with DAY_OF_WEEK,
7705         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
7707 2005-02-21  Sven de Marothy  <sven@physto.se>
7709         * java/util/Calendar.java
7710         (Calendar): Constructor should clear fields.
7712 2005-02-21  Sven de Marothy  <sven@physto.se>
7714         * java/text/SimpleDateFormat.java
7715         (parse): Tweak handling of 2-year dates
7716         * java/util/Calendar.java
7717         (clear): Clear fields to correct value.
7718         * java/util/GregorianCalendar.java
7719         (computeTime): Correct handling of time zones.
7720         Correct field minimum values.
7722 2005-02-21  Sven de Marothy  <sven@physto.se>
7724         * java/util/Calendar.java
7725         (set) Invalidate all fields on first call to set().
7727 2005-02-21  Sven de Marothy  <sven@physto.se>
7729         * java/util/GregorianCalendar.java
7730         (computeTime): Fixed handling of time zones.
7732 2005-02-21  Sven de Marothy  <sven@physto.se>
7734         * java/util/Calendar.java
7735         (clear): Set values to Epoch instead of zero.
7736         (set): Set isSet to the relevant field pattern instead of just
7737         the field.
7738         * java/util/GregorianCalendar.java
7739         (getBundle): Removed.
7740         (getDayOfYear): Removed.
7741         (getFirstDayOfMonth): New private method.
7742         (nonLeniencyCheck): New private method.
7743         (computeTime): Correct handling of insufficient data.
7745 2005-02-21  Sven de Marothy <sven@physto.se>
7747         * java/util/Calendar.java: Invalidate ERA field on setting
7748         the YEAR.
7749         * java/util/SimpleTimeZone.java:
7750         (getDaysInMonth): Reimplemented.
7751         * java/util/GregorianCalendar.java:
7752         (getLinearTime): Removed.
7753         (isLeapYear(int,boolean)): Removed.
7754         (before(), after()): Removed.
7755         (computeTime): Reimplemented.
7757 2005-02-21  Sven de Marothy <sven@physto.se>
7759         * java/util/Calendar.java: Reformatted.
7760         * java/util/GregorianCalendar.java: Reformatted.
7761         * java/util/SimpleTimeZone.java: Reformatted.
7763 2005-02-21  Sven de Marothy <sven@physto.se>
7765         * java/util/GregorianCalendar.java
7766         (GregorianCalendar): Update fields in the constructor
7768 2005-02-21  Noa Resare  <noa@resare.com>
7770         * java/util/Calendar.java (explicitDSTOffset): New instance field.
7771         (set(int,int)): Set and use new field.
7772         (set(int,int,int)): Check new field.
7774 2005-02-21  Noa Resare  <address@hidden>
7776         * java/util/Calendar.java(set):
7777         Fix for DST related regression.
7779 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
7781         * java/util/Calendar.java
7782         (setTimeInMillis): Added call to clear, removed computeFields call.
7783         * java/util/Date.java
7784         (Date(int,int,int,int,int,int)): Removed workaround for
7785         GregorianCalendar bug.
7786         * java/util/GregorianCalendar.java
7787         (GregorianCalendar): Chained all constructors to a (new)
7788         common constructor.
7789         (computeTime): Fixed support for lenient month treatment.
7790         (getLinearDay): Return long instead of int.
7791         (calculateDay): Added fields argument and changed day argument
7792         to long.
7794 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7796         * java/text/SimpleDateFormat.java
7797         Lots of documentation updates.
7798         (readObject(java.io.ObjectInputStream)): Wraps
7799         IllegalArgumentException as specified.
7800         (compileFormat(String)): Uses standardChars
7801         rather than the local pattern characters.
7802         Throws IllegalArgumentException rather than
7803         storing a -1 field.
7804         (toString()): Extended to include all variables
7805         in a better format.
7806         (translateLocalizedPattern(String, String, String)):
7807         Renamed to better define the use of this method.
7809 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7811         * java/text/DateFormat.java:
7812         Documented pattern character offset constants and
7813         added new ones.
7814         (Field): Added new static fields for new pattern chars.
7815         * java/text/SimpleDateFormat.java:
7816         (CompiledField): Changed name of FieldSizePair class
7817         to CompiledField after adding the character as an
7818         attribute.  Changed fields to private and added
7819         accessors to give encapsulation.
7820         (CompiledField.CompiledField(int,int,char)): Extended
7821         with character field.
7822         (CompiledField.getField()): New accessor method.
7823         (CompiledField.getSize()): New acceessor method.
7824         (CompiledField.getCharacter()): New accessor method.
7825         (CompiledField.toString()): Added primarily for debugging.
7826         (standardChars): Now uses extended 24 character sequence.
7827         (compileFormat(String)): Changed to use CompiledField.
7828         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
7829         java.text.FieldPosition)): Changed to use CompiledField.
7830         New handler for RFC 822 timezones added.
7832 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7834         * java/text/SimpleDateFormat.java:
7835         (parse(String, java.text.ParsePosition)):
7836         Changed 'E' and 'M' cases to use both
7837         short and long names.  Extended 'z'
7838         case to also handle 'Z', and deal
7839         with simple GMT offsets such as +0100.
7840         (computeOffset(String)): New private method,
7841         which converts a GMT offset specification,
7842         such as GMT-0500 to a numeric offset in
7843         milliseconds.
7844         * java/util/TimeZone.java:
7845         (timezones()): Added "CEST", the daylight
7846         savings time version of "CET", or Central
7847         European Time.
7849 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7851         * java/text/SimpleDateFormat.java:
7852         (parse): Set the DST offset to 0 when parsing
7853         GMT offset timezones.
7855 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7857         * java/text/SimpleDateFormat.java:
7858         (parse): Use offset to set ZONE_OFFSET
7859         rather than the DST_OFFSET, so that
7860         GMT offset timezones change the right
7861         one.
7863 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7865         * java/text/SimpleDateFormat.java:
7866         (getDateFormatSymbols()): return a copy
7867         (setDateFormatSymbols(java.text.DateFormatSymbols)):
7868         throw exception on null input
7869         (clone()): implemented to clone
7870         internal fields
7872 2005-02-21  Sven de Marothy <sven@physto.se>
7874         * java/text/SimpleDateFormat.java
7875         (parse): comparison should be case-insensitive, ignore null
7876         strings.
7878 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
7880         * gnu/java/beans/IntrospectionIncubator.java
7881         (addMethod) Reverts the patch that ntroduced a regression (see bug
7882         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
7884 2005-02-21  Michael Koch  <konqueror@gmx.de>
7886         * java/awt/Checkbox.java
7887         (next_checkbox_number): New static variable.
7888         (generateName): New method.
7889         (getUniqueLong): Likewise.
7890         * java/awt/Window.java
7891         (next_window_number): New static variable.
7892         (generateName): New method.
7893         (getUniqueLong): Likewise.
7895 2005-02-21  Mark Wielaard  <mark@klomp.org>
7897         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
7898         exists.
7900 2005-02-21  Andrew Haley  <aph@redhat.com>
7902         * Makefile.in: Rebuilt.
7903         * Makefile.am (nat_source_files): Added natLogger.cc.
7904         * java/util/logging/natLogger.cc: New file.
7905         * java/util/logging/Logger.java (getCallerStackFrame): Now
7906         native.
7908 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
7910         * Makefile.am (all_property_files): Remove left over.
7911         (classes.stamp): Add stamp for the ONESTEP build, also known as
7912         --enable-libgcj-multifile.
7913         * Makefile.in: Regenerated.
7915 2005-02-21  Michael Koch  <konqueror@gmx.de>
7917         * java/awt/Button.java,
7918         java/awt/Container.java,
7919         java/awt/Font.java,
7920         java/awt/Frame.java,
7921         java/text/CollationElementIterator.java,
7922         java/text/RuleBasedCollator.java,
7923         java/util/PropertyPermission.java:
7924         Fixed formatting issues all over.
7926 2005-02-21  Mark Wielaard  <mark@klomp.org>
7928         * java/io/FileDescriptor.java (sync): Add real exception to
7929         SyncFailedException.
7931 2005-02-21  Michael Koch  <konqueror@gmx.de>
7933         * java/io/InputStreamReader.java:
7934         Fixed @author tag.
7936 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
7938         PR libgcj/19728:
7939         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
7941 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
7943         * libraries/javalib/gnu/regexp/RE.java,
7944         libraries/javalib/java/io/ObjectInputStream.java,
7945         libraries/javalib/java/security/AllPermission.java,
7946         libraries/javalib/java/security/BasicPermission.java,
7947         libraries/javalib/java/security/Permissions.java,
7948         libraries/javalib/java/text/MessageFormat.java:
7949         Made 'inner' classes real public static inner classes,
7950         and made them final where possible, or removed them
7951         where unused.
7953 2005-02-20  Michael Koch  <konqueror@gmx.de>
7955         * gnu/java/text/FormatCharacterIterator.java:
7956         Removed redundant modifiers.
7958 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
7960         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
7961         snprintf.
7963 2005-02-19  Michael Koch  <konqueror@gmx.de>
7965         * Makefile.am: Added new files in gnu/java/beans and
7966         java/beans/XMLDecoder.java.
7967         * Makefile.in: Regenerated.
7969 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
7971         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
7972         assignment behavior by using java.lang.reflect.Array.set()
7973         directly.
7975 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
7977         * gnu/java/beans/EmptyBeanInfo.java,
7978         gnu/java/beans/info/ComponentBeanInfo.java:
7979         Removed unused files.
7981 2005-02-19  Robert Schuster <thebohemian@gmx.net>
7983         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
7984         of AppletStub for java.beans.Beans.instantiate.
7985         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
7986         of AppletContext.
7987         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
7988         to be conformant with Javadoc guidelines.
7989         (instantiate): Added two more overloaded variants, reworked user
7990         documentation, fixed exception behavior, fixed behavior when
7991         deserializing null.
7993 2005-02-19  Mark Wielaard  <mark@klomp.org>
7995         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
7996         failing methods.
7997         * gnu/java/beans/decoder/DummyContext.java: Likewise.
7999 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
8001         * gnu/java/beans/decoder/AbstractContext.java,
8002         gnu/java/beans/decoder/AbstractCreatableContext.java,
8003         gnu/java/beans/decoder/AbstractElementHandler.java,
8004         gnu/java/beans/decoder/AbstractObjectContext.java,
8005         gnu/java/beans/decoder/ArrayContext.java,
8006         gnu/java/beans/decoder/ArrayHandler.java,
8007         gnu/java/beans/decoder/AssemblyException.java,
8008         gnu/java/beans/decoder/BooleanHandler.java,
8009         gnu/java/beans/decoder/ByteHandler.java,
8010         gnu/java/beans/decoder/CharHandler.java,
8011         gnu/java/beans/decoder/ClassHandler.java,
8012         gnu/java/beans/decoder/ConstructorContext.java,
8013         gnu/java/beans/decoder/Context.java,
8014         gnu/java/beans/decoder/DecoderContext.java,
8015         gnu/java/beans/decoder/DefaultExceptionListener.java,
8016         gnu/java/beans/decoder/DoubleHandler.java,
8017         gnu/java/beans/decoder/DummyContext.java,
8018         gnu/java/beans/decoder/DummyHandler.java,
8019         gnu/java/beans/decoder/ElementHandler.java,
8020         gnu/java/beans/decoder/FloatHandler.java,
8021         gnu/java/beans/decoder/GrowableArrayContext.java,
8022         gnu/java/beans/decoder/IndexContext.java,
8023         gnu/java/beans/decoder/IntHandler.java,
8024         gnu/java/beans/decoder/JavaHandler.java,
8025         gnu/java/beans/decoder/LongHandler.java,
8026         gnu/java/beans/decoder/MethodContext.java,
8027         gnu/java/beans/decoder/MethodFinder.java,
8028         gnu/java/beans/decoder/NullHandler.java,
8029         gnu/java/beans/decoder/ObjectContext.java,
8030         gnu/java/beans/decoder/ObjectHandler.java,
8031         gnu/java/beans/decoder/PersistenceParser.java,
8032         gnu/java/beans/decoder/PropertyContext.java,
8033         gnu/java/beans/decoder/ShortHandler.java,
8034         gnu/java/beans/decoder/SimpleHandler.java,
8035         gnu/java/beans/decoder/StaticMethodContext.java,
8036         gnu/java/beans/decoder/StringHandler.java,
8037         gnu/java/beans/decoder/VoidHandler.java: New class
8038         implementing java.beans.XMLDecoder decoding functionality.
8039         * java/beans/XMLDecoder.java: New class.
8041 2005-02-19  Michael Koch  <konqueror@gmx.de>
8043         * javax/swing/JTextField.java
8044         (notfiyAction): Added javadoc.
8046 2005-02-19  Sven de Marothy  <sven@physto.se>
8048         * javax/swing/SpinnerDateModel.java: Implemented.
8050 2005-02-19  Michael Koch  <konqueror@gmx.de>
8052         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
8053         * Makefile.in: Regenerated.
8055 2005-02-19  Michael Koch  <konqueror@gmx.de>
8057         * gnu/java/nio/SelectorImpl.java:
8058         Reworked import statements.
8059         (register): Removed unused code.
8060         * java/nio/channels/Channels.java: Reformatted.
8061         * java/nio/charset/Charset.java: Likewise.
8062         * java/rmi/server/RemoteObject.java
8063         (serialVersionUID): Made private.
8064         * java/rmi/server/UID.java
8065         (serialVersionUID): Likewise.
8067 2005-02-19  Michael Koch  <konqueror@gmx.de>
8069         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
8070         gnu/java/net/protocol/ftp/BlockInputStream.java,
8071         gnu/java/net/protocol/ftp/BlockOutputStream.java,
8072         gnu/java/net/protocol/ftp/CompressedInputStream.java,
8073         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
8074         gnu/java/net/protocol/ftp/DTPInputStream.java,
8075         gnu/java/net/protocol/ftp/DTP.java,
8076         gnu/java/net/protocol/ftp/DTPOutputStream.java,
8077         gnu/java/net/protocol/ftp/FTPConnection.java,
8078         gnu/java/net/protocol/ftp/FTPException.java,
8079         gnu/java/net/protocol/ftp/FTPResponse.java,
8080         gnu/java/net/protocol/ftp/FTPURLConnection.java,
8081         gnu/java/net/protocol/ftp/Handler.java,
8082         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
8083         gnu/java/net/protocol/ftp/StreamInputStream.java,
8084         gnu/java/net/protocol/ftp/StreamOutputStream.java,
8085         gnu/java/net/CRLFInputStream.java,
8086         gnu/java/net/CRLFOutputStream.java,
8087         gnu/java/net/GetLocalHostAction.java,
8088         gnu/java/net/protocol/ftp/package.html: New files.
8089         * Makefile.am: Added new files.
8090         * Makefile.in: Regenerated.
8092 2005-02-18  Tom Tromey  <tromey@redhat.com>
8094         * link.cc (make_vtable): Remove abstract method check.
8095         (append_partial_itable): Likewise.
8097         PR java/20056:
8098         * verify.cc (type::equals): Fixed test.
8099         * testsuite/libjava.lang/PR20056.out: New file.
8100         * testsuite/libjava.lang/PR20056.java: New file.
8102 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
8104         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
8105         not the HashEntry. Reported by Jean-Marie White.
8107 2005-02-18  Tom Tromey  <tromey@redhat.com>
8109         PR java/20056:
8110         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
8111         * link.cc (has_field_p): New function.
8112         * verify.cc (check_field_constant): Added 'putfield' argument.
8113         (verify_instructions_0): Updated.
8114         (type::equals): New method.
8116 2005-02-18  Anthony Green  <green@redhat.com>
8118         * NEWS: Draft of libgcj NEWS for 4.0.
8120 2005-02-18  Anthony Green  <green@redhat.com>
8122         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
8123         architecture names to "i386" for compatibility reasons.  Win32
8124         still uses "x86".
8126 2005-02-18  Anthony Green  <green@redhat.com>
8128         * gij.cc (version): Change year for '--version' to 2005.
8129         * gnu/gcj/convert/Convert.java: Ditto.
8130         * gnu/java/rmi/rmic/RMIC.java: Ditto.
8131         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
8133         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
8134         recent copyright year in `--version' output.
8136 2005-02-18  Robert Schuster <thebohemian@gmx.net>
8138         * java/nio/charset/Charset.java (forName): Throws
8139         IllegalArgumentException when argument is null
8140         and added documentation.
8142 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8144         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
8145         Move the position of the source buffer forward.
8147 2005-02-17  Tom Tromey  <tromey@redhat.com>
8149         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
8150         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
8151         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
8152         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
8153         Changed type of second argument.  Rewrote.
8154         (make_vtable): Use it.
8155         (append_partial_itable): Updated.
8156         (layout_vtable_methods): Updated.
8158 2005-02-17  Michael Koch  <konqueror@gmx.de>
8160         * gnu/java/net/PlainSocketImpl.java
8161         (shutdownInput): Added javadoc.
8162         (shutdownOutput): Likewise.
8164 2005-02-17  Michael Koch  <konqueror@gmx.de>
8166         * javax/print/attribute/standard/Chromaticity.java,
8167         javax/print/attribute/standard/Destination.java,
8168         javax/print/attribute/standard/MediaPrintableArea.java,
8169         javax/print/attribute/standard/MediaSize.java: New files.
8170         * Makefile.am: Added new files.
8171         * Makefile.in: Regenerated.
8173 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8174             Michael Koch  <konqueror@gmx.de>
8176         * gnu/java/net/protocol/http/Cookie.java,
8177         gnu/java/net/protocol/http/HTTPConnection.java,
8178         gnu/java/net/protocol/http/HTTPDateFormat.java,
8179         gnu/java/net/protocol/http/Request.java,
8180         gnu/java/nio/PipeImpl.java,
8181         gnu/java/rmi/dgc/DGCImpl.java,
8182         gnu/java/rmi/server/ConnectionRunnerPool.java,
8183         gnu/java/rmi/server/UnicastConnectionManager.java,
8184         gnu/java/security/der/DERWriter.java,
8185         gnu/java/security/pkcs/SignerInfo.java,
8186         gnu/java/security/provider/EncodedKeyFactory.java,
8187         gnu/java/security/provider/GnuDHPublicKey.java,
8188         gnu/java/security/provider/GnuDSAPrivateKey.java,
8189         gnu/java/security/provider/GnuDSAPublicKey.java,
8190         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
8191         gnu/java/security/x509/X500DistinguishedName.java,
8192         gnu/java/security/x509/X509CRL.java,
8193         gnu/java/security/x509/X509CRLEntry.java,
8194         gnu/java/security/x509/X509Certificate.java,
8195         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
8196         gnu/java/security/x509/ext/CertificatePolicies.java,
8197         gnu/java/security/x509/ext/PolicyConstraint.java,
8198         gnu/xml/dom/Consumer.java,
8199         gnu/xml/dom/DomCharacterData.java,
8200         gnu/xml/dom/DomDocument.java,
8201         gnu/xml/dom/DomDocumentBuilder.java,
8202         gnu/xml/dom/DomIterator.java,
8203         gnu/xml/dom/DomNode.java,
8204         gnu/xml/dom/DomXPathExpression.java,
8205         gnu/xml/dom/DomXPathResult.java,
8206         gnu/xml/dom/JAXPFactory.java,
8207         gnu/xml/pipeline/CallFilter.java,
8208         gnu/xml/pipeline/DomConsumer.java,
8209         gnu/xml/pipeline/LinkFilter.java,
8210         gnu/xml/pipeline/NSFilter.java,
8211         gnu/xml/pipeline/TeeConsumer.java,
8212         gnu/xml/pipeline/ValidationConsumer.java,
8213         gnu/xml/pipeline/WellFormednessFilter.java,
8214         gnu/xml/pipeline/XIncludeFilter.java,
8215         gnu/xml/pipeline/XsltFilter.java,
8216         gnu/xml/transform/ApplyImportsNode.java,
8217         gnu/xml/transform/Bindings.java,
8218         gnu/xml/transform/DocumentFunction.java,
8219         gnu/xml/transform/FormatNumberFunction.java,
8220         gnu/xml/transform/NodeNumberNode.java,
8221         gnu/xml/transform/NumberNode.java,
8222         gnu/xml/transform/Stylesheet.java,
8223         gnu/xml/transform/SystemPropertyFunction.java,
8224         gnu/xml/transform/Template.java,
8225         gnu/xml/transform/TemplatesImpl.java,
8226         gnu/xml/transform/TransformerImpl.java,
8227         gnu/xml/transform/ValueOfNode.java,
8228         gnu/xml/transform/XSLURIResolver.java,
8229         gnu/xml/util/DoParse.java,
8230         gnu/xml/util/Resolver.java,
8231         gnu/xml/xpath/Expr.java,
8232         gnu/xml/xpath/FunctionCall.java,
8233         gnu/xml/xpath/RelationalExpr.java,
8234         gnu/xml/xpath/Selector.java,
8235         gnu/xml/xpath/XPathParser.java:
8236         Reworked import statements, fixed modifier order and some little
8237         formatting issues.
8239 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8241         * java/nio/ByteBufferImpl.java (compact):
8242         Set position and limit even if no bytes were moved.
8244 2005-02-17  Michael Koch  <konqueror@gmx.de>
8246         * java/nio/CharViewBufferImpl.java (compact): Likewise.
8247         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
8248         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
8249         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
8250         * java/nio/IntViewBufferImpl.java (compact): Likewise.
8251         * java/nio/LongViewBufferImpl.java (compact): Likewise.
8252         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
8253         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
8254         * java/nio/FloatBufferImpl.java (compact): Set position.
8255         * java/nio/CharBufferImpl.java (compact): Likewise.
8256         * java/nio/DoubleBufferImpl.java (compact): Likewise.
8257         * java/nio/IntBufferImpl.java (compact): Likewise.
8258         * java/nio/LongBufferImpl.java (compact): Likewise.
8259         * java/nio/ShortBufferImpl.java (compact): Likewise.
8261 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
8263         * java/nio/ByteBufferImpl.java,
8264         java/nio/CharBufferImpl.java,
8265         java/nio/DirectByteBufferImpl.java,
8266         java/nio/DoubleBufferImpl.java,
8267         java/nio/FloatBufferImpl.java,
8268         java/nio/IntBufferImpl.java,
8269         java/nio/LongBufferImpl.java,
8270         java/nio/MappedByteBufferImpl.java,
8271         java/nio/ShortBufferImpl.java
8272         (compact): Added explicit read-only check and invalidate mark.
8274 2005-02-17  Michael Koch  <konqueror@gmx.de>
8276         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
8277         gnu/java/awt/peer/gtk/GdkFontPeer.java,
8278         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
8279         gnu/java/awt/peer/gtk/GdkGraphics.java,
8280         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
8281         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
8282         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
8283         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
8284         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
8285         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
8286         gnu/java/awt/peer/gtk/GdkTextLayout.java,
8287         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
8288         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8289         gnu/java/awt/peer/gtk/GtkClipboard.java,
8290         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8291         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8292         gnu/java/awt/peer/gtk/GtkFontPeer.java,
8293         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8294         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
8295         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8296         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
8297         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8298         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8299         gnu/java/awt/peer/gtk/GtkToolkit.java,
8300         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8301         java/applet/Applet.java,
8302         java/awt/AWTError.java,
8303         java/awt/AWTEvent.java,
8304         java/awt/AWTEventMulticaster.java,
8305         java/awt/AWTException.java,
8306         java/awt/AWTKeyStroke.java,
8307         java/awt/AWTPermission.java,
8308         java/awt/ActiveEvent.java,
8309         java/awt/Adjustable.java,
8310         java/awt/AlphaComposite.java,
8311         java/awt/AttributeValue.java,
8312         java/awt/BorderLayout.java,
8313         java/awt/BufferCapabilities.java,
8314         java/awt/Button.java,
8315         java/awt/Canvas.java,
8316         java/awt/CheckboxGroup.java,
8317         java/awt/CheckboxMenuItem.java,
8318         java/awt/Color.java,
8319         java/awt/ColorPaintContext.java,
8320         java/awt/Component.java,
8321         java/awt/ComponentOrientation.java,
8322         java/awt/Composite.java,
8323         java/awt/CompositeContext.java,
8324         java/awt/Container.java,
8325         java/awt/ContainerOrderFocusTraversalPolicy.java,
8326         java/awt/DefaultFocusTraversalPolicy.java,
8327         java/awt/Dialog.java,
8328         java/awt/Dimension.java,
8329         java/awt/DisplayMode.java,
8330         java/awt/EventQueue.java,
8331         java/awt/FileDialog.java,
8332         java/awt/FontFormatException.java,
8333         java/awt/Graphics.java,
8334         java/awt/Graphics2D.java,
8335         java/awt/GraphicsConfigTemplate.java,
8336         java/awt/GraphicsConfiguration.java,
8337         java/awt/GraphicsDevice.java,
8338         java/awt/GridBagLayout.java,
8339         java/awt/GridBagLayoutInfo.java,
8340         java/awt/GridLayout.java,
8341         java/awt/HeadlessException.java,
8342         java/awt/IllegalComponentStateException.java,
8343         java/awt/Image.java,
8344         java/awt/Insets.java,
8345         java/awt/ItemSelectable.java,
8346         java/awt/JobAttributes.java,
8347         java/awt/KeyEventDispatcher.java,
8348         java/awt/KeyEventPostProcessor.java,
8349         java/awt/KeyboardFocusManager.java,
8350         java/awt/Label.java,
8351         java/awt/LayoutManager.java,
8352         java/awt/MenuBar.java,
8353         java/awt/MenuComponent.java,
8354         java/awt/MenuContainer.java,
8355         java/awt/PageAttributes.java,
8356         java/awt/Paint.java,
8357         java/awt/PaintContext.java,
8358         java/awt/Panel.java,
8359         java/awt/Point.java,
8360         java/awt/Polygon.java,
8361         java/awt/PrintGraphics.java,
8362         java/awt/PrintJob.java,
8363         java/awt/Rectangle.java,
8364         java/awt/RenderingHints.java,
8365         java/awt/Shape.java,
8366         java/awt/Stroke.java,
8367         java/awt/SystemColor.java,
8368         java/awt/Toolkit.java,
8369         java/awt/Transparency.java,
8370         java/awt/Window.java,
8371         java/awt/color/CMMException.java,
8372         java/awt/color/ColorSpace.java,
8373         java/awt/color/ICC_ColorSpace.java,
8374         java/awt/color/ICC_Profile.java,
8375         java/awt/color/ProfileDataException.java,
8376         java/awt/datatransfer/FlavorTable.java,
8377         java/awt/datatransfer/MimeTypeParseException.java,
8378         java/awt/datatransfer/Transferable.java,
8379         java/awt/datatransfer/UnsupportedFlavorException.java,
8380         java/awt/dnd/Autoscroll.java,
8381         java/awt/dnd/DnDConstants.java,
8382         java/awt/dnd/DragGestureListener.java,
8383         java/awt/dnd/DragSourceAdapter.java,
8384         java/awt/dnd/DragSourceDropEvent.java,
8385         java/awt/dnd/DragSourceListener.java,
8386         java/awt/dnd/DragSourceMotionListener.java,
8387         java/awt/dnd/DropTargetAdapter.java,
8388         java/awt/dnd/DropTargetContext.java,
8389         java/awt/dnd/DropTargetListener.java,
8390         java/awt/dnd/InvalidDnDOperationException.java,
8391         java/awt/dnd/MouseDragGestureRecognizer.java,
8392         java/awt/dnd/peer/DropTargetContextPeer.java,
8393         java/awt/event/AWTEventListener.java,
8394         java/awt/event/AWTEventListenerProxy.java,
8395         java/awt/event/ActionEvent.java,
8396         java/awt/event/AdjustmentEvent.java,
8397         java/awt/event/AdjustmentListener.java,
8398         java/awt/event/ComponentAdapter.java,
8399         java/awt/event/ComponentEvent.java,
8400         java/awt/event/ComponentListener.java,
8401         java/awt/event/ContainerAdapter.java,
8402         java/awt/event/ContainerEvent.java,
8403         java/awt/event/ContainerListener.java,
8404         java/awt/event/FocusAdapter.java,
8405         java/awt/event/FocusEvent.java,
8406         java/awt/event/FocusListener.java,
8407         java/awt/event/InputEvent.java,
8408         java/awt/event/InputMethodEvent.java,
8409         java/awt/event/InputMethodListener.java,
8410         java/awt/event/InvocationEvent.java,
8411         java/awt/event/ItemEvent.java,
8412         java/awt/event/ItemListener.java,
8413         java/awt/event/KeyAdapter.java,
8414         java/awt/event/KeyEvent.java,
8415         java/awt/event/KeyListener.java,
8416         java/awt/event/MouseAdapter.java,
8417         java/awt/event/MouseEvent.java,
8418         java/awt/event/MouseListener.java,
8419         java/awt/event/MouseMotionAdapter.java,
8420         java/awt/event/MouseMotionListener.java,
8421         java/awt/event/MouseWheelEvent.java,
8422         java/awt/event/MouseWheelListener.java,
8423         java/awt/event/PaintEvent.java,
8424         java/awt/event/TextEvent.java,
8425         java/awt/event/TextListener.java,
8426         java/awt/event/WindowAdapter.java,
8427         java/awt/event/WindowEvent.java,
8428         java/awt/event/WindowFocusListener.java,
8429         java/awt/event/WindowListener.java,
8430         java/awt/event/WindowStateListener.java,
8431         java/awt/font/TextHitInfo.java,
8432         java/awt/geom/CubicCurve2D.java,
8433         java/awt/geom/Dimension2D.java,
8434         java/awt/geom/Ellipse2D.java,
8435         java/awt/geom/IllegalPathStateException.java,
8436         java/awt/geom/Line2D.java,
8437         java/awt/geom/NoninvertibleTransformException.java,
8438         java/awt/geom/PathIterator.java,
8439         java/awt/geom/Point2D.java,
8440         java/awt/geom/QuadCurve2D.java,
8441         java/awt/geom/RectangularShape.java,
8442         java/awt/geom/RoundRectangle2D.java,
8443         java/awt/im/InputContext.java,
8444         java/awt/im/InputMethodHighlight.java,
8445         java/awt/im/InputMethodRequests.java,
8446         java/awt/im/InputSubset.java,
8447         java/awt/im/spi/InputMethod.java,
8448         java/awt/im/spi/InputMethodDescriptor.java,
8449         java/awt/image/BandCombineOp.java,
8450         java/awt/image/BandedSampleModel.java,
8451         java/awt/image/ByteLookupTable.java,
8452         java/awt/image/ComponentSampleModel.java,
8453         java/awt/image/DataBuffer.java,
8454         java/awt/image/DataBufferByte.java,
8455         java/awt/image/DataBufferDouble.java,
8456         java/awt/image/DataBufferFloat.java,
8457         java/awt/image/DataBufferInt.java,
8458         java/awt/image/DataBufferShort.java,
8459         java/awt/image/DataBufferUShort.java,
8460         java/awt/image/ImagingOpException.java,
8461         java/awt/image/Kernel.java,
8462         java/awt/image/LookupTable.java,
8463         java/awt/image/MultiPixelPackedSampleModel.java,
8464         java/awt/image/PackedColorModel.java,
8465         java/awt/image/PixelInterleavedSampleModel.java,
8466         java/awt/image/RGBImageFilter.java,
8467         java/awt/image/Raster.java,
8468         java/awt/image/RasterFormatException.java,
8469         java/awt/image/SampleModel.java,
8470         java/awt/image/ShortLookupTable.java,
8471         java/awt/image/SinglePixelPackedSampleModel.java,
8472         java/awt/image/WritableRaster.java,
8473         java/awt/print/PrinterAbortException.java,
8474         java/awt/print/PrinterException.java,
8475         java/awt/print/PrinterIOException.java,
8476         java/beans/AppletInitializer.java,
8477         java/beans/ExceptionListener.java,
8478         java/beans/PropertyChangeEvent.java,
8479         java/beans/PropertyChangeListenerProxy.java,
8480         java/beans/PropertyChangeSupport.java,
8481         java/beans/PropertyDescriptor.java,
8482         java/beans/VetoableChangeListenerProxy.java,
8483         java/beans/VetoableChangeSupport.java,
8484         java/io/BufferedReader.java,
8485         java/io/ByteArrayInputStream.java,
8486         java/io/ByteArrayOutputStream.java,
8487         java/io/CharArrayReader.java,
8488         java/io/CharArrayWriter.java,
8489         java/io/CharConversionException.java,
8490         java/io/DataInput.java,
8491         java/io/DataInputStream.java,
8492         java/io/DataOutput.java,
8493         java/io/DataOutputStream.java,
8494         java/io/EOFException.java,
8495         java/io/FileInputStream.java,
8496         java/io/FileNotFoundException.java,
8497         java/io/FileOutputStream.java,
8498         java/io/FilenameFilter.java,
8499         java/io/FilterInputStream.java,
8500         java/io/FilterOutputStream.java,
8501         java/io/FilterReader.java,
8502         java/io/FilterWriter.java,
8503         java/io/IOException.java,
8504         java/io/InputStream.java,
8505         java/io/InterruptedIOException.java,
8506         java/io/LineNumberInputStream.java,
8507         java/io/LineNumberReader.java,
8508         java/io/ObjectInputStream.java,
8509         java/io/ObjectStreamException.java,
8510         java/io/OptionalDataException.java,
8511         java/io/OutputStream.java,
8512         java/io/OutputStreamWriter.java,
8513         java/io/PrintStream.java,
8514         java/io/PrintWriter.java,
8515         java/io/PushbackInputStream.java,
8516         java/io/PushbackReader.java,
8517         java/io/RandomAccessFile.java,
8518         java/io/Reader.java,
8519         java/io/SequenceInputStream.java,
8520         java/io/Serializable.java,
8521         java/io/StreamCorruptedException.java,
8522         java/io/StreamTokenizer.java,
8523         java/io/StringBufferInputStream.java,
8524         java/io/StringWriter.java,
8525         java/io/SyncFailedException.java,
8526         java/io/UTFDataFormatException.java,
8527         java/io/UnsupportedEncodingException.java,
8528         java/io/WriteAbortedException.java,
8529         java/io/Writer.java,
8530         java/lang/AbstractMethodError.java,
8531         java/lang/ArithmeticException.java,
8532         java/lang/ArrayIndexOutOfBoundsException.java,
8533         java/lang/ArrayStoreException.java,
8534         java/lang/AssertionError.java,
8535         java/lang/Boolean.java,
8536         java/lang/Byte.java,
8537         java/lang/Class.java,
8538         java/lang/ClassCastException.java,
8539         java/lang/ClassCircularityError.java,
8540         java/lang/ClassLoader.java,
8541         java/lang/ClassNotFoundException.java,
8542         java/lang/CloneNotSupportedException.java,
8543         java/lang/Cloneable.java,
8544         java/lang/Comparable.java,
8545         java/lang/Compiler.java,
8546         java/lang/Double.java,
8547         java/lang/Error.java,
8548         java/lang/Exception.java,
8549         java/lang/ExceptionInInitializerError.java,
8550         java/lang/Float.java,
8551         java/lang/IllegalAccessError.java,
8552         java/lang/IllegalAccessException.java,
8553         java/lang/IllegalArgumentException.java,
8554         java/lang/IllegalMonitorStateException.java,
8555         java/lang/IllegalStateException.java,
8556         java/lang/IllegalThreadStateException.java,
8557         java/lang/IncompatibleClassChangeError.java,
8558         java/lang/IndexOutOfBoundsException.java,
8559         java/lang/InheritableThreadLocal.java,
8560         java/lang/InstantiationError.java,
8561         java/lang/InstantiationException.java,
8562         java/lang/Integer.java,
8563         java/lang/InternalError.java,
8564         java/lang/InterruptedException.java,
8565         java/lang/LinkageError.java,
8566         java/lang/Long.java,
8567         java/lang/NegativeArraySizeException.java,
8568         java/lang/NoClassDefFoundError.java,
8569         java/lang/NoSuchFieldError.java,
8570         java/lang/NoSuchFieldException.java,
8571         java/lang/NoSuchMethodError.java,
8572         java/lang/NoSuchMethodException.java,
8573         java/lang/NullPointerException.java,
8574         java/lang/Number.java,
8575         java/lang/NumberFormatException.java,
8576         java/lang/OutOfMemoryError.java,
8577         java/lang/Process.java,
8578         java/lang/Runnable.java,
8579         java/lang/Runtime.java,
8580         java/lang/RuntimeException.java,
8581         java/lang/RuntimePermission.java,
8582         java/lang/SecurityException.java,
8583         java/lang/SecurityManager.java,
8584         java/lang/Short.java,
8585         java/lang/StackOverflowError.java,
8586         java/lang/StackTraceElement.java,
8587         java/lang/StringBuffer.java,
8588         java/lang/StringIndexOutOfBoundsException.java,
8589         java/lang/ThreadDeath.java,
8590         java/lang/ThreadGroup.java,
8591         java/lang/Throwable.java,
8592         java/lang/UnsatisfiedLinkError.java,
8593         java/lang/UnsupportedOperationException.java,
8594         java/lang/VerifyError.java,
8595         java/lang/VirtualMachineError.java,
8596         java/lang/reflect/AccessibleObject.java,
8597         java/lang/reflect/Array.java,
8598         java/lang/reflect/InvocationTargetException.java,
8599         java/lang/reflect/Member.java,
8600         java/lang/reflect/Modifier.java,
8601         java/lang/reflect/Proxy.java,
8602         java/lang/reflect/ReflectPermission.java,
8603         java/lang/reflect/UndeclaredThrowableException.java,
8604         java/math/BigInteger.java,
8605         java/net/NetworkInterface.java,
8606         java/nio/ByteBufferHelper.java,
8607         java/nio/ByteBufferImpl.java,
8608         java/nio/DirectByteBufferImpl.java,
8609         java/nio/DoubleBufferImpl.java,
8610         java/nio/FloatBufferImpl.java,
8611         java/nio/IntBufferImpl.java,
8612         java/nio/LongBufferImpl.java,
8613         java/nio/ShortBufferImpl.java,
8614         java/nio/channels/Channel.java,
8615         java/nio/channels/IllegalBlockingModeException.java,
8616         java/nio/charset/spi/CharsetProvider.java,
8617         java/security/AccessControlException.java,
8618         java/security/BasicPermission.java,
8619         java/security/DigestException.java,
8620         java/security/DigestInputStream.java,
8621         java/security/DigestOutputStream.java,
8622         java/security/GeneralSecurityException.java,
8623         java/security/Guard.java,
8624         java/security/GuardedObject.java,
8625         java/security/InvalidAlgorithmParameterException.java,
8626         java/security/InvalidKeyException.java,
8627         java/security/InvalidParameterException.java,
8628         java/security/Key.java,
8629         java/security/KeyException.java,
8630         java/security/KeyManagementException.java,
8631         java/security/KeyStoreException.java,
8632         java/security/MessageDigestSpi.java,
8633         java/security/NoSuchAlgorithmException.java,
8634         java/security/NoSuchProviderException.java,
8635         java/security/Permission.java,
8636         java/security/PermissionCollection.java,
8637         java/security/Permissions.java,
8638         java/security/Principal.java,
8639         java/security/PrivateKey.java,
8640         java/security/PrivilegedActionException.java,
8641         java/security/ProviderException.java,
8642         java/security/PublicKey.java,
8643         java/security/SecureRandom.java,
8644         java/security/SecureRandomSpi.java,
8645         java/security/SignatureException.java,
8646         java/security/SignatureSpi.java,
8647         java/security/SignedObject.java,
8648         java/security/Signer.java,
8649         java/security/UnrecoverableKeyException.java,
8650         java/security/UnresolvedPermission.java,
8651         java/security/acl/AclNotFoundException.java,
8652         java/security/acl/LastOwnerException.java,
8653         java/security/acl/NotOwnerException.java,
8654         java/security/cert/CertPath.java,
8655         java/security/cert/CertPathBuilderException.java,
8656         java/security/cert/CertPathValidatorException.java,
8657         java/security/cert/CertStoreException.java,
8658         java/text/BreakIterator.java,
8659         java/text/ChoiceFormat.java,
8660         java/text/CollationElementIterator.java,
8661         java/text/CollationKey.java,
8662         java/text/Collator.java,
8663         java/text/DateFormat.java,
8664         java/text/DateFormatSymbols.java,
8665         java/text/DecimalFormat.java,
8666         java/text/DecimalFormatSymbols.java,
8667         java/text/FieldPosition.java,
8668         java/text/Format.java,
8669         java/text/NumberFormat.java,
8670         java/text/ParseException.java,
8671         java/text/ParsePosition.java,
8672         java/text/StringCharacterIterator.java,
8673         java/util/AbstractCollection.java,
8674         java/util/AbstractList.java,
8675         java/util/AbstractMap.java,
8676         java/util/AbstractSequentialList.java,
8677         java/util/AbstractSet.java,
8678         java/util/ArrayList.java,
8679         java/util/Arrays.java,
8680         java/util/BitSet.java,
8681         java/util/Collection.java,
8682         java/util/Collections.java,
8683         java/util/Comparator.java,
8684         java/util/ConcurrentModificationException.java,
8685         java/util/Currency.java,
8686         java/util/Date.java,
8687         java/util/EmptyStackException.java,
8688         java/util/Enumeration.java,
8689         java/util/EventListener.java,
8690         java/util/EventListenerProxy.java,
8691         java/util/EventObject.java,
8692         java/util/HashMap.java,
8693         java/util/HashSet.java,
8694         java/util/Hashtable.java,
8695         java/util/IdentityHashMap.java,
8696         java/util/Iterator.java,
8697         java/util/LinkedHashSet.java,
8698         java/util/LinkedList.java,
8699         java/util/List.java,
8700         java/util/ListIterator.java,
8701         java/util/ListResourceBundle.java,
8702         java/util/Map.java,
8703         java/util/MissingResourceException.java,
8704         java/util/NoSuchElementException.java,
8705         java/util/Observable.java,
8706         java/util/Observer.java,
8707         java/util/Properties.java,
8708         java/util/PropertyPermissionCollection.java,
8709         java/util/RandomAccess.java,
8710         java/util/Set.java,
8711         java/util/SortedMap.java,
8712         java/util/SortedSet.java,
8713         java/util/Stack.java,
8714         java/util/StringTokenizer.java,
8715         java/util/TooManyListenersException.java,
8716         java/util/TreeMap.java,
8717         java/util/TreeSet.java,
8718         java/util/Vector.java,
8719         java/util/logging/FileHandler.java,
8720         java/util/logging/Level.java,
8721         java/util/prefs/BackingStoreException.java,
8722         java/util/prefs/InvalidPreferencesFormatException.java,
8723         java/util/prefs/Preferences.java,
8724         javax/accessibility/Accessible.java,
8725         javax/accessibility/AccessibleAction.java,
8726         javax/accessibility/AccessibleBundle.java,
8727         javax/accessibility/AccessibleComponent.java,
8728         javax/accessibility/AccessibleContext.java,
8729         javax/accessibility/AccessibleEditableText.java,
8730         javax/accessibility/AccessibleExtendedComponent.java,
8731         javax/accessibility/AccessibleExtendedTable.java,
8732         javax/accessibility/AccessibleHyperlink.java,
8733         javax/accessibility/AccessibleHypertext.java,
8734         javax/accessibility/AccessibleIcon.java,
8735         javax/accessibility/AccessibleKeyBinding.java,
8736         javax/accessibility/AccessibleRelation.java,
8737         javax/accessibility/AccessibleRelationSet.java,
8738         javax/accessibility/AccessibleResourceBundle.java,
8739         javax/accessibility/AccessibleRole.java,
8740         javax/accessibility/AccessibleSelection.java,
8741         javax/accessibility/AccessibleState.java,
8742         javax/accessibility/AccessibleStateSet.java,
8743         javax/accessibility/AccessibleTable.java,
8744         javax/accessibility/AccessibleTableModelChange.java,
8745         javax/accessibility/AccessibleText.java,
8746         javax/accessibility/AccessibleValue.java,
8747         javax/imageio/IIOException.java,
8748         javax/imageio/ImageIO.java,
8749         javax/imageio/spi/IIOServiceProvider.java,
8750         javax/imageio/spi/ImageInputStreamSpi.java,
8751         javax/imageio/spi/ImageOutputStreamSpi.java,
8752         javax/imageio/spi/ImageReaderWriterSpi.java,
8753         javax/imageio/spi/ImageTranscoderSpi.java,
8754         javax/imageio/spi/RegisterableService.java,
8755         javax/imageio/spi/ServiceRegistry.java,
8756         javax/imageio/stream/IIOByteBuffer.java,
8757         javax/imageio/stream/ImageInputStream.java,
8758         javax/imageio/stream/ImageOutputStream.java,
8759         javax/naming/Binding.java,
8760         javax/naming/CannotProceedException.java,
8761         javax/naming/CompositeName.java,
8762         javax/naming/CompoundName.java,
8763         javax/naming/LinkException.java,
8764         javax/naming/LinkRef.java,
8765         javax/naming/NameClassPair.java,
8766         javax/naming/Reference.java,
8767         javax/naming/ReferralException.java,
8768         javax/naming/directory/Attribute.java,
8769         javax/naming/directory/AttributeModificationException.java,
8770         javax/naming/directory/Attributes.java,
8771         javax/naming/directory/DirContext.java,
8772         javax/naming/directory/ModificationItem.java,
8773         javax/naming/directory/SearchControls.java,
8774         javax/naming/directory/SearchResult.java,
8775         javax/naming/event/EventContext.java,
8776         javax/naming/event/EventDirContext.java,
8777         javax/naming/event/NamespaceChangeListener.java,
8778         javax/naming/event/NamingExceptionEvent.java,
8779         javax/naming/event/NamingListener.java,
8780         javax/naming/event/ObjectChangeListener.java,
8781         javax/naming/ldap/Control.java,
8782         javax/naming/ldap/ExtendedResponse.java,
8783         javax/naming/ldap/HasControls.java,
8784         javax/naming/ldap/LdapContext.java,
8785         javax/naming/ldap/UnsolicitedNotification.java,
8786         javax/naming/ldap/UnsolicitedNotificationEvent.java,
8787         javax/naming/ldap/UnsolicitedNotificationListener.java,
8788         javax/naming/spi/DirectoryManager.java,
8789         javax/naming/spi/ResolveResult.java,
8790         javax/naming/spi/Resolver.java,
8791         javax/security/auth/callback/Callback.java,
8792         javax/security/auth/callback/CallbackHandler.java,
8793         javax/security/auth/callback/ChoiceCallback.java,
8794         javax/security/auth/callback/ConfirmationCallback.java,
8795         javax/security/auth/callback/LanguageCallback.java,
8796         javax/security/auth/callback/NameCallback.java,
8797         javax/security/auth/callback/PasswordCallback.java,
8798         javax/security/auth/callback/TextInputCallback.java,
8799         javax/security/auth/callback/TextOutputCallback.java,
8800         javax/security/auth/callback/UnsupportedCallbackException.java,
8801         javax/security/sasl/Sasl.java,
8802         javax/security/sasl/SaslServerFactory.java,
8803         javax/swing/DefaultBoundedRangeModel.java,
8804         javax/swing/JComponent.java,
8805         javax/swing/JList.java,
8806         javax/swing/JProgressBar.java,
8807         javax/swing/JRadioButton.java,
8808         javax/swing/JTextArea.java,
8809         javax/swing/JTextField.java,
8810         javax/swing/JToggleButton.java,
8811         javax/swing/JTree.java,
8812         javax/swing/SpinnerListModel.java,
8813         javax/swing/event/EventListenerList.java,
8814         javax/swing/text/JTextComponent.java,
8815         javax/swing/text/StringContent.java,
8816         javax/swing/text/Utilities.java,
8817         javax/swing/undo/UndoManager.java,
8818         javax/swing/undo/UndoableEditSupport.java,
8819         javax/transaction/HeuristicCommitException.java,
8820         javax/transaction/HeuristicMixedException.java,
8821         javax/transaction/HeuristicRollbackException.java,
8822         javax/transaction/InvalidTransactionException.java,
8823         javax/transaction/NotSupportedException.java,
8824         javax/transaction/RollbackException.java,
8825         javax/transaction/Status.java,
8826         javax/transaction/Synchronization.java,
8827         javax/transaction/SystemException.java,
8828         javax/transaction/Transaction.java,
8829         javax/transaction/TransactionManager.java,
8830         javax/transaction/TransactionRequiredException.java,
8831         javax/transaction/TransactionRolledbackException.java,
8832         javax/transaction/UserTransaction.java,
8833         javax/transaction/xa/XAException.java,
8834         javax/transaction/xa/XAResource.java,
8835         javax/transaction/xa/Xid.java,
8836         javax/xml/XMLConstants.java,
8837         javax/xml/datatype/DatatypeConfigurationException.java,
8838         javax/xml/datatype/DatatypeConstants.java,
8839         javax/xml/datatype/DatatypeFactory.java,
8840         javax/xml/datatype/Duration.java,
8841         javax/xml/datatype/XMLGregorianCalendar.java,
8842         javax/xml/namespace/NamespaceContext.java,
8843         javax/xml/namespace/QName.java,
8844         javax/xml/parsers/DocumentBuilder.java,
8845         javax/xml/parsers/DocumentBuilderFactory.java,
8846         javax/xml/parsers/FactoryConfigurationError.java,
8847         javax/xml/parsers/ParserConfigurationException.java,
8848         javax/xml/parsers/SAXParser.java,
8849         javax/xml/parsers/SAXParserFactory.java,
8850         javax/xml/transform/ErrorListener.java,
8851         javax/xml/transform/OutputKeys.java,
8852         javax/xml/transform/Result.java,
8853         javax/xml/transform/Source.java,
8854         javax/xml/transform/SourceLocator.java,
8855         javax/xml/transform/Templates.java,
8856         javax/xml/transform/Transformer.java,
8857         javax/xml/transform/TransformerConfigurationException.java,
8858         javax/xml/transform/TransformerException.java,
8859         javax/xml/transform/TransformerFactory.java,
8860         javax/xml/transform/TransformerFactoryConfigurationError.java,
8861         javax/xml/transform/URIResolver.java,
8862         javax/xml/transform/dom/DOMLocator.java,
8863         javax/xml/transform/dom/DOMResult.java,
8864         javax/xml/transform/dom/DOMSource.java,
8865         javax/xml/transform/sax/SAXResult.java,
8866         javax/xml/transform/sax/SAXSource.java,
8867         javax/xml/transform/sax/SAXTransformerFactory.java,
8868         javax/xml/transform/sax/TemplatesHandler.java,
8869         javax/xml/transform/sax/TransformerHandler.java,
8870         javax/xml/transform/stream/StreamResult.java,
8871         javax/xml/transform/stream/StreamSource.java,
8872         javax/xml/validation/Schema.java,
8873         javax/xml/validation/SchemaFactory.java,
8874         javax/xml/validation/TypeInfoProvider.java,
8875         javax/xml/validation/Validator.java,
8876         javax/xml/validation/ValidatorHandler.java,
8877         javax/xml/xpath/XPathConstants.java,
8878         javax/xml/xpath/XPathException.java,
8879         javax/xml/xpath/XPathExpression.java,
8880         javax/xml/xpath/XPathExpressionException.java,
8881         javax/xml/xpath/XPathFactory.java,
8882         javax/xml/xpath/XPathFactoryConfigurationException.java,
8883         javax/xml/xpath/XPathFunction.java,
8884         javax/xml/xpath/XPathFunctionException.java,
8885         javax/xml/xpath/XPathFunctionResolver.java:
8886         Fixed usage of @author tag, reworked import statements,
8887         removed CVS tags, changed the modifier order and fixed
8888         HTML usage in javadocs.
8890 2005-02-16  Julian Scheid  <julian@sektor37.de>
8892         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
8893         in.position().
8894         (encodeLoop): Likewise.
8896 2005-02-16  Mark Wielaard  <mark@klomp.org>
8898         * Makefile.am (ordinary_java_source_files): Add new files
8899         gnu/java/security/ber/BER.java,
8900         gnu/java/security/ber/BEREncodingException.java,
8901         gnu/java/security/ber/BERReader.java,
8902         gnu/java/security/ber/BERValue.java,
8903         gnu/java/security/pkcs/PKCS7SignedData.java and
8904         gnu/java/security/pkcs/SignerInfo.java.
8905         * Makefile.in: Regenerated.
8907 2005-02-16  Casey Marshall  <csm@gnu.org>
8909         * gnu/java/security/provider/GnuDSAPrivateKey.java
8910         (encodedKey): new field.
8911         (getFormat): return "PKCS#8".
8912         (getEncoded): implemented.
8913         (toString): check for 'null' values.
8914         * gnu/java/security/provider/GnuDSAPublicKey.java
8915         (encodedKey): new field.
8916         (getFormat): return "X.509".
8917         (getEncoded): implemented.
8918         (toString): check for 'null' values.
8920 2005-02-16  Michael Koch  <konqueror@gmx.de>
8922         * java/util/jar/JarFile.java: Imports reworked.
8924 2005-02-16  Mark Wielaard  <mark@klomp.org>
8926         * java/util/jar/JarFile.java (verify): Make package private.
8927         (signaturesRead): Likewise.
8928         (verified): Likewise.
8929         (entryCerts): Likewise.
8930         (DEBUG): Likewise.
8931         (debug): Likewise.
8932         (entries): Construct new JarEnumeration with reference to this.
8933         (JarEnumeration): Make static.
8934         (JarEnumeration.jarfile): New field.
8935         (JarEnumeration.nextElement): Use and synchronize on jarfile.
8936         Compare verified value to Boolean.TRUE or Boolean.False only
8937         when verify is true.
8938         (getEntry): Make synchronized. Compare value of verified to
8939         Boolean.TRUE.
8940         (getInputStream): Construct EntryInputStream with reference to this.
8941         (getManifest): Make synchronized.
8942         (EntryInputStream): Make static.
8943         (EntryInputStream.jarfile): New field.
8944         (EntryInputStream.EntryInputStream): Check if manifest exists,
8945         before getting attributes.
8946         (eof): Synchronize on jarfile.
8948 2005-02-16  Casey Marshall  <csm@gnu.org>
8950         * java/util/jar/JarFile.java (verify): return if the jar is signed
8951         with an unsupported algorithm.
8953 2005-02-16  Mark Wielaard  <mark@klomp.org>
8955         * java/util/jar/JarFile.java (EntryInputStream): Add actual
8956         InputStream as argument.
8957         (getInputStream): Construct a new EntryInputStream with the result of
8958         super.getInputStream(entry).
8960 2005-02-16  Casey Marshall  <csm@gnu.org>
8962         Signed JAR file support.
8963         * java/net/URLClassLoader.java
8964         (JarURLResource.getCertificates): re-read jar entry to ensure
8965         certificates are picked up.
8966         (findClass): fill in class `signers' field, too.
8967         * java/util/jar/JarFile.java (META_INF): new constant.
8968         (PKCS7_DSA_SUFFIX): new constant.
8969         (PKCS7_RSA_SUFFIX): new constant.
8970         (DIGEST_KEY_SUFFIX): new constant.
8971         (SF_SUFFIX): new constant.
8972         (MD2_OID): new constant.
8973         (MD4_OID): new constant.
8974         (MD5_OID): new constant.
8975         (SHA1_OID): new constant.
8976         (DSA_ENCRYPTION_OID): new constant.
8977         (RSA_ENCRYPTION_OID): new constant.
8978         (signaturesRead): new field.
8979         (verified): new field.
8980         (entryCerts): new field.
8981         (DEBUG): new constant.
8982         (debug): new method.
8983         (JarEnumeration.nextElement): fill in entry certificates, read
8984         signatures if they haven't been read.
8985         (getEntry): likewise.
8986         (getInputStream): verify stream if it hasn't been verified yet.
8987         (readSignatures): new method.
8988         (verify): new method.
8989         (verifyHashes): new method.
8990         (readManifestEntry): new method.
8991         (EntryInputStream): new class.
8992         * gnu/java/io/Base64InputStream.java (decode): new class
8993         method.
8994         * gnu/java/security/der/DERReader.java don't make class
8995         final.
8996         (in): made protected.
8997         (encBuf): likewise.
8998         (readLength): likewise.
8999         * gnu/java/security/ber/BER.java,
9000         * gnu/java/security/ber/BEREncodingException.java,
9001         * gnu/java/security/ber/BERReader.java,
9002         * gnu/java/security/ber/BERValue.java,
9003         * gnu/java/security/pkcs/PKCS7SignedData.java,
9004         * gnu/java/security/pkcs/SignerInfo.java:
9005         new files.
9007 2005-02-16  Tom Tromey  <tromey@redhat.com>
9009         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
9010         copied file on exit.
9012 2005-02-15  Mark Wielaard  <mark@klomp.org>
9014         * java/awt/BasicStroke.java (hashCode): Check for null dash.
9016 2005-02-15  Michael Koch  <konqueror@gmx.de>
9018         * gnu/java/awt/peer/gtk/GtkArg.java,
9019         gnu/java/awt/peer/gtk/GtkArgList.java:
9020         Removed.
9022 2005-02-15  Craig Black  <craig.black@aonix.com>
9024         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
9025         (postMenuActionEvent): Implement to notify ItemListeners.
9026         * java/awt/CheckboxMenuItem.java
9027         (dispatchEventImpl): Update state on ItemEvent.
9028         * java/awt/MenuItem.java
9029         (processActionEvent): Retarget event source.
9031 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9033         * gnu/java/awt/color/ClutProfileConverter.java,
9034         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9035         gnu/java/awt/peer/gtk/GdkFontPeer.java,
9036         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
9037         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
9038         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
9039         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
9040         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
9041         gnu/java/awt/peer/gtk/GdkTextLayout.java,
9042         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9043         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9044         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9045         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9046         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9047         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9048         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9049         gnu/java/awt/peer/gtk/GtkFontPeer.java,
9050         gnu/java/awt/peer/gtk/GtkFramePeer.java,
9051         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9052         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9053         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9054         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9055         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9056         gnu/java/awt/peer/gtk/GtkToolkit.java,
9057         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9058         javax/swing/JPopupMenu.java,
9059         javax/swing/JSpinner.java,
9060         javax/swing/SortingFocusTraversalPolicy.java,
9061         javax/swing/SwingUtilities.java,
9062         javax/swing/plaf/basic/BasicComboBoxEditor.java,
9063         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
9064         javax/swing/tree/DefaultMutableTreeNode.java:
9065         Removed unused imports and expanded starred
9066         imports.
9068 2005-02-15  Mark Wielaard  <mark@klomp.org>
9070         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
9071         IllegalArgumentException when the given String is null.
9073         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
9074         when given keystoke sequence cannot be parsed.
9076         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
9077         if one is installed. Only install the given menubar is not null.
9079         * javax/swing/JViewport.java (getViewSize): Return an empty
9080         Dimension when the view isn't set or preferred component size when
9081         no viewSize is set.
9083         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
9084         empty Dimension when there is no view set.
9085         (minimumLayoutSize): Likewise.
9086         (layoutContainer): Don't try to layout when there is no view.
9088 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9090         * jawt.c: New file.
9091         * include/jawt.h: Likewise.
9092         * include/jawt_md.h: Likewise.
9093         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
9094         jawt_md.h files.
9095         * jni/classpath/classpath_jawt.h: Likewise.
9096         * jni/gtk-peer/gtk_jawt.c: Likewise.
9097         * Makefile.am: Build libjawt.so.
9099 2005-02-15  Michael Koch  <konqueror@gmx.de>
9101         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9102         Merged file header with classpath CVS head.
9103         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
9104         Merged code formatting with classpath CVS head.
9105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
9106         Removed debug code.
9107         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
9108         Handle special JNI strings with 2 '\0' at the end.
9109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9110         Merged file header with classpath CVS head.
9111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9112         Merged code formatting with classpath CVS head.
9114 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
9117         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
9118         (handle_response): Use GTK_RESPONSE_ACCEPT.
9120 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9122         * Makefile.am: Fix library build breakage.
9123         * Makefile.in: Regenerate.
9125 2005-02-15  Michael Koch  <konqueror@gmx.de>
9127         * javax/swing/JTabbedPane.java
9128         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
9130 2005-02-15  Michael Koch  <konqueror@gmx.de>
9132         * javax/swing/tree/DefaultMutableTreeNode.java:
9133         Reworked Javadocs all over.
9134         (getPathToRoot): Fixed direction of result array initialization.
9136 2005-02-15  Michael Koch  <konqueror@gmx.de>
9138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9139          Fix includes for cairo 0.3.0 snappshot.
9140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9141         Merged file header from classpath CVS HEAD.
9143 2005-02-15  Craig Black  <craig.black@aonix.com>
9145         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9146         (copyState): Pass a JNI global reference to signal handler.
9147         (realize_cb): Use and free JNI global reference.
9148         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9149         (create): Pass a JNI global reference to signal handler.
9150         (selection_changed): Match declaration.
9151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
9152         (dispose): Do not remove entries from state tables until after widget is
9153         destroyed.
9155 2005-02-15  Michael Koch  <konqueror@gmx.de>
9157         * java/awt/Container.javai (paramString):
9158         If layoutMgr is null just return result of super.paramString().
9159         * java/awt/Scrollbar.java: Reformatted.
9160         * java/awt/im/InputContext.java (static):
9161         Removed redundant initializations.
9163 2005-02-15  Michael Koch  <konqueror@gmx.de>
9165         * javax/swing/ImageIcon.java,
9166         javax/swing/UIManager.java,
9167         javax/swing/text/EditorKit.java,
9168         javax/swing/text/Segment.java:
9169         More whitespace cleanups.
9171 2005-02-15  Michael Koch  <konqueror@gmx.de>
9173         * gnu/java/awt/EmbeddedWindow.java,
9174         gnu/java/awt/image/ImageDecoder.java,
9175         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9176         java/awt/DefaultKeyboardFocusManager.java,
9177         java/awt/Frame.java,
9178         java/awt/image/RGBImageFilter.java,
9179         javax/swing/AbstractButton.java,
9180         javax/swing/ActionMap.java,
9181         javax/swing/ComponentInputMap.java,
9182         javax/swing/DefaultDesktopManager.java,
9183         javax/swing/ImageIcon.java,
9184         javax/swing/InputMap.java,
9185         javax/swing/JButton.java,
9186         javax/swing/JCheckBox.java,
9187         javax/swing/JCheckBoxMenuItem.java,
9188         javax/swing/JEditorPane.java,
9189         javax/swing/JMenu.java,
9190         javax/swing/JMenuItem.java,
9191         javax/swing/JOptionPane.java,
9192         javax/swing/JRootPane.java,
9193         javax/swing/JTable.java,
9194         javax/swing/MenuSelectionManager.java,
9195         javax/swing/RepaintManager.java,
9196         javax/swing/ScrollPaneLayout.java,
9197         javax/swing/SortingFocusTraversalPolicy.java,
9198         javax/swing/UIManager.java,
9199         javax/swing/ViewportLayout.java,
9200         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
9201         javax/swing/plaf/basic/BasicInternalFrameUI.java,
9202         javax/swing/plaf/basic/BasicLabelUI.java,
9203         javax/swing/plaf/basic/BasicListUI.java,
9204         javax/swing/plaf/basic/BasicMenuItemUI.java,
9205         javax/swing/plaf/basic/BasicMenuUI.java,
9206         javax/swing/plaf/basic/BasicOptionPaneUI.java,
9207         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9208         javax/swing/plaf/basic/BasicRootPaneUI.java,
9209         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9210         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
9211         javax/swing/plaf/basic/BasicTextUI.java,
9212         javax/swing/table/TableColumnModel.java,
9213         javax/swing/text/AbstractDocument.java,
9214         javax/swing/text/EditorKit.java,
9215         javax/swing/text/Position.java,
9216         javax/swing/text/Segment.java,
9217         javax/swing/text/StyledEditorKit.java,
9218         javax/swing/text/ViewFactory.java:
9219         Cleanup whitespace differences to classpath CVS HEAD.
9221 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9223         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
9224         (finalize): Call finish from here.
9225         (produce): Not from here.
9226         * Makefile.am (gtk_c_source_files):
9227         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
9228         * Makefile.in: Regenerate.
9229         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9230         (cairoSetFont):
9231         (cairoDrawGdkTextLayout):
9232         (cairoDrawString):
9233         (getPeerTextMetrics):
9234         (getPeerFontMetrics): Remove.
9235         (setFont): Don't call cairoSetFont.
9236         (cairoDrawGlyphVector): Accept font peer argument.
9237         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
9238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9239         (ensure_metrics_cairo):
9240         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
9241         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
9242         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
9243         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
9244         (metrics_cairo):
9245         (metrics_surface): Remove.
9246         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
9247         Pass and install font peer.
9249 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9251         * Makefile.am: Create "split library" structure.
9252         * Makefile.in: Regenerate.
9254 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
9260         Release GDK lock during upcalls.
9262 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
9265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
9266         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
9267         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
9268         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
9269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
9270         * gnu/java/awt/peer/gtk/GdkFontPeer.java
9271         (getGlyphVector):
9272         (getFontMetrics):
9273         (getTextMetrics): New native methods.
9274         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
9275         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
9276         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
9277         * Makefile.in: Regenerate.
9279 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9281         * javax/swing/SwingUtilities.java:
9282         (getAccessibleAt(java.awt.Component, java.awt.Point)):
9283         Implemented and documented.
9284         (getAccessibleChild(java.awt.Component, int)): Likewise.
9285         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
9286         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
9287         (getAccessibleStateSet(java.awt.Component)): Likewise.
9289 2005-02-15  Michael Koch  <konqueror@gmx.de>
9291         * javax/swing/SwingUtilities.java
9292         (getFontMetrics): Removed.
9294 2005-02-15  Michael Koch  <konqueror@gmx.de>
9296         * java/awt/Container.java
9297         (paramString): Implemented.
9298         * javax/swing/AbstractButton.java
9299         (paramString): Implemented.
9300         * javax/swing/JComponent.java
9301         (paramString): Implemented.
9302         * javax/swing/JMenu.java
9303         (paramString): Implemented.
9304         * javax/swing/JMenuBar.java
9305         (paramString): Implemented.
9306         * javax/swing/JMenuItem.java
9307         (paramString): Implemented.
9308         * javax/swing/JPopupMenu.java
9309         (paramString): Implemented.
9311 2005-02-15  Michael Koch  <konqueror@gmx.de>
9313         * javax/swing/JMenu.java
9314         (uiClassID): Removed.
9315         (JMenu): Set invoker on popup menu.
9316         (getUIClassID): Return id directly.
9317         (getItemCount): Simply return getMenuComponentCount().
9318         Fixed javadoc.
9319         (isTopLevelMenu): Simplified.
9320         * javax/swing/JMenuItem.java
9321         (uiClassID): Removed.
9322         (getUIClassID): Return id directly.
9323         * javax/swing/JPopupMenu.java
9324         (uiClassID): Removed.
9325         (JPopupMenu): Always initialize correctly.
9326         (getSubElements): Only return components implementing MenuElement
9327         interface.
9328         (HeavyWeightPopup.hide): Removed.
9330 2005-02-15  Michael Koch  <konqueror@gmx.de>
9332         * java/awt/image/ReplicateScaleFilter.java
9333         (replicatePixels): Made private.
9334         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
9335         (DefaultRGBChooserPanel): Made package private.
9336         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
9337         (RecentSwatchPanel): Likewise.
9338         * javax/swing/event/MouseInputAdapter.java: Reformatted.
9339         (MouseInputAdapter): Made abstract.
9340         * javax/swing/tree/DefaultMutableTreeNode.java
9341         (random): Removed.
9342         (growTree): Likewise.
9344 2005-02-15  Michael Koch  <konqueror@gmx.de>
9346         * java/awt/dnd/DropTarget.java (addDropTargetListener):
9347         Clarified comments.
9349 2005-02-15  Michael Koch  <konqueror@gmx.de>
9351         * javax/swing/JComponent.java (getComponentGraphics):
9352         Removed accidently commited code.
9354 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9356         * java/awt/dnd/DropTarget.java
9357         (addDropTargetListener): Despite documentation, do not throw.
9358         * javax/swing/JComponent.java: Set a default DropTarget.
9360 2005-02-15  Michael Koch  <konqueror@gmx.de>
9362         * javax/swing/AbstractAction.java
9363         (ENABLED_PROPERTY): Removed.
9364         (setEnabled): Replaced constant with real string.
9365         * javax/swing/AbstractButton.java
9366         (createActionPropertyChangeListener.propertyChange): Likewise.
9367         * javax/swing/JComboBox.java
9368         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
9369         (EDITABLE_CHANGED_PROPERTY): Removed.
9370         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
9371         (ENABLED_CHANGED_PROPERTY):Likewise.
9372         (RENDERER_CHANGED_PROPERTY):Likewise.
9373         (EDITOR_CHANGED_PROPERTY):Likewise.
9374         (MODEL_CHANGED_PROPERTY):Likewise.
9375         (uiClassID):Likewise.
9376         (getUIClassID): Replaced constant with real string.
9377         (setModel):Likewise.
9378         (setEditable):Likewise.
9379         (setMaximumRowCount):Likewise.
9380         (setRenderer):Likewise.
9381         (setEditor):Likewise.
9382         (setEnabled):Likewise.
9383         * javax/swing/JLabel.java
9384         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
9385         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
9386         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
9387         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
9388         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
9389         (ICON_CHANGED_PROPERTY): Likewise.
9390         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
9391         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
9392         (TEXT_CHANGED_PROPERTY): Likewise.
9393         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
9394         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
9395         (setText): Replaced constant with real string.
9396         (setIcon): Likewise.
9397         (setDisabledIcon): Likewise.
9398         (setDisplayedMnemonic): Likewise.
9399         (setIconTextGap): Likewise.
9400         (setVerticalAlignment): Likewise.
9401         (setHorizontalAlignment): Likewise.
9402         (setVerticalTextPosition): Likewise.
9403         (setHorizontalTextPosition): Likewise.
9404         (setLabelFor): Replaced constant with real string.
9405         Fire property change event after property got changed.
9406         * javax/swing/JList.java
9407         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
9408         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
9409         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
9410         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
9411         (MODEL_PROPERTY_CHANGED): Likewise.
9412         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
9413         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
9414         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
9415         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
9416         (setFixedCellWidth): Reimplemented.
9417         (setFixedCellHeight): Exit if new value is identical.
9418         Replaced constant with real string.
9419         (setSelectionBackground): Likewise.
9420         (setSelectionForeground): Likewise.
9421         (setPrototypeCellValue): Likewise.
9422         (setCellRenderer): Replaced constant with real string.
9423         (setModel): Likewise.
9424         (setSelectionModel): Likewise.
9425         * javax/swing/JMenuBar.java
9426         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
9427         (MODEL_CHANGED_PROPERTY): Likewise.
9428         (MARGIN_CHANGED_PROPERTY): Likewise.
9429         (setBorderPainted): Reimplemented.
9430         (setMargin): Likewise.
9431         (setSelectionModel): Replaced constant with real string.
9432         * javax/swing/JPopupMenu.java
9433         (LABEL_CHANGED_PROPERTY): Removed.
9434         (VISIBLE_CHANGED_PROPERTY): Likewise.
9435         (borderPainted): Likewise.
9436         (setLabel): Replaced constant with real string.
9437         (setVisible): Exit if new value is identical.
9438         Replaced constant with real string.
9439         * javax/swing/JProgressBar.java
9440         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
9441         (ORIENTATION_CHANGED_PROPERTY): Likewise.
9442         (STRING_CHANGED_PROPERTY): Likewise.
9443         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
9444         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
9445         (setOrientation): Replaced constant with real string.
9446         (setStringPainted): Likewise.
9447         (setString): Likewise.
9448         (setBorderPainted): Likewise.
9449         (setIndeterminate): Likewise.
9450         * javax/swing/JScrollBar.java
9451         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
9452         (MODEL_CHANGED_PROPERTY): Likewise.
9453         (ORIENTATION_CHANGED_PROPERTY): Likewise.
9454         (setOrientation): Replaced constant with real string.
9455         (setModel): Likewise.
9456         (setUnitIncrement): Likewise.
9457         (setBlockIncrement): Likewise.
9458         * javax/swing/JScrollPane.java
9459         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
9460         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
9461         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
9462         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
9463         (LAYOUT_CHANGED_PROPERTY): Likewise.
9464         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
9465         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
9466         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
9467         (VIEWPORT_CHANGED_PROPERTY): Likewise.
9468         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
9469         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
9470         (setComponentOrientation): Replaced constant with real string.
9471         (setColumnHeader): Likewise.
9472         (setHorizontalScrollBar): Likewise.
9473         (setHorizontalScrollBarPolicy): Likewise.
9474         (setRowHeader): Likewise.
9475         (setVerticalScrollBar): Likewise.
9476         (setVerticalScrollBarPolicy): Likewise.
9477         (setWheelScrollingEnabled): Likewise.
9478         (setViewport): Likewise.
9479         (setViewportBorder): Likewise.
9480         * javax/swing/JSlider.java
9481         (INVERTED_CHANGED_PROPERTY): Removed.
9482         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
9483         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
9484         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
9485         (MODEL_CHANGED_PROPERTY): Likewise.
9486         (ORIENTATION_CHANGED_PROPERTY): Likewise.
9487         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
9488         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
9489         (setModel): Replaced constant with real string.
9490         (setOrientation): Likewise.
9491         (setLabelTable): Likewise.
9492         (setInverted): Likewise.
9493         (setMajorTickSpacing): Likewise.
9494         (setMinorTickSpacing): Likewise.
9495         (setPaintTicks): Likewise.
9496         (setPaintLabels): Likewise.
9497         * javax/swing/JTabbedPane.java
9498         (MODEL_CHANGED_PROPERTY): Removed.
9499         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
9500         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
9501         (setModel): Replaced constant with real string.
9502         (setTabPlacement): Likewise.
9503         (setTabLayoutPolicy): Likewise.
9504         * javax/swing/JToolBar.java
9505         (ORIENTATION_CHANGED_PROPERTY): Removed.
9506         (FLOATABLE_CHANGED_PROPERTY): Likewise.
9507         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
9508         (MARGIN_CHANGED_PROPERTY): Likewise.
9509         (ROLLOVER_CHANGED_PROPERTY): Likewise.
9510         (setRollover): Replaced constant with real string.
9511         (setMargin): Likewise.
9512         (setBorderPainted): Likewise.
9513         (setFloatable): Likewise.
9514         (setOrientation): Likewise.
9515         * javax/swing/plaf/basic/BasicComboBoxUI.java
9516         (PropertyChangeHandler.propertyChange): Likewise.
9517         * javax/swing/plaf/basic/BasicComboPopup.java
9518         (PropertyChangeHandler.propertyChange): Likewise.
9519         * javax/swing/plaf/basic/BasicMenuBarUI.java
9520         (PropertyChangeHandler.propertyChange): Likewise.
9521         * javax/swing/plaf/basic/BasicProgressBarUI.java
9522         (PropertyChangeHandler.propertyChange): Likewise.
9523         * javax/swing/plaf/basic/BasicScrollBarUI.java
9524         (PropertyChangeHandler.propertyChange): Likewise.
9525         * javax/swing/plaf/basic/BasicSliderUI.java
9526         (PropertyChangeHandler.propertyChange): Likewise.
9527         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9528         (PropertyChangeHandler.propertyChange): Likewise.
9529         * javax/swing/plaf/basic/BasicToolBarUI.java
9530         (PropertyChangeHandler.propertyChange): Likewise.
9532 2005-02-15  Michael Koch  <konqueror@gmx.de>
9534         * javax/swing/DefaultButtonModel.java
9535         (changeState): Made private.
9536         * javax/swing/DefaultDesktopManager.java
9537         (setWasIcon): Fixed second argument to be java.lang.Boolean.
9538         * javax/swing/JLayeredPane.java
9539         (layerToRange): Made private.
9540         (incrLayer): Likewise.
9541         (decrLayer): Likewise.
9542         * javax/swing/JTable.java
9543         (dragEnabled): Likewise.
9544         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
9545         * javax/swing/KeyStroke.java
9546         (Keystroke): Made private.
9547         * javax/swing/TransferHandler.java
9548         (COMMAND_COPY): Likewise.
9549         (COMMAND_CUT): Likewise.
9550         (COMMAND_PASTE): Likewise.
9552 2005-02-15  Michael Koch  <konqueror@gmx.de>
9554         * javax/swing/JTextField.java
9555         (postActionEvent): Use text in field when actionCommand is null.
9556         (getActionCommand): Removed.
9558 2005-02-15  Michael Koch  <konqueror@gmx.de>
9560         * javax/swing/AbstractSet.java: Removed.
9561         * Makefile.am: Removed javax/swing/AbstractSet.java.
9562         * Makefile.in: Regenerated.
9564 2005-02-15  Michael Koch  <konqueror@gmx.de>
9566         * java/awt/Window.java
9567         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
9568         * java/awt/dnd/DnDConstants.java
9569         (DnDConstants): New private constructor.
9571 2005-02-15  Michael Koch  <konqueror@gmx.de>
9573         * javax/swing/DefaultCellRenderer.java: Removed.
9574         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
9575         * Makefile.in: Regenerated.
9577 2005-02-15  Michael Koch  <konqueror@gmx.de>
9579         * javax/swing/AbstractButton.java
9580         (fireItemStateChanged): Made protected.
9581         (fireActionPerformed): Likewise.
9582         (fireStateChanged): Likewise.
9583         * javax/swing/DefaultButtonModel.java
9584         (fireItemStateChanged): Likewise.
9585         (fireActionPerformed): Likewise.
9586         (fireStateChanged): Likewise.
9587         * javax/swing/JApplet.java
9588         (JApplet): Removed.
9589         (frameInit): Likewise.
9590         (setRootPane): Made protected.
9591         (createRootPane): Likewise.
9592         * javax/swing/JComponent.java
9593         (getClientProperty): Likewise.
9594         (putClientProperty): Likewise.
9595         * javax/swing/JEditorPane.java
9596         (getContentType): Likewise.
9597         (setContentType): Likewise.
9598         * javax/swing/JFrame.java
9599         (setRootPane): Likewise.
9600         (createRootPane): Likewise.
9601         * javax/swing/JInternalFrame.java
9602         (getFocusCycleRootAncestor): Made final. Added @since tag.
9603         (isFocusCycleRoot): Likewise.
9604         (getWarningString): Made final.
9605         * javax/swing/JScrollBar.java
9606         (changeListener): Removed.
9607         (changeEvent): Likewise.
9608         (createChangeListener): Likewise.
9609         (fireStateChanged): Likewise.
9610         (addChangeListener): Likewise.
9611         (removeChangeListener): Likewise.
9612         (getChangeListeners): Likewise.
9613         * javax/swing/JScrollPane.java
9614         (createViewport): Made protected.
9615         * javax/swing/JViewport.java
9616         (addImpl): Likewise.
9617         (setBorder): New method.
9618         * javax/swing/JWindow.java
9619         (setRootPane): Made protected.
9620         (createRootPane): Likewise.
9621         * javax/swing/plaf/basic/BasicButtonUI.java
9622         (installListeners): Likewise.
9623         (uninstallListeners): Likewise.
9624         * javax/swing/plaf/basic/BasicProgressBarUI.java
9625         (incrementAnimationIndex): Likewise.
9626         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9627         (createLayoutManager): Likewise.
9628         * javax/swing/table/DefaultTableCellRenderer.java
9629         (firePropertyChange): Likewise.
9630         * javax/swing/table/JTableHeader.java
9631         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
9632         New constructor.
9633         * javax/swing/text/PlainDocument.java
9634         (reindex): Made private.
9635         * javax/swing/text/PlainView.java
9636         (drawLine): Made protected.
9637         (getTabSize): Likewise.
9638         * javax/swing/text/View.java
9639         (setSize): Removed.
9640         (preferenceChanged): New method.
9641         (getBreakWeight): Likewise.
9642         (breakView): Likewise.
9643         (getViewIndex): Likewise.
9645 2005-02-15  Michael Koch  <konqueror@gmx.de>
9647         * javax/swing/JScrollPane.java
9648         (ScrollBar): Made class protected.
9649         * javax/swing/JSpinner.java
9650         (JSpinner): Added @since tag.
9651         (listenerList): Removed.
9652         * javax/swing/JTable.java
9653         (setValueAt): New method.
9654         (getColumn): Likewise.
9655         * javax/swing/JWindow.java
9656         (rootPaneCheckingEnabled): Renamed from checking.
9658 2005-02-15  Michael Koch  <konqueror@gmx.de>
9660         * javax/swing/plaf/basic/BasicTextUI.java
9661         (RootView.modelToView): Made it public and return a java.awt.Shape.
9662         Handle null subview.
9663         (uninstall): Set textComponent to null when its not possible used
9664         anymore.
9665         * javax/swing/text/View.java
9666         (setParent): Use better argument name.
9667         (getContainer): Get parent via getParent().
9668         (getViewFactory): Likewise.
9669         (getAttributes): Get element via getElement().
9670         (getStartOffset): Likewise.
9671         (getEndOffset): Likewise.
9672         (getResizeWeight): New method.
9673         (getMaximumSpan): Likewise.
9674         (getMinimumSpan): Likewise.
9675         (setSize): Likewise.
9676         (getGraphics): Likewise.
9678 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9680         * java/awt/Checkbox.java:
9681         (AccessibleAWTCheckbox()): Added public constructor
9682         to call superclass.
9683         * java/awt/Choice.java:
9684         (AccessibleAWTChoice): Added class documentation.
9685         (AccessibleAWTChoice()): Added public constructor
9686         to call superclass.
9687         (AccessibleAWTChoice.getAccessibleAction()): Documented.
9688         (AccessibleAWTChoice.getAccessibleRole()): Documented,
9689         and changed role to COMBO_BOX.
9690         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
9691         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
9692         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
9694 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9695             Michael Koch  <konqueror@gmx.de>
9697         * javax/swing/LayoutFocusTraversalPolicy.java,
9698         javax/swing/SortingFocusTraversalPolicy.java:
9699         New classes.
9700         * Makefile.am: Added new classes.
9701         * Makefike.in: Regenerated.
9704 2005-02-15  Michael Koch  <konqueror@gmx.de>
9706         * javax/swing/DebugGraphics.java: Mostly implemented.
9708 2005-02-15  Michael Koch  <konqueror@gmx.de>
9710         * javax/swing/SwingUtilities.java
9711         (findFocusOwner): New method.
9713 2005-02-15  Michael Koch  <konqueror@gmx.de>
9715         * javax/swing/text/DefaultEditorKit.java
9716         (read): Added '\n' after each line.
9717         * javax/swing/text/PlainView.java
9718         (modelToView): Update metrics.
9719         (drawLine): Use offsets from element.
9720         (paint): Update metrics. Draw all lines.
9722 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9724         * java/awt/Checkbox.java:
9725         (AccessibleAWTCheckbox): Added class documentation
9726         * java/awt/Scrollbar.java:
9727         (AccessibleAWTScrollBar): typo corrected and docs added
9728         (AccessibleAWTScrollBar.getAccessibleRole()): documented
9729         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
9730         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
9731         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
9732         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
9733         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
9734         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
9735         (getAccessibleContext()): name of accessible class corrected
9737 2005-02-15  Mark Wielaard  <mark@klomp.org>
9739         * java/awt/BasicStroke.java (hashCode): Implement.
9740         (equals): Document.
9742 2005-02-15  Michael Koch  <konqueror@gmx.de>
9744         * java/awt/print/PrinterJob.java
9745         (pageDialog): Throws java.awt.HeadlessException.
9746         (printDialog): Likewise.
9748 2005-02-15  Mark Wielaard  <mark@klomp.org>
9750         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
9752 2005-02-15  Michael Koch  <konqueror@gmx.de>
9754         * javax/swing/JTable.java
9755         (getValueAt): New method.
9756         * javax/swing/table/JTableHeader.java
9757         (columnAtPoint): New method.
9759 2005-02-15  Michael Koch  <konqueror@gmx.de>
9761         * javax/swing/JTextField.java
9762         (actions): New field.
9763         (static): Initalize actions field.
9764         (getActions): New method.
9766 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9768         * java/awt/Checkbox.java:
9769         (AccessibleAWTCheckbox): name capitalization corrected
9770         and serialization UID added.
9771         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
9772         documented.
9773         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
9774         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
9775         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
9776         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
9777         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
9778         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
9779         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
9780         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
9781         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
9782         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
9783         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
9784         documented
9785         (getAccessibleContext()): name of accessible class corrected
9787 2005-02-15  Sven de Marothy  <sven@physto.se>
9789         * java/awt/geom/doc-files/Area-1.png,
9790         java/awt/geom/doc-files/Ellipse-1.png,
9791         java/awt/geom/doc-files/GeneralPath-1.png:
9792         New files.
9794 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
9797         Use union to avoid type-punning warning.
9799 2005-02-15  Michael Koch  <konqueror@gmx.de>
9801         * javax/swing/DefaultListSelectionModel.java
9802         (clone): New method.
9804 2005-02-15  Mark Wielaard  <mark@klomp.org>
9806         Reported by Martin Platter <motse@complang.tuwien.ac.at>
9807         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9808         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
9809         Correct method signature of gtkSetFilename.
9811 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
9813         * javax/swing/text/StringContent.java: New file.
9815 2005-02-15  Michael Koch  <konqueror@gmx.de>
9817         * Makefile.am: Added javax/swing/text/StringContent.java.
9818         * Makefile.in: Regenerated.
9820 2005-02-15  Michael Koch  <konqueror@gmx.de>
9822         * gnu/java/awt/ClasspathToolkit.java:
9823         Import statements reworked.
9824         (imageCache): Made it of type java.util.HashMap.
9826 2005-02-15  Michael Koch  <konqueror@gmx.de>
9828         * javax/imageio/stream/MemoryCacheImageInputStream.java:
9829         Reworked import statements.
9831 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9833         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
9834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
9836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
9838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
9840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
9841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9844         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9845         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
9846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
9847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9848         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
9849         Rewrite uses of extern variable to be function calls.
9850         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
9851         function, from extern variable.
9852         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9853         (gdk_env): Remove variable, add new function.
9854         (java_vm): Add new variable.
9855         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
9856         java_vm rather than old gdk_env variable.
9858 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
9860         * javax/swing/DefaultListModel.java
9861         (add): fire correct event,
9862         (addElement): corrected interval indices in event,
9863         (clear): corrected upper bound for interval, only fire event if
9864         list is not empty,
9865         (setSize): fire appropriate event.
9867 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9869         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
9870         * gnu/awt/xlib/XToolkit.java: Likewise.
9871         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
9872         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
9873         * gnu/java/awt/ClasspathToolkit.java: Likewise.
9874         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
9875         * java/awt/EventQueue.java (getNextEvent):
9876         Adjust event loop to switch to native mode after 100ms.
9877         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
9878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
9879         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
9880         Wake up event thread.
9881         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9882         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
9883         Adjust event loop to switch to java mode after 100ms.
9885 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9887         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
9888         accidentally removed in last change.
9890 2005-02-15  Michael Koch  <konqueror@gmx.de>
9892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9893         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
9895 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9897         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
9898         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
9899         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
9900         * jni.cc: Reuse bottom frame between calls, avoid clearing
9901         frame when no local references are made.
9903 2005-02-15  Michael Koch  <konqueror@gmx.de>
9905         * javax/swing/UIDefaults.java (UIDefaults):
9906         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
9907         Fixed HTML entity and removed a redundant comma.
9909 2005-02-15  Michael Koch  <konqueror@gmx.de>
9911         * javax/swing/text/DefaultEditorKit.java
9912         (deinstall): Removed.
9913         (install): Likewise.
9915 2005-02-15  Michael Koch  <konqueror@gmx.de>
9917         * javax/swing/UIDefaults.java (put): Handle value of null.
9919 2005-02-15  Michael Koch  <konqueror@gmx.de>
9921         * java/awt/Robot.java,
9922         java/awt/Scrollbar.java,
9923         java/awt/print/PrinterJob.java,
9924         javax/swing/JTable.java,
9925         javax/swing/text/AbstractDocument.java:
9926         Reworked import statements.
9928 2005-02-15  Michael Koch  <konqueror@gmx.de>
9930         * javax/swing/JEditorPane.java
9931         (read): Implemented.
9932         (write): Likewise.
9933         * javax/swing/text/DefaultEditorKit.java
9934         (page): Renamed from page_url. Made private.
9935         (editorKit): Renamed from kit. Made private.
9936         (ctype): Removed.
9937         (JEditorPane): All constructors reimplemented.
9938         (getContentType): Use content type from editor kit.
9939         (getEditorKit): Return editorKit.
9940         (getEditorKitForContentType):Likewise.
9941         (getPage): Return page.
9942         (setContentType): Reimplemented.
9943         (setEditorKit): Likewise.
9944         (setEditorKitForContentType): Removed wrong implementation.
9945         (setPage): Implemented.
9947 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
9950         (nativeSetIconImageFromData): Re-add native implementation.
9952 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
9954         * javax/swing/table/DefaultTableModel.java
9955         (DefaultTableModel()): Added Javadocs.
9956         (DefaultTableModel(int, int)): Fixed implementation.
9957         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
9958         for negative rowCount.
9959         (DefaultTableModel(Object[], int)): Added Javadocs.
9960         (DefaultTableModel(Vector, Vector)): Likewise.
9961         (DefaultTableModel(Object[][], Object[])): Likewise.
9962         (getDataVector): Likewise.
9963         (setDataVector(Vector, Vector)): Likewise.
9964         (setDataVector(Object[][], Object[])): Likewise.
9965         (newDataAvailable): Likewise.
9966         (newRowsAdded): Likewise.
9967         (rowsRemoved): Likewise.
9968         (setColumnIdentifiers(Vector)): Allow for null argument.
9969         (setColumnIdentifiers(Object[])): Added Javadocs.
9970         (setNumRows): Likewise.
9971         (setRowCount): Adds new rows if necessary, and sends more specific
9972         TableModelEvent.
9973         (setColumnCount): Allow for null columnIdentifiers.
9974         (addColumn(Object)): Added Javadocs.
9975         (addColumn(Object, Vector)): Handle null columnData.
9976         (addColumn(Object, Object[])): Handle columnData with more or less
9977         entries than rows in the table.
9978         (addRow(Vector)): Fire appropriate event.
9979         (addRow(Object[])): Added Javadocs.
9980         (insertRow(int, Vector)): Fire appropriate event.
9981         (insertRow(int, Object[])): Added Javadocs.
9982         (moveRow): Reimplemented.
9983         (removeRow(int)): Fire appropriate event.
9984         (getColumnCount): Allow for null columnIdentifiers.
9985         (getColumnName): Now returns empty string when column index is too
9986         large.
9987         (isCellEditable): Added Javadocs.
9988         (getValueAt): Likewise.
9989         (setValueAt): Fire more specific event.
9990         (convertToVector): Added Javadocs.
9991         * javax/swing/table/TableModel.java
9992         Added Javadocs.
9994 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9996         * libgcj.spec.in (lib): Add -l-javax-imageio.
9998 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
10000         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
10001         references to event queue q with method call q().
10002         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
10003         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
10004         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
10005         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
10006         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
10007         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
10008         (q): New method.
10010 2005-02-15  Graydon Hoare  <graydon@redhat.com>
10012         * gnu/java/awt/ClasspathToolkit.java
10013         (registerImageIOSpis): New method.
10014         * gnu/java/awt/image/ImageDecoder.java
10015         (imageDecoder): New constructor using InputStream
10016         (startProduction): Handle existing InputStream.
10017         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10018         (findSimpleIntegerArray): Make public and static.
10019         (updateBufferedImage): Set each pixel, in a loop.
10020         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
10021         Implement ImageIO SPI classes.
10022         (createBufferedImage): Rewrite in terms of SPI classes.
10023         * gnu/java/awt/peer/gtk/GtkToolkit.java
10024         (registerImageIOSpis): New method.
10025         * java/lang/reflect/natMethod.cc
10026         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
10027         which lets JNI call interface methods properly.
10028         * javax/imageio/ImageIO.java
10029         (WriterFormatFilter.filter): Fix copy-and-paste typos.
10030         (WriterMIMETypeFilter.filter): Likewise.
10031         (ImageReaderIterator): Pass extension argument through to SPI.
10032         (getReadersByFilter): Likewise.
10033         (getWritersByFilter): Likewise.
10034         (getImageReadersByFormatName): Likewise.
10035         (getImageReadersByMIMEType): Likewise.
10036         (getImageReadersBySuffix): Likewise.
10037         (getImageWritersByFormatName): Likewise.
10038         (getImageWritersByMIMEType): Likewise.
10039         (getImageWritersBySuffix): Likewise.
10040         (read): Implement.
10041         (write): Implement.
10042         * javax/imageio/ImageReader.java
10043         (progressListeners): Initialize.
10044         (setInput): Implement.
10045         * javax/imageio/ImageWriter.java
10046         (progressListeners): Initialize.
10047         (warningListeners): Likewise.
10048         (warningLocales): Likewise.
10049         (setOutput): Test "isInstance" rather than class equality.
10050         * javax/imageio/spi/IIORegistry.java
10051         (static): Add reader and writer SPIs.
10052         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
10053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10054         (query_formats): New function.
10055         (save_to_stream): Likewise.
10056         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
10058 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
10060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
10061         Call XFlush.
10062         (keyPress): Likewise.
10063         (keyRelease): Likewise.
10065 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
10067         * javax/swing/JTable.java
10068         (columnAtPoint): New Method. Implemented.
10069         (rowAtPoint): Likewise.
10070         (countSelections): Fixed few small count errors.
10071         (getSelections): Likewise.
10072         (setSelectionMode): Set selection mode for column
10073         selection model in addition to row selection model.
10074         * javax/swing/plaf/basic/BasicTableUI.java:
10075         (getRowForPoint): Removed. Replaced by
10076         JTable.rowAtPoint().
10077         (getColForPoint): Removed. Replaced by
10078         JTable.columnAtPoint().
10079         (updateSelection): Updated to call JTable.columnAtPoint
10080         and JTable.rowAtPoint.
10081         * javax/swing/table/DefaultTableColumnModel.java:
10082         (getSelectedColumns): Implemented.
10083         (getSelectedColumnCount): Implemented.
10085 2005-02-15  Graydon Hoare  <graydon@redhat.com>
10087         * Makefile.am
10088         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
10089         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
10090         * Makefile.in: Regenerate.
10091         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
10092         * gnu/awt/xlib/XFramePeer.java: Likewise.
10093         * gnu/awt/xlib/XToolkit.java: Likewise.
10094         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
10095         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
10096         * gnu/java/awt/ClasspathToolkit.java
10097         (nativeQueueEmpty)
10098         (wakeNativeQueue)
10099         (iterateNativeQueue): New methods.
10100         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
10101         * gnu/java/awt/peer/gtk/GtkToolkit.java
10102         (gtkInit): Absorb from defunct GtkMainThread class.
10103         (static): Run gtkInit in static startup block.
10104         (GtkToolkit): Remove construction of GtkMainThread and queue.
10105         (getSystemEventQueueImpl): Construct queue when requested.
10106         (nativeQueueEmpty)
10107         (wakeNativeQueue)
10108         (iterateNativeQueue): New methods.
10109         * java/awt/Component.java (removeNotify): Remove race.
10110         * java/awt/EventDispatchThread.java
10111         (EventDispatchThread): Don't start on construction.
10112         (run): Remove isInterrupted check.
10113         * java/awt/EventQueue.java (shutdown): New flag.
10114         (isShutdown): New method checking J2SE shutdown condition.
10115         (setShutdown): New method.
10116         (getNextEvent): Restructure to use ClasspathToolkit.
10117         (postEvent): Activate new thread on posting, wake thread on
10118         post of possible shutdown condition event.
10119         * java/awt/Frame.java
10120         (Frame): Call noteFrame in all constructors.
10121         (fireDummyEvent): New helper method.
10122         (addNotify): Fire a dummy event to wake up queue.
10123         (removeNotify): Fire a dummy event to wake up queue.
10124         (noteFrame): New method.
10125         (weakFrames): New static field.
10126         (getFrames): Implement.
10127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
10128         Remove.
10129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
10130         Move everything from GtkMainThread into this file
10131         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
10132         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
10133         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
10134         New functions to implement single-threaded queue semantics.
10136 2005-02-15  Michael Koch  <konqueror@gmx.de>
10138         * javax/swing/plaf/metal/MetalLookAndFeel.java
10139         (getControlTextFont): New method.
10140         (getMenuTextFont): Likewise.
10141         (getSubTextFont): Likewise.
10142         (getSystemTextFont): Likewise.
10143         (getUserTextFont): Likewise.
10144         (getWindowTitleFont): Likewise.
10146 2005-02-15  Michael Koch  <konqueror@gmx.de>
10148         * javax/swing/text/AbstractDocument.java
10149         (documentFilter): New field.
10150         (getDocumentFilter): New method.
10151         (setDocumentFilter): Likewise.
10152         (dump): Likewise.
10154 2005-02-15  Michael Koch  <konqueror@gmx.de>
10156         * javax/swing/JTree.java
10157         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
10159 2005-02-15  Michael Koch  <konqueror@gmx.de>
10161         * javax/swing/text/AbstractDocument.java
10162         (AbstractElement.getLength): Fixed off-by-one error.
10163         (AbstractElement.children): Made abstract.
10164         (AbstractElement.getAllowsChildren): Likewise.
10165         (AbstractElement.getElement): Likewise.
10166         (AbstractElement.dumpElement): New private method.
10167         (AbstractElement.dump): New method.
10168         (BranchElememt.getName): Fixed implementation.
10169         (BranchElememt.toString): Likewise.
10170         (BranchElememt.getElement): Fixed arguments.
10171         (LeafElement.getName): Fixed implementation.
10172         (LeafElement.toString): Likewise.
10173         * javax/swing/text/GapContent.java
10174         (GapContent): Put default content into buffer.
10175         * javax/swing/text/PlainDocument.java
10176         (reindex): Use empty attribute sets instead of null.
10177         (createDefaultRoot): Reimplemented.
10178         (insertUpdate): Call super method.
10179         (removeUpdate): Likewise.
10180         (getParagraphElement): Implemented.
10182 2005-02-15  Michael Koch  <konqueror@gmx.de>
10184         * gnu/java/awt/ClasspathToolkit.java
10185         (createRobot): Throws java.awt.AWTException.
10186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
10187         Added '__attribute__((unused))' to all unused method arguments.
10189 2005-02-15  Michael Koch  <konqueror@gmx.de>
10191         * javax/swing/DefaultBoundedRangeModel.java
10192         (fireValueChanged): Fixed off-by-one error.
10194 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
10196         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
10197         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
10198         GdkRobotPeer.java.
10199         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
10200         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
10201         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
10202         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
10203         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10204         (getDefaultScreenDevice): Implement.
10205         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
10206         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
10207         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
10208         * java/awt/Robot.java: Implement.
10209         * java/awt/peer/RobotPeer.java: Rename parameters.
10210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
10211         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10212         (awt_keycode_to_keysym): Make non-static.
10213         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
10214         AWT_BUTTON3_MASK): Declare constants.
10215         (awt_keycode_to_keysym): Declare.
10217         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
10218         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
10219         and is non-empty pass its value to "make check".
10220         (test_mauve_sim): Likewise.
10222 2005-02-15  Michael Koch  <konqueror@gmx.de>
10224         * javax/imageio/IIOParam.java
10225         (setSourceBands): New method.
10226         (setSourceSubsampling): Likewise.
10227         * javax/imageio/ImageReadParam.java
10228         (setDestination): Likewise.
10229         (setDestinationBands): Likewise.
10230         (setSourceProgressivePasses): Likewise.
10231         * javax/imageio/metadata/IIOInvalidTreeException.java
10232         (serialVersionUID): New static field.
10233         * javax/imageio/metadata/IIOMetadataNode.java
10234         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
10235         (parent): Dont initailize with default value explicitely.
10236         (Object): Likewise.
10237         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
10238         (removeAttributeNode): Likewise.
10239         (removeAttributeNS): Likewise.
10240         (setAttribute): Likewise.
10241         (setAttributeNode): Likewise.
10242         (setAttributeNodeNS): Likewise.
10243         (setAttributeNS): Likewise.
10244         (appendChild): Likewise.
10245         (getNodeValue): Likewise.
10246         (insertBefore): Likewise.
10247         (removeChild): Likewise.
10248         (replaceChild): Likewise.
10249         (setPrefix): Likewise.
10251 2005-02-15  Michael Koch  <konqueror@gmx.de>
10253         * javax/swing/LookAndFeel.java
10254         (getDesktopPropertyValue): New method.
10256 2005-02-15  Michael Koch  <konqueror@gmx.de>
10258         * javax/swing/JTree.java
10259         (hasChildren): New instance field.
10261 2005-02-15  Michael Koch  <konqueror@gmx.de>
10263         * javax/swing/JComponent.java
10264         (getToolTipText): New method.
10265         (getTitledBorderText): Likewise.
10266         (getAccessibleKeyBinding): Likewise.
10267         (getVerifyInputWhenFocusTarget): Likewise.
10268         (setVerifyInputWhenFocusTarget): Likewise.
10269         (verifyInputWhenFocusTarget): New instance field.
10271 2005-02-15  Michael Koch  <konqueror@gmx.de>
10273         * javax/swing/DefaultListSelectionModel.java
10274         (fireValueChanged): New method.
10276 2005-02-15  Michael Koch  <konqueror@gmx.de>
10278         * javax/swing/DefaultBoundedRangeModel.java:
10279         Fixed javadocs all over.
10280         (fireStateChanged): Simplified.
10281         * javax/swing/BoundedRangeModel.java:
10282         Reformatted.
10284 2005-02-15  Michael Koch  <konqueror@gmx.de>
10286         * javax/swing/JRootPane.java
10287         (setMenuBar): Added @deprecated tag.
10288         (getMenuBar): Likewise.
10289         * javax/swing/JTable.java
10290         (sizeColumnsToFit): Likewise.
10292 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
10294         * javax/swing/ImageIcon.java (setImage): Implemented.
10296 2005-02-15  Michael Koch  <konqueror@gmx.de>
10298         * javax/swing/JTable.java:
10299         Removed unused imports.
10301 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
10303         (prepareRenderer): Get column's index in dataModel instead
10304         of column's view index.
10305         (getColumnCount): return count of the columns in ColumnModel,
10306         not in dataModel.
10307         (removeColumn): Implemented.
10308         (moveColumm): Likewise.
10309         (setRowHeight): throw IllegalArgumentException if height is
10310         less then 1.
10311         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
10312         (DefaultTableColumnModel):Add call to createSelectionModel().
10313         (addColumn): Fire columnAdded event to registered listeners.
10314         (removeColumn): Fire columnRemoved event to registered listeners.
10315         (moveColumn): Fire columnMoved event to registered listeners.
10316         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
10317         (getColumnIndex): Changed parameter name.
10318         (setColumnSelectionAllowed): Likewise.
10319         (fireColumnAdded): Implemented.
10320         (fireColumnRemoved): Likewise.
10321         (fireColumnMoved): Likewise.
10322         (fireColumnMarginChanged): Likewise.
10323         (getListeners): Changed parameter name.
10324         (propertyChange): Implemented.
10325         (valueChanged): Changed parameter name.
10326         (createSelectionModel): Implemented.
10328 2005-02-15  Michael Koch  <konqueror@gmx.de>
10330         * gnu/java/awt/peer/gtk/GtkToolkit.java:
10331         Explicitely import used classes.
10332         (getLocalGraphicsEnvironment): Simplify.
10333         * java/awt/Window.java (Window):
10334         Enable code to get the default GraphicsConfiguration.
10336 2005-02-15  Michael Koch  <konqueror@gmx.de>
10338         * javax/swing/plaf/metal/DefaultMetalTheme.java
10339         (CONTROL_TEXT_FONT): New static field.
10340         (MENU_TEXT_FONT): Likewise.
10341         (SUB_TEXT_FONT): Likewise.
10342         (SYSTEM_TEXT_FONT): Likewise.
10343         (USER_TEXT_FONT): Likewise.
10344         (WINDOW_TITLE_FONT): Likewise.
10345         (getControlTextFont): New method.
10346         (getMenuTextFont): Likewise.
10347         (getSubTextFont): Likewise.
10348         (getSystemTextFont): Likewise.
10349         (getUserTextFont): Likewise.
10350         (getWindowTitleFont): Likewise.
10351         * javax/swing/plaf/metal/MetalTheme.java
10352         (BLACK): Initialize with Color.BLACK.
10353         (WHITE): Initialize with Color.WHITE.
10354         (getInactiveControlTextColor): Return getControlDisabled().
10355         (getMenuDisabledForeground): Return getSecondary3().
10356         (getControlTextFont): New abstract method.
10357         (getMenuTextFont): Likewise.
10358         (getSubTextFont): Likewise.
10359         (getSystemTextFont): Likewise.
10360         (getUserTextFont): Likewise.
10361         (getWindowTitleFont): Likewise.
10363 2005-02-15  Michael Koch  <konqueror@gmx.de>
10365         * javax/swing/JFormattedTextField.java
10366         (getFocusLostBehavior): Fixed typo in method name.
10367         (setFocusLostBehavior): Likewise.
10369 2005-02-15  Michael Koch  <konqueror@gmx.de>
10371         * javax/swing/TransferHandler.java:
10372         Reworked import statements.
10374 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10376         * java/awt/Button.java,
10377         java/awt/Canvas.java,
10378         java/awt/Checkbox.java,
10379         java/awt/CheckboxMenuItem.java,
10380         java/awt/Choice.java,
10381         java/awt/Dialog.java,
10382         java/awt/Frame.java,
10383         java/awt/Label.java,
10384         java/awt/List.java,
10385         java/awt/Menu.java,
10386         java/awt/MenuBar.java,
10387         java/awt/MenuItem.java,
10388         java/awt/PopupMenu.java,
10389         java/awt/ScrollPane.java,
10390         java/awt/Scrollbar.java,
10391         java/awt/TextArea.java,
10392         java/awt/Window.java (getAccessibleContext): Clean up comments.
10393         Reformat.
10394         * java/awt/Button.java,
10395         java/awt/Checkbox.java,
10396         java/awt/Choice.java,
10397         java/awt/Menu.java,
10398         java/awt/PopupMenu.java,
10399         java/awt/TextArea.java (getAccessibleContext): Only create new
10400         accessible once.
10401         * java/awt/TextComponent.java (getAccessibleContext): Implement.
10403 2005-02-15  Michael Koch  <konqueror@gmx.de>
10405         * java/awt/Button.java,
10406         javax/swing/JApplet.java,
10407         javax/swing/JFormattedTextField.java,
10408         javax/swing/JWindow.java,
10409         javax/swing/JTree.java,
10410         javax/swing/plaf/basic/BasicEditorPaneUI.java,
10411         javax/swing/plaf/basic/BasicTextPaneUI.java,
10412         javax/swing/plaf/basic/BasicTreeUI.java:
10413         Reworked import statements.
10415 2005-02-15  Michael Koch  <konqueror@gmx.de>
10417         * Makefile.am: Put javax.imageio into its own library and link it
10418         against lib-org-w3c-dom.la to fix bootstrapping.
10419         * Makefile.in: Regenerated.
10421 2005-02-15  Michael Koch  <konqueror@gmx.de>
10423         * javax/swing/text/TextAction.java
10424         (getTextComponent): Simplified. Added Javadoc.
10425         (augmentList): Implemented. Added Javadoc.
10426         (getFocusedComponent): Added javadoc.
10428 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10430         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
10431         getAccessibleContext): Implement.
10432         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
10433         getAccessibleContext): Implement.
10435 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10437         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
10438         Implement.
10439         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
10440         Implement.
10441         * java/awt/Window.java (getAccessibleContext): Fix comment.
10442         Remove extra import.
10444 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10446         * java/awt/Window.java (AccessibleAWTWindow): Implement.
10447         (isActive, isFocused, getAccessibleContext): Implement.
10449 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10451         * java/awt/MenuItem.java (getAccessibleContext): Implement.
10452         * java/awt/MenuComponent.java (accessibleContext): Make package
10453         visible.
10454         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
10455         AccessibleAWTCheckboxMenuItem): Implement.
10457 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10459         * java/awt/List.java: Implement AccessibleAWTList,
10460         AccessibleAWTListChild.
10462 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10464         * java/awt/Choice.java: Add implements declaration for
10465         Accessible.
10467 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10469         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
10470         instead of Object.
10472 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10474         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
10475         implemented interface list.
10477 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
10479         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
10480         * javax/imageio/metadata/IIOAttr.java: New class.
10481         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
10482         * javax/imageio/metadata/IIONodeList.java: New class.
10483         * Makefile.am: Added new files.
10484         * Makefile.in: Regenerated.
10486 2005-02-15  Michael Koch  <konqueror@gmx.de>
10488         * javax/swing/AbstractAction.java,
10489         javax/swing/AbstractCellEditor.java,
10490         javax/swing/AbstractListModel.java,
10491         javax/swing/DefaultBoundedRangeModel.java,
10492         javax/swing/DefaultButtonModel.java,
10493         javax/swing/DefaultCellEditor.java,
10494         javax/swing/DefaultComboBoxModel.java,
10495         javax/swing/DefaultDesktopManager.java,
10496         javax/swing/JMenu.java,
10497         javax/swing/JSlider.java,
10498         javax/swing/KeyStroke.java,
10499         javax/swing/OverlayLayout.java,
10500         javax/swing/ScrollPaneLayout.java,
10501         javax/swing/SizeRequirements.java,
10502         javax/swing/ViewportLayout.java:
10503         Made serialVersionUID private.
10505 2005-02-15  Michael Koch  <konqueror@gmx.de>
10507         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10508         Reformatted.
10510 2005-02-15  Michael Koch  <konqueror@gmx.de>
10512         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
10514 2005-02-15  Michael Koch  <konqueror@gmx.de>
10516         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
10518 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
10520         * java/awt/EventDispatchThread.java,
10521         java/awt/Toolkit.java:
10522         Don't catch java.lang.ThreadDeath.
10524 2005-02-15  Michael Koch  <konqueror@gmx.de>
10526         * javax/swing/text/PasswordView.java
10527         (drawEchoCharacter): Added javadoc.
10528         (drawSelectedText): Likewise.
10529         (drawUnselectedText): Likewise.
10531 2005-02-15  Michael Koch  <konqueror@gmx.de>
10533         * javax/swing/JRootPane.java
10534         (windowDecorationStyle): New field.
10535         (setMenuBar): New method.
10536         (getMenuBar): Likewise.
10537         (getWindowDecorationStyle): Likewise.
10538         (setWindowDecorationStyle): Likewise.
10540 2005-02-15  Michael Koch  <konqueror@gmx.de>
10542         * javax/swing/DefaultListSelectionModel.java
10543         (leadAnchorNotificationEnabled): Made protected.
10545 2005-02-15  Michael Koch  <konqueror@gmx.de>
10547         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
10548         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
10549         * Makefile.in: Regenerated.
10552 2005-02-15  Michael Koch  <konqueror@gmx.de>
10554         * javax/swing/JFormattedTextField.java: Implemented.
10555         * javax/swing/JWindow.java
10556         (JWindow): New constructors.
10557         (initWindow): Renamed from initFrame.
10558         * javax/swing/UIDefaults.java
10559         (ActiveValue): Made interface static.
10560         (LazyValue): Likewise.
10561         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
10562         (TitlePaneLayout.TitlePaneLayout): New constructor.
10563         * javax/swing/plaf/basic/BasicSliderUI.java
10564         (ChangeHandler): Made public.
10565         (FocusHandler): Likewise.
10566         (PropertyChangeHandler): Likewise.
10567         (ScrollListener): Likewise.
10568         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10569         (FocusHandler): Likewise.
10570         (MouseHandler): Likewise.
10571         * javax/swing/plaf/basic/BasicTextPaneUI.java
10572         (BasicTextPaneUI): Extend BasicEditorPaneUI.
10573         * javax/swing/plaf/basic/BasicToolBarUI.java
10574         (BasicToolBarUI): Simplified. Reworked javadoc.
10575         (canDock): Simplified. Make public.
10576         (DockingListener): Made public.
10577         * javax/swing/text/JTextComponent.java
10578         (navigationFilter): New field.
10579         (getNavigationFilter): New method.
10580         (setNavigationFilter): Likewise.
10582 2005-02-15  Michael Koch  <konqueror@gmx.de>
10584         * javax/swing/plaf/metal/MetalTheme.java
10585         (getControlTextColor): Return getControlInfo().
10586         (getHighlightedTextColor): Return getControlTextColor().
10588 2005-02-15  Michael Koch  <konqueror@gmx.de>
10590         * javax/swing/plaf/basic/BasicButtonListener.java
10591         (BasicButtonListener): New constructor.
10592         * javax/swing/plaf/basic/BasicButtonUI.java
10593         (createButtonListener): Usw new BasicButtonListener constructor.
10595 2005-02-15  Michael Koch  <konqueror@gmx.de>
10597         * javax/imageio/event/package.html,
10598         javax/imageio/metadata/package.html: New files.
10600 2005-02-15  Michael Koch  <konqueror@gmx.de>
10602         * java/awt/image/MemoryImageSource.java: Reformatted.
10604 2005-02-15  Michael Koch  <konqueror@gmx.de>
10606         * javax/swing/tree/TreeCellEditor.java: Refomatted.
10608 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
10610         * java/awt/color/ICC_Profile.java
10611         (finalize): Removed pointless field assignments.
10613 2005-02-15  Michael Koch  <konqueror@gmx.de>
10615         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
10616         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
10617         * Makefile.in: Regenerated.
10619 2005-02-15  Michael Koch  <konqueror@gmx.de>
10621         * javax/swing/text/DefaultStyledDocument.java: New file.
10622         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
10623         * Makefile.in: Regenerated.
10625 2005-02-15  Michael Koch  <konqueror@gmx.de>
10627         * javax/swing/JFileChooser.java
10628         (showDialog): Return CANCEL_OPTION for now.
10629         (showOpenDialog): Likewise.
10630         (showSaveDialog): Likewise.
10632 2005-02-15  Michael Koch  <konqueror@gmx.de>
10634         * javax/swing/JApplet.java
10635         (HIDE_ON_CLOSE): Removed.
10636         (EXIT_ON_CLOSE): Likewise.
10637         (DISPOSE_ON_CLOSE): Likewise.
10638         (DO_NOTHING_ON_CLOSE): Likewise.
10639         (close_action): Likewise.
10640         (getDefaultCloseOperation): Likewise.
10641         (setDefaultCloseOperation): Likewise.
10642         (processWindowEvent): Likewise.
10643         (getPreferredSize): Simplified.
10644         * javax/swing/JInternalFrame.java
10645         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
10646         value.
10647         * javax/swing/JWindow.java
10648         (HIDE_ON_CLOSE): Removed.
10649         (EXIT_ON_CLOSE): Likewise.
10650         (DISPOSE_ON_CLOSE): Likewise.
10651         (DO_NOTHING_ON_CLOSE): Likewise.
10652         (close_action): Likewise.
10653         (processKeyEvent): Likewise.
10654         (setDefaultCloseOperation): Likewise.
10655         (getPreferredSize): Simplified.
10657 2005-02-15  Michael Koch  <konqueror@gmx.de>
10659         * javax/swing/JTextField.java
10660         (getPreferredSize): Re-implemented.
10662 2005-02-15  Michael Koch  <konqueror@gmx.de>
10664         * javax/swing/JLabel.java
10665         (setDisplayedMnemonic): Use only upper case characters.
10666         (setDisplayedMnemonicIndex): Handle index == -1 and fire
10667         PropertyChangeEvent after property got set to the new index.
10669 2005-02-15  Robert Schuster <thebohemian@gmx.net>
10671         * javax/swing/JComboBox.java:
10672         (JComboBox): Removed selection of the
10673         first item in the model.
10675 2005-02-15  Robert Schuster <thebohemian@gmx.net>
10677         * javax/swing/JComboBox.java
10678         added support for no item being selected
10679         (JComboBox): select first or nothing depending on element count
10680         (setModel): cleaned up unneeded "this." usage, added more
10681         docs, made exception behavior match that of the JDK
10682         (setLighWeightPopupEnabled): removed unneeded "this." usage
10683         (setEditable): dito
10684         (setMaximumRowCount): dito
10685         (setRenderer): dito
10686         (setPrototypeDisplayValue): dito
10687         (getSelectedItem): simplified, added more user doc
10688         (setSelectedIndex): corrected exception behavior, added more user doc
10689         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
10690         added performance warning to user doc
10691         (addItem): fixed exception behavior, added user doc
10692         (insertItemAt): dito
10693         (removeItem): dito
10694         (removeItemAt): dito
10695         (removeAll): fixed exception behavior, added user doc, added support
10696         for model not being instance of DefaultComboBoxModel
10697         (getSelectedItemObjects): simplified
10698         (getItemCount): fixed dependency on DefaultComboBoxModel
10699         (getItemAt): fixed dependency on MutableComboBoxModel
10700         * javax/swing/DefaultComboBoxModel.java:
10701         (setSelectedItem): updates selected item only if new
10702         value is null or known (match JDK behavior)
10703         * javax/swing/plaf/basic/BasicComboBoxUI.java:
10704         (paintCurrentValue): renders "" if no item is selected
10706 2005-02-15  Michael Koch  <konqueror@gmx.de>
10708         * javax/swing/plaf/metal/MetalTheme.java,
10709         javax/swing/plaf/metal/DefaultMetalTheme.java:
10710         New files.
10711         * javax/swing/plaf/metal/MetalLookAndFeel.java
10712         * Makefile.am: Added the new files.
10713         * Makefile.in: Regenerated.
10715 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
10717         * javax/swing/JTable.java
10718         (editorComp): New field.
10719         (JTable): Initialize local variables and call updateUI
10720         (selectionBackground): Make protected.
10721         (selectionForeground): Likewise.
10722         (initializeLocalVars): Create default editors and renderers,
10723         initialize editingColumn, editingRow variables.
10724         (createDefaultEditors): New Method.
10725         (createDefaultRenderers): Likewise.
10726         (createDefaultListSelectionModel): Removed
10727         (createDefaultSelectionModel): New Method.
10728         (createDefaultTableHeader): Likewise
10729         (removeColumn): Likewise.
10730         (getEditingColumn): Likewise.
10731         (setEditingColumn): Likewise.
10732         (getEditingRow): Likewise.
10733         (setEditingRow): Likewise.
10734         (getEditorComponent): Likewise.
10735         (isEditing): Likewise.
10736         (setDefaultEditor): Likewise.
10737         (addColumnSelectionInterval): Likewise.
10738         (addRowSelectionInterval): Likewise.
10739         (setColumnSelectionInterval): Likewise.
10740         (setRowSelectionInterval): Likewise.
10741         (removeColumnSelectionInterval): Likewise.
10742         (removeRowSelectionInterval): Likewise.
10743         (isColumnSelected): Likewise.
10744         (isRowSelected): Likewise.
10745         (isCellSelected): Likewise.
10746         (selectAll): Likewise.
10748 2005-02-15  Michael Koch  <konqueror@gmx.de>
10750         * javax/swing/JTable.java
10751         (addColumn): New method.
10752         (getColumnClass): Likewise.
10753         (getColumnName): Likewise.
10755 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
10757         * javax/swing/TransferHandler.java
10758         (createTransferable): Made protected.
10760 2005-02-15  Michael Koch  <konqueror@gmx.de>
10762         * javax/swing/JTable.java,
10763         javax/swing/plaf/basic/BasicTableHeaderUI.java,
10764         javax/swing/plaf/basic/BasicTableUI.java:
10765         Use fixed get/setIntercellSpacing() methods.
10767 2005-02-15  Michael Koch  <konqueror@gmx.de>
10769         * javax/swing/JTable.java
10770         (getIntercellSpacing): Fixed typo in method name.
10771         (setIntercellSpacing): Likewise.
10773 2005-02-15  Michael Koch  <konqueror@gmx.de>
10775         * javax/swing/text/JTextComponent.java
10776         (focusAccelerator): New variable.
10777         (getFocusAccelerator): New method.
10778         (setFocusAccelerator): Likewise.
10780 2005-02-15  Michael Koch  <konqueror@gmx.de>
10782         * javax/swing/JComponent.java
10783         (setTransferHandler): Made public. Fire property change event.
10784         * javax/swing/TransferHandler.java: Implemented.
10785         * javax/swing/text/JTextComponent.java
10786         (DefaultTransferHandler): New inner class.
10787         (defaultTransferHandler): New variable.
10788         (copy): New method.
10789         (cut): Likewise.
10790         (paste): Likewise.
10791         (doTransferAction): Likewise.
10793 2005-02-15  Michael Koch  <konqueror@gmx.de>
10795         * javax/swing/JTree.java
10796         (collapsePath): New method.
10797         (collapseRow): Likewise.
10798         (expandPath): Likewise.
10799         (expandRow): Likewise.
10800         (checkExpandParents): Likewise.
10801         (doExpandParents): Likewise.
10802         (setExpandedState): Likewise.
10803         (makeVisible): Likewise.
10805 2005-02-15  Michael Koch  <konqueror@gmx.de>
10807         * javax/swing/JPasswordField.java: Updated javadocs.
10809 2005-02-15  Michael Koch  <konqueror@gmx.de>
10811         * javax/swing/JLayeredPane.java
10812         (getLayer): Fixed return type, made public.
10813         (getPosition): Use new getLayer().
10814         (SetPosition): Likewise.
10815         (getIndexOf): Likewise.
10816         (remove): Likewise.
10817         * javax/swing/JInternalFrame.java
10818         (getLayer): Use new JLayeredPane.getLayer().
10821 2005-02-15  Michael Koch  <konqueror@gmx.de>
10823         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
10824         (setHeaderValue): Simplified. Do nothing when old value == new value.
10826 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
10828         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
10829         against null clip region.
10830         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
10831         gtkWindowSetResizable.
10832         (postConfigureEvent): Only revalidate if frame size has changed.
10833         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
10834         Only revalidate if frame size has changed.
10835         * java/awt/Component.java (reshape): Only repaint and post
10836         component events if component is showing.
10837         * java/awt/Container.java (addImpl): Only post container event if
10838         container is showing.
10839         (remove): Likewise.
10840         * java/awt/Window.java (setLocationRelativeTo): Implement.
10841         (setBoundsCallback): Only post component events if component is
10842         showing.
10843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
10844         Protect against null graphics structure.  Flush gdk event queue.
10846 2005-02-15  Michael Koch  <konqueror@gmx.de>
10848         * javax/imageio/ImageReader.java,
10849         javax/imageio/ImageTranscoder.java,
10850         javax/imageio/ImageWriter.java,
10851         javax/imageio/spi/ImageInputStreamSpi.java,
10852         javax/imageio/spi/ImageOutputStreamSpi.java,
10853         javax/imageio/spi/ServiceRegistry.java,
10854         javax/imageio/stream/ImageInputStream.java,
10855         javax/imageio/stream/ImageOutputStream.java: Updated.
10856         * javax/imageio/IIOException.java,
10857         javax/imageio/IIOImage.java,
10858         javax/imageio/IIOParam.java,
10859         javax/imageio/IIOParamController.java,
10860         javax/imageio/ImageIO.java,
10861         javax/imageio/ImageReadParam.java,
10862         javax/imageio/ImageTypeSpecifier.java,
10863         javax/imageio/ImageWriteParam.java,
10864         javax/imageio/spi/IIORegistry.java,
10865         javax/imageio/spi/ImageReaderSpi.java,
10866         javax/imageio/spi/ImageWriterSpi.java,
10867         javax/imageio/stream/FileCacheImageInputStream.java,
10868         javax/imageio/stream/FileCacheImageOutputStream.java,
10869         javax/imageio/stream/FileImageInputStream.java,
10870         javax/imageio/stream/FileImageOutputStream.java,
10871         javax/imageio/stream/ImageInputStreamImpl.java,
10872         javax/imageio/stream/ImageOutputStreamImpl.java,
10873         javax/imageio/stream/MemoryCacheImageInputStream.java,
10874         javax/imageio/stream/MemoryCacheImageOutputStream.java,
10875         javax/imageio/event/IIOReadProgressListener.java,
10876         javax/imageio/event/IIOReadUpdateListener.java,
10877         javax/imageio/event/IIOReadWarningListener.java,
10878         javax/imageio/event/IIOWriteProgressListener.java,
10879         javax/imageio/event/IIOWriteWarningListener.java,
10880         javax/imageio/metadata/IIOMetadata.java,
10881         javax/imageio/metadata/IIOMetadataController.java,
10882         javax/imageio/metadata/IIOMetadataFormat.java,
10883         javax/imageio/metadata/IIOInvalidTreeException.java,
10884         javax/imageio/metadata/IIOMetadataFormatImpl.java,
10885         javax/imageio/metadata/IIOMetadataNode.java: New files.
10886         * Makefile.am (javax_source_files): Added new files
10887         * Makefile.in: Regenerated.
10889 2005-02-15  Graydon Hoare  <graydon@redhat.com>
10891         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10892         Rework painting into BufferedImages
10893         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
10894         Construct BufferedImage with alpha only when alpha is
10895         present in colormodel.
10896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10897         Rework painting into client-side jint arrays.
10898         * jni/gtk-peer/gtkcairopeer.h:
10899         Likewise.
10901 2005-02-15  Michael Koch  <konqueror@gmx.de>
10903         * javax/swing/DefaultListCellRenderer.java
10904         (serialVersionUID): Made private.
10905         (getListCellRendererComponent): Set horizontal alignment.
10906         * javax/swing/JLabel.java
10907         (setVerticalAlignment): Re-implemented.
10908         (setHorizontalAlignment): Do nothing if old value = new value.
10909         * javax/swing/JList.java
10910         (setCellRenderer): Likewise.
10911         (setModel): Re-implemented.
10912         (setSelectionModel): Likewise.
10914 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
10916         * java/awt/Component.java,
10917         java/awt/geom/Rectangle2D.java:
10918         Javadoc fixes.
10920 2005-02-15  Michael Koch  <konqueror@gmx.de>
10922         * javax/swing/AbstractListModel.java
10923         (fireContentsChanged): Simplified.
10924         (fireIntervalAdded): Likewise.
10925         (fireIntervalRemoved): Likewise.
10926         * javax/swing/DefaultSingleSelectionModel.java:
10927         Reformatted.
10928         (fireStateChanged): Simplified.
10929         * javax/swing/JPopupMenu.java
10930         (setSelectionModel): Set property.
10932 2005-02-15  Michael Koch  <konqueror@gmx.de>
10934         * java/awt/print/Book.java: Reformatted.
10936 2005-02-15  Michael Koch  <konqueror@gmx.de>
10938         * java/awt/geom/Area.java
10939         (QuadSegment.curveArea): Remove unused variables.
10940         (CubicSegment.curveArea): Likewise.
10942 2005-02-15  Michael Koch  <konqueror@gmx.de>
10944         * javax/swing/JTree.java
10945         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
10946         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
10947         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
10948         (EXPANDED): New constant.
10949         (COLLAPSED): Likewise.
10950         (nodeStates): New field.
10951         (cellEditor): New method.
10952         (cellRenderer): Likewise.
10953         (selectionModel): Likewise.
10954         (treeModel): Likewise.
10955         (scrollPathToVisible): Likewise.
10956         (scrollRowToVisible): Likewise.
10957         (isCollapsed): Likewise.
10958         (isExpanded): Likewise.
10959         (clearToggledPaths): Likewise.
10960         (getDescendantToggledPaths): Likewise.
10961         (hasBeenExpanded): Likewise.
10962         (isVisible): Likewise.
10963         (isPathEditable): Likewise.
10965 2005-02-15  Michael Koch  <konqueror@gmx.de>
10967         * javax/swing/JLayeredPane.java: Reformatted.
10969 2005-02-15  Michael Koch  <konqueror@gmx.de>
10971         * javax/swing/tree/DefaultMutableTreeNode.java:
10972         Completely Revised.
10973         * javax/swing/tree/MutableTreeNode.java:
10974         Reformatted.
10976 2005-02-15  Michael Koch  <konqueror@gmx.de>
10978         * javax/swing/JFormattedTextField.java
10979         (setDocument): Call setDocument of super class. Don't fire property
10980         change event.
10982 2005-02-15  Sven de Marothy  <sven@physto.se>
10984         * java/awt/image/IndexColorModel.java:
10985         Add FIXME with respect to alpha handling.
10986         (getAlpha): Default to returning opaque pixels.
10987         * java/awt/image/MultiPixelPackedSampleModel.java
10988         (MultiPixelPackedSampleModel): Corrected parameters, order of
10989         bit shifts and masks, stride length off by one.
10991 2005-02-15  Michael Koch  <konqueror@gmx.de>
10993         * javax/swing/JList.java, javax/swing/JTree.java:
10994         Added much new methods and fixed much methods setting bound properties.
10996 2005-02-16  Mark Wielaard  <mark@klomp.org>
10998         * Makefile.am (gnu_xml_source_files): Removed
10999         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
11000         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
11001         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
11002         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
11003         gnu/xml/dom/DomDocumentFragment.java,
11004         gnu/xml/dom/DomProcessingInstruction.java and
11005         gnu/xml/dom/ls/DomLSException.java.
11006         * Makefile.in: Regenerated.
11008 2005-02-16  Tom Tromey  <tromey@redhat.com>
11010         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
11011         attribute index is out of bounds.
11013 2005-02-16  Chris Burdess  <dog@gnu.org>
11015         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
11016         isDeclared methods. Improved performance of isSpecified methods.
11018 2005-02-16  Chris Burdess  <dog@gnu.org>
11020         Fixes bug libgcj/19864
11021         * gnu/xml/dom/DomAttr.java,
11022         gnu/xml/dom/DomCDATA.java,
11023         gnu/xml/dom/DomCDATASection.java,
11024         gnu/xml/dom/DomCharacterData.java,
11025         gnu/xml/dom/DomDOMException.java,
11026         gnu/xml/dom/DomDoctype.java,
11027         gnu/xml/dom/DomDocument.java,
11028         gnu/xml/dom/DomDocumentConfiguration.java,
11029         gnu/xml/dom/DomDocumentFragment.java,
11030         gnu/xml/dom/DomElement.java,
11031         gnu/xml/dom/DomEx.java,
11032         gnu/xml/dom/DomFragment.java,
11033         gnu/xml/dom/DomImpl.java,
11034         gnu/xml/dom/DomIterator.java,
11035         gnu/xml/dom/DomNamedNodeMap.java,
11036         gnu/xml/dom/DomNode.java,
11037         gnu/xml/dom/DomNsNode.java,
11038         gnu/xml/dom/DomPI.java,
11039         gnu/xml/dom/DomProcessingInstruction.java,
11040         gnu/xml/dom/DomText.java,
11041         gnu/xml/dom/DomLSEx.java,
11042         gnu/xml/dom/DomLSException.java,
11043         gnu/xml/dom/DomLSParser.java,
11044         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
11045         implementation class names to conform to Classpath guidelines.  Make
11046         DomLSException use JDK 1.4+ exception chaining.
11047         * gnu/xml/util/SAXNullTransformerFactory.java,
11048         gnu/xml/xpath/Predicate.java: Use constants relative to
11049         declaring class or interface.
11051 2005-02-16  Andrew Haley  <aph@redhat.com>
11053         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
11054         null, create a new AccessControlContext.
11055         * java/security/SecureClassLoader.java (protectionDomainCache):
11056         new field.
11057         (defineClass): Create a new protection domain and add it to our
11058         cache.
11060         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
11061         addStub() to keep track of the stub we've exported.
11062         (unexportObject): Call deleteStub().
11063         * java/rmi/server/RemoteObject.java (stubs): New field.
11064         (addStub): New method.
11065         (deleteStub): New method.
11066         (toStub): Rewrite.
11068         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
11069         true to findHelper (tryParents).
11070         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
11071         Likewise.
11072         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
11073         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
11074         ProtectionDomain.
11075         If tryParents is false, don't scan parent class loaders.
11077         * java/security/Permissions.java (PermissionsHash.implies):
11078         Iterate over the collection and invoke implies() on each
11079         element.
11081 2005-02-16  Andrew Haley  <aph@redhat.com>
11083         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
11084         fields.
11085         (PersistentByteMap): Set name
11086         Magic number changed to 0x67636a64 ("gcjd").
11087         (init): Force the map to be prime.
11088         (emptyPersistentByteMap): File name was a string, now a File.
11089         (addBytes): Share srings between entries.
11090         (stringTableSize): New method.
11091         (capacity): Scale by load factor.
11092         (force): New method.
11093         (getFile): New method.
11094         (close): New method.
11095         (putAll): New method.
11096         (ByteWrapper): New class.
11097         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
11098         (main): Guess the average string size as 32, not 64.
11099         Copy a database before modifying it, so that we can update a
11100         database in a running system.
11101         If a database isn't big enough, resize it.
11102         "-m": new option: merges databases.
11103         "-a": Create a new detabase if it doesn't exist.
11104         (usage): Correct, add new option.
11105         (addJar): Copy a database before modifying it.
11106         (resizeMap): New method.
11108 2005-02-15  David Daney <ddaney@avtrex.com>
11109             Bryce McKinlay  <mckinlay@redhat.com>
11111         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
11112         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
11113         ensure that GC threads inherit the new signal mask.
11114         (block_sigchld): Call JvFail rather than throwing exception if
11115         pthread_sigmask() fails.
11117 2005-02-15  Mark Wielaard  <mark@klomp.org>
11119         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
11120         file path elements are separated by spaces.
11122 2005-02-15  Mark Wielaard  <mark@klomp.org>
11124         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
11125         to describe attributes without a constant field value in this class.
11127 2005-02-15  Michael Koch  <konqueror@gmx.de>
11129         * java/util/jar/Attributes.java
11130         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
11132 2005-02-15  Mark Wielaard  <mark@klomp.org>
11134         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
11135         space for parsing CLASS_PATH attribute.
11137 2005-02-15  Mark Wielaard  <mark@klomp.org>
11139         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
11140         aside for "GCJLIBS" in directory where jarfiles are loaded.
11141         (JarURLLoader.getClass): Removed method.
11142         (JarURLLoader.toString): Removed method.
11143         (FileResource.toString): Removed method.
11145 2005-02-15  Mark Wielaard  <mark@klomp.org>
11147         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
11148         and/or cause before throwing.
11150 2005-02-15  Richard Henderson  <rth@redhat.com>
11152         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
11153         (libgcj0_convenience_la_SOURCES): ... here.
11154         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
11155         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
11156         * Makefile.in: Regenerate.
11158 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
11160         * jawt.c: New file.
11161         * include/jawt.h: Likewise.
11162         * include/jawt_md.h: Likewise.
11163         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
11164         jawt_md.h files.
11165         * include/Makefile.in: Regenerate.
11166         * jni/classpath/classpath_jawt.h: Likewise.
11167         * jni/gtk-peer/gtk_jawt.c: Likewise.
11168         * Makefile.am: Build libjawt.so.
11169         * Makefile.in: Regenerate.
11171 2005-02-14  Tom Tromey  <tromey@redhat.com>
11173         * testsuite/libjava.lang/PR19921.java: Use correct class name.
11175 2005-02-14  Tom Tromey  <tromey@redhat.com>
11177         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
11178         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
11180 2005-02-14  Tom Tromey  <tromey@redhat.com>
11182         For PR java/19929:
11183         * testsuite/libjava.lang/PR19929.out: New file.
11184         * testsuite/libjava.lang/PR19929.java: New file.
11186 2005-02-14  Anthony Green  <green@redhat.com>
11188         PR libgcj/18116
11189         * testsuite/libjava.jni/PR18116.c: New file.
11190         * testsuite/libjava.jni/PR18116.java: New file.
11191         * testsuite/libjava.jni/PR18116.out: New file.
11193 2005-02-13  Anthony Green  <green@redhat.com>
11195         PR libgcj/18116
11196         * jni.cc (nathash_add): Don't strdup the method signature.
11197         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
11198         method signature.
11199         Update copyright.
11201 2005-02-12  Mark Wielaard  <mark@klomp.org>
11203         Fixes bug libgcj/8170
11204         * java/lang/ClassLoader.java (loadClass): Don't rewrap
11205         ClassNotFoundException.
11206         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
11207         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
11208         (remove_internal): New field superceding remove_interpreter.
11209         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
11210         Remove no-class methods starting with "_Jv_". And Replace null
11211         class or method names with the empty string. Stop at either the
11212         MainThread or a real Thread run() method.
11213         (newElement): Made static.
11214         * java/net/URLClassLoader.java (findClass): Throw
11215         ClassNotFoundExceptions including urls, plus parent using toString().
11216         (thisString): New field.
11217         (toString): New method.
11219 2005-02-10  Tom Tromey  <tromey@redhat.com>
11221         * external/sax/Makefile.in: Rebuilt.
11222         * external/sax/Makefile.am (all-local): Removed.
11223         (BUILT_SOURCES): New variable.
11224         (mostlyclean-local): No error if no classes to delete.
11225         * external/w3c_dom/Makefile.in: Rebuilt.
11226         * external/w3c_dom/Makefile.am (all-local): Removed.
11227         (BUILT_SOURCES): New variable.
11228         (mostlyclean-local): No error if no classes to delete.
11230 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
11232         * testsuite/libjava.mauve/xfails: Updated to reflect current state
11233         of mauve and libjava.
11235 2005-02-09  Tom Tromey  <tromey@redhat.com>
11237         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
11238         jar file with OPEN_DELETE.
11239         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
11240         OPEN_DELETE is used.
11242 2005-02-09  Tom Tromey  <tromey@redhat.com>
11244         * java/util/zip/InflaterInputStream.java (markSupported):
11245         Override.
11246         (mark, reset): Likewise.
11248 2005-02-08  Tom Tromey  <tromey@redhat.com>
11250         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
11251         name or port is missing.
11252         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
11253         AUTHORITY_PORT_GROUP): Updated.
11255 2005-02-08  Tom Tromey  <tromey@redhat.com>
11257         * configure: Rebuilt.
11258         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
11259         AC_CHECK_HEADERS.
11261 2005-02-07  Tom Tromey  <tromey@redhat.com>
11263         * java/lang/natRuntime.cc (insertSystemProperties): Set
11264         sun.boot.class.path earlier.
11266 2005-02-07  Tom Tromey  <tromey@redhat.com>
11268         * defineclass.cc (handleClassBegin): Use
11269         _Jv_RegisterInitiatingLoader.
11270         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
11271         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
11272         class.  Use _Jv_UnregisterInitiatingLoader.
11273         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
11274         New function.
11276 2005-02-07  Mark Wielaard  <mark@klomp.org>
11278         Reported by Timo Lindfors <timo.lindfors@iki.fi>
11279         java/util/regex/Matcher.java (lookingAt): Set position when match
11280         found.
11281         (matches): Implemented through lookingAt().
11283 2005-02-07  Mark Wielaard  <mark@klomp.org>
11285         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
11286         * java/util/regex/Pattern.java (split(CharSequence,int)):
11287         Fix while empties > 0 loops.
11289 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
11291         * gnu/java/nio/charset/ISO_8859_1.java,
11292         gnu/java/nio/charset/US_ASCII.java,
11293         gnu/java/nio/charset/UTF_16.java,
11294         gnu/java/nio/charset/UTF_16_LE.java,
11295         gnu/java/nio/charset/UTF_16_BE.java,
11296         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
11297          and aliases according to
11298          "http://www.iana.org/assignments/character-sets",
11299          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
11300          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
11301         * gnu/java/nio/charset/Provider.java: Made charset lookup
11302          case-insensitive which fixes bug #11740.
11304 2005-02-07  Tom Tromey  <tromey@redhat.com>
11306         PR libgcj/19611:
11307         * Makefile.in: Rebuilt.
11308         * Makefile.am (src.zip): New target.
11309         (install-src.zip): Likewise.
11310         (sourcesdir): New variable.
11312 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
11314         * javax/imageio/metadata/IIOMetadataNode.java:
11315         Implemented.
11316         * javax/imageio/metadata/IIOAttr.java,
11317         javax/imageio/metadata/IIONamedNodeMap.java,
11318         javax/imageio/metadata/IIONodeList.java:
11319         New files
11321 2005-02-06  Graydon Hoare  <graydon@redhat.com>
11323         * gnu/java/awt/ClasspathToolkit.java
11324         (registerImageIOSpis): New method.
11325         * javax/imageio/ImageIO.java
11326         (WriterFormatFilter.filter): Fix copy-and-paste typos.
11327         (WriterMIMETypeFilter.filter): Likewise.
11328         (ImageReaderIterator): Pass extension argument through to SPI.
11329         (getReadersByFilter): Likewise.
11330         (getWritersByFilter): Likewise.
11331         (getImageReadersByFormatName): Likewise.
11332         (getImageReadersByMIMEType): Likewise.
11333         (getImageReadersBySuffix): Likewise.
11334         (getImageWritersByFormatName): Likewise.
11335         (getImageWritersByMIMEType): Likewise.
11336         (getImageWritersBySuffix): Likewise.
11337         (read): Implement.
11338         (write): Implement.
11339         * javax/imageio/ImageReader.java
11340         (progressListeners): Initialize.
11341         (setInput): Implement.
11342         * javax/imageio/ImageWriter.java
11343         (progressListeners): Initialize.
11344         (warningListeners): Likewise.
11345         (warningLocales): Likewise.
11346         (setOutput): Test "isInstance" rather than class equality.
11347         * javax/imageio/spi/IIORegistry.java
11348         (static): Add reader and writer SPIs.
11349         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
11351 2005-02-06  Michael Koch  <konqueror@gmx.de>
11353         * javax/imageio/metadata/IIOInvalidTreeException.java
11354         (IIOInvalidTreeException): Reformatted.
11355         * javax/imageio/spi/IIORegistry.java
11356         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
11357         * javax/imageio/stream/MemoryCacheImageInputStream.java:
11358         Reworked import statements.
11360 2005-02-06  Michael Koch  <konqueror@gmx.de>
11362         * javax/imageio/stream/FileImageOutputStream.java:
11363         Implemented.
11365 2005-02-06  Michael Koch  <konqueror@gmx.de>
11367         * javax/imageio/stream/FileCacheImageInputStream.java,
11368         javax/imageio/stream/FileCacheImageOutputStream.java,
11369         javax/imageio/stream/FileImageInputStream.java,
11370         javax/imageio/stream/ImageInputStreamImpl.java,
11371         javax/imageio/stream/ImageOutputStreamImpl.java,
11372         javax/imageio/stream/MemoryCacheImageInputStream.java,
11373         javax/imageio/stream/MemoryCacheImageOutputStream.java:
11374         Added all missing methods in javax.imageio.stream.
11376 2005-02-02  David Daney  <ddaney@avtrex.com>
11378         * java/net/InetAddress.java (InetAddress): Make a private copy of
11379         the address.
11380         * java/net/Inet4Address.java (getAddress): Return a copy of the
11381         address.
11382         * java/net/Inet6Address.java (Inet6Address): Use private copy of
11383         the address
11384         (getAddress): Return a copy of the address.
11385         (equals): Rewrote.
11387 2005-02-02  Tom Tromey  <tromey@redhat.com>
11389         * Makefile.in: Rebuilt.
11390         * Makefile.am (classes.stamp): New target, broken out from
11391         libgcj.jar target.
11392         ($(all_java_class_files)): Depend on it.
11393         (libgcj-@gcc_version@.jar): Likewise.
11394         (all-recursive): Likewise.
11395         (CLEANFILES): Include classes.stamp.
11397 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
11399         * link.cc: Include <stdio.h>
11401 2005-02-02  Tom Tromey  <tromey@redhat.com>
11403         PR libgcj/19681:
11404         * Makefile.in: Rebuilt.
11405         * Makefile.am (ordinary_java_source_files): Added new class.
11406         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
11407         Use system_instance, not instance.
11408         * gnu/gcj/runtime/SystemClassLoader.java: New file.
11409         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
11410         java.class.path.
11411         (system_instance): New field.
11412         (initialize): Initialize the system loader as well.
11413         (VMClassLoader): Default to LIB_CACHE.
11415 2005-02-02  Tom Tromey  <tromey@redhat.com>
11417         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
11418         * prims.cc: Fixed comment.
11420 2005-02-01  Tom Tromey  <tromey@redhat.com>
11422         * Makefile.in: Rebuilt.
11423         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
11424         (.java.class): Use BOOTCLASSPATH.
11426 2005-02-01  Tom Tromey  <tromey@redhat.com>
11428         * external/w3c_dom/Makefile.am: New file.
11429         * external/w3c_dom/Makefile.in: New file.
11430         * external/sax/Makefile.am: New file.
11431         * external/sax/Makefile.in: New file.
11432         * external/Makefile.in: New file.
11433         * external/Makefile.am: New file.
11434         * external/README: New file from Classpath.
11435         * configure, aclocal.m4, Makefile.in: Rebuilt.
11436         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
11437         * Makefile.am (SUBDIRS): Added external.
11438         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
11439         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
11440         (BOOTCLASSPATH): New variable.
11441         (AM_GCJFLAGS): Use it.
11442         (gnu_xml_source_files): New variable.
11443         (libgcj_la_SOURCES): Use it.
11444         (libgcj_la_LDADD): Include new convenience libraries.
11445         (lib_org_ietf_jgss_la_SOURCES): Removed.
11446         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
11447         (lib_org_ietf_jgss_la_LIBADD): Likewise.
11448         (lib_org_w3c_dom_la_SOURCES): Removed.
11449         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
11450         (lib_org_w3c_dom_la_LIBADD): Likewise.
11451         (lib_org_xml_sax_la_SOURCES): Removed.
11452         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
11453         (lib_org_xml_sax_la_LIBADD): Likewise.
11454         (all_java_source_files): Updated.
11455         (property_files): Likewise.
11456         (libgcj-@gcc_version@.jar): Include classes from external/.
11457         (javax_source_files): Updated.
11458         (ordinary_java_source_files): Updated.
11459         * javax/xml/XMLConstants.java,
11460         javax/xml/datatype/DatatypeConfigurationException.java,
11461         javax/xml/datatype/DatatypeConstants.java,
11462         javax/xml/datatype/DatatypeFactory.java,
11463         javax/xml/datatype/Duration.java,
11464         javax/xml/datatype/XMLGregorianCalendar.java,
11465         javax/xml/datatype/package.html,
11466         javax/xml/namespace/NamespaceContext.java,
11467         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
11468         javax/xml/parsers/DocumentBuilder.java,
11469         javax/xml/parsers/DocumentBuilderFactory.java,
11470         javax/xml/parsers/FactoryConfigurationError.java,
11471         javax/xml/parsers/ParserConfigurationException.java,
11472         javax/xml/parsers/SAXParser.java,
11473         javax/xml/parsers/SAXParserFactory.java,
11474         javax/xml/parsers/package.html,
11475         javax/xml/transform/ErrorListener.java,
11476         javax/xml/transform/OutputKeys.java,
11477         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
11478         javax/xml/transform/SourceLocator.java,
11479         javax/xml/transform/Templates.java,
11480         javax/xml/transform/Transformer.java,
11481         javax/xml/transform/TransformerConfigurationException.java,
11482         javax/xml/transform/TransformerException.java,
11483         javax/xml/transform/TransformerFactory.java,
11484         javax/xml/transform/TransformerFactoryConfigurationError.java,
11485         javax/xml/transform/URIResolver.java,
11486         javax/xml/transform/package.html,
11487         javax/xml/transform/dom/DOMLocator.java,
11488         javax/xml/transform/dom/DOMResult.java,
11489         javax/xml/transform/dom/DOMSource.java,
11490         javax/xml/transform/dom/package.html,
11491         javax/xml/transform/sax/SAXResult.java,
11492         javax/xml/transform/sax/SAXSource.java,
11493         javax/xml/transform/sax/SAXTransformerFactory.java,
11494         javax/xml/transform/sax/TemplatesHandler.java,
11495         javax/xml/transform/sax/TransformerHandler.java,
11496         javax/xml/transform/sax/package.html,
11497         javax/xml/transform/stream/StreamResult.java,
11498         javax/xml/transform/stream/StreamSource.java,
11499         javax/xml/transform/stream/package.html,
11500         javax/xml/validation/Schema.java,
11501         javax/xml/validation/SchemaFactory.java,
11502         javax/xml/validation/TypeInfoProvider.java,
11503         javax/xml/validation/Validator.java,
11504         javax/xml/validation/ValidatorHandler.java,
11505         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
11506         javax/xml/xpath/XPathConstants.java,
11507         javax/xml/xpath/XPathException.java,
11508         javax/xml/xpath/XPathExpression.java,
11509         javax/xml/xpath/XPathExpressionException.java,
11510         javax/xml/xpath/XPathFactory.java,
11511         javax/xml/xpath/XPathFactoryConfigurationException.java,
11512         javax/xml/xpath/XPathFunction.java,
11513         javax/xml/xpath/XPathFunctionException.java,
11514         javax/xml/xpath/XPathFunctionResolver.java,
11515         javax/xml/xpath/XPathVariableResolver.java,
11516         javax/xml/xpath/package.html: New files, from GNU JAXP.
11517         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
11518         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
11519         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
11520         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
11521         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
11522         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
11523         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
11524         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
11525         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
11526         org/w3c/dom/ranges/DocumentRange.java,
11527         org/w3c/dom/ranges/Range.java,
11528         org/w3c/dom/ranges/RangeException.java,
11529         org/w3c/dom/traversal/DocumentTraversal.java,
11530         org/w3c/dom/traversal/NodeFilter.java,
11531         org/w3c/dom/traversal/NodeIterator.java,
11532         org/w3c/dom/traversal/TreeWalker.java,
11533         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
11534         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
11535         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
11536         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
11537         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
11538         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
11539         org/xml/sax/SAXNotRecognizedException.java,
11540         org/xml/sax/SAXNotSupportedException.java,
11541         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
11542         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
11543         org/xml/sax/ext/DeclHandler.java,
11544         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
11545         org/xml/sax/helpers/AttributeListImpl.java,
11546         org/xml/sax/helpers/AttributesImpl.java,
11547         org/xml/sax/helpers/DefaultHandler.java,
11548         org/xml/sax/helpers/LocatorImpl.java,
11549         org/xml/sax/helpers/NamespaceSupport.java,
11550         org/xml/sax/helpers/NewInstance.java,
11551         org/xml/sax/helpers/ParserAdapter.java,
11552         org/xml/sax/helpers/ParserFactory.java,
11553         org/xml/sax/helpers/XMLFilterImpl.java,
11554         org/xml/sax/helpers/XMLReaderAdapter.java,
11555         org/xml/sax/helpers/XMLReaderFactory.java,
11556         org/xml/sax/helpers/package.html: Moved to external/.
11557         * external/sax/README,
11558         external/sax/org/xml/sax/AttributeList.java,
11559         external/sax/org/xml/sax/Attributes.java,
11560         external/sax/org/xml/sax/ContentHandler.java,
11561         external/sax/org/xml/sax/DTDHandler.java,
11562         external/sax/org/xml/sax/DocumentHandler.java,
11563         external/sax/org/xml/sax/EntityResolver.java,
11564         external/sax/org/xml/sax/ErrorHandler.java,
11565         external/sax/org/xml/sax/HandlerBase.java,
11566         external/sax/org/xml/sax/InputSource.java,
11567         external/sax/org/xml/sax/Locator.java,
11568         external/sax/org/xml/sax/Parser.java,
11569         external/sax/org/xml/sax/SAXException.java,
11570         external/sax/org/xml/sax/SAXNotRecognizedException.java,
11571         external/sax/org/xml/sax/SAXNotSupportedException.java,
11572         external/sax/org/xml/sax/SAXParseException.java,
11573         external/sax/org/xml/sax/XMLFilter.java,
11574         external/sax/org/xml/sax/XMLReader.java,
11575         external/sax/org/xml/sax/package.html,
11576         external/sax/org/xml/sax/ext/Attributes2.java,
11577         external/sax/org/xml/sax/ext/Attributes2Impl.java,
11578         external/sax/org/xml/sax/ext/DeclHandler.java,
11579         external/sax/org/xml/sax/ext/DefaultHandler2.java,
11580         external/sax/org/xml/sax/ext/EntityResolver2.java,
11581         external/sax/org/xml/sax/ext/LexicalHandler.java,
11582         external/sax/org/xml/sax/ext/Locator2.java,
11583         external/sax/org/xml/sax/ext/Locator2Impl.java,
11584         external/sax/org/xml/sax/ext/package.html,
11585         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
11586         external/sax/org/xml/sax/helpers/AttributesImpl.java,
11587         external/sax/org/xml/sax/helpers/DefaultHandler.java,
11588         external/sax/org/xml/sax/helpers/LocatorImpl.java,
11589         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
11590         external/sax/org/xml/sax/helpers/NewInstance.java,
11591         external/sax/org/xml/sax/helpers/ParserAdapter.java,
11592         external/sax/org/xml/sax/helpers/ParserFactory.java,
11593         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
11594         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
11595         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
11596         external/sax/org/xml/sax/helpers/package.html,
11597         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
11598         external/w3c_dom/org/w3c/dom/Attr.java,
11599         external/w3c_dom/org/w3c/dom/CDATASection.java,
11600         external/w3c_dom/org/w3c/dom/CharacterData.java,
11601         external/w3c_dom/org/w3c/dom/Comment.java,
11602         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
11603         external/w3c_dom/org/w3c/dom/DOMError.java,
11604         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
11605         external/w3c_dom/org/w3c/dom/DOMException.java,
11606         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
11607         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
11608         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
11609         external/w3c_dom/org/w3c/dom/DOMLocator.java,
11610         external/w3c_dom/org/w3c/dom/DOMStringList.java,
11611         external/w3c_dom/org/w3c/dom/Document.java,
11612         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
11613         external/w3c_dom/org/w3c/dom/DocumentType.java,
11614         external/w3c_dom/org/w3c/dom/Element.java,
11615         external/w3c_dom/org/w3c/dom/Entity.java,
11616         external/w3c_dom/org/w3c/dom/EntityReference.java,
11617         external/w3c_dom/org/w3c/dom/NameList.java,
11618         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
11619         external/w3c_dom/org/w3c/dom/Node.java,
11620         external/w3c_dom/org/w3c/dom/NodeList.java,
11621         external/w3c_dom/org/w3c/dom/Notation.java,
11622         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
11623         external/w3c_dom/org/w3c/dom/Text.java,
11624         external/w3c_dom/org/w3c/dom/TypeInfo.java,
11625         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
11626         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
11627         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
11628         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
11629         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
11630         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
11631         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
11632         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
11633         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
11634         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
11635         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
11636         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
11637         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
11638         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
11639         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
11640         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
11641         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
11642         external/w3c_dom/org/w3c/dom/css/Counter.java,
11643         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
11644         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
11645         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
11646         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
11647         external/w3c_dom/org/w3c/dom/css/Rect.java,
11648         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
11649         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
11650         external/w3c_dom/org/w3c/dom/events/Event.java,
11651         external/w3c_dom/org/w3c/dom/events/EventException.java,
11652         external/w3c_dom/org/w3c/dom/events/EventListener.java,
11653         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
11654         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
11655         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
11656         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
11657         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
11658         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
11659         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
11660         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
11661         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
11662         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
11663         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
11664         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
11665         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
11666         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
11667         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
11668         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
11669         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
11670         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
11671         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
11672         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
11673         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
11674         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
11675         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
11676         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
11677         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
11678         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
11679         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
11680         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
11681         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
11682         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
11683         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
11684         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
11685         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
11686         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
11687         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
11688         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
11689         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
11690         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
11691         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
11692         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
11693         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
11694         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
11695         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
11696         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
11697         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
11698         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
11699         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
11700         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
11701         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
11702         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
11703         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
11704         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
11705         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
11706         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
11707         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
11708         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
11709         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
11710         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
11711         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
11712         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
11713         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
11714         external/w3c_dom/org/w3c/dom/ls/LSException.java,
11715         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
11716         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
11717         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
11718         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
11719         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
11720         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
11721         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
11722         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
11723         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
11724         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
11725         external/w3c_dom/org/w3c/dom/ranges/Range.java,
11726         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
11727         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
11728         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
11729         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
11730         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
11731         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
11732         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
11733         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
11734         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
11735         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
11736         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
11737         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
11738         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
11739         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
11740         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
11741         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
11742         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
11743         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
11744         from Classpath.
11746 2005-01-31  Anthony Green  <green@redhat.com>
11748         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
11749         Support IP_MULTICAST_LOOP.
11750         (setOption): Support IP_MULTICAST_LOOP.
11752         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
11753         SO_REUSEADDR support.
11754         (getOption): Support SO_REUSEADDR.
11756 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
11758         PR libgcj/19649
11759         * java/util/Date.java
11760         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
11761         constructor.
11762         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
11763         arguments.
11764         (getTimezoneOffset): Inverted sign.
11766 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
11768         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
11769         remove other passing tests and add new XFAILs.
11771 2005-01-24  Tom Tromey  <tromey@redhat.com>
11773         * java/lang/Class.h (next): Updated documentation.  Renamed to
11774         'next_or_version'.
11775         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
11776         _Jv_CheckABIVersion.
11777         (_Jv_RegisterClasses_Counted): Likewise.
11778         (_Jv_RegisterClassHookDefault): Fix starting condition of
11779         duplicate-checking loop.
11780         * include/jvm.h (GCJ_VERSION): New define.
11781         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
11782         (_Jv_CheckABIVersion): New function.
11784 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
11786         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
11787         (libgij_la_LDFLAGS): Add.
11788         * Makefile.in: Rebuilt.
11790 2005-01-24  Roger Sayle  <roger@eyesopen.com>
11792         PR java/19295
11793         * testsuite/libjava.compile/PR19295.java: New test case.
11795 2005-01-19  Tom Tromey  <tromey@redhat.com>
11797         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
11798         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
11799         if 'handler' is valid.
11801 2005-01-17  Tom Tromey  <tromey@redhat.com>
11803         * java/text/MessageFormat.java (scanString): Changed how quoting
11804         is handled.
11805         (scanFormatElement): Likewise.
11807 2004-12-07  Mark Wielaard  <mark@klomp.org>
11809         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
11811 2005-01-15  Michael Koch  <konqueror@gmx.de>
11813         PR libgcj/19444
11814         * java/net/URI.java
11815         (AUTHORITY_REGEXP): New regexp constant.
11816         (AUTHORITY_USERINFO_GROUP): New constant.
11817         (AUTHORITY_HOST_GROUP): Likewise.
11818         (AUTHORITY_PORT_GROUP): Likewise.
11819         (port): Changed default value to -1.
11820         (parseURI): Parse authority part and initialize host,
11821         port and userInfo.
11823 2005-01-14  Robin Green  <greenrd@greenrd.org>
11825         * java/io/File.java (toURI): Generate a URI which we understand.
11827 2005-01-13  Graydon Hoare  <graydon@redhat.com>
11829         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
11830         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
11831         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
11832         * jni.cc: Reuse bottom frame between calls, avoid clearing
11833         frame when no local references are made.
11835 2005-01-13  Michael Koch  <konqueror@gmx.de>
11837         PR libgcj/17784
11838         * java/lang/Thread.java
11839         (Thread): Call checkAccess().
11840         (stop): Fixed argument name to match javadoc.
11841         * java/lang/natThread.cc
11842         (interrupt): Call checkAccess().
11843         (stop): Likewise.
11845 2005-01-11  Michael Koch  <konqueror@gmx.de>
11847         PR libgcj/13972
11848         * java/net/URL.java (URL): Handle specs like
11849         "/redir?http://domain2.com/index.html" which start with a slash.
11851 2005-01-11  Michael Koch  <konqueror@gmx.de>
11853         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
11854         * gnu/java/net/BASE64.java,
11855         gnu/java/net/EmptyX509TrustManager.java,
11856         gnu/java/net/LineInputStream.java,
11857         gnu/java/net/protocol/http/Authenticator.java,
11858         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
11859         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
11860         gnu/java/net/protocol/http/ChunkedInputStream.java,
11861         gnu/java/net/protocol/http/Cookie.java,
11862         gnu/java/net/protocol/http/CookieManager.java,
11863         gnu/java/net/protocol/http/Credentials.java,
11864         gnu/java/net/protocol/http/HTTPConnection.java,
11865         gnu/java/net/protocol/http/HTTPDateFormat.java,
11866         gnu/java/net/protocol/http/HTTPURLConnection.java,
11867         gnu/java/net/protocol/http/Headers.java,
11868         gnu/java/net/protocol/http/Request.java,
11869         gnu/java/net/protocol/http/RequestBodyWriter.java,
11870         gnu/java/net/protocol/http/Response.java,
11871         gnu/java/net/protocol/http/ResponseBodyReader.java,
11872         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
11873         gnu/java/net/protocol/http/SimpleCookieManager.java,
11874         gnu/java/net/protocol/http/event/ConnectionEvent.java,
11875         gnu/java/net/protocol/http/event/ConnectionListener.java,
11876         gnu/java/net/protocol/http/event/RequestEvent.java,
11877         gnu/java/net/protocol/http/event/RequestListener.java: New files.
11878         * gnu/java/net/protocol/http/Connection.java: Removed.
11879         * gnu/java/net/protocol/http/Handler.java,
11880         javax/net/ssl/HttpsURLConnection.java: Updated.
11881         * Makefile.am: Added new files and remove old ones.
11882         * Makefile.in: Regenerated.
11884 2005-01-11  Tom Tromey  <tromey@redhat.com>
11886         PR libgcj/18840:
11887         * java/io/BufferedInputStream.java (read): Repeatedly read to
11888         fill buffer.
11889         (refill): Change test to see if buffer must be grown.
11891 2005-01-10  Tom Tromey  <tromey@redhat.com>
11893         * mauve-libgcj: Exclude some swing tests.
11895 2005-01-10  Tom Tromey  <tromey@redhat.com>
11897         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
11898         * java/lang/Package.java (getPackages): Use VMClassLoader when
11899         appropriate.
11900         (getPackage): Likewise.
11901         * prims.cc (_Jv_CreateJavaVM): Call
11902         _Jv_RegisterBootstrapPackages.
11903         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
11904         * java/lang/VMClassLoader.java (getPackage): Rewrote.
11905         (getPackages): Likewise.
11906         (definedPackages): New field.
11907         (definePackageForNative): New method.
11908         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
11909         * java/lang/natVMClassLoader.cc (loadClass): Updated.
11910         * defineclass.cc (handleClassBegin): Use
11911         ClassLoader.findLoadedClass.
11912         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
11913         Rewrote.
11914         (struct _Jv_LoaderInfo): Removed.
11915         (initiated_classes): Likewise.
11916         (_Jv_UnregisterClass): Don't use initiated_classes.
11917         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
11918         (_Jv_FindClass): Register classes found during boostrap.
11919         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
11920         (bootstrap_class_list): New global.
11921         (bootstrap_index): Likewise.
11922         (_Jv_RegisterBootstrapPackages): New function.
11923         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
11924         definePackageForNative.
11925         (findClass): Updated.
11926         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
11927         New method.
11929 2005-01-10  Tom Tromey  <tromey@redhat.com>
11931         PR libgcj/18868:
11932         * include/jvm.h (_Jv_Linker::find_field): Declare.
11933         (_Jv_Linker::find_field_helper): Likewise.
11934         * link.cc (find_field_helper): New method.
11935         (find_field): Likewise.
11936         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
11937         not found.
11938         (link_symbol_table): Use find_field.
11940 2005-01-10  Michael Koch  <konqueror@gmx.de>
11942         PR libgcj/18014
11943         * java/util/Locale.java (Locale): Don't uppercase variant.
11944         (getISOCountries): Fixed typo in javadoc.
11946 2005-01-10  Michael Koch  <konqueror@gmx.de>
11948         * java/util/SimpleTimeZone.java (checkRule):
11949         Throw IllegalArgumentException on invalid month values.
11950         * java/util/TimeZone.java (setID):
11951         Throw NullPointerException if needed.
11953 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11955         * java/util/SimpleTimeZone.java (getOffset):
11956         offset end date with daylight savings
11958 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
11960         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
11961         * testsuite/libjava.compile/PR19277.xfail: Likewise.
11963 2005-01-09  Michael Koch  <konqueror@gmx.de>
11965         PR libgcj/17069
11966         * java/net/InetAddress.java (getLocalHost):
11967         Throw UnknownHostException if local hostname cannot be determined.
11969 2005-01-06  Tom Tromey  <tromey@redhat.com>
11971         * java/lang/ClassLoader.java (findClass): Fixed documentation.
11973 2005-01-07  Michael Koch  <konqueror@gmx.de>
11975         PR libgcj/18115
11976         * java/nio/Buffer.java (address): New field.
11977         * java/nio/DirectByteBufferImpl.java (address): Removed.
11978         * java/nio/MappedByteBufferImpl.java (address): Likewise.
11979         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
11980         Explicitly initialize Buffer.address if needed.
11981         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
11982         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
11983         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
11984         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
11985         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
11986         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
11987         DirectByteBufferImpl object.
11988         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11989         * testsuite/libjava.jni/directbuffer.c,
11990         testsuite/libjava.jni/directbuffer.java,
11991         testsuite/libjava.jni/directbuffer.out,
11992         testsuite/libjava.jni/bytebuffer.c,
11993         testsuite/libjava.jni/bytebuffer.java,
11994         testsuite/libjava.jni/bytebuffer.out: New files.
11996 2005-01-05  Tom Tromey  <tromey@redhat.com>
11998         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
11999         argument.
12000         (compressedSize): Now 'long'.  Default to -1.
12001         (getCompressedSize): Rewrote.
12002         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
12003         deflate at all if we need input.
12005 2005-01-05  Tom Tromey  <tromey@redhat.com>
12007         PR libgcj/15719:
12008         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
12009         correctly.
12011 2005-01-05  Tom Tromey  <tromey@redhat.com>
12013         * java/lang/natRuntime.cc (insertSystemProperties): Set
12014         java.ext.dirs earlier.
12016 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
12018         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
12019         sync_info element of the object if needed.
12021 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
12023         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
12024         a non-zero exit status from 'false'.
12026 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
12028         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.