2005-12-05 Jan Beulich <jbeulich@novell.com>
[official-gcc.git] / libjava / ChangeLog
blob24eed17c47e233f23f4676c9c3b4f096bb66e76f
1 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
3         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
4         xfail-byte-exec.
5         * testsuite/libjava.lang/Array_3.xfail: New file.
7 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
9         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
10         to compare _Jv_InterpMethod::run against current func.
12 2005-11-30  Andrew Haley  <aph@redhat.com>
14         * classpath/lib/Makefile.am (resources): Use `cp -p'.
15         Remove `@' from start of line.
17 2005-11-28  Tom Tromey  <tromey@redhat.com>
19         PR java/18278:
20         * testsuite/libjava.jni/pr18278.out: New file.
21         * testsuite/libjava.jni/pr18278.c: New file.
22         * testsuite/libjava.jni/pr18278.java: New file.
23         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
24         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
25         (call): Unwrap return value if needed.
27 2005-11-25  Mark Wielaard  <mark@klomp.org>
29         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
30         gnu/javax/rmi.
31         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
32         gnu/javax/rmi to bc.
33         * gnu/CORBA/ObjectCreator.java: New override file for missing
34         VMStackWalker issue.
35         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
36         * gnu/CORBA/DynAn/RecordAny.java: Likewise
37         * sources.am: Regenerated.
38         * Makefile.in: Regenerated
40 2005-11-25  Andrew Haley  <aph@redhat.com>
42         PR libgcj/25016
43         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
44         struct timespec we pass to pthread_cond_timedwait.
46 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
48         * testsuite/libjava.jacks/jacks.xfail: Remove
49         non-jls-argument-expansion-13 and add
50         non-jls-argument-expansion-error-1 in response to the @file support
51         patch in the main GCC driver.
53 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
55         * sysdep/ia64-frame.h: Removed.
56         * sysdep/ia64.c: Removed.
57         * sysdep/dwarf2-backtrace.cc: Removed.
58         * configure.ac: Remove references to HAVE_BACKTRACE and
59         SUPPLY_BACKTRACE.
60         * Makefile.am: Remove SUPPLY_BACKTRACE support.
61         * configure: Rebuilt.
62         * Makefile.in: Rebuilt.
64 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
66         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
68 2005-11-17  Mark Wielaard  <mark@klomp.org>
70         Imported GNU Classpath gcj-import-20051117.
71         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
72         * sources.am: Regenerated.
73         * Makefile.in: Likewise.
75 2005-11-17  Mark Wielaard  <mark@klomp.org>
77         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
78         * java/net/ServerSocket.java: Likewise.
79         * sources.am: Regenerated.
80         * Makefile.in: Regenerated.
82 2005-11-17  Mark Wielaard  <mark@klomp.org>
84         Fixes bug #24006
85         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
87 2005-11-17  Tom Tromey  <tromey@redhat.com>
89         * java/net/ServerSocket.java (accept): Use correct security manager
90         call.
92 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
94         * java/net/ServerSocket.java
95         (bound): Removed.
96         (local): New field.
97         (bind): Cache local socket address.
98         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
99         Use cached local socket address.
100         (close): bound field was removed.
102 2005-11-17  Tom Tromey  <tromey@redhat.com>
104         * java/net/URLConnection.java (setDoInput): Javadoc fix.
105         (setDoOutput): Likewise.
106         (setContentHandlerFactory): Likewise.
107         (setFileNameMap): Likewise.
109 2005-11-17  Mark Wielaard  <mark@klomp.org>
111         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
113 2005-11-17  Mark Wielaard  <mark@klomp.org>
115         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
116         call urls.add() and addURLImpl() directly on each URL.
118 2005-11-17  Tom Tromey  <tromey@redhat.com>
120         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
122 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
124         * java/net/URLClassLoader.java
125         (Resource.name): Removed field.
126         (JarURLResource.name): Added field.
127         (FileResource.getURL): Use File.toURL() instead of doing it in
128         a way that breaks on Windows.
130 2005-11-17  Roman Kennke  <roman@kennke.org>
132         Reported by: Ingo Proetel  <proetel@aicas.com>
133         * java/net/URLClassLoader.java
134         (findClass): Added null check to avoid NullPointerException.
136 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
138         * java/net/URLClassLoader.java: reordered some API doc comments to
139         suppress Eclipse warnings, and fixed API doc link.
141 2005-11-17  Tom Tromey  <tromey@redhat.com>
143         * java/net/URLClassLoader.java (URLClassLoader): Removed
144         unused constructor.
146 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
148         * java/net/URLClassLoader (findClass): Close InputStream after we're
149         done with it.
151 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
153         Implement -Xss.
154         * include/jvm.h (gcj::stack_size): Declare.
155         (_Jv_StackSize): Declare.
156         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
157         (_Jv_ThreadStart): Set stack size if specified.
158         * prims.cc (gcj::stack_size): Define.
159         (parse_memory_size): Renamed from parse_heap_size.
160         (_Jv_SetStackSize): Parse stack size argument and set 
161         gcj::stack_size.
163 2005-11-17  Mark Wielaard  <mark@klomp.org>
165         * java/text/SimpleDateFormat.java: Removed, fully merged now.
166         * sources.am: Regenerated.
167         * Makefile.in: Regenerated.
169 2005-11-17  Sven de Marothy  <sven@physto.se>
171         * java/text/SimpleDateFormat.java
172         (computeOffset): Allow timezone to be first in the parsed String.
174 2005-11-17  Mark Wielaard  <mark@klomp.org>
176         * java/text/SimpleDateFormat.java (field, size): Make package private.
178 2005-11-17  Tom Tromey  <tromey@redhat.com>
180         * java/text/SimpleDateFormat.java (compileFormat): Correctly
181         handle quoted single quotes.  PR classspath/23183.
183 2005-11-17  Tom Tromey  <tromey@redhat.com>
185         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
187 2005-11-17  Tom Tromey  <tromey@redhat.com>
189         * java/text/DateFormat.java (serialVersionUID): New field.
191 2005-11-17  Mark Wielaard  <mark@klomp.org>
193         * java/text/DateFormat.java (equals): Reimplement.
195 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
197         * java/text/Collator.java: API doc fixes,
198         * java/text/DateFormat.java: likewise,
199         * java/text/DecimalFormatSymbols.java: likewise,
200         * java/text/DateFormatSymbols.java: likewise,
201         * java/text/SimpleDateFormat.java: likewise.
203 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
205         * java/text/Collator.java (getInstance(Locale)):
206         Added default collation pattern to handle case when resource
207         is missing and throw InternalError instead of returning null
208         should parsing fail.
210 2005-11-15  Mark Wielaard  <mark@klomp.org>
212         * java/util/zip/ZipEntry.java: Removed, fully merged now.
213         * java/util/zip/ZipFile.java: Likewise.
214         * sources.am: Regenerated.
215         * Makefile.in: Regenerated.
217 2005-11-15  Tom Tromey  <tromey@redhat.com>
219         classpath/23890:
220         * java/util/Calendar.java (equals): Include other calendar
221         attributes.
222         (hashCode): Updated.
223         * java/util/GregorianCalendar.java (hashCode): New method.
224         (equals): Use super.equals().
226 2005-11-15  Sven de Marothy  <sven@physto.se>
228         * java/util/Calendar (setTimeInMillis): Recompute time fields.
230 2005-11-15  Mark Wielaard  <mark@klomp.org>
232         * java/util/SimpleTimeZone.java: Removed, fully merged now.
233         * java/util/Date.java: Likewise.
234         * sources.am: Regenerated.
235         * Makefile.in: Regenerated.
237 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
239         * java/util/Calendar.java: fixed minor problems in API docs,
240         * java/util/Date.java: likewise,
241         * java/util/ResourceBundle.java: likewise,
242         * java/util/SimpleTimeZone.java: likewise,
244 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
246         * java/io/ObjectInputStream.java
247         (parseContent): Removed bogus println and fixed bug #24422.
248                 
249 2005-11-15  Mark Wielaard  <mark@klomp.org>
251         * java/io/ObjectStreamClass.java: Removed, fully merged now.
252         * sources.am: Regenerated.
253         * Makefile.in: Regenerated.
255 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
257         * java/io/ObjectInputStream.java
258         (processResolution): Pass Error, RuntimeException and
259         ObjectStreamException through to the caller.
260         (readObject): Documentation update.
262 2005-11-15  Mark Wielaard  <mark@klomp.org>
264         Imported GNU Classpath 0.19 + gcj-import-20051115.
265         * sources.am: Regenerated.
266         * Makefile.in: Likewise.
267         * scripts/makemake.tcl: Use glob -nocomplain.
269 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
271         * Makefile.in: Re-generated.
272         * gnu/awt/xlib/XGraphicsDevice.java: New file.
273         * gnu/awt/xlib/XToolkit.java
274         (getLocalGraphicsEnvironment): Implemented. 
275         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
276         * sources.am: Re-generated.
278 2005-15-09  David Daney <ddaney@avtrex.com>
280         PR libgcj/15430
281         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
282         function.
283         (accept): Call it.
284         (close): Call shutdown before closing.
285         (read()): Call read_helper with proper parameters.
286         (read(buffer, int, int)): Likewise.
287         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
288         and timeout parameters.  Make prototype to match. Use 
289         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
290         in two places.
292 2005-11-15  Andrew Haley  <aph@redhat.com>
294         * Merge from Classpath head:
296    2005-09-16  Andrew Haley  <aph@redhat.com>
297    
298            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
299            protected readResolve().  Rewrite accessibility check.
300    
301    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
302    
303            * java/io/ObjectStreamClass.java
304            (findAccessibleMethod): Added code to make method accessible.
305    
306    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
307    
308            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
309            (findAccessibleMethod): Likewise.
310            (cacheMethods): Lookup readResolve and writeReplace using the new
311            findAccessibleMethod().
312    
313 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
315         * java/net/natVMNetworkInterfaceWin32.cc: Include
316         java/net/VMNetworkInterface.h.
318 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
319             David Daney  <ddaney@avtrex.com>
321         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
322         (read): Handle count == 0 case.
324 2005-11-09  Tom Tromey  <tromey@redhat.com>
326         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
327         passes.
329 2005-11-08  Tom Tromey  <tromey@redhat.com>
331         PR libgcj/24587:
332         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
334 2005-11-08  Tom Tromey  <tromey@redhat.com>
336         PR libgcj/23763.  From aeby@graeff.com.
337         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
338         before exec.
340 2005-11-08  Mark Wielaard  <mark@klomp.org>
342         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
344 2005-11-07  David Daney  <ddaney@avtrex.com>
346         * mauve-libgcj: Disable javax.rmi.* and
347         java.io.InputStreamReader.getEncoding.
349 2005-11-04  Tom Tromey  <tromey@redhat.com>
351         PR libgcj/14358, libgcj/24552:
352         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
353         aliases for 'euc_jp' and 'eucjp'.
354         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
355         canonical names in output.
356         (%map): Added UnicodeLittle and UnicodeBig.
358 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
360         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
362 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
364         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
365         library extensions.
367 2005-10-12  Andrew Haley  <aph@redhat.com>
369         PR java/24251
370         * link.cc (ensure_method_table_complete): Install Miranda methods
371         for interfaces too.
373 2005-10-10  Tom Tromey  <tromey@redhat.com>
375         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
376         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
377         Now static.
379 2005-10-05  Richard Henderson  <rth@redhat.com>
381         PR target/23602
382         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
383         but not BACKTRACESPEC.
384         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
386 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
388         * testsuite/lib/jni.exp (gcj_jni_test_one): For
389         darwin, use -shared-libgcc not -lgcc_s, and explain why.
390         (gcj_jni_invocation_test_one): Likewise.
392 2005-09-30  Tom Tromey  <tromey@redhat.com>
394         PR libgcj/24051:
395         * Makefile.in: Rebuilt.
396         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
397         requested.
398         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
399         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
400         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
401         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
402         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
403         * configure: Rebuilt.
404         * configure.ac: Pass --enable-qt-peers when qt is requested.
406 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
408         * configure.ac: Fix typo.
409         * configure: Regenerate.
411 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
413         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
414         __LP64__ is defined rather than __powerpc64__.
415         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
416         (compare_and_swap_release): Likewise.
418 2005-09-28  David Daney  <ddaney@avtrex.com>
420         * HACKING: Update instructions for classpath import.
422 2005-09-27  Tom Tromey  <tromey@redhat.com>
424         PR libgcj/23367:
425         * include/jvm.h (_Jv_FreeMethodCache): Declare.
426         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
427         (struct _Jv_mcache): Likewise.
428         (method_cache): Likewise.
429         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
430         (_Jv_AddMethodToCache): Likewise.
431         (_Jv_FreeMethodCache): New function.
432         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
433         * aclocal.m4, configure, include/config.h.in: Rebuilt.
434         * configure.ac: Invoke GCC_CHECK_TLS.
436 2005-09-27  Tom Tromey  <tromey@redhat.com>
438         * configure, Makefile.in: Rebuilt.
439         * sources.am: Rebuilt.
440         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
441         * configure.ac (TOOLKIT): Handle Qt peers properly.
443 2005-09-23  Tom Tromey  <tromey@redhat.com>
445         Imported Classpath 0.18.
446         * sources.am, Makefile.in: Updated.
447         * Makefile.am (nat_source_files): Removed natProxy.cc.
448         * java/lang/reflect/natProxy.cc: Removed.
449         * gnu/classpath/jdwp/VMFrame.java,
450         gnu/classpath/jdwp/VMIdManager.java,
451         gnu/classpath/jdwp/VMVirtualMachine.java,
452         java/lang/reflect/VMProxy.java: New files.
454 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
456         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
457         list.
459 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
461         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
462         Remove ClasspathToolkit references.
464 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
466         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
467         * gnu/awt/xlib/XFramePeer.java: Likewise.
468         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
470 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
472         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
473         classpath/native/jawt/jawt.c.
474         * Makefile.in: Regenerate.
475         * jawt.c: Remove file.
476         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
477         jawt_md.h.  Add ../classpath/include/jawt.h and
478         ../classpath/include/jawt_md.h.
479         * include/Makefile.in: Regenerate.
480         * include/jawt.h: Regenerate.
481         * include/jawt_md.h: Regenerate.
483 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
485         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
486         `null' parent ClassLoader to parent constructor.
487         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
488         constructor.
490 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
492         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
494 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
496         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
497         Use libjava_find_lib to find the proper libgcj.
499 2005-09-16  Anthony Green  <green@redhat.com>
501         PR libgcj/20198
502         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
503         resources should all have canonicalized names.
505 2005-09-15  Tom Tromey  <tromey@redhat.com>
507         PR libgcj/16032:
508         * interpret.cc (AVAL1U): Resolve pool entry when not direct
509         threaded.
510         (AVAL2U): Likewise.
511         (compile): Handle 'ldc class' specially.
512         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
513         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
514         * defineclass.cc (handleCodeAttribute): Set new field.
515         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
516         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
517         (parse): Check version numbers.
518         (_Jv_ClassReader::is_15): New field.
519         (_Jv_ClassReader): Initialize it.
520         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
522 2005-09-15  Tom Tromey  <tromey@redhat.com>
524         For PR libgcj/23288:
525         * java/net/URLClassLoader.java (definePackage): Correctly order
526         arguments to definePackage.  Look up per-entry Attributes.
527         (getAttributeValue): New method.
529 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
531         PR libgcj/23762
532         * shlibpath.m4: New file.
533         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
534         macro.
535         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
536         [USE_LTDL]: If it was not defined with -D set java.library.path to
537         the value of LTDL_SHLIBPATH_VAR.
539 2005-09-08  Andrew Haley  <aph@redhat.com>
541         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
542         loader.
543         (toString): Likewise.
545 2005-09-08  Andrew Haley  <aph@redhat.com>
547         PR java/22084
548         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
549         R/M field in instruction is 100.
551 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
553         PR libgcj/23761
554         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
555         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
556         lt_dlinit.
557         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
558         Define variable.
559         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
560         _Jv_Module_Load_Path.
562 2005-09-06  Tom Tromey  <tromey@redhat.com>
564         PR libgcj/23739:
565         * testsuite/libjava.jni/pr23739.c: New file.
566         * testsuite/libjava.jni/pr23739.java: New file.
567         * testsuite/libjava.jni/pr23739.out: New file.
568         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
569         * java/lang/reflect/natMethod.cc (invoke): Updated.
570         * java/lang/natClass.cc (isAssignableFrom): Updated.
571         (isInstance): Likewise.
572         (_Jv_IsAssignableFrom): Reversed arguments.
573         (_Jv_IsInstanceOf): Updated.
574         (_Jv_CheckCast): Likewise.
575         (_Jv_CheckArrayStore): Likewise.
576         (_Jv_IsAssignableFromSlow): Reversed arguments.
577         (_Jv_InterfaceAssignableFrom): Likewise.
578         * link.cc (verify_type_assertions): Updated.
579         * prims.cc (_Jv_CheckAccess): Updated.
581 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
583         Testsuite changes for PR java/23431.
584         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
585         8.4.6.2-hiding-5.
586         * testsuite/libjava.compile/PR23431_1.java: New testcase.
587         * testsuite/libjava.compile/PR23431_2.java: Likewise.
588         * testsuite/libjava.compile/PR23431_1.xfail: New file.
589         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
591 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
593         PR libgcj/23549
594         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
595         -disableassertions and -da.
597 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
599         * configure.ac: Replace "*-*-darwin[0-7].*" with
600         "*-*-darwin[[0-7]].*"
601         * configure: Regenerate.
603 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
605         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
606         darwin < 8.
607         * configure: Regenerate.
609 2005-08-23  Roman Kennke  <roman@kennke.org>
611         * java/lang/Character.java
612         (toChars(int)): New JDK1.5 method.
613         (toChars(int, char[], int)): New JDK1.5 method.
614         (charCount): New JDK1.5 method.
615         (isSupplementaryCodePoint): New JDK1.5 method.
616         (isValidCodePoint): New JDK1.5 method.
618 2005-08-23  Tom Tromey  <tromey@redhat.com>
620         * aclocal.m4, Makefile.in: Rebuilt.
621         * Makefile.am (property_files): Added META-INF files.
622         (propertyo_files): Changed definition.
623         ($(propertyo_files)): Updated patterns.
625 2005-08-22  Tom Tromey  <tromey@redhat.com>
627         PR libgcj/22622:
628         * configure: Rebuilt.
629         * configure.ac: Correctly create Configuration.java (for
630         temporary use).
632 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
634         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
635         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
636         * mingwld.m4: ... this new file.
637         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
638         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
640 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
642         PR libgcj/23507
643         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
644         assignment.  Cast operands of compare to function pointer type.
646 2005-08-21  Tom Tromey  <tromey@redhat.com>
648         * HACKING: Updated for hacking classpath in libgcj.
650 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
652         PR libgcj/21692
653         * sysdep/pa/descriptor.h: New file.
654         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
656 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
658         * Makefile.am (extra_ldflags_libjava): New variable to
659         substitute in.
660         (LIBLINK): Add extra_ldflags_libjava to it.
661         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
662         "-Wl,-single_module".
663         * Makefile.in: Regenerate.
664         * aclocal.m4: Regenerate.
665         * configure: Regenerate.
666         * gcj/Makefile.in: Regenerate.
667         * include/Makefile.in: Regenerate.
668         * testsuite/Makefile.in: Regenerate.
670 2005-08-17  Tom Tromey  <tromey@redhat.com>
672         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
673         friend.
674         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
675         * testsuite/libjava.lang/bclink.java: New file.
676         * testsuite/libjava.lang/bclink.out: New file.
677         * link.cc (print_class_loaded): Changed ABI test to look at
678         various _syms fields.
680 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
682         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
683         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
685 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
687         More testsuite adjustments for PR java/19870.
688         * testsuite/libjava.lang/PR19870_2.java: New testcase.
689         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
690         new testcase.
691         * testsuite/libjava.jacks/jacks.xfail: Remove
692         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
694 2005-08-16  Tom Tromey  <tromey@redhat.com>
696         * gnu/xml/xpath/XPathParser.y: Removed.
698 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
700         PR libgcj/23353:
701         * java/lang/natObject.cc (clone): Clear sync_info.
703 2005-07-26  Tom Tromey  <tromey@redhat.com>
705         * gnu/java/net/protocol/ftp/package.html,
706         gnu/javax/swing/text/html/package.html,
707         gnu/javax/swing/text/html/parser/package.html,
708         gnu/javax/swing/text/html/parser/models/package.html,
709         gnu/javax/swing/text/html/parser/support/package.html,
710         gnu/javax/swing/text/html/parser/support/low/package.html,
711         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
712         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
713         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
714         java/awt/geom/doc-files/CubicCurve2D-1.png,
715         java/awt/geom/doc-files/CubicCurve2D-2.png,
716         java/awt/geom/doc-files/CubicCurve2D-3.png,
717         java/awt/geom/doc-files/CubicCurve2D-4.png,
718         java/awt/geom/doc-files/CubicCurve2D-5.png,
719         java/awt/geom/doc-files/Ellipse-1.png,
720         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
721         java/awt/geom/doc-files/GeneralPath-1.png,
722         java/awt/geom/doc-files/QuadCurve2D-1.png,
723         java/awt/geom/doc-files/QuadCurve2D-2.png,
724         java/awt/geom/doc-files/QuadCurve2D-3.png,
725         java/awt/geom/doc-files/QuadCurve2D-4.png,
726         java/awt/geom/doc-files/QuadCurve2D-5.png,
727         javax/imageio/package.html, javax/imageio/event/package.html,
728         javax/imageio/metadata/package.html,
729         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
730         javax/swing/border/doc-files/BevelBorder-1.png,
731         javax/swing/border/doc-files/BevelBorder-2.png,
732         javax/swing/border/doc-files/BevelBorder-3.png,
733         javax/swing/border/doc-files/EmptyBorder-1.png,
734         javax/swing/border/doc-files/EtchedBorder-1.png,
735         javax/swing/border/doc-files/EtchedBorder-2.png,
736         javax/swing/border/doc-files/LineBorder-1.png,
737         javax/swing/border/doc-files/MatteBorder-1.png,
738         javax/swing/border/doc-files/MatteBorder-2.png,
739         javax/swing/border/doc-files/MatteBorder-3.png,
740         javax/swing/border/doc-files/MatteBorder-4.png,
741         javax/swing/border/doc-files/MatteBorder-5.png,
742         javax/swing/border/doc-files/MatteBorder-6.png,
743         javax/swing/border/doc-files/SoftBevelBorder-1.png,
744         javax/swing/border/doc-files/SoftBevelBorder-2.png,
745         javax/swing/border/doc-files/SoftBevelBorder-3.png,
746         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
747         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
748         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
749         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
750         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
751         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
752         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
753         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
754         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
755         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
756         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
757         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
758         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
759         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
760         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
761         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
762         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
763         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
764         javax/swing/plaf/doc-files/ComponentUI-1.dia,
765         javax/swing/plaf/doc-files/ComponentUI-1.png,
766         javax/swing/plaf/doc-files/TreeUI-1.png,
767         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
768         javax/xml/parsers/package.html, javax/xml/transform/package.html,
769         javax/xml/transform/dom/package.html,
770         javax/xml/transform/sax/package.html,
771         javax/xml/transform/stream/package.html,
772         javax/xml/validation/package.html, javax/xml/xpath/package.html:
773         Removed.
775 2005-07-22  Tom Tromey  <tromey@redhat.com>
777         * include/Makefile.in: Rebuilt.
778         * include/Makefile.am (tool_include__HEADERS): Include
779         classpath's jni.h.
781 2005-07-20  Tom Tromey  <tromey@redhat.com>
783         * sources.am, Makefile.in: Rebuilt.
784         * Makefile.am (all_xlib_lo_files): Removed.
785         (all_libgcj_lo_files): Likewise.
786         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
787         (xlib_java_source_files): Removed.
788         (xlib_nat_headers): Updated.
789         * configure: Rebuilt.
790         * configure.ac: Create standard.omit.
791         * standard.omit.in: New file.
792         * standard.omit: Removed.
793         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
794         'package'.
795         (emit_package_rule): Special case xlib peers.
796         (emit_source_var): Likewise.
797         Read standard.omit.in.
798         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
800 2005-07-18  Tom Tromey  <tromey@redhat.com>
802         * HACKING: Updated.
804 2005-07-19  Matthias Klose  <doko@debian.org>
806         * classpath/java/awt/im/InputContext.java (clinit): Initialize
807           line, im.
809 2005-07-18  Tom Tromey  <tromey@redhat.com>
811         PR libgj/21058:
812         * sources.am, Makefile.in: Rebuilt.
813         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
814         file.
815         (emit_source_var): Don't emit patsubst with './'.
817 2005-07-18  Tom Tromey  <tromey@redhat.com>
819         * Makefile.in: Rebuilt.
820         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
822 2005-07-17  Andreas Jaeger  <aj@suse.de>
824         * defineclass.cc (handleClassBegin): Remove unused variable.
826 2005-07-16  Andreas Schwab  <schwab@suse.de>
828         * scripts/makemake.tcl (emit_package_rule): Emit command to create
829         target directory.
830         * Makefile.am (%.lo): Don't create it here.
831         * sources.am, Makefile.in: Regenerated.
833 2005-07-15  Tom Tromey  <tromey@redhat.com>
835         Major merge with Classpath.
836         Removed many duplicate files.
837         * HACKING: Updated.x
838         * classpath: Imported new directory.
839         * standard.omit: New file.
840         * Makefile.in, aclocal.m4, configure: Rebuilt.
841         * sources.am: New file.
842         * configure.ac: Run Classpath configure script.  Moved code around
843         to support.  Disable xlib AWT peers (temporarily).
844         * Makefile.am (SUBDIRS): Added 'classpath'
845         (JAVAC): Removed.
846         (AM_CPPFLAGS): Added more -I options.
847         (BOOTCLASSPATH): Simplified.
848         Completely redid how sources are built.
849         Include sources.am.
850         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
851         * include/jni.h: Removed (in Classpath).
852         * scripts/classes.pl: Updated to look at built classes.
853         * scripts/makemake.tcl: New file.
854         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
855         -I options.
856         (gcj_jni_invocation_compile_c_to_binary): Likewise.
858 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
860         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
861         (eventMask): New field.
862         (XCanvasPeer(Component)): Use attributes field.
863         (setBackground): Implemented.
864         (setEventMask): Process mask only if changed.
865         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
866         (eventLoopThread): New field.
867         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
868         (interrupt): Removed.
869         (run): New method.
870         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
871         and Component events.
872         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
873         field.
874         (configureNotify): Set and clear processingConfigureNotify.
875         (setBounds): Process only if processingConfigureNotify is false.
876         (toBack): Implemented.
877         (toFront): Implemented.
878         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
879         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
880         color.
881         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
882         (wakeNativeQueue): Do nothing.
883         (iterateNativeQueue): Do queue.wait if blocking.
884         * gnu/gcj/xlib/Font.java (loadFont): New method.
885         (loadFontImpl): Renamed native method, was loadFont. 
886         * gnu/gcj/xlib/Window.java (toFront): New method.
887         (toBack): New method.
888         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
889         loadFont.
890         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
891         (toFront): New method. 
892         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
894 2005-07-14  Andrew Haley  <aph@redhat.com>
896         * gnu/java/net/protocol/file/Connection.java (unquote): New
897         method.
898         (connect): Unquote filename.
899         gnu/java/net/protocol/jar/Connection.java (getInputStream):
900         Likewise.  
901         (getJarFile): Likewise.
903         * java/net/URLConnection.java (getContentHandler): Guard cast with
904         instaceof.
906         * java/net/URL.java (URL): If the file part of a spec is absolute,
907         ignore the file part of its context.
909 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
911         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
912         Implemented VirtualMachine Command Set.
914 2005-07-14  Tom Tromey  <tromey@redhat.com>
916         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
917         Classpath.
919 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
921         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
922         Implemented the Field CommandSet.
923         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
924         Implemented the InterfaceType CommandSet.
926 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
928         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
929         shutdown to jdwp instead of connection.
931 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
933         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
934         New file.
936 2005-07-08  Colin Walters  <walters@verbum.org>
938         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
939         check for abstract classes or interfaces here; JVM spec
940         says it should throw an exception, so we'll do so later.
941         * interpret.cc (run): Throw an InstantiationException for
942         abstract classes and interfaces.
944 2005-07-08  Andrew Haley  <aph@redhat.com>
946         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
947         (regular, non-realtime scheduling), not SCHED_RR (realtime,
948         round-robin).
950 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
952         * gnu/classpath/jdwp/util/Signature.java
953         (computeFieldSignature): New Method.
955 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
957         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
958         file.
960 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
962         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
963         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
965 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
967         * testsuite/libjava.compile/PR21045.java: New test.
968         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
969         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
971 2005-07-06  Tom Tromey  <tromey@redhat.com>
973         * java/io/InputStreamReader.java (refill): Handle no-progress
974         case correctly.
975         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
977 2005-07-06  Tom Tromey  <tromey@redhat.com>
979         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
981 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
983         * testsuite/libjava.compile/PR19674.java: New test.
985 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
987         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
988         New file.
990 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
992         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
993         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
994         CommandSets to handle JdwpCommandPackets.
995         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
996         Constructor.
998 2005-07-01  Tom Tromey  <tromey@redhat.com>
1000         * libtool-version: Updated.
1002 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
1004         * gnu/classpath/jdwp/util/JdwpString.java: New file.
1006 2005-06-30  Keith Seitz  <keiths@redhat.com>
1008         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
1009         (myWrite): New abstract method.
1010         (toBytes): Remove.
1011         (myToBytes): Remove.
1012         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
1013         method.
1014         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
1015         method.
1016         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
1017         JdwpPacket.write instead of JdwpPacket.toBytes.
1019 2005-06-30  Keith Seitz  <keiths@redhat.com>
1021         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
1022         method.
1023         (_bytes): New member.
1024         (_doStream): New member.
1025         (JdwpConnection): Initialize new members.
1027 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
1029         * all files: Update for new FSF address.
1031 2005-06-29  Tom Tromey  <tromey@redhat.com>
1033         PR libgcj/22211:
1034         * testsuite/libjava.lang/pr22211.java: New file.
1035         * java/lang/natThread.cc (finish_): Synchronize when updating
1036         alive_flag.
1037         (_Jv_AttachCurrentThread): Likewise.
1038         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
1039         * java/lang/Thread.java (isAlive): Now synchronized.
1041 2005-06-29  Tom Tromey  <tromey@redhat.com>
1043         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
1044         _Jv_CheckCast.
1046 2005-06-28  Robin Green  <greenrd@greenrd.org>
1048         PR java/22189
1049         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
1050         error.
1052 2005-06-27  Tom Tromey  <tromey@redhat.com>
1054         PR java/21540, PR java/13788:
1055         * testsuite/libjava.compile/pr21540.java: New file.
1056         * testsuite/libjava.compile/pr13788.java: New file.
1057         * testsuite/libjava.jacks/jacks.xfail: Updated.
1059 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1061         * testsuite/libjava.mauve/xfails: Updated to reflect current state
1062         of mauve and libjava. 
1064 2005-06-24  Tom Tromey  <tromey@redhat.com>
1066         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
1067         where class' name is NULL.
1068         (_Jv_FindClass): Don't wait for class state.
1069         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
1070         name found.
1071         * include/java-interp.h (_Jv_DefineClass): Updated.
1072         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
1073         (struct _Jv_ClassReader): Likewise.
1074         (found_name): New field.
1075         (handleClassBegin): Set *found_name.
1076         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
1077         (handleClassBegin): Throw error if super class not set.
1078         (read_methods): Correctly call check_tag and prepare_pool_entry.
1080 2005-06-24  Tom Tromey  <tromey@redhat.com>
1082         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
1084 2005-06-24  Tom Tromey  <tromey@redhat.com>
1086         * verify.cc (verify_instructions_0): Correctly handle situation
1087         where PC falls off end.
1089 2005-06-24  Tom Tromey  <tromey@redhat.com>
1091         * interpret.cc (compile): Handle case where table entry is
1092         outside of PC range.
1094 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
1096         * testsuite/libjava.compile/PR20697.java: New test-case.
1098 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
1100         * Makefile.am (SUBDIRS): Use append for conditional.
1101         (toolexeclib_LTLIBRARIES): Likewise.
1102         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
1103         a conditional append.
1104         * Makefile.in: Regenerate.
1106 2005-06-17  Keith Seitz  <keiths@redhat.com>
1108         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
1109         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
1110         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
1111         file.
1112         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
1113         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
1114         file.
1115         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
1116         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
1117         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
1118         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
1119         file.
1120         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
1121         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
1123 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
1125         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
1126         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
1127         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
1128         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
1129         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
1130         * Makefile.in: Regenerate.
1132 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
1134         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
1135         (USING_POSIX_PLATFORM): ... here.
1136         * Makefile.am: Delete USING_ECOS_PLATFORM.
1137         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1138         external/Makefile.in, external/sax/Makefile.in,
1139         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
1141 2005-06-15  Tom Tromey  <tromey@redhat.com>
1143         PR libgcj/17536:
1144         * testsuite/libjava.lang/pr17536.java: New file.
1145         * testsuite/libjava.lang/pr17536.out: New file.
1147 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
1149         PR libgcj/21074:
1150         * gnu/java/net/protocol/http/HTTPURLConnection.java
1151         (getHeaderFieldKey): Check index.
1153 2005-06-15  Tom Tromey  <tromey@redhat.com>
1155         PR libgcj/21906:
1156         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
1157         methods.
1158         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
1159         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
1160         static.
1161         (append_partial_itable): Use it.
1162         (set_vtable_entries): Likewise.
1164 2005-06-15  Tom Tromey  <tromey@redhat.com>
1166         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
1167         last_was_sep in loop.
1169 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1171         * configure.host: Handle Solaris 10/x86.
1173 2005-06-14  Keith Seitz  <keiths@redhat.com>
1175         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
1176         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
1178 2005-06-14  Keith Seitz  <keiths@redhat.com>
1180         * gnu/classpath/jdwp/id/ArrayId.java: New file.
1181         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
1182         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
1183         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
1184         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
1185         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
1186         * gnu/classpath/jdwp/id/JdwpId.java: New file.
1187         * gnu/classpath/jdwp/id/ObjectId.java: New file.
1188         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
1189         * gnu/classpath/jdwp/id/StringId.java: New file.
1190         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
1191         * gnu/classpath/jdwp/id/ThreadId.java: New file.
1193 2005-06-14  Tom Tromey  <tromey@redhat.com>
1195         PR libgcj/19877:
1196         * configure, aclocal.m4, Makefile.in: Rebuilt.
1198 2005-06-14  Tom Tromey  <tromey@redhat.com>
1200         * java/lang/Class.java (getClasses): New method.
1201         (internalGetClasses): Likewise.
1202         (getClassLoader): Updated documentation.
1203         (getDeclaredClasses): New overload; old overload no longer
1204         native.
1205         (_getConstructors): Removed.
1206         (resourcePath): Updated.
1207         * java/lang/natClass.cc (getClasses): Removed.
1208         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
1209         Updated.
1210         (_getConstructors): Removed.
1212 2005-06-13  Jim Huang  <jserv@kaffe.org>
1214         PR libgcj/22036:
1215         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
1216         (_Jv_JNI_NewObject): Likewise.
1218 2005-06-13  Tom Tromey  <tromey@redhat.com>
1220         PR java/21844:
1221         * testsuite/libjava.lang/pr21844.java: New file.
1222         * testsuite/libjava.lang/pr21844.out: New file.
1224 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
1226         PR libgcj/21949
1227         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
1228         From Gary Benson.
1230 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1232         * java/text/MessageFormat.java (parse): When parsing strings, check
1233         for an empty pattern trailer.
1235 2005-06-06  Keith Seitz  <keiths@redhat.com>
1237         * gnu/classpath/jdwp/util/Signature.java: New file.
1238         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
1240 2005-06-05  Anthony Green  <green@redhat.com>
1242         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
1243         fall-through bug.
1245 2005-06-04  Anthony Green  <green@redhat.com>
1247         * java/net/URLClassLoader.java: import gnu.gcj.Core,
1248         and gnu.java.net.protocol.core.CoreInputStream.
1249         (CureURLLoader): New class.
1250         (CoreResource): New class.
1251         (addURLImpl): Add special treatment for the "core" protocol.
1252         * gnu/gcj/natCore.cc (find): New method.
1253         * gnu/gcj/Core.java (find): New method.
1255 2005-06-03  Keith Seitz  <keiths@redhat.com>
1257         * gnu/classpath/jdwp/transport/ITransport.java: New file.
1258         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
1259         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
1261 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
1263         * jawt.c: Remove malloc.h, covered by stdlib.h.
1265         * testsuite/libjava.jni/jni.exp
1266         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
1267         the build process.
1269 2005-06-02  Keith Seitz  <keiths@redhat.com>
1271         * gnu/classpath/jdwp/transport/TransportException.java: New file.
1273 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
1275         * mauve-libgcj: Remove implemented classes from the fail section.
1276         Add two new not implemented to it.
1278 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
1280         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
1281         AC_SUBST definition from configure.host.
1282         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
1283         to -fomit-frame-pointer on 32-bit x86 targets.
1285 2005-06-01  Tom Tromey  <tromey@redhat.com>
1287         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
1289 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1291         PR libgcj/20435:
1292         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
1293         (static): Add possessive matching to JAVA_1_4 syntax.
1294         * gnu/regexp/RETokenRepeated.java (possessive): New field.
1295         (makePossessive, isPossessive): New methods.
1296         (match): Don't back off during possessive matching.
1297         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
1298         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
1299         to JAVA_1_4.
1301 2005-06-01  Keith Seitz  <keiths@redhat.com>
1303         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
1304         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
1305         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
1307 2005-06-01  Tom Tromey  <tromey@redhat.com>
1309         PR libgcj/21785:
1310         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
1311         (currentLoader): New method.
1312         * java/io/ObjectInputStream.java (resolveProxyClass): Use
1313         currentLoader.
1314         (currentLoader): Now native.
1315         (currentClassLoader): Removed.
1316         * testsuite/libjava.lang/pr21785.java: New file.
1317         * testsuite/libjava.lang/pr21785.out: New file.
1319 2005-06-01  Tom Tromey  <tromey@redhat.com>
1321         PR libgcj/21753:
1322         * java/lang/natString.cc (substring): Changed sharing heuristic.
1324 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
1326         PR libgcj/21821
1327         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
1328         MAXPATHLEN. Format exception message using a StringBuffer instead.
1330 2005-05-29  Michael Koch  <konqueror@gmx.de>
1332         PR libgcj/20273:
1333         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
1335 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1337         * ChangeLog: Fix typo.
1339 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
1341         Testsuite adjustments for PR java/19870.
1342         * testsuite/libjava.lang/PR19870.java: New testcase.
1343         * testsuite/libjava.lang/PR19870.out: Expected output for the
1344         testcase.
1345         * testsuite/libjava.jacks/jacks.xfail: Add
1346         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
1349 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
1351         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
1352         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
1353         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
1354         classes.
1355         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
1356         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
1357         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
1358         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
1360 2005-05-25  Richard Henderson  <rth@redhat.com>
1362         PR libgcj/21692
1363         * sysdep/descriptor-n.h: New file.
1364         * sysdep/descriptor-y.h: New file.
1365         * sysdep/powerpc/descriptor.h: New file.
1366         * configure.host: Set $descriptor_h appropriate for the host.
1367         * configure.ac: Link it.
1368         * configure: Regenerate.
1369         * stacktrace.cc: Include sysdep/descriptor.h.
1370         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
1372 2005-05-25  Chris Burdess  <dog@gnu.org>
1374         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
1375         end entity callbacks.
1377 2005-05-24  Gary Benson  <gbenson@redhat.com>
1379         PR libgcj/21736:
1380         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
1381         Handle DateFormat.DEFAULT case correctly.
1383 2005-05-21  Tom Tromey  <tromey@redhat.com>
1385         PR libgcj/21703:
1386         * java/lang/ref/natReference.cc (find_slot): Handle case where
1387         table has no NULL entries.
1388         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
1389         table has no NULL entries.
1391 2005-05-22  Andreas Jaeger  <aj@suse.de>
1393         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
1394         avoid warnings.
1396 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
1398         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
1400 2005-05-19  Richard Henderson  <rth@redhat.com>
1402         * exception.cc: Revert 05-17 gcc_unreachable change.
1404 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1406         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
1407         _Jv_RegisterInitiatingLoader to register array classes, not
1408         _Jv_RegisterClass.
1409         (_Jv_RegisterInitiatingLoader): Give up if called very early during
1410         bootstrapping. Add a FIXME to handle this case better.
1412 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1414         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
1415         convenience library.
1416         (libgcj_la_SOURCES): New. Move sources here.
1417         (libgcj.la): Remove rule.
1419 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1421         PR libgcj/19729
1422         * gnu/java/security/provider/DSASignature.java: Import updates
1423         from GNU Crypto.
1425 2005-05-18  Anthony Green  <green@redhat.com>
1427         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
1428         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1429         classpath_jawt_destroy_lock): New functions.
1430         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
1431         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1432         classpath_jawt_destroy_lock): New functions.
1433         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
1434         field.
1435         * jawt.c: #include malloc.h.
1436         (_Jv_Lock): Use lock.
1437         (_Jv_Unlock): Ditto.
1438         (_Jv_GetDrawingSurface): Initialize lock.
1439         (_Jv_FreeDrawingSurface): Destroy lock.
1440         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
1442 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
1444         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
1445         * Makefile.in: Regenerate.
1447 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
1449         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
1450         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
1451         * aclocal.m4, configure, config.h.in, include/config.h.in,
1452         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1453         external/Makefile.in, external/sax/Makefile.in,
1454         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
1456 2005-05-17  David Daney  <ddaney@avtrex.com>
1458         PR libgcj/18220
1459         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
1461 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
1463         * exception.cc (abort): Remove std::abort hack.
1464         (gcc_unreacheable): Define.
1466 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1468         * Makefile.am (Makefile.deps): Do not create native.list and
1469         bytecodes.list.
1470         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
1471         * Makefile.in: Regenerate.
1473 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1475         * configure.ac (--enable-libgcj-multifile): Remove.
1477         * Makefile.am (all_native_compiled_source_files,
1478         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
1479         all_libgcj_lo_files, all_xlib_lo_files,
1480         all_java_deps_files, all_java_stamp_files,
1481         all_java_filelist_files): New variables.
1482         (EXTRA_DIST): New Automake variable.
1483         (CLEANFILES): Add .stamp, .list and .lo files.
1484         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
1485         (classes.stamp): Depend on $(all_java_stamp_files).
1486         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
1487         going through write_entries_to_file.
1489         (all_java_source_files, all_property_files): Move earlier.
1490         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
1491         all_java_class_files): Remove.
1492         (gtk_awt_peer_sources): Rename to...
1493         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
1495         (ONESTEP): Remove.
1496         (libgcj0_convenience_la_SOURCES): Remove Java source files.
1497         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
1498         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
1499         (libgcj_la_SOURCES): Remove.
1500         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
1501         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
1502         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
1504         * configure: Regenerate.
1505         * Makefile.in: Regenerate.
1506         * external/Makefile.in: Regenerate.
1507         * external/sax/Makefile.in: Regenerate.
1508         * external/w3c_dom/Makefile.in: Regenerate.
1509         * gcj/Makefile.in: Regenerate.
1510         * include/Makefile.in: Regenerate.
1511         * libltdl/Makefile.in: Regenerate.
1512         * testsuite/Makefile.in: Regenerate.
1514 2005-05-16  Tom Tromey  <tromey@redhat.com>
1516         * java/nio/charset/Charset.java (encode, decode): Synchronize on
1517         'this', not the class.
1519 2005-05-16  Tom Tromey  <tromey@redhat.com>
1521         * gnu/java/net/protocol/http/Headers.java (parse): Include final
1522         character of line.
1524 2005-05-16  Tom Tromey  <tromey@redhat.com>
1526         PR libgcj/21606:
1527         * java/net/URI.java (unquote): Handle lower-case letters as well.
1529 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1531         PR libgcj/20504
1532         * gnu/regexp/RE.java: Add support for quoting constructs.
1534 2005-05-15  Tom Tromey  <tromey@redhat.com>
1536         * java/lang/String.java (startsWith): Fixed javadoc.
1538 2005-05-15  Tom Tromey  <tromey@redhat.com>
1540         PR java/21519:
1541         * testsuite/libjava.compile/pr21519.java: New file.
1542         * testsuite/libjava.compile/pr21519.no-link: New file.
1544 2005-05-15  Tom Tromey  <tromey@redhat.com>
1546         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
1548 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
1550         PR libgcj/21557
1551         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
1552         interrupt status flag if _Jv_CondWait is interrupted.
1554 2005-05-13  Tom Tromey  <tromey@redhat.com>
1556         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
1557         element in path.
1559 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
1561         * include/jvm.h (gcj::verifyClasses): Declare.
1562         * link.cc (gcj::verbose_class_flag): Moved.
1563         * prims.cc (gcj::verifyClasses): Define here.
1564         (gcj::verbose_class_flag): Move definition here.
1565         (_Jv_Linker::wait_for_state): Don't call verify_class
1566         if gcj::verifyClasses is not set.
1567         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
1569 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
1571         * gij.cc (main): Recognize '-verify', '-noverify', and
1572         '-verifyremote'
1574 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1576         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
1578 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1580         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
1581         libgcjawt.la.
1583 2005-05-11  Tom Tromey  <tromey@redhat.com>
1585         * external/w3c_dom/Makefile.in: Rebuilt.
1586         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
1587         -fbootstrap-classes.
1588         * external/sax/Makefile.in: Rebuilt.
1589         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
1590         -fbootstrap-classes.
1591         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
1592         friend.
1593         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1594         Call _Jv_CopyClassesToSystemLoader.
1595         * java/lang/natClassLoader.cc (system_class_list): New global.
1596         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
1597         classes differently.
1598         (_Jv_CopyClassesToSystemLoader): New function.
1599         (SYSTEM_LOADER_INITIALIZED): New define.
1600         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
1601         (_Jv_CheckABIVersion): Use it.
1602         (_Jv_ClassForBootstrapLoader): New function.
1603         * Makefile.in: Rebuilt.
1604         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
1606 2005-05-10  Tom Tromey  <tromey@redhat.com>
1608         * gcj/javaprims.h: Updated.
1609         * java/lang/String.java (String(StringBuilder)): New constructor.
1610         * java/lang/natStringBuilder.cc: New file.
1611         * java/lang/StringBuilder.java: New file.
1612         * Makefile.in: Rebuilt.
1613         * Makefile.am (core_java_source_files): Added StringBuilder.java.
1614         (nat_source_files): Added natStringBuilder.cc.
1616 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
1618         PR java/21436
1619         * testsuite/libjava.jacks/jacks.xfail: Adjust.
1621 2005-05-09  Mike Stump  <mrs@apple.com>
1623         * configure: Regenerate.
1625 2005-05-09  David Daney  <ddaney@avtrex.com>
1627         * java/util/BitSet.java (get(int, int)): Fix breakage when
1628         requested set doesn't start on a multiple of 64.
1630 2005-05-07  Matthias Klose  <doko@debian.org>
1632         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
1634 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1636         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
1637         * Makefile.in: Regenerate.
1638         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
1639         (createCompatibleVolatileImage(int,int)): Implement.
1640         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
1641         Likewise.
1642         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
1643         New fields.
1644         (createVolatileImage): Implement.
1645         (createBuffers): Likewise.
1646         (getBackBuffer): Likewise.
1647         (flip): Likewise.
1648         (destroyBuffers): Likewise.
1649         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
1650         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
1651         (CanvasFlipBufferStrategy): Likewise.
1652         (createBufferStrategy(int)): New method.
1653         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1654         * java/awt/Component.java (BltBufferStrategy): Implement and
1655         document class.
1656         (FlipBufferStrategy): Likewise.
1657         * java/awt/Window.java (WindowBltBufferStrategy): New class.
1658         (WindowFlipBufferStrategy): Likewise.
1659         (createBufferStrategy(int)): New method.
1660         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1661         (getBufferStrategy): Likewise.
1662         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
1663         front to frontCaps and back to backCaps.
1665 2005-05-06  Michael Koch  <konqueror@gmx.de>
1667         * java/awt/BufferCapabilities.java
1668         (BufferCapabilities): Merged javadoc.
1670 2005-05-06  Michael Koch  <konqueror@gmx.de>
1672         * java/util/Locale.java
1673         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
1674         (getLocale): New methods. Use it everywhere where instances of Locales
1675         are needed.
1676         (getDisplayLanguage): Merged javadoc.
1677         (getDisplayCountry): Likewise.
1678         (getDisplayVariant): Likewise.
1680 2005-05-06  Archie Cobbs  <archie@dellroad.org>
1682         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1683         use DeleteLocalRef() to avoid exhausting local native references.
1685 2005-05-06  Mark Wielaard  <mark@klomp.org>
1687         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1688         (window_delete_cb): Don't use C++ style comments.
1690 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1692         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
1693         copyright header.
1695 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1697         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1698         (window_delete_cb): Made the function return TRUE.
1700 2005-05-06  Roman Kennke  <roman@kennke.org>
1702         * javax/swing/text/PlainView.java
1703         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1704         offset parameter.
1705         * javax/swing/text/Utilities.java
1706         (drawTabbedText): Initilialize local variable pos correctly.
1708 2005-05-06  Roman Kennke  <roman@kennke.org>
1710         * javax/swing/text/AbstractDocument.java
1711         (LeafElement): Made start and end package private fields for
1712         effective reindexing.
1713         * javax/swing/text/PlainDocument.java
1714         (constructor): The field rootElement is always BranchElement,
1715         so we handle it as such.
1716         (removeUpdate): Rewritten reindexing for removeUpdate so that
1717         the actual removal is taken into account.
1719 2005-05-06  Roman Kennke  <roman@kennke.org>
1721         * javax/swing/text/GapContent.java:
1722         Removed debugging output stuff, which I accidentally left in.
1724 2005-05-06  Roman Kennke  <roman@kennke.org>
1726         * javax/swing/text/GapContent.java:
1727         Implemented a real GapContent. Only the public methods have
1728         been implemented so far and still no UndoableEdit support.
1730 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1732         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1733         the typo.
1735 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1737         * java/awt/image/BufferStrategy.java: Document.
1739         * java/awt/BufferCapabilities.java: Document.
1741 2005-05-04  Tom Tromey  <tromey@redhat.com>
1743         * java/nio/channels/FileLock.java (toString): Entirely avoid
1744         String "+".
1746 2005-05-04  Andrew Overholt  <overholt@redhat.com>
1748         * java/nio/channels/FileLock.java (toString): Re-implement using
1749         StringBuffer.
1751 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1753         * java/awt/ImageCapabilities.java: Document.
1755         * java/awt/image/VolatileImage.java: Unindent copyright header.
1757 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1759         * java/awt/image/VolatileImage.java: Document.
1761 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1764         (init_glib_threads): Check if threading system is already
1765         initialized.
1767 2005-05-03  Andrew Overholt  <overholt@redhat.com>
1769         PR libgcj/21372:
1770         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1771         could not be acquired.
1772         * java/nio/channels/FileLock.java (toString): Re-implement to be
1773         in line with other implementations.
1775 2005-05-03  Tom Tromey  <tromey@redhat.com>
1777         * java/lang/VMSecurityManager.java (currentClassLoader): Use
1778         'systemClasssLoader' directly.
1780 2005-05-03  Tom Tromey  <tromey@redhat.com>
1782         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1783         call VMClassLoader.getSystemClassLoader.
1785 2005-04-29  Michael Koch  <konqueror@gmx.de>
1787         * java/net/NetworkInterface.java
1788         (static): Removed.
1789         (NetworkInterface(String,InetAddress)): Made package-private.
1790         (NetworkInterface(String,InetAddress[])): New constructor.
1791         (getRealNetworkInterfaces): Removed.
1792         (getByName): Use VMNetworkInterface.getInterfaces().
1793         (getByInetAddress): Likewise.
1794         (getNetworkInterfaces): Likewise.
1795         * java/net/VMNetworkInterface.java,
1796         java/net/natVMNetworkInterfaceNoNet.cc,
1797         java/net/natVMNetworkInterfacePosix.c,c
1798         java/net/natVMNetworkInterfaceWin32.cc: New files.
1799         * java/net/natNetworkInterfaceNoNet.cc,
1800         java/net/natNetworkInterfacePosix.cc,
1801          java/net/natNetworkInterfaceWin32.cc: Removed.
1802         * configure.ac
1803         * Makefile.am
1804         * configure, Makefile.in: Regenerated.
1806 2005-04-29  Andrew Haley  <aph@redhat.com>
1808         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1810 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
1812         * java/nio/channels/FileChannelImpl.java
1813         (FileChannelImpl(String, int)): Removed.
1814         (FileChannelImpl(File, int)): Added. Check if opened file is a
1815         directory.
1816         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1817         Call FileChannelImpl(File, int).
1818         * java/io/FileOutputStream.java (FileInputStream): Call
1819         FileChannelImpl(File, int).
1820         * java/io/RandomAccessFile.java (RandomAccessFile):
1821         Call FileChannelImpl(File, int). Switched constructors around.
1823 2005-04-27  Andrew Haley  <aph@redhat.com>
1825         PR java/19285
1826         * prims.cc (_Jv_ResolvePoolEntry): New function.
1827         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1828         * link.cc (_Jv_Linker::find_field): New arg: found_class.
1829         (resolve_pool_entry): Initialize the class in which a field is
1830         found.
1831         (link_symbol_table): Pass new arg to found_class.
1833 2005-04-29  Michael Koch  <konqueror@gmx.de>
1835         * java/nio/charset/Charset.java
1836         (provider): Reformatted.
1838 2005-04-29  Michael Koch  <konqueror@gmx.de>
1840         * gnu/java/net/protocol/http/HTTPConnection.java:
1841         (userAgent): Initialize from system properties.
1842         (initUserAgent): Removed.
1844 2005-04-29  Mark Wielaard  <mark@klomp.org>
1846         * java/util/ResourceBundle.java (getObject): Clarify
1847         MissingResourceException detailed message.
1848         (tryBundle(String,ClassLoader)): Likewise.
1850 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1852         * java/beans/FeatureDescriptor.java:
1853         (getShortDescription): Implemented fallback mechanism and fixed
1854         documentation (fixes bug #12637).
1855         (getDisplayName): Dito.
1857 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1859         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1860         will now be set correctly.
1861         (flushCaches): Now flushes all cached intermediate data.
1863 2005-04-28  Michael Koch  <konqueror@gmx.de>
1865         * java/net/InetAddress.java
1866         (aton): Fixed javadoc.
1867         (lookup): Likewise.
1869 2005-04-28  Tom Tromey  <tromey@redhat.com>
1871         * javax/swing/Timer.java
1872         (drainEvents, queueEvent): Now package-private.
1874 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1876         * javax/swing/Timer.java
1877         (constructor): Assigning initialDelay.
1879 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1881         * javax/swing/Timer.java
1882         (Waker.run): firing the first action event.
1884 2005-04-28  Michael Koch  <konqueror@gmx.de>
1886         * javax/swing/Timer.java: Reordered all fields and methods,
1887         Added more javadocs.
1889 2005-04-28  Michael Koch  <konqueror@gmx.de>
1891         * javax/swing/Timer.java: Javadocs merged
1892         from GNU classpath.
1894 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
1896         * gnu/java/net/protocol/file/Connection.java
1897         (StaticData): New inner class to contain statics.
1898         (connect, getHeaderField): Modified to use StaticData.
1900 2005-04-28  Michael Koch  <konqueror@gmx.de>
1902         * gnu/java/net/protocol/file/Connection.java
1903         (lineSeparator): Initialize with SystemProperties.getProperty().
1905 2005-04-27  Chris Burdess  <dog@gnu.org>
1907         * gnu/java/net/protocol/file/Connection.java: Return correct content
1908         length for directory listing.
1909         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1910         #11285: return valid URLs for directories.i
1912 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1914         * Makefile.am (ordinary_java_source_files): Add
1915         gnu/java/net/protocol/https/Handler.java.
1916         * Makefile.in: Regenerate.
1917         * java/net/URL.java: Remove org.metastatic.jessie from default
1918         protocol search path.
1920 2005-04-27  Chris Burdess  <dog@gnu.org>
1922         * gnu/java/net/protocol/https/Handler.java: New file.
1924 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
1926         * javax/imageio/spi/IIORegistry.java (IIORegistry):
1927         Don't assume that awt Toolkit is always ClasspathToolkit.
1929 2005-04-27  Chris Burdess  <dog@gnu.org>
1931         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1932         absolute and relative paths in Location header.
1934 2005-04-27  Chris Burdess  <dog@gnu.org>
1936         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1937         FileNotFoundException and implement getErrorStream on 404.
1939 2005-04-27  Sven de Marothy <sven@physto.se>
1941         * java/util/TimeZone.java,
1942         (getDefaultDisplayName): Fix previous fix.
1944 2005-04-27  Sven de Marothy <sven@physto.se>
1946         * java/util/TimeZone.java,
1947         (getDefaultDisplayName): Don't print zero offsets.
1949 2005-04-27  Roman Kennke  <roman@kennke.org>
1951         * javax/swing/plaf/basic/BasicScrollBarUI
1952         (getThumbBounds): Do not make thumb smaller than
1953         minimumThumbSize.
1954         * javax/swing/plaf/metal/MetalLookAndFeel
1955         (initComponentDefaults): Added color defaults for ScrollBar.
1956         * javax/swing/plaf/metal/MetalScrollBarUI
1957         (paintThumb): Added.
1958         (getMinimumThumbSize): Added.
1960 2005-04-27  Roman Kennke  <roman@kennke.org>
1962         * javax/swing/plaf/metal/MetalLookAndFeel
1963         (initComponentDefaults): Added some default colors.
1965 2005-04-27  Roman Kennke  <roman@kennke.org>
1967         * javax/swing/plaf/basic/BasicScrollBarUI.java
1968         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1969         to 'ScrollBar.thumbShadow'. The formes does not exist.
1970         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1972 2005-04-27  Roman Kennke  <roman@kennke.org>
1974         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1975         * javax/swing/BoxLayout.java: Likewise.
1976         * javax/swing/UIManager.java: Likewise.
1977         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1978         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1979         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1980         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1981         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1982         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1983         * javax/swing/text/Document.java: Likewise.
1984         * javax/swing/text/GapContent.java: Likewise.
1985         * javax/swing/text/SimpleAttributeSet.java: Likewise.
1986         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1988 2005-04-27  Roman Kennke  <roman@kennke.org>
1990         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1991         (getPropertyPrefix): Added.
1993 2005-04-27  Roman Kennke  <roman@kennke.org>
1995         * javax/swing/plaf/basic/BasicButtonUI.java
1996         (getPropertyPrefix): Added.
1997         (installDefaults): Use getPropertyPrefix instead of hard-coded
1998         prefix.
2000 2005-04-27  Roman Kennke  <roman@kennke.org>
2002         * javax/swing/JToggleButton.java
2003         (JToggleButton): Removed horizontalAlignment setting, this
2004         was wrong. Added setting of an actionCommand, ToggleButtons
2005         have "" as default actionCommand.
2007 2005-04-27  Michael Koch  <konqueror@gmx.de>
2009         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
2010         to work around CNI limitation.
2012 2005-04-27  Sven de Marothy  <sven@physto.se>
2014         * java/nio/charset/Charset.java:
2015         (defaultCharset()): New method.
2016         Status updated to 1.5
2018 2005-04-27  Sven de Marothy  <sven@physto.se>
2020         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
2022 2005-04-27  Sven de Marothy  <sven@physto.se>
2024         * java/nio/charset/Charset.java: Reset cached de/encoders.
2026 2005-04-27  Robert Schuster <thebohemian@gmx.net>
2028         * java/nio/charset/Charset.java (forName): Throws
2029         IllegalArgumentException when argument is null
2030         and added documentation.
2032 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2034         * java/nio/charset/Charset.java (providers):
2035         New method to make an array of CharsetProviders defined in
2036         META-INF/services/java.nio.charset.spi.CharsetProvider.
2037         (charsetForName, availableCharsets): Use the
2038         new method providers().
2040 2005-04-26  Michael Koch  <konqueror@gmx.de>
2042         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
2043         Fixed typos in javadocs.
2044         (isSiteLocalAddress): Fixed handling of byte values.
2045         (isMCLinkLocal): Likewise.
2046         * java/net/Inet4Address.java
2047         (isMulticastAddress): Call super method.
2048         (isLoopbackAddress): Likewise.
2049         (isAnyLocalAddress): Likewise.
2050         (isLinkLocalAddress): Likewise.
2051         (isSiteLocalAddress): Likewise.
2052         (isMCGlobal): Likewise.
2053         (isMCNodeLocal): Likewise.
2054         (isMCLinkLocal): Likewise.
2055         (isMCSiteLocal): Likewise.
2056         (isMCOrgLocal): Likewise.
2057         (getHostAddress): Likewise.
2059 2005-04-26  Sven de Marothy  <sven@physto.se>
2061         * java/net/InetAddress.java
2062         (toString): Don't print empty hostnames.
2064 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
2066         PR libgcj/21136:
2067         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
2068         'false' to native lock().
2069         (lock): Pass 'true' to native lock().
2071 2005-04-26  Michael Koch  <konqueror@gmx.de>
2073         * java/net/InetAddress.java:
2074         Fixed typos in javadocs.
2076 2005-04-26  Andrew Haley  <aph@redhat.com>
2078         PR libgcj/21020:
2079         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
2080         field's type.
2082 2005-04-26  Tom Tromey  <tromey@redhat.com>
2084         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
2085         gnu): Now package-private.
2086         * javax/swing/text/html/parser/DocumentParser.java (parser,
2087         callBack, gnu): Now package-private.
2088         * javax/swing/text/StringContent.java (content, setOffset,
2089         checkLocation): Now package-private.
2090         * javax/swing/text/JTextComponent.java (doc): Now
2091         package-private.
2092         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
2093         lastGoodOrientation, origParent, borders, cachedBounds,
2094         cachedOrientation, DragWindow): Now package-private.
2095         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
2096         decrButton, viewport, panel, currentScrollLocation, layoutManager,
2097         tabAreaRect, contentRect, createIncreaseButton,
2098         createDecreaseButton, findPointForIndex): Now package-private.
2099         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2100         (currentDividerLocation, moveDividerTo): Now package-private.
2101         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
2102         package-private.
2103         * javax/swing/plaf/basic/BasicScrollBarUI.java
2104         (calculatePreferredSize, valueForYPosition, valueForXPosition):
2105         Now package-private.
2106         * javax/swing/plaf/basic/BasicPopupMenuUI.java
2107         (topWindowListener): Now package-private.
2108         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
2109         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
2110         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
2111         package-private.
2112         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
2113         package-private.
2114         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
2115         Now package-private.
2116         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
2117         package-private.
2118         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
2119         borderInsets): Now package-private.
2120         (arrowButtonWidth): Likewise.  Now a constant.
2121         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
2122         makeTabs, updatePreviewPanel): Now package-private.
2123         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
2124         darkShadow, highlight): Now package-private.
2125         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2126         (addColorToQueue): Now package-private.
2127         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2128         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
2129         GSpinner, BSpinner): Now package-private.
2130         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
2131         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
2132         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
2133         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
2134         updateTrack): Now package-private.
2135         * javax/swing/TransferHandler.java (clipboard): Now
2136         package-private.
2137         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
2138         package-private.
2139         * javax/swing/Timer.java (drainEvents, queueEvent): Now
2140         package-private.
2141         * javax/swing/RepaintManager.java (globalManager): Now
2142         package-private.
2143         * javax/swing/JFormattedTextField.java (editValid): Now
2144         package-private.
2145         * javax/swing/JColorChooser.java (makeModal): Now
2146         package-private.
2147         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
2148         index, path): Now package-private.
2149         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
2150         lineQuadIntersect, lineCubicIntersect, linesIntersect,
2151         pointEquals): Now package-private.
2152         * java/awt/geom/Arc2D.java (type): Now package-private.
2153         * java/awt/Window.java (windowFocusOwner): Now package-private.
2154         * java/awt/TextComponent.java (editable, selectionStart,
2155         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
2156         package-private.
2157         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
2158         package-private.
2159         * java/awt/MenuComponent.java (focusListener): Now
2160         package-private.
2161         * java/awt/Frame.java (state): Now package-private.
2162         * java/awt/Choice.java (pItems): Now package-private.
2163         * java/awt/Checkbox.java (state): Now package-private.
2164         * java/awt/Button.java (actionCommand, label): Now
2165         package-private.
2166         * gnu/javax/swing/text/html/parser/support/Parser.java
2167         (attributes, _handleEndTag_remaining, _handleStartTag): Now
2168         package-private.
2169         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
2170         package-private.
2171         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
2172         clip, transform, font, comp): Now package-private.
2174 2005-04-26  Tom Tromey  <tromey@redhat.com>
2176         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
2177         static way.
2179 2005-04-26  Mark Wielaard  <mark@klomp.org>
2181         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
2182         to MalformedURLException.
2184 2005-04-26  Michael Koch  <konqueror@gmx.de>
2186         * java/security/AccessControlContext.java:
2187         Reformated.
2188         (protectedDomains): Renamed from 'protectionDomain'.
2189         * java/security/AccessController.java:
2190         Reformatted.
2192 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
2194         * gnu/java/security/action/GetSecurityPropertyAction.java
2195         (GetSecurityPropertyAction): Implement PrivilegedAction instead
2196         of extending GetPropertyAction.
2197         (name): New field.
2198         (value): Likewise.
2199         (setParamters): New methods.
2200         (GetSecurityPropertyAction): Use new setParameters methods.
2202 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
2204         * java/security/Security.java,
2205         java/security/cert/X509CRLSelector.java,
2206         java/security/cert/X509CertSelector.java:
2207         Modified to use SystemProperties.
2209 2005-04-26  Michael Koch  <konqueror@gmx.de>
2211         * java/lang/System.java
2212         (setSecurityManager): Fixed comment.
2213         (getSecurityManager): Removed obsolete comment.
2215 2005-04-25  Tom Tromey  <tromey@redhat.com>
2217         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
2219 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
2221         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2222         (connectSignals): Realize the window widget after connecting
2223         signals.
2225 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
2227         * java/awt/GraphicsEnvironment.java
2228         (localGraphicsEnvironment): New field.
2229         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
2230         property.
2231         (isHeadless): Added support for java.awt.headless property.
2232         (isHeadlessInstance): Call headless().
2234 2005-04-25  Roman Kennke  <roman@kennke.org>
2236         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
2237         (getDisplayMode): Added. Returns the current display mode.
2238         (isFullScreenSupported): Added.
2239         * java/awt/GraphicsDevice.java
2240         (setFullScreenWindow): Implemented a primitive fullscreen mode.
2241         This resizes and relocates the fullscreen window so that it uses
2242         the whole screen. This is not a fully accelerated fullscreen
2243         exclusive mode.
2245 2005-04-25  Michael Koch  <konqueror@gmx.de>
2247         * java/lang/Runtime.java,
2248         java/lang/SecurityManager.java,
2249         java/lang/System.java,
2250         java/lang/ThreadGroup.java:
2251         Replaced java.lang.Runtime.securityManager by
2252         java.lang.SecurityManager.current (as used in GNU classpath).
2254 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
2256         * java/awt/Transparency.java
2257         (getTransparency): fixed API docs.
2259 2005-04-25  Archie Cobbs  <archie@dellroad.org>
2261         * java/lang/Throwable.java: simplify initializing cause in constructor
2263 2005-04-25  Michael Koch  <konqueror@gmx.de>
2265         * gnu/classpath/SystemProperties.java: New file.
2266         * gnu/classpath/natSystemProperties.cc: New file.
2267         * java/lang/Runtime.java
2268         (defaultProperties): Removed.
2269         (static): Likewise.
2270         (): Made thrown exceptions more verbose.
2271         (insertSystemProperties): Removed.
2272         * java/lang/System.java
2273         (static): Likewise.
2274         (properties): Likewise.
2275         (setSecurityManager): Reordered modifiers.
2276         (getenv): Improved javadoc.
2277         (): Likewise.
2278         (isWordsBigEndian): Removed.
2279         * java/lang/natRuntime.cc
2280         (_Jv_SetDLLSearchPath): Likewise.
2281         (file_encoding): Likewise.
2282         (default_file_encoding): Likewise.
2283         (getpwuid_adaptor): Likewise.
2284         (insertSystemProperties): Likewise.
2285         * java/lang/natSystem.cc
2286         (isWordsBigEndian): Likewise.
2287         * Makefile.am
2288         (ordinary_java_source_files):
2289         Added gnu/classpath/SystemProperties.java.
2290         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
2291         * Makefile.in: Regenerated.
2293 2005-04-25  Roman Kennke  <roman@kennke.org>
2295         * javax/swing/plaf/basic/BasicScrollBarUI.java
2296         (initDefaults): Initialize thumb*Color fields correctly.
2298 2005-04-25  Roman Kennke  <roman@kennke.org>
2300         * javax/swing/text/GapContent.java:
2301         Added API comments.
2303 2005-04-25  Roman Kennke  <roman@kennke.org>
2305         * javax/swing/plaf/metal/MetalBorders.java:
2306         Added inner class ScrollPaneBorder.
2307         * javax/swing/plaf/metal/MetalLookAndFeel.java
2308         (initComponentDefaults): Added default for "ScrollPane.border"
2309         to use the new ScrollPaneBorder.
2311 2005-04-25  Roman Kennke  <roman@kennke.org>
2313         * javax/swing/text/AbstractDocument.java:
2314         Added FIXME comments. This class still has to be
2315         implemented thread-safe.
2317 2005-04-25  Roman Kennke  <roman@kennke.org>
2319         * javax/swing/tree/DefaultTreeSelectionModel.java
2320         (DefaultTreeSelectionModel): Initialize listenerList here.
2322 2005-04-25  Roman Kennke  <roman@kennke.org>
2324         * javax/swing/plaf/metal/MetalTextFieldUI.java
2325         (createUI): Return one instance per Component instead of a
2326         shared instance.
2328 2005-04-25  Roman Kennke  <roman@kennke.org>
2330         * javax/swing/text/Document.java:
2331         Added API documentation comments.
2333 2005-04-25  Roman Kennke  <roman@kennke.org>
2335         * javax/swing/text/AbstractDocument.java
2336         (getDocumentProperties): Implemented.
2337         (setDocumentProperties): Implemented.
2338         (getProperty): Implemented.
2339         (putProperty): Implemented.
2341 2005-04-25  Roman Kennke  <roman@kennke.org>
2343         * javax/swing/BoxLayout
2344         (preferredLayoutSize): Fixed computation so that it correctly
2345         adds the top and bottom insets of the container.
2347 2005-04-25  Roman Kennke  <roman@kennke.org>
2349         * javax/swing/plaf/basic/BasicMenuItemUI.java
2350         (paintText): Make use of the 'selectionForeground' UI default
2351         for text painting.
2353 2005-04-25  Roman Kennke  <roman@kennke.org>
2355         * javax/swing/plaf/basic/BasicLookAndFeel.java
2356         (initSystemColorDefaults): Modified colors to match the
2357         BasicLookAndFeel in the reference implementation.
2358         (initComponentDefaults): Likewise.
2360 2005-04-25  Tom Tromey  <tromey@redhat.com>
2362         * include/jni.h (_Jv_va_list): Removed.
2363         Moved configuration code...
2364         * include/jni_md.h: ... here.  New file.
2365         * include/Makefile.in: Rebuilt.
2366         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
2368 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
2370         * java/io/FileInputStream.java (FileInputStream(File)),
2371         java/io/FileOutputStream.java (FileOutputStream(File)):
2372         Removed unnecessary File.isDirectory() check.
2374 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
2376         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
2377         gij if get_multilibs fails.
2379 2005-04-22  Anthony Green  <green@redhat.com>
2381         * jni.cc (natrehash): Don't bother clearing memory again.
2382         * interpret.cc (do_allocate_static_fields): Ditto.
2383         * java/lang/natString.cc (rehash): Ditto.
2385 2005-04-22  Roman Kennke  <roman@kennke.org>
2387         * javax/swing/plaf/basic/BasicLookAndFeel.java
2388         (initComponentDefaults): Changed Button.border to be
2389         BasicBorders.getButtonBorder as it should be.
2391 2005-04-22  Roman Kennke  <roman@kennke.org>
2393         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2394         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
2395         should according to a mauve testcase, instead of the preferred
2396         size.
2398 2005-04-22  Roman Kennke  <roman@kennke.org>
2400         * javax/swing/JMenu.java
2401         (add): add(Component) now calls PopupMenu.insert(..) instead of
2402         PopupMenu.add(..). add(..) is not implemented for Component,
2403         so JComponent.add(..) is called instead, adding the component
2404         in the wrong place.
2406 2005-04-22  Roman Kennke  <roman@kennke.org>
2408         * javax/swing/plaf/basic/BasicButtonListener.java
2409         (mousePressed): replaced query to getModifiersEx with getModifiers.
2410         This method relied on faulty behaviour in getModifierEx.
2411         (mouseReleased): replaced query to getModifiersEx with getModifiers.
2412         This method relied on faulty behaviour in getModifierEx.
2414 2005-04-22  Roman Kennke  <roman@kennke.org>
2416         * javax/swing/plaf/metal/MetalLookAndFeel.java
2417         (getDefaults): Call addCustomEntriesToTable on the theme.
2419 2005-04-22  Roman Kennke  <roman@kennke.org>
2421         * javax/swing/tree/DefaultTreeSelectionModel.java
2422         (constructor): Added implementation.
2423         (getRowMapper): Added implementation.
2424         (setSelectionMode): Added implementation.
2425         (getSelectionMode): Added implementation.
2426         (getSelectionPath): Added implementation.
2427         (getSelectionPaths): Added implementation.
2428         (getSelectionCount): Added implementation.
2429         (isSelectionEmpty): Added implementation.
2430         (getSelectionRows): Added implementation.
2431         (getMinSelectionRow): Added implementation.
2432         (getMaxSelectionRow): Added implementation.
2433         (getLeadSelectionRow): Added implementation.
2434         (getLeadSelectionPath): Added implementation.
2436 2005-04-22  Casey Marshall <csm@gnu.org>
2438         * gnu/java/security/der/DERValue.java
2439         (getValueAs): new method.
2440         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
2441         (<init>): read both dates with 'DERValue.getValueAs', with
2442         'GENERALIZED_TIME' as the argument.
2444 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
2446         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
2447         be null, check for that case and don't deference it.
2449 2005-04-22  Sven de Marothy  <sven@physto.se>
2451         * java/util/logging/LogManager.java: Reformatted.
2452         (readConfiguration): If a logger for a key is not found, create one.
2454 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2456         * java/rmi/Naming.java:
2457         Added class documentation.
2458         (lookup(String)): Call parseURL and getName.
2459         (bind(String,java.rmi.Remote)): Likewise.
2460         (unbind(String)): Likewise.
2461         (rebind(String, java.rmi.Remote)): Likewise.
2462         (list(String)): Call parseURL.
2463         (parseURL(String)): New method to handle parsing and defaults.
2464         (getName(java.net.URL)): New method to handle finding the service name.
2466 2005-04-21  Tom Tromey  <tromey@redhat.com>
2468         * java/lang/natClass.cc (initializeClass): Link class.
2470 2005-04-21  Tom Tromey  <tromey@redhat.com>
2472         * java/lang/AssertionError.java: Typo fix.
2474 2005-04-21  Tom Tromey  <tromey@redhat.com>
2476         * java/lang/VMClassLoader.java (transformException): Removed.
2477         (resolveClass): No longer native.  Now does nothing.
2478         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
2480 2005-04-21  Anthony Green  <green@redhat.com>
2482         PR libgcj/21115
2483         * testsuite/libjava.special/special.exp,
2484         testsuite/libjava.special/pr21115I.java,
2485         testsuite/libjava.special/pr21115.java,
2486         testsuite/libjava.special/pr21115.out: New files.
2488 2005-04-21  Chris Burdess  <dog@gnu.org>
2490         * gnu/java/net/CRLFInputStream.java: Rewrite to return
2491         CRLF-delimited chunks.
2493 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2495         * java/net/URI.java:
2496         Added class documentation.
2497         (parseURI(String)): Only handle scheme-specific parts
2498         if URI is not opaque.  Allow for parts that can't be null.
2499         (toString()): Output the scheme-specific part whole, rather
2500         than as its possibly non-existent components.
2502 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2504         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
2505         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
2506         Adjusted to match new regexp.
2508 2005-04-20  Michael Koch  <konqueror@gmx.de>
2510         * gnu/java/net/protocol/file/Connection.java,
2511         gnu/java/net/protocol/jar/Connection.java:
2512         Reorganized import statements. Fixed @author tags.
2514 2005-04-20  Chris Burdess  <dog@gnu.org>
2516         * java/io/DataOutputStream.java (writeUTF): Use block write for
2517         output.
2519 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2521         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
2522         (readLine): Changed newline handling.
2524 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2526         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
2527         ColorModel,byte[],int,int): Fixed byte to int conversion.
2529 2005-04-20  Michael Koch  <konqueror@gmx.de>
2531         * java/io/FilePermission.java
2532         (serialVersionUID): Made private.
2533         (ALL_FILES): New constant.
2534         (implies): Handle '<<ALL FILES>>' case.
2536 2005-04-20  Sven de Marothy  <sven@physto.se>
2538         * gnu/java/awt/peer/gtk/GdkGraphics.java:
2539         (drawImage): Don't notify the image observer for offscreen images.
2540         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
2541         (setPixels): Don't notify the image observer.
2543 2005-04-20  Sven de Marothy  <sven@physto.se>
2545         * java/nio/ByteBufferImpl.java:
2546         (putChar): Inlined for speed.
2547         (put, get): Bulk methods can use arraycopy.
2548         * java/nio/CharBufferImpl.java:
2549         (put, get): Bulk methods can use arraycopy.
2551 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2553         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
2554         and field updates.
2555         * java/nio/CharBufferImpl.java
2556         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
2557         (get(), put(char)): Inlined checks and field updates. Fixed to
2558         take array_offset into account.
2559         (get(int), put(int, char)): Fixed to take array_offset into account.
2561 2005-04-20  Sven de Marothy  <sven@physto.se>
2563         * java/text/SimpleDateFormat.java:
2564         (formatWithAttribute): Pad year before truncating digits.
2566 2005-04-20  Michael Koch  <konqueror@gmx.de>
2568         * gnu/java/net/PlainDatagramSocketImpl.java:
2569         Merged copyright header.
2570         * gnu/java/net/PlainSocketImpl.java:
2571         Reorganized import statements. Fixed @author tags.
2573 2005-04-20  Michael Koch  <konqueror@gmx.de>
2575         * gnu/java/lang/ClassHelper.java,
2576         gnu/java/lang/reflect/TypeSignature.java:
2577         Fixed @author tag.
2579 2005-04-20  Michael Koch  <konqueror@gmx.de>
2581         * gnu/java/beans/IntrospectionIncubator.java:
2582         Fixed HTML tags in javadocs.
2584 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2586         * gnu/java/beans/IntrospectionIncubator.java
2587         (addToPropertyHash, addToListenerHash): Don't confuse get(),
2588         set(), is(), add() and remove() with properties or events.
2590 2005-04-20  Michael Koch  <konqueror@gmx.de>
2592         * gnu/java/awt/image/XBMDecoder.java:
2593         Fixed modifier order.
2595 2005-04-20  Roman Kennke  <roman@kennke.org>
2597         * javax/swing/plaf/basic/BasicButtonUI.java
2598         (paint): This should not care about margin and insets
2599         at the same time, as insets already include the margin
2600         through the border.
2601         * javax/swing/plaf/basic/BasicGraphicsUtils.java
2602         (getPreferredButtonSize): Likewise.
2603         * javax/swing/plaf/metal/MetalBorders.java
2604         (getBorderInsets): Likewise.
2606 2005-04-20  Roman Kennke  <roman@kennke.org>
2608         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2609         (createMessageArea): The JPanel that holds the message area
2610         doesn't need to override getPreferredSize. This prevents some
2611         message components from rendering nicely.
2613 2005-04-20  Roman Kennke  <roman@kennke.org>
2615         * javax/swing/plaf/metal/MetalInternalFrameUI.java
2616         (createUI): Do not share instances between components.
2617         * javax/swing/plaf/metal/MetalSliderUI.java
2618         (createUI): Do not share instances between components.
2620 2005-04-20  Roman Kennke  <roman@kennke.org>
2622         * javax/swing/plaf/metal/MetalBorders:
2623         (PopupMenuBorder): Added.
2624         * javax/swing/plaf/metal/MetalLookAndFeel
2625         (initComponentDefaults): Added PopupMenuBorder.
2627 2005-04-20  Roman Kennke  <roman@kennke.org>
2629         * javax/swing/tree/DefaultTreeSelectionModel.java:
2630         Added API documentation all over the class.
2632 2005-04-20  Roman Kennke  <roman@kennke.org>
2634         * javax/swing/plaf/basic/BasicScrollPaneUI.java
2635         (installDefaults): Link managed JScrollPane in instance field.
2636         (uninstallDefaults): Unlink managed JScrollPane in instance field.
2638 2005-04-20  Roman Kennke  <roman@kennke.org>
2640         * javax/swing/plaf/basic/BasicScrollBarUI.java
2641         (PropertyChangeHandler.propertyChange): Add default
2642         to switch statement to avoid errors with unusual values
2643         for orientation.
2644         (installComponents): Likewise.
2646 2005-04-20  Roman Kennke  <roman@kennke.org>
2648         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2649         (createUI): Instances cannot be shared among JScrollPanes.
2651 2005-04-20  Roman Kennke  <roman@kennke.org>
2653         * javax/swing/plaf/metal/MetalLookAndFeel.java
2654         (initComponentDefaults): Added defaults for Menu, MenuBar
2655         MenuEntry fonts.
2657 2005-04-20  Roman Kennke  <roman@kennke.org>
2659         * javax/swing/plaf/basic/BasicScrollBarUI.java
2660         (installUI): Install listeners after everything all, otherwise
2661         we get strange NPEs in some situations, especially with
2662         custom L&Fs.
2663         (createIncreaseButton): Orientation is expected to be
2664         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2665         HORIZONTAL or VERTICAL.
2666         (createDecreaseButton): Orientation is expected to be
2667         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2668         HORIZONTAL or VERTICAL.
2669         (installComponents): Orientation for buttons is expected to be
2670         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2671         HORIZONTAL or VERTICAL.
2673 2005-04-20  Roman Kennke  <roman@kennke.org>
2675         * javax/swing/JToolBar.java
2676         (addImpl): Adjust added AbstractButtons to look and feel like
2677         toolbar buttons.
2678         * javax/swing/plaf/metal/MetalBorders.java:
2679         Adjusted insets of ButtonBorder.
2680         (RolloverMarginBorder): Added class for toolbar buttons.
2681         (getButtonBorder): Adjusted factory method to return a shared
2682         instance of button border.
2683         (getToolbarButtonBorder): Added factory method to return a shared
2684         instance of toolbar button border.
2685         (getMarginBorder): Added factory method to return a shared
2686         instance of margin border.
2687         * javax/swing/plaf/metal/MetalButtonUI.java
2688         (installDefauls): If button is child of a JToolBar then set
2689         special border on this button.
2691 2005-04-20  Michael Koch  <konqueror@gmx.de>
2693         * java/net/URLConnection.java
2694         (getContent): Fixed javadoc comment.
2696 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2698         * java/net/URL.java:
2699         (toURI()): Implemented.
2701 2005-04-19  Michael Koch  <konqueror@gmx.de>
2703         * java/net/InetAddress.java
2704         (InetAddress): Fixed javadoc comment.
2705         (aton): Likewise.
2706         (lookup): Added javadoc.
2707         (getFamily): Likewise.
2708         * java/net/ServerSocket.java
2709         (getChannel): Improved javadoc comment.
2711 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2713         * gnu/xml/dom/html2/DomHTMLParser.java:
2714         Changed 'enum' references to become 'enumeration'.
2716 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2718         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2720 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2722         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2723         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2724         * gnu/javax/swing/text/html/parser/htmlValidator.java:
2725         (validateParameters(TagElement,htmlAttributeSet)):
2726         Replaced 'enum' with 'enumeration'.
2727         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2728         Likewise.
2730 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2732         * javax/swing/text/html/parser/Entity.java (getType): New method.
2733         * javax/swing/text/html/parser/DocumentParser.java:
2734         Inherit from javax.swing.text.html.parser.Parser.
2736 2005-04-19  Chris Burdess  <dog@gnu.org>
2738         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2739         check for HTML/XHTML namespace.
2741 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2743         * javax/swing/text/html/parser/Parser.java,
2744         javax/swing/text/html/parser/Entity.java:
2745         Inheriting from DTDConstants.
2746         * javax/swing/text/html/parser/AttributeList.java
2747         (getValues): Changed return type.
2748         * javax/swing/text/html/parser/DocumentParser
2749         (parse): Adding the callback parameter that receives
2750         the parsing events.
2752 2005-04-19  Chris Burdess  <dog@gnu.org>
2754         * gnu/xml/dom/DomImpl.java,
2755         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2756         gnu/xml/dom/html2/DomHTMLDocument.java,
2757         gnu/xml/dom/html2/DomHTMLElement.java,
2758         gnu/xml/dom/html2/DomHTMLFormElement.java,
2759         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2760         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2761         gnu/xml/dom/html2/DomHTMLImpl.java,
2762         gnu/xml/dom/html2/DomHTMLInputElement.java,
2763         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2764         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2765         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2766         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2767         gnu/xml/dom/html2/DomHTMLTableElement.java,
2768         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2769         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2770         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2771         UI events, and tree utility functions.
2773 2005-04-19  Michael Koch  <konqueror@gmx.de>
2775         * gnu/javax/swing/text/html/parser/HTML_401F.java,
2776         gnu/javax/swing/text/html/parser/gnuDTD.java,
2777         gnu/javax/swing/text/html/parser/models/node.java:
2778         Reworked import statements.
2780 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
2782         * javax/swing/text/html/HTMLDocument.java: New file.
2784 2005-04-19  Michael Koch  <konqueror@gmx.de>
2786         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2787         Reformatted.
2788         * javax/swing/text/html/parser/AttributeList.java:
2789         Fixed order of modifiers.
2790         (AttributeList): Made final.
2791         * javax/swing/text/html/parser/ContentModel.java:
2792         Fixed html characters in javadocs.
2793         * javax/swing/text/html/parser/DTD.java
2794         (DTD): Don't implement java.io.Serializable directly.
2795         (getElement): Simplified.
2796         * javax/swing/text/html/parser/DTDConstants.java:
2797         Reformatted file.
2798         * javax/swing/text/html/parser/Element.java:
2799         Fixed order of modifiers.
2800         * javax/swing/text/html/parser/Parser.java:
2801         Reformatted. Don't use fully-qualified class names.
2802         * javax/swing/text/html/parser/ParserDelegator.java:
2803         Fixed order of modifiers.
2804         * javax/swing/text/rtf/RTFParser.java:
2805         Re-ordered import statements.
2806         * javax/swing/text/rtf/RTFScanner.java:
2807         Removed unused import statement.
2809 2005-04-19  Chris Burdess  <dog@gnu.org>
2811         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2812         gnu/xml/dom/html2/DomHTMLCollection.java,
2813         gnu/xml/dom/html2/DomHTMLDocument.java,
2814         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2815         types.
2816         * gnu/xml/dom/html2/DomHTMLDListElement.java,
2817         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2818         gnu/xml/dom/html2/DomHTMLDivElement.java,
2819         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2820         gnu/xml/dom/html2/DomHTMLFontElement.java,
2821         gnu/xml/dom/html2/DomHTMLFormElement.java,
2822         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2823         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2824         gnu/xml/dom/html2/DomHTMLHRElement.java,
2825         gnu/xml/dom/html2/DomHTMLHeadElement.java,
2826         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2827         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2828         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2829         gnu/xml/dom/html2/DomHTMLImageElement.java,
2830         gnu/xml/dom/html2/DomHTMLInputElement.java,
2831         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2832         gnu/xml/dom/html2/DomHTMLLIElement.java,
2833         gnu/xml/dom/html2/DomHTMLLabelElement.java,
2834         gnu/xml/dom/html2/DomHTMLLegendElement.java,
2835         gnu/xml/dom/html2/DomHTMLLinkElement.java,
2836         gnu/xml/dom/html2/DomHTMLMapElement.java,
2837         gnu/xml/dom/html2/DomHTMLMenuElement.java,
2838         gnu/xml/dom/html2/DomHTMLMetaElement.java,
2839         gnu/xml/dom/html2/DomHTMLModElement.java,
2840         gnu/xml/dom/html2/DomHTMLOListElement.java,
2841         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2842         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2843         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2844         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2845         gnu/xml/dom/html2/DomHTMLParamElement.java,
2846         gnu/xml/dom/html2/DomHTMLPreElement.java,
2847         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2848         gnu/xml/dom/html2/DomHTMLScriptElement.java,
2849         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2850         gnu/xml/dom/html2/DomHTMLStyleElement.java,
2851         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2852         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2853         gnu/xml/dom/html2/DomHTMLTableColElement.java,
2854         gnu/xml/dom/html2/DomHTMLTableElement.java,
2855         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2856         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2857         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2858         gnu/xml/dom/html2/DomHTMLTitleElement.java,
2859         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2861 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2863         * javax/swing/text/ChangedCharSetException.java,
2864         javax/swing/text/html/HTMLEditorKit.java,
2865         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2866         javax/swing/text/html/parser/AttributeList.java,
2867         javax/swing/text/html/parser/ContentModel.java,
2868         javax/swing/text/html/parser/DocumentParser.java,
2869         javax/swing/text/html/parser/DTD.java,
2870         javax/swing/text/html/parser/DTDConstants.java,
2871         javax/swing/text/html/parser/Element.java,
2872         javax/swing/text/html/parser/Entity.java,
2873         javax/swing/text/html/parser/Parser.java,
2874         javax/swing/text/html/parser/TagElement.java,
2875         gnu/javax/swing/text/html/package.html,
2876         gnu/javax/swing/text/html/parser/gnuDTD.java,
2877         gnu/javax/swing/text/html/parser/HTML_401F.java,
2878         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2879         gnu/javax/swing/text/html/parser/htmlValidator.java,
2880         gnu/javax/swing/text/html/parser/package.html,
2881         gnu/javax/swing/text/html/parser/models/list.java,
2882         gnu/javax/swing/text/html/parser/models/node.java,
2883         gnu/javax/swing/text/html/parser/models/noTagModel.java,
2884         gnu/javax/swing/text/html/parser/models/package.html,
2885         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2886         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2887         gnu/javax/swing/text/html/parser/models/transformer.java,
2888         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2889         gnu/javax/swing/text/html/parser/support/package.html,
2890         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2891         gnu/javax/swing/text/html/parser/support/Parser.java,
2892         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2893         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2894         gnu/javax/swing/text/html/parser/support/low/Constants.java,
2895         gnu/javax/swing/text/html/parser/support/low/Location.java,
2896         gnu/javax/swing/text/html/parser/support/low/node.java,
2897         gnu/javax/swing/text/html/parser/support/low/package.html,
2898         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2899         gnu/javax/swing/text/html/parser/support/low/pattern.java,
2900         gnu/javax/swing/text/html/parser/support/low/Queue.java,
2901         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2902         New files.
2903         * javax/swing/text/html/HTML.java,
2904         javax/swing/text/html/parser/ParserDelegator.java:
2905         New files (replacing).
2906         * javax/swing/text/html/package.html,
2907         javax/swing/text/html/parser/package.html: Documenting the
2908         packages.
2910 2005-04-19  Chris Burdess  <dog@gnu.org>
2912         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2913         gnu/xml/dom/html2/DomHTMLAppletElement.java,
2914         gnu/xml/dom/html2/DomHTMLAreaElement.java,
2915         gnu/xml/dom/html2/DomHTMLBaseElement.java,
2916         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2917         gnu/xml/dom/html2/DomHTMLBodyElement.java,
2918         gnu/xml/dom/html2/DomHTMLBRElement.java,
2919         gnu/xml/dom/html2/DomHTMLButtonElement.java,
2920         gnu/xml/dom/html2/DomHTMLCollection.java,
2921         gnu/xml/dom/html2/DomHTMLDocument.java,
2922         gnu/xml/dom/html2/DomHTMLElement.java: New files.
2924 2005-04-19  Michael Koch  <konqueror@gmx.de>
2926         * Makefile.am: Added new files.
2927         * Makefile.in: Regenerated.
2929 2005-04-19  Roman Kennke  <roman@kennke.org>
2931         * javax/swing/text/JTextComponent.java
2932         (JTextComponent): Added repaintListener which issues repaint
2933         requests when the underlying document changes.
2934         (setDocument): Adds repaintListener to document when the
2935         document is changed.
2936         * javax/swing/text/DefaultEditorKit.java:
2937         Removed repaint calls on JTextComponent. This is now handled
2938         through a DocumentListener in JTextComponent that repaints
2939         the component when needed.
2941 2005-04-19  Roman Kennke  <roman@kennke.org>
2943         PR libgcj/21064
2944         * javax/swing/text/StyleContext.java
2945         (NamedStyle.setResolveParent): Added null
2946         pointer check.
2948 2005-04-19  Michael Koch  <konqueror@gmx.de>
2950         * java/rmi/server/RemoteObject.java:
2951         Removed unused import statement.
2953 2005-04-19  Michael Koch  <konqueror@gmx.de>
2955         * java/net/URL.java: Formatting cleanups.
2957 2005-04-19  Michael Koch  <konqueror@gmx.de>
2959         * java/awt/FontMetrics.java: Reformatted.
2960         (getFontRenderContext): Handle case when java.awt.Graphics context is
2961         given.
2963 2005-04-19  Michael Koch  <konqueror@gmx.de>
2965         * java/awt/FontMetrics.java
2966         (getStringBounds): New methods.
2969 2005-04-19  Michael Koch  <konqueror@gmx.de>
2971         * gnu/java/security/x509/X509Certificate.java
2972         (parse): Handle val == null case.
2974 2005-04-19  Roman Kennke  <roman@kennke.org>
2976         * javax/swing/plaf/metal/MetalLookAndFeel.java
2977         (initComponentDefaults): Added defaults for Menu, MenuBar
2978         MenuEntry fonts.
2980 2005-04-19  Roman Kennke  <roman@kennke.org>
2982         * javax/swing/plaf/metal/MetalLookAndFeel.java
2983         (initComponentDefaults): Added Label.font.
2984         (initSystemColorDefaults): Added this method and adjusted the
2985         general control color.
2987 2005-04-19  Roman Kennke  <roman@kennke.org>
2989         * javax/swing/plaf/metal/MetalBorders.java:
2990         Added.
2991         * javax/swing/plaf/metal/MetalButtonUI.java:
2992         (installDefaults): Install button font.
2993         * javax/swing/plaf/metal/MetalLookAndFeel.java:
2994         (initComponentDefaults): Added button border, font and margin.
2995         Changed components background color to the Metal current themes
2996         standard color.
2998 2005-04-19  Roman Kennke  <roman@kennke.org>
3000         * javax/swing/plaf/metal/MetalLookAndFeel.java
3001         (initComponentDefaults): Added to set Metal specific component
3002         defaults.
3004 2005-04-19  Mark Wielaard  <mark@klomp.org>
3006         * javax/swing/plaf/metal/MetalLookAndFeel.java
3007         (initClassDefaults): Call super.initClassDefaults().
3009 2005-04-19  Roman Kennke  <roman@kennke.org>
3011         * javax/swing/plaf/metal/MetalLookAndFeel.java
3012         (initClassDefaults): Added to include the *UI classes.
3014 2005-04-19  Roman Kennke  <roman@kennke.org>
3016         * javax/swing/plaf/metal/MetalComboBoxUI.java:
3017         Added.
3018         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
3019         Added.
3020         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
3021         Added.
3022         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
3023         Added.
3024         * javax/swing/plaf/metal/MetalProgressBarUI.java:
3025         Added.
3026         * javax/swing/plaf/metal/MetalRootPaneUI.java:
3027         Added.
3028         * javax/swing/plaf/metal/MetalScrollBarUI.java:
3029         Added.
3030         * javax/swing/plaf/metal/MetalSeparatorUI.java:
3031         Added.
3032         * javax/swing/plaf/metal/MetalSliderUI.java:
3033         Added.
3034         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
3035         Added.
3036         * javax/swing/plaf/metal/MetalTextFieldUI.java:
3037         Added.
3038         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
3040 2005-04-19  Roman Kennke  <roman@kennke.org>
3042         * javax/swing/plaf/metal/MetalButtonUI.java:
3043         Added skeleton class.
3044         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
3045         Added skeleton class.
3046         * javax/swing/plaf/metal/MetalLabelUI.java:
3047         Added skeleton class.
3048         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
3049         Added skeleton class.
3050         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
3051         Added skeleton class.
3052         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
3053         Added skeleton class.
3055 2005-04-19  Roman Kennke  <roman@kennke.org>
3057         * javax/swing/UIDefaults.java:
3058         Added API documentation for all methods.
3060 2005-04-19  Roman Kennke  <roman@kennke.org>
3062         * javax/swing/UIDefaults.java
3063         (put): Now uses new checkAndPut method instead of checking
3064         directly.
3065         (putDefaults): Fixed so that it accepts null-values and
3066         treats them like remove(key).
3067         (checkAndPut): Added. This checks for null-values and calls
3068         put or remove.
3070 2005-04-19  Michael Koch  <konqueror@gmx.de>
3072         * Makefile.am: Added new files.
3073         * Makefile.in: Regenerated.
3075 2005-04-19  Mark Wielaard  <mark@klomp.org>
3077         * java/lang/natRuntime.cc (insertSystemProperties): Set
3078         java.class.path to CLASSPATH only when not empty. Fall back to
3079         default path "." when java.class.path is empty.
3081 2005-04-19  Michael Koch  <konqueror@gmx.de>
3083         * javax/swing/text/rtf/ControlWordToken.java,
3084         javax/swing/text/rtf/RTFEditorKit.java,
3085         javax/swing/text/rtf/RTFParseException.java,
3086         javax/swing/text/rtf/RTFParser.java,
3087         javax/swing/text/rtf/RTFScanner.java,
3088         javax/swing/text/rtf/TextToken.java,
3089         javax/swing/text/rtf/Token.java: New files.
3090         * Makefile.am: Added new files.
3091         * Makefile.in: Regenerated.
3093 2005-04-19  Michael Koch  <konqueror@gmx.de>
3095         * java/awt/geom/QuadCurve2D.java:
3096         Fixed Brian Gough's name for real.
3098 2005-04-19  Roman Kennke  <roman@kennke.org>
3100         * javax/swing/UIManager.java:
3101         Make the UIManager respect the swing.defaultlaf system
3102         property.
3104 2005-04-19  Tom Tromey  <tromey@redhat.com>
3106         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
3107         not _Jv_InitClass.
3109 2005-04-19  Roman Kennke  <roman@kennke.org>
3111         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3112         Fixed tabs to spaces.
3114 2005-04-19  Roman Kennke  <roman@kennke.org>
3116         * javax/swing/plaf/basic/BasicMenuUI.java
3117         (getMaximumSize): Now returns preferredSize because JMenu should
3118         never be bigger than that.
3119         * javax/swing/JRootPane
3120         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
3122 2005-04-19  Roman Kennke  <roman@kennke.org>
3124         * javax/swing/JRootPane.java:
3125         Fixed various tabs to be spaces.
3126         (RootLayout.layoutContainer): Made menubar left aligned.
3128 2005-04-19  Roman Kennke  <roman@ontographics.com>
3130         * javax/swing/JList.java
3131         (getPreferredScrollableViewportSize):
3132         The previous implementation was merely guessing the size,
3133         now it respects layoutOrientation, visibleRowCount
3134         and preferredSize.
3135         (getScrollableTracksViewportHeight):
3136         Reimplemented so that layoutOrientation, visibleRowCount
3137         and preferred size are respected.
3138         (getScrollableTracksViewportWidth):
3139         Reimplemented so that layoutOrientation, visibleRowCount
3140         and preferred size are respected.
3141         * javax/swing/plaf/basic/BasicListUI.java
3142         (getPreferredSize):
3143         Improved calculation of preferredSize when JList is
3144         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
3145         (getCellBounds):
3146         The previous implementation assumed a layoutOrientation of
3147         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
3148         JList.VERTICAL_WRAP.
3150 2005-04-19  Roman Kennke  <roman@ontographics.com>
3152         * javax/swing/plaf/basic/BasicListUI.java
3153         (paintCell): use CellRendererPane for painting the cells.
3155 2005-04-19  Roman Kennke  <roman@ontographics.com>
3157         * javax/swing/plaf/basic/BasicListUI:
3158         fixed modifiers of several fields, methods and inner
3159         classes to match the 'spec'.
3160         (getMaximumSize): removed. It's not in the spec and the
3161         implementations was superfluous.
3163 2005-04-19  Roman Kennke  <roman@ontographics.com>
3165         * javax/swing/plaf/basic/BasicListUI:
3166         make BasicListUI capable of wrapping lists
3167         (layoutOrientation property of javax.swing.JList)
3169 2005-04-19  Roman Kennke  <roman@ontographics.com>
3171         * javax/swing/plaf/basic/BasicListUI
3172         (updateLayoutState,paint): make BasicListUI aware of the
3173         width of the rendered JList.
3175 2005-04-19  Roman Kennke  <roman@kennke.org>
3177         * javax/swing/ImageIcon.java
3178         Added API documentation.
3180 2005-04-19  Roman Kennke  <roman@kennke.org>
3182         * javax/swing/text/ImageIcon.java
3183         (ImageIcon): Use setImage instead of direct assignment.
3184         (setImage): Call loadImage to make sure that the image is loaded.
3185         (loadImage): Waits for the image to complete loading.
3186         (getImageLoadStatus): Added. Returns the load status of the
3187         image.
3189 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3191         * javax/swing/JTextArea.java (replaceRange):
3192         Fixing doc.remove(start, length) misinterpretation.
3194 2005-04-19  Roman Kennke  <roman@ontographics.com>
3196         * javax/swing/CellRendererPane.java:
3197         implemented all methods of this class.
3198         reformatted all wrong formatted code.
3200 2005-04-19  Roman Kennke  <roman@kennke.org>
3202         * javax/swing/BoxLayout.java:
3203         (layoutContainer): Made this layout manager respect the
3204         minimum, maximum and preferred size more correctly.
3206 2005-04-19  Roman Kennke  <roman@ontographics.com>
3208         * javax/swing/BoxLayout.java:
3209         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
3210         layoutContainer): Make these methods and thereby the
3211         BoxLayout respect the insets (like borders) of the
3212         component that is laid out.
3214 2005-04-19  Roman Kennke  <roman@kennke.org>
3216         * javax/swing/JComponent.java:
3217         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
3218         Untabified the file.
3220 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3222         * javax/swing/JComboBox.java (constructors): selecting the
3223         first item if the box was constructed from the provided
3224         non - empty array or vector.
3226 2005-04-19  Michael Koch  <konqueror@gmx.de>
3228         * gnu/java/awt/peer/gtk/GdkGraphics.java
3229         (getClipBounds): Handle clip being null.
3230         (setClip): Likewise.
3231         * java/beans/beancontext/BeanContextSupport.java
3232         (add): Implemented.
3233         (addAll): Likewise.
3234         (clear): Likewise.
3235         (removeAll): Likewise.
3236         (retainAll): Likewise.
3238 2005-04-19  Michael Koch  <konqueror@gmx.de>
3240         * java/beans/beancontext/BeanContextServicesSupport.java
3241         (BeanContextServicesSupport): Reimplemented.
3242         (addBeanContextServicesListener): Implemented.
3243         (initialize): Likewise.
3244         (removeBeanContextServicesListener): Likewise.
3245         * java/beans/beancontext/BeanContextSupport.java
3246         (add): Likewise.
3247         (addBeanContextMembershipListener): Likewise.
3248         (getLocale): Likewise.
3249         (initialize): Likewise.
3250         (iterator): Likewise.
3251         (remove): Likewise.
3252         (toArray): Likewise.
3254 2005-04-19  Roman Kennke  <roman@kennke.org>
3256         * java/awt/MediaTracker.java:
3257         Reindented tabs to spaces.
3259 2005-04-19  Roman Kennke  <roman@kennke.org>
3261         * java/awt/MediaTracker.java
3262         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
3263         confused the media tracker and lead to lockups. The LOADING
3264         bit is handled on other places.
3265         (addImage): Removed the 'start image tracking' stuff. This
3266         is not necessary and could confuse the media tracker.
3267         (checkAll): Improved the check for image status so that
3268         images that already complete images are detected. Also now
3269         are really all images checked and if necessary loaded. Before
3270         the method bailed out after the first incomplete image.
3271         (statusAll): Detect images that are complete after the
3272         call to Component.prepareImage(..).
3273         (checkID): The same as in checkAll.
3274         (statusID): The same as in statusAll.
3276 2005-04-19  Roman Kennke  <roman@kennke.org>
3278         * java/awt/MediaTracker.java
3279         (addImage): Synchronized list access.
3280         (waitForAll): Fixed comparison of time (changed < to >).
3281         (waitForID): Fixed comparison of time (changed < to >).
3282         (removeImage): Synchronized list access.
3284 2005-04-19  Roman Kennke  <roman@kennke.org>
3286         * java/awt/MediaTracker.java
3287         Added API documentation.
3289 2005-04-19  Roman Kennke  <roman@kennke.org>
3291         * java/awt/MediaTracker.java
3292         (MediaEntry.imageUpdate): Fixed flags. The different flags
3293         must not be ORed together.
3294         (checkAll): Modified to handle different meaning of the flags.
3295         (waitForAll): Fixed so that it waits maximum the
3296         specified amount of milliseconds.
3297         (statusAll): Modified to handle different meaning of the flags.
3298         (waitForID): Fixed so that it waits maximum the
3299         specified amount of milliseconds.
3301 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
3303         * java/awt/Font.java (decode): Handle null argument and allow
3304         space as delimiter.
3306 2005-04-19  Robert Schuster <thebohemian@gmx.net>
3308         * java/beans/EventHandler.java: Reworked documentation.
3309         (invoke): Fixed behavior to match spec.
3311 2005-04-19  Michael Koch  <konqueror@gmx.de>
3313         * java/awt/print/PrinterJob.java
3314         (pageDialog): New method.
3315         (printDialog): Implemented.
3317 2005-04-19  Michael Koch  <konqueror@gmx.de>
3319         * java/awt/image/ConvolveOp.java:
3320         Removed comment added by eclipse.
3322 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
3324         * java/awt/image/IndexColorModel.java
3325         (getRGB): Check if pixel is negative.
3327 2005-04-19  Michael Koch  <konqueror@gmx.de>
3329         * java/awt/image/RasterOp.java:
3330         Fixed wrong formatting.
3332 2005-04-18  Roman Kennke  <roman@kennke.org>
3334         * java/awt/Compmonent.java
3335         (setComponentOrientation): Made this property firing a
3336         PropertyChangeEvent.
3338 2005-04-18  Roman Kennke  <roman@kennke.org>
3340         * java/awt/BorderLayout.java
3341         (calcSize): Check for overflow when component sizes are added.
3343 2005-04-18  Robert Schuster <thebohemian@gmx.net>
3345         * java/awt/AWTEvent.java (toString): Added case
3346         for source not being an AWT component.
3348 2005-04-18  Chris Burdess  <dog@gnu.org>
3350         * gnu/java/net/BASE64.java: Truncate encoded byte array.
3352 2005-04-18  Michael Koch  <konqueror@gmx.de>
3354         gnu/java/awt/EmbeddedWindowSupport.java,
3355         gnu/java/net/HeaderFieldHelper.java,
3356         gnu/java/net/URLParseError.java,
3357         gnu/java/net/protocol/file/Handler.java,
3358         gnu/java/net/protocol/jar/Handler.java:
3359         Fixed usage of @author tag.
3361 2005-04-18  Michael Koch  <konqueror@gmx.de>
3363         * gnu/xml/aelfred2/XmlParser.java:
3364         Reverted my typo fix.
3366 2005-04-18  Michael Koch  <konqueror@gmx.de>
3368         * java/awt/geom/CubicCurve2D.java,
3369         java/awt/geom/QuadCurve2D.java:
3370         Fixed mentioning of Brian Gouph.
3372 2005-04-18  Michael Koch  <konqueror@gmx.de>
3374         * gnu/java/awt/Buffers.java,
3375         gnu/java/awt/image/ImageDecoder.java,
3376         gnu/java/awt/image/XBMDecoder.java,
3377         gnu/java/awt/peer/ClasspathFontPeer.java,
3378         gnu/java/net/CRLFInputStream.java,
3379         gnu/java/net/EmptyX509TrustManager.java,
3380         gnu/java/net/LineInputStream.java,
3381         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3382         gnu/java/net/protocol/ftp/BlockInputStream.java,
3383         gnu/java/net/protocol/ftp/CompressedInputStream.java,
3384         gnu/java/net/protocol/ftp/DTP.java,
3385         gnu/java/net/protocol/ftp/DTPInputStream.java,
3386         gnu/java/net/protocol/ftp/FTPConnection.java,
3387         gnu/java/net/protocol/ftp/FTPURLConnection.java,
3388         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3389         gnu/java/net/protocol/ftp/StreamInputStream.java,
3390         gnu/java/net/protocol/http/ChunkedInputStream.java,
3391         gnu/java/net/protocol/http/HTTPConnection.java,
3392         gnu/java/net/protocol/http/HTTPURLConnection.java,
3393         gnu/java/net/protocol/http/Headers.java,
3394         gnu/java/net/protocol/http/Request.java,
3395         gnu/java/nio/ChannelInputStream.java,
3396         gnu/java/nio/ChannelOutputStream.java,
3397         gnu/java/nio/InputStreamChannel.java,
3398         gnu/java/nio/OutputStreamChannel.java,
3399         gnu/java/nio/SelectorProviderImpl.java,
3400         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
3401         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
3402         gnu/java/rmi/dgc/DGCImpl.java,
3403         gnu/java/rmi/registry/RegistryImpl.java,
3404         gnu/java/rmi/server/ProtocolConstants.java,
3405         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
3406         gnu/java/rmi/server/RMIIncomingThread.java,
3407         gnu/java/rmi/server/RMIObjectInputStream.java,
3408         gnu/java/rmi/server/RMIObjectOutputStream.java,
3409         gnu/java/rmi/server/RMIVoidValue.java,
3410         gnu/java/rmi/server/UnicastConnectionManager.java,
3411         gnu/java/rmi/server/UnicastRef.java,
3412         gnu/java/rmi/server/UnicastRemoteCall.java,
3413         gnu/java/rmi/server/UnicastRemoteStub.java,
3414         gnu/java/rmi/server/UnicastServerRef.java,
3415         gnu/java/security/OID.java,
3416         gnu/java/security/der/DERReader.java,
3417         gnu/java/security/provider/CollectionCertStoreImpl.java,
3418         gnu/java/security/provider/DSAParameterGenerator.java,
3419         gnu/java/security/provider/DefaultPolicy.java,
3420         gnu/java/security/provider/EncodedKeyFactory.java,
3421         gnu/java/security/provider/GnuDHPublicKey.java,
3422         gnu/java/security/provider/GnuDSAPrivateKey.java,
3423         gnu/java/security/provider/GnuDSAPublicKey.java,
3424         gnu/java/security/provider/GnuRSAPrivateKey.java,
3425         gnu/java/security/provider/GnuRSAPublicKey.java,
3426         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3427         gnu/java/security/provider/RSA.java,
3428         gnu/java/security/provider/SHA1PRNG.java,
3429         gnu/java/security/provider/SHA1withRSA.java,
3430         gnu/java/security/provider/X509CertificateFactory.java,
3431         gnu/java/security/x509/GnuPKIExtension.java,
3432         gnu/java/security/x509/X500DistinguishedName.java,
3433         gnu/java/security/x509/X509CRL.java,
3434         gnu/java/security/x509/X509CRLEntry.java,
3435         gnu/java/security/x509/X509CertPath.java,
3436         gnu/java/security/x509/X509CertSelectorImpl.java,
3437         gnu/java/security/x509/X509Certificate.java,
3438         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3439         gnu/java/security/x509/ext/BasicConstraints.java,
3440         gnu/java/security/x509/ext/CRLNumber.java,
3441         gnu/java/security/x509/ext/CertificatePolicies.java,
3442         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3443         gnu/java/security/x509/ext/Extension.java,
3444         gnu/java/security/x509/ext/GeneralNames.java,
3445         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3446         gnu/java/security/x509/ext/KeyUsage.java,
3447         gnu/java/security/x509/ext/PolicyConstraint.java,
3448         gnu/java/security/x509/ext/PolicyMappings.java,
3449         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3450         gnu/java/security/x509/ext/ReasonCode.java,
3451         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3452         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
3453         Reorganized import statements.
3455 2005-04-18  Michael Koch  <konqueror@gmx.de>
3457         * gnu/java/awt/color/CieXyzConverter.java,
3458         gnu/java/awt/color/ClutProfileConverter.java,
3459         gnu/java/awt/color/ColorLookUpTable.java,
3460         gnu/java/awt/color/ColorSpaceConverter.java,
3461         gnu/java/awt/color/GrayProfileConverter.java,
3462         gnu/java/awt/color/GrayScaleConverter.java,
3463         gnu/java/awt/color/LinearRGBConverter.java,
3464         gnu/java/awt/color/ProfileHeader.java,
3465         gnu/java/awt/color/PyccConverter.java,
3466         gnu/java/awt/color/RgbProfileConverter.java,
3467         gnu/java/awt/color/SrgbConverter.java,
3468         gnu/java/awt/color/TagEntry.java,
3469         gnu/java/awt/color/ToneReproductionCurve.java:
3470         Standardized file headers.
3472 2005-04-16  Tom Tromey  <tromey@redhat.com>
3474         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
3475         'ANY' package-private.
3477 2005-04-15  Tom Tromey  <tromey@redhat.com>
3479         * Makefile.in: Rebuilt.
3480         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
3481         (libgcj0_convenience_la_LIBADD): ... here.
3483 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
3485         * gij.cc (version): Properly quote java version.
3486         (main): Fix typo in comment.
3488 2005-04-13  Mark Wielaard  <mark@klomp.org>
3490         * java/lang/natRuntime.cc (insertSystemProperties): Set
3491         java.class.path to CLASSPATH if not already set.
3493 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3495         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
3497 2005-04-12  Mike Stump  <mrs@apple.com>
3499         * configure: Regenerate.
3501 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3503         PR libgcj/20958
3504         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
3505         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
3507 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3509         PR libgcj/20975
3510         * scripts/TexinfoDoclet.java: Removed.
3511         * Makefile.am (texinfo): Removed.
3512         * Makefile.in: Regenerated.
3514 2005-04-11  Michael Koch  <konqueror@gmx.de>
3516         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
3517         Fixed wrong casting.
3519 2005-04-06  Andrew Haley  <aph@redhat.com>
3521         * testsuite/libjava.lang/bytearray.java: New file.
3522         * testsuite/libjava.lang/bytearray.out: New file.
3523         * java/lang/ClassLoader.java (loadClassFromSig): Declare
3524         (loadClass): Use it.
3525         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
3527 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
3529         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
3530         gcj-dbtool dependency
3531         * Makefile.in: Regenerated
3533 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
3535         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
3536         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
3538 2005-04-05  Andrew Haley  <aph@redhat.com>
3540         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
3541         (Tokenizer): New class.
3542         (getFiles): New method.
3543         (main): Add "-" argument.
3544         Add "-0" argument.
3545         Read list of files from stdin when merging map databases.
3546         (usage):  Add "-" argument.
3547         Add "-0" argument.
3548         Minor corrections.
3550 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3552         PR libgcj/20750
3553         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
3554         * Makefile.in: Regenerate.
3555         * configure.ac: Add --with-java-home option.
3556         * configure: Regenerate.
3557         * external/Makefile.in: Regenerate.
3558         * external/sax/Makefile.in: Regenerate.
3559         * external/w3c_dom/Makefile.in: Regenerate.
3560         * gcj/Makefile.in: Regenerate.
3561         * include/Makefile.in: Regenerate.
3562         * testsuite/Makefile.in: Regenerate.
3563         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
3564         to JAVA_HOME macro.
3566 2005-04-05  Tom Tromey  <tromey@redhat.com>
3568         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
3569         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
3570         Rewrote to use _Jv_FindClassFromSignature.
3571         * verify.cc (resolve): throw NoClassDefFoundError.
3572         * link.cc (resolve_field): Throw NoClassDefFoundError.
3573         (find_field): Likewise.
3574         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
3575         Handle error cases.  Added 'endp' argument.
3576         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
3578 2005-04-05  Tom Tromey  <tromey@redhat.com>
3580         * Makefile.in: Rebuilt.
3581         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
3582         gtk_awt_peer_sources.
3583         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
3584         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
3585         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
3586         (gtk-awt-peer.lo): New target.
3588 2005-04-04  Steve Pribyl <steve@netfuel.com>
3590         PR libgcj/20761
3591         * configure.ac: Fix fastjar definition for cross builds.
3592         * configure: Rebuilt.
3594 2005-04-04  Tom Tromey  <tromey@redhat.com>
3596         * java/lang/ClassLoader.java (loadClass): Resolve class even if
3597         it was already found.
3599 2005-04-04  Tom Tromey  <tromey@redhat.com>
3601         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
3602         org.metastatic.jessie.
3604 2005-04-02  Anthony Green  <green@redhat.com>
3606         PR libgcj/20727
3607         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
3609 2005-04-02  Mark Wielaard  <mark@klomp.org>
3611         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
3612         Attributes and attribute order doesn't matter.
3613         (BasicAttributesEnumeration.where): Initialize to zero.
3614         (BasicAttributesEnumeration.nextElement): Update and compare where
3615         appropriately (zero based).
3617 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
3619         PR libgcj/20090, PR libgcj/20526
3620         * gij.cc (nonstandard_opts_help): New function.
3621         (add_option): New function.
3622         (main): Support java options.  Set java.class.path.  Don't set
3623         _Jv_Jar_Class_Path.
3624         * prims.cc (parse_x_arg): New function.
3625         (parse_init_args): Call parse_x_arg for -X and _ options, when
3626         ignoreUnrecognized is true.
3627         (new _Jv_RunMain): New vm_args variant.
3628         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
3629         (_Jv_Jar_Class_Path): Remove variable.
3630         * include/java-props.h: Likewise.
3631         * include/cni.h (JvRealloc): New function.
3632         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
3633         * java/lang/natRuntime.cc (insertSystemProperties): Remove
3634         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
3635         macros.
3636         * configure.ac (JV_VERSION): Define.
3637         (JV_API_VERSION): Likewise.
3638         * configure: Regenerate.
3639         * include/config.h.in: Regenerate.
3641 2005-04-01 Mark Anderson <mark@panonet.net>
3643         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
3644         -Infinity as parameters.
3646 2005-04-01  Michael Koch  <konqueror@gmx.de>
3648         * java/io/PipedInputStream.java
3649         (read): Make sure a positive byte value is returned. Revised javadoc.
3650         Thanks to Olafur Bragason for reporting these bugs.
3652 2005-04-01  Tom Tromey  <tromey@redhat.com>
3654         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3655         Updated for name change.
3656         (nativeFindClass): New method.
3657         (loadClass): Use nativeFindClass.
3658         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
3659         form of loadClass.
3660         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
3661         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
3662         VMClassLoader.
3663         (initialize): New method.
3664         (nativeFindClass): Declare.
3665         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
3666         * gnu/gcj/runtime/VMClassLoader.java: Removed.
3667         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
3668         VMClassLoader.java.
3669         (definePackageForNative): Removed.
3670         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
3671         Moved to VMClassLoader.java.
3672         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
3673         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
3674         (ordinary_java_source_files): Added ExtensionClassLoader.java,
3675         removed VMClassLoader.java.
3676         (nat_source_files): Removed natVMClassLoader.cc.
3678 2005-04-01  Tom Tromey  <tromey@redhat.com>
3680         * Makefile.in: Rebuilt.
3681         * Makefile.am (db_pathtail): Use $(gcc_version), not
3682         @gcc_version@.
3684 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
3686         * java/util/Timer.java
3687         (run): Stop the queue if a task throws an exception.
3689 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3691         * javax/swing/text/JTextComponent.java (viewToModel): New method.
3693 2005-03-29  Ian Lance Taylor  <ian@airs.com>
3695         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
3696         * external/sax/Makefile.in: Rebuild.
3697         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
3698         "-fclasspath=".
3699         * external/w3c_dom/Makefile.in: Rebuild.
3701 2005-03-29  Tom Tromey  <tromey@redhat.com>
3703         * java/lang/natRuntime.cc (insertSystemProperties): Set
3704         gnu.gcj.runtime.endorsed.dirs.
3705         * Makefile.in: Rebuilt.
3706         * Makefile.am (ordinary_java_source_files): Added
3707         HelperClassLoader.java.
3708         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3709         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3710         HelperClassLoader.
3711         (init): Use addDirectoriesFromProperty.
3712         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3713         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
3714         gnu.gcj.runtime.endorsed.dirs.
3715         * gnu/gcj/runtime/HelperClassLoader.java: New file.
3717 2005-03-26  Chris Burdess  <dog@gnu.org>
3719         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3720         required.
3722 2005-03-13  Michael Koch  <konqueror@gmx.de>
3724         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3726 2005-03-11  Chris Burdess  <dog@gnu.org>
3728         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3729         warnings.
3731 2005-02-27  Chris Burdess  <dog@gnu.org>
3733         * gnu/xml/aelfred2/JAXPFactory.java,
3734         gnu/xml/aelfred2/SAXDriver.java,
3735         gnu/xml/aelfred2/XmlParser.java,
3736         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3737         formatting conventions. Replaced arrays of Object with struct-like
3738         classes for easier maintainability. Made SAXDriver.stringInterning
3739         package private to allow access from XmlParser inside the loop without
3740         a method call overhead.
3742 2005-03-11  Chris Burdess  <dog@gnu.org>
3744         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3745         warnings.
3747 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
3749         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
3750         settings to sub Makefiles.
3751         (GCJH, ZIP): Prefix with top_builddir.
3752         * configure: Rebuild.
3753         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3754         * external/w3c_dom/Makefile.in: Rebuild.
3755         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3756         * external/sax/Makefile.in: Rebuild.
3758 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3760         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3761         libsocket to the libraries to link for Solaris.
3763 2005-03-28  Per Bothner  <per@bothner.com>
3765         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3766         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3768 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
3770         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3771         to fix a ONESTEP fallout.
3772         * Makefile.in: Regenerate.
3774 2005-03-25  Mike Stump  <mrs@apple.com>
3776         * configure.ac: Fix ZIP and GCJH at configure time to absolute
3777         paths like we do for the compiler, as we use it in external/sax
3778         and it doesn't get MULTIBUILDTOP right when multilibing.
3780 2005-03-24  Anthony Green  <green@redhat.com>
3782         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3783         -p option.
3784         (usage): Add [LIBDIR] to help output.
3785         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3786         * Makefile.am (AM_CXXFLAGS): Define
3787         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3788         (db_pathtail): New macro.
3790 2005-03-24  Tom Tromey  <tromey@redhat.com>
3792         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3793         add sax and w3c libraries.
3794         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3795         libw3c-gcj.la.
3796         * external/w3c_dom/Makefile.in: Rebuilt.
3797         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3798         AM_GCJFLAGS.
3799         (libw3c_gcj_la_LDFLAGS): New variable.
3800         (noinst_LTLIBRARIES): Renamed.
3801         * external/sax/Makefile.in: Rebuilt.
3802         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3803         AM_GCJFLAGS.
3804         (libsax_gcj_la_LDFLAGS): New variable.
3805         (noinst_LTLIBRARIES): Renamed.
3807 2005-03-23  Tom Tromey  <tromey@redhat.com>
3809         * Makefile.in: Rebuilt.
3810         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3811         (libgcj0_convenience_la_SOURCES): Don't include
3812         gnu_xml_source_files.
3813         (libgcj0_convenience_la_LIBADD): New variable.
3814         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3815         (all_java_source_files): javax_imageio_source_files,
3816         javax_xml_source_files, and gnu_java_beans_source_files.
3817         ($(gnu_xml_source_files:.java=.lo)): Removed target.
3818         (gnu-xml.lo): New target.
3819         (javax-imageio.lo): Likewise.
3820         (javax-xml.lo): Likewise.
3821         (gnu-java-beans.lo): Likewise.
3822         (gnu_java_beans_source_files): New variable.
3823         (javax_imageio_source_files): Likewise.
3824         (javax_xml_source_files): Likewise.
3825         (javax_source_files): Moved files to other variable.
3826         (awt_java_source_files): Likewise.
3827         (ordinary_java_source_files): Added BootClassLoader.java.
3828         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3829         not system class loader.
3830         (initBootLoader): New method.
3831         (loadClass): Search bootLoader.
3832         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3833         boot loader, not system class loader.
3834         (_Jv_UnregisterInitiatingLoader): Likewise.
3835         (_Jv_FindClass): Likewise.  Ensure entries in
3836         bootstrap_class_list are unique.
3837         * java/lang/natClass.cc (getClassLoader): Don't special case
3838         system class loader.
3839         * java/lang/VMClassLoader.java (bootLoader): New field.
3840         (getResource): Use bootLoader.
3841         (getResources): Likewise.
3842         (initBootLoader): Declare.
3843         * gnu/gcj/runtime/BootClassLoader.java: New file.
3844         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3845         (EMPTY_ENUMERATION): Now package-private.
3846         * external/w3c_com/Makefile.in: Rebuilt.
3847         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3848         (w3c.jar): New target.
3849         (classes.stamp): Updated.
3850         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3851         Changed name of library.
3852         (libw3c_gcj_la_SOURCES): New variable.
3853         (libw3c_gcj_la_GCJFLAGS): Likewise.
3854         (source_files): Renamed from lib3c_convenience_la_SOURCES.
3855         * external/sax/Makefile.in: Rebuilt.
3856         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3857         (sax.jar): New target.
3858         (classes.stamp): Updated.
3859         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3860         Changed name of library.
3861         (libsax_gcj_la_SOURCES): New variable.
3862         (libsax_gcj_la_GCJFLAGS): Likewise.
3863         (source_files): Renamed from libsax_convenience_la_SOURCES.
3864         * stacktrace.cc (non_system_trace_fn): Don't look at system class
3865         loader.
3866         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3867         loader.
3868         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3870 2005-03-23  Sven de Marothy  <sven@physto.se>
3872         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3873         PR libgcj/11085:
3874         * java/util/Calendar.java
3875         (set): Use starting day of week when one is needed if none is given.
3876         * java/text/SimpleDateFormat.java
3877         (parse): Handle 1-12 and 1-24 timestamps correctly.
3878         * java/util/GregorianCalendar.java
3879         (computeTime, computeFields): HOUR should be in 0-11 format.
3880         (nonLeniencyCheck): Adjust leniency checking to that fact.
3881         (getLinearDay): Should be private.
3883 2005-03-23  Tom Tromey  <tromey@redhat.com>
3885         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3886         (_Jv_CheckABIVersion): Use it.
3888 2005-03-22  Mike Stump  <mrs@apple.com>
3890         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3892         * include/posix.h: .dylib is used on all Apple MACH platforms.
3893         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3895 2005-03-22  Tom Tromey  <tromey@redhat.com>
3897         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3899 2005-03-21  Tom Tromey  <tromey@redhat.com>
3901         * java/lang/VMCompiler.java (static block): Also catch
3902         BufferUnderflowException.
3904 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
3906         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
3907         set tool_include_dir.  In all substitutions, leave $(gcc_version)
3908         to be expanded by the Makefile.
3909         * aclocal.m4, configure: Regenerate.
3910         * Makefile.am: Set gcc_version.  Replace all uses of
3911         @gcc_version@ with $(gcc_version).
3912         * external/Makefile.am, external/sax/Makefile.am
3913         * external/w3c_dom/Makefile.am, gcj/Makefile.am
3914         * testsuite/Makefile.am: Set gcc_version.
3915         * include/Makefile.am: Set gcc_version and tool_include_dir.
3916         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3917         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3918         * testsuite/Makefile.in: Regenerate.
3920 2005-03-17  Andrew Haley  <aph@redhat.com>
3922         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3923         arg: klass.
3924         Pass klass to _Jv_StackTrace::GetClassContext().
3925         * java/lang/ClassLoader.java (getParent): Pass class to
3926         VMSecurityManager.getClassContext()
3927         (getSystemClassLoader): Likewise.
3928         * java/lang/Package.java (getPackage): Likewise.
3929         (getPackages): Likewise.
3930         * java/lang/SecurityManager.java (getClassContext): Likewise.
3931         (currentClassLoader): Likewise.
3932         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3933         (currentClassLoader) Add new arg: caller.
3934         Pass caller to VMSecurityManager.getClassContext.
3936         * stacktrace.cc (GetClassContext): Correct calculation of
3937         jframe_count.
3939         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3940         im->source_file_name.
3942 2005-03-16  Andrew Haley  <aph@redhat.com>
3944         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3946 2005-03-16  Tom Tromey  <tromey@redhat.com>
3948         * link.cc (ensure_class_linked): Removed #ifdef.
3949         (print_class_loaded): Likewise.
3950         (wait_for_state): Likewise.
3951         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3952         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3953         * include/java-interp.h: ... here.
3955 2005-03-16  Tom Tromey  <tromey@redhat.com>
3957         * gnu/java/lang/MainThread.java (run): Load main class using
3958         system class loader.
3960 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
3962         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3963         lgcc_s to the libraries to link for Darwin.
3965 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
3967         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3968         interpreter-specific code with #ifdef INTERPRETER.
3969         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3970         (_Jv_StackTrace::FillInFrameInfo): Likewise.
3971         (_Jv_StackTrace::non_system_trace_fn): Likewise.
3972         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3973         #ifdef INTERPRETER. Also protect declarations that use it.
3974         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3975         #ifdef INTERPRETER block.
3977 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
3979         PR libgcj/20251
3980         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3981         * Makefile.in: Rebuilt.
3983 2005-03-15  David Daney  <ddaney@avtrex.com>
3985         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3986         count == 0 case.
3988 2005-03-15  David Daney  <ddaney@avtrex.com>
3990         * java/io/BufferedInputStream.java (available): Use 'in' instead
3991         of 'super' for underlying stream access.
3992         (close): Ditto.
3993         (read(byte[], int, int)): Ditto.
3994         (refill): Ditto.
3995         (skip): Call skip on underlying stream when possible.
3997 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
3999         * stacktrace.cc (GetCallerInfo): Return nothing in case of
4000         SJLJ_EXCEPTIONS is defined.
4002 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
4004         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
4005         tests.
4007 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
4009         * testsuite/lib/libjava.exp (libjava_init): Use the same target
4010         check for Darwin.
4011         (libjava_arguments): Likewise.
4013         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
4014         (gcj_jni_test_one): Likewise.
4015         (gcj_jni_invocation_compile_c_to_binary): Likewise.
4016         Add flags to keep the Darwin linker quiet.
4017         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
4018         Add -liconv for Darwin.
4020 2005-03-11  Tom Tromey  <tromey@redhat.com>
4022         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
4023         (_Jv_CheckABIVersion): Use it.
4025 2005-03-11  Tom Tromey  <tromey@redhat.com>
4027         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
4028         (usage): Document '-p'.
4029         * Makefile.in: Rebuilt.
4030         * Makefile.am (dbexecdir): New variable.
4031         (db_name): Likewise.
4032         (dbexec_DATA): Likewise.
4033         ($(db_name)): New target.
4034         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
4035         * java/lang/natRuntime.cc (insertSystemProperties): Set default
4036         system database.
4038 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
4040         * exception.cc: Remove stray MethodRef.h include.
4041         * java/lang/natClass.cc: Likewise.
4042         * gnu/gcj/runtime/MethodRef.java: Removed.
4043         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
4044         gnu/gcj/runtime/natStackTrace.cc: Really removed.
4045         * java/lang/natRuntime.cc (_load): Remove unsed variable.
4046         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
4047         * Makefile.in: Rebuilt.
4049 2005-03-10  Tom Tromey  <tromey@redhat.com>
4051         * Makefile.in: Rebuilt.
4052         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
4054 2005-03-10  Chris Burdess  <dog@bluezoo.org>
4056         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
4057         not currently parsing the DTD.
4059 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
4061         New Stack Trace infrastructure.
4062         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
4063         (gnu/gcj/runtime/StackTrace.java): Removed.
4064         (ordinary_java_source_files): Remove obsolete files.
4065         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
4066         * configure.host (fallback_backtrace_h): Set backtrace header
4067         for mingw and cygwin targets.
4068         * configure.ac: Make symlink for fallback backtrace headers.
4069         * Makefile.in, configure: Rebuilt.
4070         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
4071         Read 'LineNumberTable' attribute.
4072         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
4073         attribute.
4074         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
4075         table fields.
4076         * exception.cc: Remove unused include.
4077         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
4078         (SAVE_PC): New macro. Save current PC in the interpreter frame.
4079         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
4080         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
4081         table to direct threaded instruction values.
4082         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
4083         (_Jv_InterpMethod::run): No longer member function. All
4084         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
4085         is made or where an instruction could throw.
4086         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
4087         in line_table.
4088         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
4089         (catch_fpe): Likewise.
4090         * stacktrace.cc: New file. Stack trace code now here.
4091         * gnu/gcj/runtime/MethodRef.java:
4092         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
4093         calls addr2line to look up PC addresses in a given binary or shared
4094         library.
4095         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
4096         gnu/gcj/runtime/natStackTrace.cc: Removed.
4097         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
4098         this function name is specially recognised by the stack trace code
4099         and shouldn't be changed.
4100         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
4101         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
4102         (_Jv_InterpMethod::run): Update declaration.
4103         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
4104         friends.
4105         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
4106         * include/java-stack.h: New file. Declarations for stack tracing.
4107         * include/jvm.h (_Jv_Frame_info): Removed.
4108         * java/lang/Class.h: Update friend declarations.
4109         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
4110         exception message.
4111         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
4112         (getStackTrace): Now native.
4113         (data): New RawDataManaged field.
4114         * java/lang/natClass.cc: Update includes.
4115         (forName): Use _Jv_StackTrace::GetCallingClass for
4116         calling-classloader check.
4117         (getClassLoader): Likewise.
4118         * java/lang/natRuntime.cc: Update includes.
4119         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
4120         * java/lang/natVMSecurityManager.cc: Update includes.
4121         (getClassContext): Use _Jv_StackTrace::GetClassContext.
4122         * java/lang/natVMThrowable.cc: New file. Native methods for
4123         VMThrowable.
4124         * java/lang/reflect/natArray.cc: Update includes.
4125         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
4126         accessibility check.
4127         * java/lang/reflect/natConstructor.cc: Update includes.
4128         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
4129         accessibility check.
4130         * java/lang/reflect/natField.cc: Update includes.
4131         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
4132         accessibility check.
4133         * java/lang/reflect/natMethod.cc: Update includes.
4134         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
4135         accessibility check.
4136         * java/util/natResourceBundle.cc: Update includes.
4137         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
4138         * java/util/logging/natLogger.cc: Update includes. Use
4139         _Jv_StackTrace::GetCallerInfo to get call-site info.
4140         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
4141         implementation.
4142         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
4143         implementation.
4145 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4147         * testsuite/libjava.compile/PR20312.java: New file.
4148         * testsuite/libjava.compile/PR20312.xfail: Likewise.
4149         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
4151 2005-03-09  Andrew Haley  <aph@redhat.com>
4153         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
4154         New.
4155         (smallTransferTo): New.
4156         (transferFrom): Loop around smallTransferFrom, copying pageSize
4157         bytes each time.
4158         (transferTo): Likewise.
4160 2005-03-09  David Daney  <ddaney@avtrex.com>
4162         PR libgcj/20389
4163         Merge BufferedInputStream from GNU Classpath.
4164         * java/io/BufferedInputStream.java (marktarget): Field removed.
4165         (CHUNKSIZE): Field removed.
4166         (bufferSize): New field.
4167         (BufferedInputStream): Initialize fields.
4168         (close): Invalidate mark and buffer indexes.
4169         (mark):  Rewritten.
4170         (read()): Move mark handling code to refill.
4171         (read(byte[], int, int)): Ditto.
4172         (skip): Ditto and simplify EOF testing.
4173         (refill): Rewritten.
4174         * java/io/InputStreamReader.java (refill): Removed mark and reset
4175         of internal BufferedInputStream.
4177 2005-03-09  Tom Tromey  <tromey@redhat.com>
4179         * java/lang/natVMClassLoader.cc (defineClass): Reference
4180         'systemClassLoader' field directly.
4181         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
4182         field directly.
4183         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
4184         Reference 'systemClassLoader' field directly.
4185         (_Jv_UnregisterInitiatingLoader): Likewise.
4186         (_Jv_FindClass): Likewise.
4188 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
4190         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
4192         * java/lang/mprec.h: Remove commented headers. Fix comment to match
4193         the file in GNU Classpath style.
4195 2005-03-09  Tom Tromey  <tromey@redhat.com>
4197         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
4198         (toString): Synchronize.
4200 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
4202         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
4203         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
4205 2005-03-07  Tom Tromey  <tromey@redhat.com>
4207         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
4208         (usage): Document '-f'.
4210 2005-03-07  Tom Tromey  <tromey@redhat.com>
4212         * java/lang/VMCompiler.java (md5Digest): New field.
4213         (compileClass): Clone md5Digest instead of looking up a new one.
4215 2005-03-07  Tom Tromey  <tromey@redhat.com>
4217         PR java/20215:
4218         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
4219         * link.cc (find_field_helper): Added 'type' argument.
4220         (find_field): Updated.
4222 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
4223         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
4224         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
4225         throw UnsupportedOperationException, fixed comments.
4226         (setFont, setForeground): Fixed comments.
4227         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
4228         return type to boolean.
4229         (getNextEvent): Fixed javadocs.
4230         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
4231         (nativeQueueEmpty): Removed unused code.
4232         (iterateNativeQueue): Removed outer loop.
4234 2005-03-06  Roger Sayle  <roger@eyesopen.com>
4236         PR libgcj/20155
4237         * Makefile.am (libgcj0_convenience.la): Revert last change.
4238         * Makefile.in: Regenerate.
4240 2005-03-05  Anthony Green  <green@redhat.com>
4242         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
4243         classpath_jawt_lock, classpath_jawt_unlock): New functions.
4244         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
4245         (_Jv_GetDrawingSurface): Set visualID.
4246         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
4247         (JAWT_GetAWT): Set Lock and Unlock.
4248         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
4249         visualID.
4250         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
4251         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
4252         JAWT_LOCK_SURFACE_CHANGED): New macros.
4253         (struct _JAWT): Add Lock and Unlock.
4255 2005-03-05  Roger Sayle  <roger@eyesopen.com>
4256             Alexandre Oliva  <aoliva@redhat.com>
4257             Kelley Cook  <kcook@gcc.gnu.org>
4259         PR libgcj/20155
4260         * Makefile.am (libgcj0_convenience.la): New rule to create a file
4261         of the object files to link to avoid exceeding the command line
4262         length limits on some platforms.
4263         (clean-local): Clean up objectlist files.
4264         * Makefile.in: Regenerate.
4266 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
4268         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
4269         spec_case. Initialize pointer mlo.
4271         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
4272         delta.
4274         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
4276         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
4277         and k.
4279         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
4280         uninitialized variable z.
4282         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
4283         possible unused variables.
4285         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
4287         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
4289 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
4291         PR libgcj/20292
4292         * testsuite/libjava.jni/jni.exp
4293         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
4294         flags.
4295         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
4297 2005-02-23  David Daney  <ddaney@avtrex.com>
4299         * configure.host: Don't use -mxgot for MIPS builds.
4301 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
4303         PR bootstrap/17383
4304         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
4305         (COMPPATH): Removed.
4306         (ZIP, GCJH): Replace it with ../$(host_subdir).
4307         (built_gcc_dir): Add $(host_subdir).
4308         * configure: Regenerate.
4309         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4310         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
4311         external/w3c_dom/Makefile.in: Regenerate.
4313 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
4315         * java/awt/font/TextAttribute.java: changed names to lower case;
4316         (readResolve): implemented.
4317         Added doc comments all over.
4319 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4321         PR libgcj/16923
4322         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
4323         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
4324         value.  Move argument parsing code to prims.cc.
4325         * prims.cc (no_properties): Remove.
4326         (_Jv_Compiler_Properties): Initialize to NULL.
4327         (_Jv_Properties_Count): Initialize to 0.
4328         (parse_verbose_args): New function.
4329         (parse_init_args): New function.
4330         (_Jv_CreateJavaVM): Call parse_init_args.
4331         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
4332         * gcj/cni.h (JvVMOption): New struct.
4333         (JvVMInitArgs): Likewise.
4334         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
4335         void*.
4336         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
4337         (_Jv_VMInitArgs): Likewise.
4338         * include/java-props.h (_Jv_Properties_Count): Declare.
4339         * java/lang/natRuntime.cc (insertSystemProperties): Use
4340         _Jv_Properties_Count in for loop exit condition.
4341         * testsuite/libjava.jni/jni.exp
4342         (gcj_invocation_compile_c_to_binary): New procedure.
4343         (gcj_invocation_test_one): Likewise.
4344         (gcj_jni_run): Run JNI invocation API tests.
4345         * testsuite/libjava.jni/invocation/PR16923.c,
4346         testsuite/libjava.jni/invocation/PR16923.java,
4347         testsuite/libjava.jni/invocation/PR16923.out: New test.
4349 2005-02-23  Michael Koch  <konqueror@gmx.de>
4351         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
4352         * Makefile.in: Regenerated.
4354 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
4356         * gnu/java/nio/ChannelReader: Fixed comments.
4358 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
4360         * java/nio/channels/Channels: Added FIXMEs about
4361         stub method implementation.
4362         (newReader): Implemented.
4363         * gnu/java/nio/ChannelReader: New class.
4365 2005-02-23  Michael Koch  <konqueror@gmx.de>
4367         * java/text/SimpleDateFormat.java:
4368         Removed unused import.
4370 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4372         PR libgcj/20029:
4373         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
4374         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
4375         * Makefile.in: Regenerate.
4376         * configure.ac: Check for libXtst.
4377         * configure: Regenerate.
4379 2005-02-22  Mark Wielaard  <address@bogus.example.com>
4381         * java/security/AlgorithmParameterGenerator.java (getInstance):
4382         Mention provider when throwing NoSuchProviderException.
4383         * java/security/AlgorithmParameters.java (getInstance): Likewise.
4384         * java/security/KeyFactory.java (getInstance): Likewise.
4385         * java/security/KeyStore.java (getInstance): Likewise.
4386         * java/security/SecureRandom.java (getInstance): Likewise.
4387         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
4389 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4391         * java/lang/reflect/Proxy.java,
4392         java/net/URL.java,
4393         java/security/SecureRandom.java,
4394         java/util/Timer.java,
4395         java/util/prefs/AbstractPreferences.java:
4396         Don't catch java.lang.ThreadDeath.
4398 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
4400         * java/awt/font/TransformAttribute.java,
4401         (TransformAttribute(AffineTransform)): throw
4402         IllegalArgumentException for null transform.
4403         (getTransform): return a copy of transform.
4404         Added doc comments to all.
4406 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4408         * java/io/Externalizable.java,
4409         java/io/Serializable.java
4410         (serialVersionUID): Removed.
4411         * java/rmi/server/RemoteObject.java,
4412         java/rmi/server/UID.java
4413         (serialVersionUID): Made private.
4414         * java/rmi/server/RemoteRef.java,
4415         java/rmi/server/ServerRef.java
4416         (serialVersionUID): Set proper value.
4417         * java/security/interfaces/DSAPrivateKey.java,
4418         java/security/interfaces/DSAPublicKey.java,
4419         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4420         java/security/interfaces/RSAPrivateCrtKey.java,
4421         java/security/interfaces/RSAPrivateKey.java,
4422         java/security/interfaces/RSAPublicKey.java,
4423         javax/crypto/SecretKey.java
4424         (serialVersionUID): Added.
4426 2005-02-22  Tom Tromey  <tromey@redhat.com>
4428         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
4430 2005-02-22  Tom Tromey  <tromey@redhat.com>
4432         PR java/20056:
4433         * verify.cc (type::EITHER): New constant.
4434         (check_field_constant): Use it.
4435         (type::compatible): Handle it.
4437 2005-02-22  Michael Koch  <konqueror@gmx.de>
4439         * gnu/java/security/PolicyFile.java,
4440         gnu/java/security/pkcs/PKCS7SignedData.java,
4441         gnu/java/security/pkcs/SignerInfo.java:
4442         Fixed copyright header.
4444 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4446         * java/beans/PropertyDescriptor.java
4447         (PropertyDescriptor,setReadMethod): Set propertyType.
4449 2005-02-22  Michael Koch  <konqueror@gmx.de>
4451         * java/nio/DirectByteBufferImpl.java
4452         (owner): Fixed formatting of javadoc.
4453         * java/text/DateFormat.java
4454         (getAvailableLocales): Fixed formatting.
4455         * java/text/SimpleDateFormat.java:
4456         Fixed formatting and import statement order.
4457         * java/util/Calendar.java
4458         (Calendar): Fixed javadoc to be HTML compliant.
4459         * java/util/SimpleTimeZone.java:
4460         Fixed javadocs.
4462 2005-02-22  Roman Kennke <roman@ontographics.com>
4464         * javax/swing/plaf/basic/BasicLookAndFeel.java
4465         (initComponentDefaults): Fixed Button left and right margin.
4467 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4469         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
4470         empty Runnable.
4472         PR libgcj/17952:
4473         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4474         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4475         (getWidth): New method.
4476         (getHeight): Likewise.
4477         (create): Remove width, height and insets parameters.  Move size
4478         setup ...
4479         (realize_cb): ... here.  New function.
4480         (connectSignals): Connect realize_cb.
4481         (request_frame_extents): Remove FIXME.  Move
4482         postInsetsChangedEvent lookup ...
4483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
4484         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
4485         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
4486         jmethodID.
4487         (windowGetWidthID): Likewise.
4488         (windowGetHeightID): Likewise.
4490 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4492         PR libgcj/19842
4493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4494         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
4496 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
4498         Merge serialization from GNU Classpath.
4499         * gcj/method.h: Add missing #includes.
4500         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
4501         primitive class IDs on the stream here...
4502         (resolveClass): ...not here.
4503         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
4504         fields.
4505         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
4506         setLongNative, setIntNative, setShortNative, setCharNative,
4507         setByteNative, setBooleanNative, setObjectNative): New native methods.
4508         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
4509         setLongNative, setIntNative, setShortNative, setCharNative,
4510         setByteNative, setBooleanNative, setObjectNative): Implement them.
4511         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
4512         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
4513         the constructor here.
4514         (callConstructor): Removed.
4515         (getCallersClassLoader): Removed.
4516         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
4517         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
4518         to control whether setting final field values is permitted. Call
4519         getAddr() with checkFinal parameter instead of setAddr().
4520         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
4521         only if not done already.
4522         (getAddr): Add checkFinal parameter. Do the final field check only if
4523         checkFinal is set.
4524         (setAddr): Removed.
4526 2005-02-21  Mark Wielaard  <mark@klomp.org>
4528         # Fixes bug #11957
4529         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
4530         twice.
4532 2005-02-21  Mark Wielaard  <mark@klomp.org>
4534         Fixes bug #11618.
4535         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
4536         without a super class and us ObjectStreamClass.lookupForClassObject().
4537         (resolveClass): Check for primitive types.
4538         (lookupClass): Return null when argument is null.
4540 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4542         * java/io/ObjectInputStream.java
4543         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
4545 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4547         * java/io/ObjectOutputStream.java
4548         (writeObject, callWriteMethod): Replaced reflection with accessing
4549         cached info in ObjectStreamClass.
4550         (getMethod): Removed.
4551         * java/io/ObjectStreamClass.java
4552         (findMethod): Added check to make sure the method found has the
4553         right modifiers.
4554         (cacheMethods): Added writeReplace and writeObject methods.
4555         (setFlags): Look at new writeObjectMethod field instead of doing
4556         reflection again.
4557         (writeReplaceMethod): New field.
4558         (writeObjectMethod): New field.
4560 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
4561         Jeroen Frijters  <jeroen@frijters.net>
4563         * java/io/ObjectInputStream.java
4564         (newObject): Changed prototype. Get a constructor reflect object
4565         directly.
4566         (callConstructor): Removed.
4567         (allocateObject): Changed prototype.
4568         (readClassDescriptor): Build the constructor reflection directly.
4569         (readObject): Invoke newObject using the new prototype.
4571         * java/io/ObjectStreamClass.java
4572         (firstNonSerializableParent): Removed.
4573         (firstNonSerializableParentConstructor): Added.
4575 2005-02-21  Mark Wielaard  <mark@klomp.org>
4577         * gnu/java/locale/LocaleInformation_en.java: Extend
4578         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
4580 2005-02-21  Mark Wielaard  <mark@klomp.org>
4582         * java/text/SimpleDateFormat.java
4583         (SimpleDateFormat(String, DateFormatSymbols)): Throw
4584         NullPointerException when formatData is null.
4586 2005-02-21  Mark Wielaard  <mark@klomp.org>
4588         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
4589         taking dstSavings into account.
4591 2005-02-21  Sven de Marothy <sven@physto.se>
4593         * java/text/SimpleDateFormat.java,
4594         (parse): Set correct DST_OFFSET to the correct value.
4596 2005-02-21  Mark Wielaard  <mark@klomp.org>
4598         * java/util/SimpleTimeZone.java (checkRule): Throw
4599         IllegalArgumentException when month out of range.
4601 2005-02-21  Sven de Marothy  <sven@physto.se>
4603         * java/util/GregorianCalendar.java,
4604         (add): Don't set fields directly anymore. Use set()
4606 2005-02-21  Mark Wielaard  <mark@klomp.org>
4608         * java/text/SimpleDateFormat.java (CompiledField.toString):
4609         Use StringBuffer, not StringBuilder.
4610         (toString): Likewise.
4612 2005-02-21  Sven de Marothy  <sven@physto.se>
4614         * java/util/Calendar.java
4615         (clear): Dates should clear to local time.
4616         * java/util/GregorianCalendar.java
4617         (computeTime): Fix priority problem with DAY_OF_WEEK,
4618         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
4620 2005-02-21  Sven de Marothy  <sven@physto.se>
4622         * java/util/Calendar.java
4623         (Calendar): Constructor should clear fields.
4625 2005-02-21  Sven de Marothy  <sven@physto.se>
4627         * java/text/SimpleDateFormat.java
4628         (parse): Tweak handling of 2-year dates
4629         * java/util/Calendar.java
4630         (clear): Clear fields to correct value.
4631         * java/util/GregorianCalendar.java
4632         (computeTime): Correct handling of time zones.
4633         Correct field minimum values.
4635 2005-02-21  Sven de Marothy  <sven@physto.se>
4637         * java/util/Calendar.java
4638         (set) Invalidate all fields on first call to set().
4640 2005-02-21  Sven de Marothy  <sven@physto.se>
4642         * java/util/GregorianCalendar.java
4643         (computeTime): Fixed handling of time zones.
4645 2005-02-21  Sven de Marothy  <sven@physto.se>
4647         * java/util/Calendar.java
4648         (clear): Set values to Epoch instead of zero.
4649         (set): Set isSet to the relevant field pattern instead of just
4650         the field.
4651         * java/util/GregorianCalendar.java
4652         (getBundle): Removed.
4653         (getDayOfYear): Removed.
4654         (getFirstDayOfMonth): New private method.
4655         (nonLeniencyCheck): New private method.
4656         (computeTime): Correct handling of insufficient data.
4658 2005-02-21  Sven de Marothy <sven@physto.se>
4660         * java/util/Calendar.java: Invalidate ERA field on setting
4661         the YEAR.
4662         * java/util/SimpleTimeZone.java:
4663         (getDaysInMonth): Reimplemented.
4664         * java/util/GregorianCalendar.java:
4665         (getLinearTime): Removed.
4666         (isLeapYear(int,boolean)): Removed.
4667         (before(), after()): Removed.
4668         (computeTime): Reimplemented.
4670 2005-02-21  Sven de Marothy <sven@physto.se>
4672         * java/util/Calendar.java: Reformatted.
4673         * java/util/GregorianCalendar.java: Reformatted.
4674         * java/util/SimpleTimeZone.java: Reformatted.
4676 2005-02-21  Sven de Marothy <sven@physto.se>
4678         * java/util/GregorianCalendar.java
4679         (GregorianCalendar): Update fields in the constructor
4681 2005-02-21  Noa Resare  <noa@resare.com>
4683         * java/util/Calendar.java (explicitDSTOffset): New instance field.
4684         (set(int,int)): Set and use new field.
4685         (set(int,int,int)): Check new field.
4687 2005-02-21  Noa Resare  <address@hidden>
4689         * java/util/Calendar.java(set):
4690         Fix for DST related regression.
4692 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4694         * java/util/Calendar.java
4695         (setTimeInMillis): Added call to clear, removed computeFields call.
4696         * java/util/Date.java
4697         (Date(int,int,int,int,int,int)): Removed workaround for
4698         GregorianCalendar bug.
4699         * java/util/GregorianCalendar.java
4700         (GregorianCalendar): Chained all constructors to a (new)
4701         common constructor.
4702         (computeTime): Fixed support for lenient month treatment.
4703         (getLinearDay): Return long instead of int.
4704         (calculateDay): Added fields argument and changed day argument
4705         to long.
4707 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4709         * java/text/SimpleDateFormat.java
4710         Lots of documentation updates.
4711         (readObject(java.io.ObjectInputStream)): Wraps
4712         IllegalArgumentException as specified.
4713         (compileFormat(String)): Uses standardChars
4714         rather than the local pattern characters.
4715         Throws IllegalArgumentException rather than
4716         storing a -1 field.
4717         (toString()): Extended to include all variables
4718         in a better format.
4719         (translateLocalizedPattern(String, String, String)):
4720         Renamed to better define the use of this method.
4722 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4724         * java/text/DateFormat.java:
4725         Documented pattern character offset constants and
4726         added new ones.
4727         (Field): Added new static fields for new pattern chars.
4728         * java/text/SimpleDateFormat.java:
4729         (CompiledField): Changed name of FieldSizePair class
4730         to CompiledField after adding the character as an
4731         attribute.  Changed fields to private and added
4732         accessors to give encapsulation.
4733         (CompiledField.CompiledField(int,int,char)): Extended
4734         with character field.
4735         (CompiledField.getField()): New accessor method.
4736         (CompiledField.getSize()): New acceessor method.
4737         (CompiledField.getCharacter()): New accessor method.
4738         (CompiledField.toString()): Added primarily for debugging.
4739         (standardChars): Now uses extended 24 character sequence.
4740         (compileFormat(String)): Changed to use CompiledField.
4741         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
4742         java.text.FieldPosition)): Changed to use CompiledField.
4743         New handler for RFC 822 timezones added.
4745 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4747         * java/text/SimpleDateFormat.java:
4748         (parse(String, java.text.ParsePosition)):
4749         Changed 'E' and 'M' cases to use both
4750         short and long names.  Extended 'z'
4751         case to also handle 'Z', and deal
4752         with simple GMT offsets such as +0100.
4753         (computeOffset(String)): New private method,
4754         which converts a GMT offset specification,
4755         such as GMT-0500 to a numeric offset in
4756         milliseconds.
4757         * java/util/TimeZone.java:
4758         (timezones()): Added "CEST", the daylight
4759         savings time version of "CET", or Central
4760         European Time.
4762 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4764         * java/text/SimpleDateFormat.java:
4765         (parse): Set the DST offset to 0 when parsing
4766         GMT offset timezones.
4768 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4770         * java/text/SimpleDateFormat.java:
4771         (parse): Use offset to set ZONE_OFFSET
4772         rather than the DST_OFFSET, so that
4773         GMT offset timezones change the right
4774         one.
4776 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4778         * java/text/SimpleDateFormat.java:
4779         (getDateFormatSymbols()): return a copy
4780         (setDateFormatSymbols(java.text.DateFormatSymbols)):
4781         throw exception on null input
4782         (clone()): implemented to clone
4783         internal fields
4785 2005-02-21  Sven de Marothy <sven@physto.se>
4787         * java/text/SimpleDateFormat.java
4788         (parse): comparison should be case-insensitive, ignore null
4789         strings.
4791 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
4793         * gnu/java/beans/IntrospectionIncubator.java
4794         (addMethod) Reverts the patch that ntroduced a regression (see bug
4795         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
4797 2005-02-21  Michael Koch  <konqueror@gmx.de>
4799         * java/awt/Checkbox.java
4800         (next_checkbox_number): New static variable.
4801         (generateName): New method.
4802         (getUniqueLong): Likewise.
4803         * java/awt/Window.java
4804         (next_window_number): New static variable.
4805         (generateName): New method.
4806         (getUniqueLong): Likewise.
4808 2005-02-21  Mark Wielaard  <mark@klomp.org>
4810         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4811         exists.
4813 2005-02-21  Andrew Haley  <aph@redhat.com>
4815         * Makefile.in: Rebuilt.
4816         * Makefile.am (nat_source_files): Added natLogger.cc.
4817         * java/util/logging/natLogger.cc: New file.
4818         * java/util/logging/Logger.java (getCallerStackFrame): Now
4819         native.
4821 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
4823         * Makefile.am (all_property_files): Remove left over.
4824         (classes.stamp): Add stamp for the ONESTEP build, also known as
4825         --enable-libgcj-multifile.
4826         * Makefile.in: Regenerated.
4828 2005-02-21  Michael Koch  <konqueror@gmx.de>
4830         * java/awt/Button.java,
4831         java/awt/Container.java,
4832         java/awt/Font.java,
4833         java/awt/Frame.java,
4834         java/text/CollationElementIterator.java,
4835         java/text/RuleBasedCollator.java,
4836         java/util/PropertyPermission.java:
4837         Fixed formatting issues all over.
4839 2005-02-21  Mark Wielaard  <mark@klomp.org>
4841         * java/io/FileDescriptor.java (sync): Add real exception to
4842         SyncFailedException.
4844 2005-02-21  Michael Koch  <konqueror@gmx.de>
4846         * java/io/InputStreamReader.java:
4847         Fixed @author tag.
4849 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
4851         PR libgcj/19728:
4852         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4854 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
4856         * libraries/javalib/gnu/regexp/RE.java,
4857         libraries/javalib/java/io/ObjectInputStream.java,
4858         libraries/javalib/java/security/AllPermission.java,
4859         libraries/javalib/java/security/BasicPermission.java,
4860         libraries/javalib/java/security/Permissions.java,
4861         libraries/javalib/java/text/MessageFormat.java:
4862         Made 'inner' classes real public static inner classes,
4863         and made them final where possible, or removed them
4864         where unused.
4866 2005-02-20  Michael Koch  <konqueror@gmx.de>
4868         * gnu/java/text/FormatCharacterIterator.java:
4869         Removed redundant modifiers.
4871 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4873         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4874         snprintf.
4876 2005-02-19  Michael Koch  <konqueror@gmx.de>
4878         * Makefile.am: Added new files in gnu/java/beans and
4879         java/beans/XMLDecoder.java.
4880         * Makefile.in: Regenerated.
4882 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
4884         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4885         assignment behavior by using java.lang.reflect.Array.set()
4886         directly.
4888 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
4890         * gnu/java/beans/EmptyBeanInfo.java,
4891         gnu/java/beans/info/ComponentBeanInfo.java:
4892         Removed unused files.
4894 2005-02-19  Robert Schuster <thebohemian@gmx.net>
4896         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4897         of AppletStub for java.beans.Beans.instantiate.
4898         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4899         of AppletContext.
4900         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4901         to be conformant with Javadoc guidelines.
4902         (instantiate): Added two more overloaded variants, reworked user
4903         documentation, fixed exception behavior, fixed behavior when
4904         deserializing null.
4906 2005-02-19  Mark Wielaard  <mark@klomp.org>
4908         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4909         failing methods.
4910         * gnu/java/beans/decoder/DummyContext.java: Likewise.
4912 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
4914         * gnu/java/beans/decoder/AbstractContext.java,
4915         gnu/java/beans/decoder/AbstractCreatableContext.java,
4916         gnu/java/beans/decoder/AbstractElementHandler.java,
4917         gnu/java/beans/decoder/AbstractObjectContext.java,
4918         gnu/java/beans/decoder/ArrayContext.java,
4919         gnu/java/beans/decoder/ArrayHandler.java,
4920         gnu/java/beans/decoder/AssemblyException.java,
4921         gnu/java/beans/decoder/BooleanHandler.java,
4922         gnu/java/beans/decoder/ByteHandler.java,
4923         gnu/java/beans/decoder/CharHandler.java,
4924         gnu/java/beans/decoder/ClassHandler.java,
4925         gnu/java/beans/decoder/ConstructorContext.java,
4926         gnu/java/beans/decoder/Context.java,
4927         gnu/java/beans/decoder/DecoderContext.java,
4928         gnu/java/beans/decoder/DefaultExceptionListener.java,
4929         gnu/java/beans/decoder/DoubleHandler.java,
4930         gnu/java/beans/decoder/DummyContext.java,
4931         gnu/java/beans/decoder/DummyHandler.java,
4932         gnu/java/beans/decoder/ElementHandler.java,
4933         gnu/java/beans/decoder/FloatHandler.java,
4934         gnu/java/beans/decoder/GrowableArrayContext.java,
4935         gnu/java/beans/decoder/IndexContext.java,
4936         gnu/java/beans/decoder/IntHandler.java,
4937         gnu/java/beans/decoder/JavaHandler.java,
4938         gnu/java/beans/decoder/LongHandler.java,
4939         gnu/java/beans/decoder/MethodContext.java,
4940         gnu/java/beans/decoder/MethodFinder.java,
4941         gnu/java/beans/decoder/NullHandler.java,
4942         gnu/java/beans/decoder/ObjectContext.java,
4943         gnu/java/beans/decoder/ObjectHandler.java,
4944         gnu/java/beans/decoder/PersistenceParser.java,
4945         gnu/java/beans/decoder/PropertyContext.java,
4946         gnu/java/beans/decoder/ShortHandler.java,
4947         gnu/java/beans/decoder/SimpleHandler.java,
4948         gnu/java/beans/decoder/StaticMethodContext.java,
4949         gnu/java/beans/decoder/StringHandler.java,
4950         gnu/java/beans/decoder/VoidHandler.java: New class
4951         implementing java.beans.XMLDecoder decoding functionality.
4952         * java/beans/XMLDecoder.java: New class.
4954 2005-02-19  Michael Koch  <konqueror@gmx.de>
4956         * javax/swing/JTextField.java
4957         (notfiyAction): Added javadoc.
4959 2005-02-19  Sven de Marothy  <sven@physto.se>
4961         * javax/swing/SpinnerDateModel.java: Implemented.
4963 2005-02-19  Michael Koch  <konqueror@gmx.de>
4965         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4966         * Makefile.in: Regenerated.
4968 2005-02-19  Michael Koch  <konqueror@gmx.de>
4970         * gnu/java/nio/SelectorImpl.java:
4971         Reworked import statements.
4972         (register): Removed unused code.
4973         * java/nio/channels/Channels.java: Reformatted.
4974         * java/nio/charset/Charset.java: Likewise.
4975         * java/rmi/server/RemoteObject.java
4976         (serialVersionUID): Made private.
4977         * java/rmi/server/UID.java
4978         (serialVersionUID): Likewise.
4980 2005-02-19  Michael Koch  <konqueror@gmx.de>
4982         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4983         gnu/java/net/protocol/ftp/BlockInputStream.java,
4984         gnu/java/net/protocol/ftp/BlockOutputStream.java,
4985         gnu/java/net/protocol/ftp/CompressedInputStream.java,
4986         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4987         gnu/java/net/protocol/ftp/DTPInputStream.java,
4988         gnu/java/net/protocol/ftp/DTP.java,
4989         gnu/java/net/protocol/ftp/DTPOutputStream.java,
4990         gnu/java/net/protocol/ftp/FTPConnection.java,
4991         gnu/java/net/protocol/ftp/FTPException.java,
4992         gnu/java/net/protocol/ftp/FTPResponse.java,
4993         gnu/java/net/protocol/ftp/FTPURLConnection.java,
4994         gnu/java/net/protocol/ftp/Handler.java,
4995         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4996         gnu/java/net/protocol/ftp/StreamInputStream.java,
4997         gnu/java/net/protocol/ftp/StreamOutputStream.java,
4998         gnu/java/net/CRLFInputStream.java,
4999         gnu/java/net/CRLFOutputStream.java,
5000         gnu/java/net/GetLocalHostAction.java,
5001         gnu/java/net/protocol/ftp/package.html: New files.
5002         * Makefile.am: Added new files.
5003         * Makefile.in: Regenerated.
5005 2005-02-18  Tom Tromey  <tromey@redhat.com>
5007         * link.cc (make_vtable): Remove abstract method check.
5008         (append_partial_itable): Likewise.
5010         PR java/20056:
5011         * verify.cc (type::equals): Fixed test.
5012         * testsuite/libjava.lang/PR20056.out: New file.
5013         * testsuite/libjava.lang/PR20056.java: New file.
5015 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
5017         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
5018         not the HashEntry. Reported by Jean-Marie White.
5020 2005-02-18  Tom Tromey  <tromey@redhat.com>
5022         PR java/20056:
5023         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
5024         * link.cc (has_field_p): New function.
5025         * verify.cc (check_field_constant): Added 'putfield' argument.
5026         (verify_instructions_0): Updated.
5027         (type::equals): New method.
5029 2005-02-18  Anthony Green  <green@redhat.com>
5031         * NEWS: Draft of libgcj NEWS for 4.0.
5033 2005-02-18  Anthony Green  <green@redhat.com>
5035         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
5036         architecture names to "i386" for compatibility reasons.  Win32
5037         still uses "x86".
5039 2005-02-18  Anthony Green  <green@redhat.com>
5041         * gij.cc (version): Change year for '--version' to 2005.
5042         * gnu/gcj/convert/Convert.java: Ditto.
5043         * gnu/java/rmi/rmic/RMIC.java: Ditto.
5044         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
5046         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
5047         recent copyright year in `--version' output.
5049 2005-02-18  Robert Schuster <thebohemian@gmx.net>
5051         * java/nio/charset/Charset.java (forName): Throws
5052         IllegalArgumentException when argument is null
5053         and added documentation.
5055 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5057         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
5058         Move the position of the source buffer forward.
5060 2005-02-17  Tom Tromey  <tromey@redhat.com>
5062         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
5063         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
5064         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
5065         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
5066         Changed type of second argument.  Rewrote.
5067         (make_vtable): Use it.
5068         (append_partial_itable): Updated.
5069         (layout_vtable_methods): Updated.
5071 2005-02-17  Michael Koch  <konqueror@gmx.de>
5073         * gnu/java/net/PlainSocketImpl.java
5074         (shutdownInput): Added javadoc.
5075         (shutdownOutput): Likewise.
5077 2005-02-17  Michael Koch  <konqueror@gmx.de>
5079         * javax/print/attribute/standard/Chromaticity.java,
5080         javax/print/attribute/standard/Destination.java,
5081         javax/print/attribute/standard/MediaPrintableArea.java,
5082         javax/print/attribute/standard/MediaSize.java: New files.
5083         * Makefile.am: Added new files.
5084         * Makefile.in: Regenerated.
5086 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5087             Michael Koch  <konqueror@gmx.de>
5089         * gnu/java/net/protocol/http/Cookie.java,
5090         gnu/java/net/protocol/http/HTTPConnection.java,
5091         gnu/java/net/protocol/http/HTTPDateFormat.java,
5092         gnu/java/net/protocol/http/Request.java,
5093         gnu/java/nio/PipeImpl.java,
5094         gnu/java/rmi/dgc/DGCImpl.java,
5095         gnu/java/rmi/server/ConnectionRunnerPool.java,
5096         gnu/java/rmi/server/UnicastConnectionManager.java,
5097         gnu/java/security/der/DERWriter.java,
5098         gnu/java/security/pkcs/SignerInfo.java,
5099         gnu/java/security/provider/EncodedKeyFactory.java,
5100         gnu/java/security/provider/GnuDHPublicKey.java,
5101         gnu/java/security/provider/GnuDSAPrivateKey.java,
5102         gnu/java/security/provider/GnuDSAPublicKey.java,
5103         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
5104         gnu/java/security/x509/X500DistinguishedName.java,
5105         gnu/java/security/x509/X509CRL.java,
5106         gnu/java/security/x509/X509CRLEntry.java,
5107         gnu/java/security/x509/X509Certificate.java,
5108         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
5109         gnu/java/security/x509/ext/CertificatePolicies.java,
5110         gnu/java/security/x509/ext/PolicyConstraint.java,
5111         gnu/xml/dom/Consumer.java,
5112         gnu/xml/dom/DomCharacterData.java,
5113         gnu/xml/dom/DomDocument.java,
5114         gnu/xml/dom/DomDocumentBuilder.java,
5115         gnu/xml/dom/DomIterator.java,
5116         gnu/xml/dom/DomNode.java,
5117         gnu/xml/dom/DomXPathExpression.java,
5118         gnu/xml/dom/DomXPathResult.java,
5119         gnu/xml/dom/JAXPFactory.java,
5120         gnu/xml/pipeline/CallFilter.java,
5121         gnu/xml/pipeline/DomConsumer.java,
5122         gnu/xml/pipeline/LinkFilter.java,
5123         gnu/xml/pipeline/NSFilter.java,
5124         gnu/xml/pipeline/TeeConsumer.java,
5125         gnu/xml/pipeline/ValidationConsumer.java,
5126         gnu/xml/pipeline/WellFormednessFilter.java,
5127         gnu/xml/pipeline/XIncludeFilter.java,
5128         gnu/xml/pipeline/XsltFilter.java,
5129         gnu/xml/transform/ApplyImportsNode.java,
5130         gnu/xml/transform/Bindings.java,
5131         gnu/xml/transform/DocumentFunction.java,
5132         gnu/xml/transform/FormatNumberFunction.java,
5133         gnu/xml/transform/NodeNumberNode.java,
5134         gnu/xml/transform/NumberNode.java,
5135         gnu/xml/transform/Stylesheet.java,
5136         gnu/xml/transform/SystemPropertyFunction.java,
5137         gnu/xml/transform/Template.java,
5138         gnu/xml/transform/TemplatesImpl.java,
5139         gnu/xml/transform/TransformerImpl.java,
5140         gnu/xml/transform/ValueOfNode.java,
5141         gnu/xml/transform/XSLURIResolver.java,
5142         gnu/xml/util/DoParse.java,
5143         gnu/xml/util/Resolver.java,
5144         gnu/xml/xpath/Expr.java,
5145         gnu/xml/xpath/FunctionCall.java,
5146         gnu/xml/xpath/RelationalExpr.java,
5147         gnu/xml/xpath/Selector.java,
5148         gnu/xml/xpath/XPathParser.java:
5149         Reworked import statements, fixed modifier order and some little
5150         formatting issues.
5152 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5154         * java/nio/ByteBufferImpl.java (compact):
5155         Set position and limit even if no bytes were moved.
5157 2005-02-17  Michael Koch  <konqueror@gmx.de>
5159         * java/nio/CharViewBufferImpl.java (compact): Likewise.
5160         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
5161         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
5162         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
5163         * java/nio/IntViewBufferImpl.java (compact): Likewise.
5164         * java/nio/LongViewBufferImpl.java (compact): Likewise.
5165         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
5166         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
5167         * java/nio/FloatBufferImpl.java (compact): Set position.
5168         * java/nio/CharBufferImpl.java (compact): Likewise.
5169         * java/nio/DoubleBufferImpl.java (compact): Likewise.
5170         * java/nio/IntBufferImpl.java (compact): Likewise.
5171         * java/nio/LongBufferImpl.java (compact): Likewise.
5172         * java/nio/ShortBufferImpl.java (compact): Likewise.
5174 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
5176         * java/nio/ByteBufferImpl.java,
5177         java/nio/CharBufferImpl.java,
5178         java/nio/DirectByteBufferImpl.java,
5179         java/nio/DoubleBufferImpl.java,
5180         java/nio/FloatBufferImpl.java,
5181         java/nio/IntBufferImpl.java,
5182         java/nio/LongBufferImpl.java,
5183         java/nio/MappedByteBufferImpl.java,
5184         java/nio/ShortBufferImpl.java
5185         (compact): Added explicit read-only check and invalidate mark.
5187 2005-02-17  Michael Koch  <konqueror@gmx.de>
5189         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
5190         gnu/java/awt/peer/gtk/GdkFontPeer.java,
5191         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5192         gnu/java/awt/peer/gtk/GdkGraphics.java,
5193         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5194         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
5195         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5196         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5197         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5198         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
5199         gnu/java/awt/peer/gtk/GdkTextLayout.java,
5200         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5201         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5202         gnu/java/awt/peer/gtk/GtkClipboard.java,
5203         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5204         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5205         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5206         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5207         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5208         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5209         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5210         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5211         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5212         gnu/java/awt/peer/gtk/GtkToolkit.java,
5213         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5214         java/applet/Applet.java,
5215         java/awt/AWTError.java,
5216         java/awt/AWTEvent.java,
5217         java/awt/AWTEventMulticaster.java,
5218         java/awt/AWTException.java,
5219         java/awt/AWTKeyStroke.java,
5220         java/awt/AWTPermission.java,
5221         java/awt/ActiveEvent.java,
5222         java/awt/Adjustable.java,
5223         java/awt/AlphaComposite.java,
5224         java/awt/AttributeValue.java,
5225         java/awt/BorderLayout.java,
5226         java/awt/BufferCapabilities.java,
5227         java/awt/Button.java,
5228         java/awt/Canvas.java,
5229         java/awt/CheckboxGroup.java,
5230         java/awt/CheckboxMenuItem.java,
5231         java/awt/Color.java,
5232         java/awt/ColorPaintContext.java,
5233         java/awt/Component.java,
5234         java/awt/ComponentOrientation.java,
5235         java/awt/Composite.java,
5236         java/awt/CompositeContext.java,
5237         java/awt/Container.java,
5238         java/awt/ContainerOrderFocusTraversalPolicy.java,
5239         java/awt/DefaultFocusTraversalPolicy.java,
5240         java/awt/Dialog.java,
5241         java/awt/Dimension.java,
5242         java/awt/DisplayMode.java,
5243         java/awt/EventQueue.java,
5244         java/awt/FileDialog.java,
5245         java/awt/FontFormatException.java,
5246         java/awt/Graphics.java,
5247         java/awt/Graphics2D.java,
5248         java/awt/GraphicsConfigTemplate.java,
5249         java/awt/GraphicsConfiguration.java,
5250         java/awt/GraphicsDevice.java,
5251         java/awt/GridBagLayout.java,
5252         java/awt/GridBagLayoutInfo.java,
5253         java/awt/GridLayout.java,
5254         java/awt/HeadlessException.java,
5255         java/awt/IllegalComponentStateException.java,
5256         java/awt/Image.java,
5257         java/awt/Insets.java,
5258         java/awt/ItemSelectable.java,
5259         java/awt/JobAttributes.java,
5260         java/awt/KeyEventDispatcher.java,
5261         java/awt/KeyEventPostProcessor.java,
5262         java/awt/KeyboardFocusManager.java,
5263         java/awt/Label.java,
5264         java/awt/LayoutManager.java,
5265         java/awt/MenuBar.java,
5266         java/awt/MenuComponent.java,
5267         java/awt/MenuContainer.java,
5268         java/awt/PageAttributes.java,
5269         java/awt/Paint.java,
5270         java/awt/PaintContext.java,
5271         java/awt/Panel.java,
5272         java/awt/Point.java,
5273         java/awt/Polygon.java,
5274         java/awt/PrintGraphics.java,
5275         java/awt/PrintJob.java,
5276         java/awt/Rectangle.java,
5277         java/awt/RenderingHints.java,
5278         java/awt/Shape.java,
5279         java/awt/Stroke.java,
5280         java/awt/SystemColor.java,
5281         java/awt/Toolkit.java,
5282         java/awt/Transparency.java,
5283         java/awt/Window.java,
5284         java/awt/color/CMMException.java,
5285         java/awt/color/ColorSpace.java,
5286         java/awt/color/ICC_ColorSpace.java,
5287         java/awt/color/ICC_Profile.java,
5288         java/awt/color/ProfileDataException.java,
5289         java/awt/datatransfer/FlavorTable.java,
5290         java/awt/datatransfer/MimeTypeParseException.java,
5291         java/awt/datatransfer/Transferable.java,
5292         java/awt/datatransfer/UnsupportedFlavorException.java,
5293         java/awt/dnd/Autoscroll.java,
5294         java/awt/dnd/DnDConstants.java,
5295         java/awt/dnd/DragGestureListener.java,
5296         java/awt/dnd/DragSourceAdapter.java,
5297         java/awt/dnd/DragSourceDropEvent.java,
5298         java/awt/dnd/DragSourceListener.java,
5299         java/awt/dnd/DragSourceMotionListener.java,
5300         java/awt/dnd/DropTargetAdapter.java,
5301         java/awt/dnd/DropTargetContext.java,
5302         java/awt/dnd/DropTargetListener.java,
5303         java/awt/dnd/InvalidDnDOperationException.java,
5304         java/awt/dnd/MouseDragGestureRecognizer.java,
5305         java/awt/dnd/peer/DropTargetContextPeer.java,
5306         java/awt/event/AWTEventListener.java,
5307         java/awt/event/AWTEventListenerProxy.java,
5308         java/awt/event/ActionEvent.java,
5309         java/awt/event/AdjustmentEvent.java,
5310         java/awt/event/AdjustmentListener.java,
5311         java/awt/event/ComponentAdapter.java,
5312         java/awt/event/ComponentEvent.java,
5313         java/awt/event/ComponentListener.java,
5314         java/awt/event/ContainerAdapter.java,
5315         java/awt/event/ContainerEvent.java,
5316         java/awt/event/ContainerListener.java,
5317         java/awt/event/FocusAdapter.java,
5318         java/awt/event/FocusEvent.java,
5319         java/awt/event/FocusListener.java,
5320         java/awt/event/InputEvent.java,
5321         java/awt/event/InputMethodEvent.java,
5322         java/awt/event/InputMethodListener.java,
5323         java/awt/event/InvocationEvent.java,
5324         java/awt/event/ItemEvent.java,
5325         java/awt/event/ItemListener.java,
5326         java/awt/event/KeyAdapter.java,
5327         java/awt/event/KeyEvent.java,
5328         java/awt/event/KeyListener.java,
5329         java/awt/event/MouseAdapter.java,
5330         java/awt/event/MouseEvent.java,
5331         java/awt/event/MouseListener.java,
5332         java/awt/event/MouseMotionAdapter.java,
5333         java/awt/event/MouseMotionListener.java,
5334         java/awt/event/MouseWheelEvent.java,
5335         java/awt/event/MouseWheelListener.java,
5336         java/awt/event/PaintEvent.java,
5337         java/awt/event/TextEvent.java,
5338         java/awt/event/TextListener.java,
5339         java/awt/event/WindowAdapter.java,
5340         java/awt/event/WindowEvent.java,
5341         java/awt/event/WindowFocusListener.java,
5342         java/awt/event/WindowListener.java,
5343         java/awt/event/WindowStateListener.java,
5344         java/awt/font/TextHitInfo.java,
5345         java/awt/geom/CubicCurve2D.java,
5346         java/awt/geom/Dimension2D.java,
5347         java/awt/geom/Ellipse2D.java,
5348         java/awt/geom/IllegalPathStateException.java,
5349         java/awt/geom/Line2D.java,
5350         java/awt/geom/NoninvertibleTransformException.java,
5351         java/awt/geom/PathIterator.java,
5352         java/awt/geom/Point2D.java,
5353         java/awt/geom/QuadCurve2D.java,
5354         java/awt/geom/RectangularShape.java,
5355         java/awt/geom/RoundRectangle2D.java,
5356         java/awt/im/InputContext.java,
5357         java/awt/im/InputMethodHighlight.java,
5358         java/awt/im/InputMethodRequests.java,
5359         java/awt/im/InputSubset.java,
5360         java/awt/im/spi/InputMethod.java,
5361         java/awt/im/spi/InputMethodDescriptor.java,
5362         java/awt/image/BandCombineOp.java,
5363         java/awt/image/BandedSampleModel.java,
5364         java/awt/image/ByteLookupTable.java,
5365         java/awt/image/ComponentSampleModel.java,
5366         java/awt/image/DataBuffer.java,
5367         java/awt/image/DataBufferByte.java,
5368         java/awt/image/DataBufferDouble.java,
5369         java/awt/image/DataBufferFloat.java,
5370         java/awt/image/DataBufferInt.java,
5371         java/awt/image/DataBufferShort.java,
5372         java/awt/image/DataBufferUShort.java,
5373         java/awt/image/ImagingOpException.java,
5374         java/awt/image/Kernel.java,
5375         java/awt/image/LookupTable.java,
5376         java/awt/image/MultiPixelPackedSampleModel.java,
5377         java/awt/image/PackedColorModel.java,
5378         java/awt/image/PixelInterleavedSampleModel.java,
5379         java/awt/image/RGBImageFilter.java,
5380         java/awt/image/Raster.java,
5381         java/awt/image/RasterFormatException.java,
5382         java/awt/image/SampleModel.java,
5383         java/awt/image/ShortLookupTable.java,
5384         java/awt/image/SinglePixelPackedSampleModel.java,
5385         java/awt/image/WritableRaster.java,
5386         java/awt/print/PrinterAbortException.java,
5387         java/awt/print/PrinterException.java,
5388         java/awt/print/PrinterIOException.java,
5389         java/beans/AppletInitializer.java,
5390         java/beans/ExceptionListener.java,
5391         java/beans/PropertyChangeEvent.java,
5392         java/beans/PropertyChangeListenerProxy.java,
5393         java/beans/PropertyChangeSupport.java,
5394         java/beans/PropertyDescriptor.java,
5395         java/beans/VetoableChangeListenerProxy.java,
5396         java/beans/VetoableChangeSupport.java,
5397         java/io/BufferedReader.java,
5398         java/io/ByteArrayInputStream.java,
5399         java/io/ByteArrayOutputStream.java,
5400         java/io/CharArrayReader.java,
5401         java/io/CharArrayWriter.java,
5402         java/io/CharConversionException.java,
5403         java/io/DataInput.java,
5404         java/io/DataInputStream.java,
5405         java/io/DataOutput.java,
5406         java/io/DataOutputStream.java,
5407         java/io/EOFException.java,
5408         java/io/FileInputStream.java,
5409         java/io/FileNotFoundException.java,
5410         java/io/FileOutputStream.java,
5411         java/io/FilenameFilter.java,
5412         java/io/FilterInputStream.java,
5413         java/io/FilterOutputStream.java,
5414         java/io/FilterReader.java,
5415         java/io/FilterWriter.java,
5416         java/io/IOException.java,
5417         java/io/InputStream.java,
5418         java/io/InterruptedIOException.java,
5419         java/io/LineNumberInputStream.java,
5420         java/io/LineNumberReader.java,
5421         java/io/ObjectInputStream.java,
5422         java/io/ObjectStreamException.java,
5423         java/io/OptionalDataException.java,
5424         java/io/OutputStream.java,
5425         java/io/OutputStreamWriter.java,
5426         java/io/PrintStream.java,
5427         java/io/PrintWriter.java,
5428         java/io/PushbackInputStream.java,
5429         java/io/PushbackReader.java,
5430         java/io/RandomAccessFile.java,
5431         java/io/Reader.java,
5432         java/io/SequenceInputStream.java,
5433         java/io/Serializable.java,
5434         java/io/StreamCorruptedException.java,
5435         java/io/StreamTokenizer.java,
5436         java/io/StringBufferInputStream.java,
5437         java/io/StringWriter.java,
5438         java/io/SyncFailedException.java,
5439         java/io/UTFDataFormatException.java,
5440         java/io/UnsupportedEncodingException.java,
5441         java/io/WriteAbortedException.java,
5442         java/io/Writer.java,
5443         java/lang/AbstractMethodError.java,
5444         java/lang/ArithmeticException.java,
5445         java/lang/ArrayIndexOutOfBoundsException.java,
5446         java/lang/ArrayStoreException.java,
5447         java/lang/AssertionError.java,
5448         java/lang/Boolean.java,
5449         java/lang/Byte.java,
5450         java/lang/Class.java,
5451         java/lang/ClassCastException.java,
5452         java/lang/ClassCircularityError.java,
5453         java/lang/ClassLoader.java,
5454         java/lang/ClassNotFoundException.java,
5455         java/lang/CloneNotSupportedException.java,
5456         java/lang/Cloneable.java,
5457         java/lang/Comparable.java,
5458         java/lang/Compiler.java,
5459         java/lang/Double.java,
5460         java/lang/Error.java,
5461         java/lang/Exception.java,
5462         java/lang/ExceptionInInitializerError.java,
5463         java/lang/Float.java,
5464         java/lang/IllegalAccessError.java,
5465         java/lang/IllegalAccessException.java,
5466         java/lang/IllegalArgumentException.java,
5467         java/lang/IllegalMonitorStateException.java,
5468         java/lang/IllegalStateException.java,
5469         java/lang/IllegalThreadStateException.java,
5470         java/lang/IncompatibleClassChangeError.java,
5471         java/lang/IndexOutOfBoundsException.java,
5472         java/lang/InheritableThreadLocal.java,
5473         java/lang/InstantiationError.java,
5474         java/lang/InstantiationException.java,
5475         java/lang/Integer.java,
5476         java/lang/InternalError.java,
5477         java/lang/InterruptedException.java,
5478         java/lang/LinkageError.java,
5479         java/lang/Long.java,
5480         java/lang/NegativeArraySizeException.java,
5481         java/lang/NoClassDefFoundError.java,
5482         java/lang/NoSuchFieldError.java,
5483         java/lang/NoSuchFieldException.java,
5484         java/lang/NoSuchMethodError.java,
5485         java/lang/NoSuchMethodException.java,
5486         java/lang/NullPointerException.java,
5487         java/lang/Number.java,
5488         java/lang/NumberFormatException.java,
5489         java/lang/OutOfMemoryError.java,
5490         java/lang/Process.java,
5491         java/lang/Runnable.java,
5492         java/lang/Runtime.java,
5493         java/lang/RuntimeException.java,
5494         java/lang/RuntimePermission.java,
5495         java/lang/SecurityException.java,
5496         java/lang/SecurityManager.java,
5497         java/lang/Short.java,
5498         java/lang/StackOverflowError.java,
5499         java/lang/StackTraceElement.java,
5500         java/lang/StringBuffer.java,
5501         java/lang/StringIndexOutOfBoundsException.java,
5502         java/lang/ThreadDeath.java,
5503         java/lang/ThreadGroup.java,
5504         java/lang/Throwable.java,
5505         java/lang/UnsatisfiedLinkError.java,
5506         java/lang/UnsupportedOperationException.java,
5507         java/lang/VerifyError.java,
5508         java/lang/VirtualMachineError.java,
5509         java/lang/reflect/AccessibleObject.java,
5510         java/lang/reflect/Array.java,
5511         java/lang/reflect/InvocationTargetException.java,
5512         java/lang/reflect/Member.java,
5513         java/lang/reflect/Modifier.java,
5514         java/lang/reflect/Proxy.java,
5515         java/lang/reflect/ReflectPermission.java,
5516         java/lang/reflect/UndeclaredThrowableException.java,
5517         java/math/BigInteger.java,
5518         java/net/NetworkInterface.java,
5519         java/nio/ByteBufferHelper.java,
5520         java/nio/ByteBufferImpl.java,
5521         java/nio/DirectByteBufferImpl.java,
5522         java/nio/DoubleBufferImpl.java,
5523         java/nio/FloatBufferImpl.java,
5524         java/nio/IntBufferImpl.java,
5525         java/nio/LongBufferImpl.java,
5526         java/nio/ShortBufferImpl.java,
5527         java/nio/channels/Channel.java,
5528         java/nio/channels/IllegalBlockingModeException.java,
5529         java/nio/charset/spi/CharsetProvider.java,
5530         java/security/AccessControlException.java,
5531         java/security/BasicPermission.java,
5532         java/security/DigestException.java,
5533         java/security/DigestInputStream.java,
5534         java/security/DigestOutputStream.java,
5535         java/security/GeneralSecurityException.java,
5536         java/security/Guard.java,
5537         java/security/GuardedObject.java,
5538         java/security/InvalidAlgorithmParameterException.java,
5539         java/security/InvalidKeyException.java,
5540         java/security/InvalidParameterException.java,
5541         java/security/Key.java,
5542         java/security/KeyException.java,
5543         java/security/KeyManagementException.java,
5544         java/security/KeyStoreException.java,
5545         java/security/MessageDigestSpi.java,
5546         java/security/NoSuchAlgorithmException.java,
5547         java/security/NoSuchProviderException.java,
5548         java/security/Permission.java,
5549         java/security/PermissionCollection.java,
5550         java/security/Permissions.java,
5551         java/security/Principal.java,
5552         java/security/PrivateKey.java,
5553         java/security/PrivilegedActionException.java,
5554         java/security/ProviderException.java,
5555         java/security/PublicKey.java,
5556         java/security/SecureRandom.java,
5557         java/security/SecureRandomSpi.java,
5558         java/security/SignatureException.java,
5559         java/security/SignatureSpi.java,
5560         java/security/SignedObject.java,
5561         java/security/Signer.java,
5562         java/security/UnrecoverableKeyException.java,
5563         java/security/UnresolvedPermission.java,
5564         java/security/acl/AclNotFoundException.java,
5565         java/security/acl/LastOwnerException.java,
5566         java/security/acl/NotOwnerException.java,
5567         java/security/cert/CertPath.java,
5568         java/security/cert/CertPathBuilderException.java,
5569         java/security/cert/CertPathValidatorException.java,
5570         java/security/cert/CertStoreException.java,
5571         java/text/BreakIterator.java,
5572         java/text/ChoiceFormat.java,
5573         java/text/CollationElementIterator.java,
5574         java/text/CollationKey.java,
5575         java/text/Collator.java,
5576         java/text/DateFormat.java,
5577         java/text/DateFormatSymbols.java,
5578         java/text/DecimalFormat.java,
5579         java/text/DecimalFormatSymbols.java,
5580         java/text/FieldPosition.java,
5581         java/text/Format.java,
5582         java/text/NumberFormat.java,
5583         java/text/ParseException.java,
5584         java/text/ParsePosition.java,
5585         java/text/StringCharacterIterator.java,
5586         java/util/AbstractCollection.java,
5587         java/util/AbstractList.java,
5588         java/util/AbstractMap.java,
5589         java/util/AbstractSequentialList.java,
5590         java/util/AbstractSet.java,
5591         java/util/ArrayList.java,
5592         java/util/Arrays.java,
5593         java/util/BitSet.java,
5594         java/util/Collection.java,
5595         java/util/Collections.java,
5596         java/util/Comparator.java,
5597         java/util/ConcurrentModificationException.java,
5598         java/util/Currency.java,
5599         java/util/Date.java,
5600         java/util/EmptyStackException.java,
5601         java/util/Enumeration.java,
5602         java/util/EventListener.java,
5603         java/util/EventListenerProxy.java,
5604         java/util/EventObject.java,
5605         java/util/HashMap.java,
5606         java/util/HashSet.java,
5607         java/util/Hashtable.java,
5608         java/util/IdentityHashMap.java,
5609         java/util/Iterator.java,
5610         java/util/LinkedHashSet.java,
5611         java/util/LinkedList.java,
5612         java/util/List.java,
5613         java/util/ListIterator.java,
5614         java/util/ListResourceBundle.java,
5615         java/util/Map.java,
5616         java/util/MissingResourceException.java,
5617         java/util/NoSuchElementException.java,
5618         java/util/Observable.java,
5619         java/util/Observer.java,
5620         java/util/Properties.java,
5621         java/util/PropertyPermissionCollection.java,
5622         java/util/RandomAccess.java,
5623         java/util/Set.java,
5624         java/util/SortedMap.java,
5625         java/util/SortedSet.java,
5626         java/util/Stack.java,
5627         java/util/StringTokenizer.java,
5628         java/util/TooManyListenersException.java,
5629         java/util/TreeMap.java,
5630         java/util/TreeSet.java,
5631         java/util/Vector.java,
5632         java/util/logging/FileHandler.java,
5633         java/util/logging/Level.java,
5634         java/util/prefs/BackingStoreException.java,
5635         java/util/prefs/InvalidPreferencesFormatException.java,
5636         java/util/prefs/Preferences.java,
5637         javax/accessibility/Accessible.java,
5638         javax/accessibility/AccessibleAction.java,
5639         javax/accessibility/AccessibleBundle.java,
5640         javax/accessibility/AccessibleComponent.java,
5641         javax/accessibility/AccessibleContext.java,
5642         javax/accessibility/AccessibleEditableText.java,
5643         javax/accessibility/AccessibleExtendedComponent.java,
5644         javax/accessibility/AccessibleExtendedTable.java,
5645         javax/accessibility/AccessibleHyperlink.java,
5646         javax/accessibility/AccessibleHypertext.java,
5647         javax/accessibility/AccessibleIcon.java,
5648         javax/accessibility/AccessibleKeyBinding.java,
5649         javax/accessibility/AccessibleRelation.java,
5650         javax/accessibility/AccessibleRelationSet.java,
5651         javax/accessibility/AccessibleResourceBundle.java,
5652         javax/accessibility/AccessibleRole.java,
5653         javax/accessibility/AccessibleSelection.java,
5654         javax/accessibility/AccessibleState.java,
5655         javax/accessibility/AccessibleStateSet.java,
5656         javax/accessibility/AccessibleTable.java,
5657         javax/accessibility/AccessibleTableModelChange.java,
5658         javax/accessibility/AccessibleText.java,
5659         javax/accessibility/AccessibleValue.java,
5660         javax/imageio/IIOException.java,
5661         javax/imageio/ImageIO.java,
5662         javax/imageio/spi/IIOServiceProvider.java,
5663         javax/imageio/spi/ImageInputStreamSpi.java,
5664         javax/imageio/spi/ImageOutputStreamSpi.java,
5665         javax/imageio/spi/ImageReaderWriterSpi.java,
5666         javax/imageio/spi/ImageTranscoderSpi.java,
5667         javax/imageio/spi/RegisterableService.java,
5668         javax/imageio/spi/ServiceRegistry.java,
5669         javax/imageio/stream/IIOByteBuffer.java,
5670         javax/imageio/stream/ImageInputStream.java,
5671         javax/imageio/stream/ImageOutputStream.java,
5672         javax/naming/Binding.java,
5673         javax/naming/CannotProceedException.java,
5674         javax/naming/CompositeName.java,
5675         javax/naming/CompoundName.java,
5676         javax/naming/LinkException.java,
5677         javax/naming/LinkRef.java,
5678         javax/naming/NameClassPair.java,
5679         javax/naming/Reference.java,
5680         javax/naming/ReferralException.java,
5681         javax/naming/directory/Attribute.java,
5682         javax/naming/directory/AttributeModificationException.java,
5683         javax/naming/directory/Attributes.java,
5684         javax/naming/directory/DirContext.java,
5685         javax/naming/directory/ModificationItem.java,
5686         javax/naming/directory/SearchControls.java,
5687         javax/naming/directory/SearchResult.java,
5688         javax/naming/event/EventContext.java,
5689         javax/naming/event/EventDirContext.java,
5690         javax/naming/event/NamespaceChangeListener.java,
5691         javax/naming/event/NamingExceptionEvent.java,
5692         javax/naming/event/NamingListener.java,
5693         javax/naming/event/ObjectChangeListener.java,
5694         javax/naming/ldap/Control.java,
5695         javax/naming/ldap/ExtendedResponse.java,
5696         javax/naming/ldap/HasControls.java,
5697         javax/naming/ldap/LdapContext.java,
5698         javax/naming/ldap/UnsolicitedNotification.java,
5699         javax/naming/ldap/UnsolicitedNotificationEvent.java,
5700         javax/naming/ldap/UnsolicitedNotificationListener.java,
5701         javax/naming/spi/DirectoryManager.java,
5702         javax/naming/spi/ResolveResult.java,
5703         javax/naming/spi/Resolver.java,
5704         javax/security/auth/callback/Callback.java,
5705         javax/security/auth/callback/CallbackHandler.java,
5706         javax/security/auth/callback/ChoiceCallback.java,
5707         javax/security/auth/callback/ConfirmationCallback.java,
5708         javax/security/auth/callback/LanguageCallback.java,
5709         javax/security/auth/callback/NameCallback.java,
5710         javax/security/auth/callback/PasswordCallback.java,
5711         javax/security/auth/callback/TextInputCallback.java,
5712         javax/security/auth/callback/TextOutputCallback.java,
5713         javax/security/auth/callback/UnsupportedCallbackException.java,
5714         javax/security/sasl/Sasl.java,
5715         javax/security/sasl/SaslServerFactory.java,
5716         javax/swing/DefaultBoundedRangeModel.java,
5717         javax/swing/JComponent.java,
5718         javax/swing/JList.java,
5719         javax/swing/JProgressBar.java,
5720         javax/swing/JRadioButton.java,
5721         javax/swing/JTextArea.java,
5722         javax/swing/JTextField.java,
5723         javax/swing/JToggleButton.java,
5724         javax/swing/JTree.java,
5725         javax/swing/SpinnerListModel.java,
5726         javax/swing/event/EventListenerList.java,
5727         javax/swing/text/JTextComponent.java,
5728         javax/swing/text/StringContent.java,
5729         javax/swing/text/Utilities.java,
5730         javax/swing/undo/UndoManager.java,
5731         javax/swing/undo/UndoableEditSupport.java,
5732         javax/transaction/HeuristicCommitException.java,
5733         javax/transaction/HeuristicMixedException.java,
5734         javax/transaction/HeuristicRollbackException.java,
5735         javax/transaction/InvalidTransactionException.java,
5736         javax/transaction/NotSupportedException.java,
5737         javax/transaction/RollbackException.java,
5738         javax/transaction/Status.java,
5739         javax/transaction/Synchronization.java,
5740         javax/transaction/SystemException.java,
5741         javax/transaction/Transaction.java,
5742         javax/transaction/TransactionManager.java,
5743         javax/transaction/TransactionRequiredException.java,
5744         javax/transaction/TransactionRolledbackException.java,
5745         javax/transaction/UserTransaction.java,
5746         javax/transaction/xa/XAException.java,
5747         javax/transaction/xa/XAResource.java,
5748         javax/transaction/xa/Xid.java,
5749         javax/xml/XMLConstants.java,
5750         javax/xml/datatype/DatatypeConfigurationException.java,
5751         javax/xml/datatype/DatatypeConstants.java,
5752         javax/xml/datatype/DatatypeFactory.java,
5753         javax/xml/datatype/Duration.java,
5754         javax/xml/datatype/XMLGregorianCalendar.java,
5755         javax/xml/namespace/NamespaceContext.java,
5756         javax/xml/namespace/QName.java,
5757         javax/xml/parsers/DocumentBuilder.java,
5758         javax/xml/parsers/DocumentBuilderFactory.java,
5759         javax/xml/parsers/FactoryConfigurationError.java,
5760         javax/xml/parsers/ParserConfigurationException.java,
5761         javax/xml/parsers/SAXParser.java,
5762         javax/xml/parsers/SAXParserFactory.java,
5763         javax/xml/transform/ErrorListener.java,
5764         javax/xml/transform/OutputKeys.java,
5765         javax/xml/transform/Result.java,
5766         javax/xml/transform/Source.java,
5767         javax/xml/transform/SourceLocator.java,
5768         javax/xml/transform/Templates.java,
5769         javax/xml/transform/Transformer.java,
5770         javax/xml/transform/TransformerConfigurationException.java,
5771         javax/xml/transform/TransformerException.java,
5772         javax/xml/transform/TransformerFactory.java,
5773         javax/xml/transform/TransformerFactoryConfigurationError.java,
5774         javax/xml/transform/URIResolver.java,
5775         javax/xml/transform/dom/DOMLocator.java,
5776         javax/xml/transform/dom/DOMResult.java,
5777         javax/xml/transform/dom/DOMSource.java,
5778         javax/xml/transform/sax/SAXResult.java,
5779         javax/xml/transform/sax/SAXSource.java,
5780         javax/xml/transform/sax/SAXTransformerFactory.java,
5781         javax/xml/transform/sax/TemplatesHandler.java,
5782         javax/xml/transform/sax/TransformerHandler.java,
5783         javax/xml/transform/stream/StreamResult.java,
5784         javax/xml/transform/stream/StreamSource.java,
5785         javax/xml/validation/Schema.java,
5786         javax/xml/validation/SchemaFactory.java,
5787         javax/xml/validation/TypeInfoProvider.java,
5788         javax/xml/validation/Validator.java,
5789         javax/xml/validation/ValidatorHandler.java,
5790         javax/xml/xpath/XPathConstants.java,
5791         javax/xml/xpath/XPathException.java,
5792         javax/xml/xpath/XPathExpression.java,
5793         javax/xml/xpath/XPathExpressionException.java,
5794         javax/xml/xpath/XPathFactory.java,
5795         javax/xml/xpath/XPathFactoryConfigurationException.java,
5796         javax/xml/xpath/XPathFunction.java,
5797         javax/xml/xpath/XPathFunctionException.java,
5798         javax/xml/xpath/XPathFunctionResolver.java:
5799         Fixed usage of @author tag, reworked import statements,
5800         removed CVS tags, changed the modifier order and fixed
5801         HTML usage in javadocs.
5803 2005-02-16  Julian Scheid  <julian@sektor37.de>
5805         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5806         in.position().
5807         (encodeLoop): Likewise.
5809 2005-02-16  Mark Wielaard  <mark@klomp.org>
5811         * Makefile.am (ordinary_java_source_files): Add new files
5812         gnu/java/security/ber/BER.java,
5813         gnu/java/security/ber/BEREncodingException.java,
5814         gnu/java/security/ber/BERReader.java,
5815         gnu/java/security/ber/BERValue.java,
5816         gnu/java/security/pkcs/PKCS7SignedData.java and
5817         gnu/java/security/pkcs/SignerInfo.java.
5818         * Makefile.in: Regenerated.
5820 2005-02-16  Casey Marshall  <csm@gnu.org>
5822         * gnu/java/security/provider/GnuDSAPrivateKey.java
5823         (encodedKey): new field.
5824         (getFormat): return "PKCS#8".
5825         (getEncoded): implemented.
5826         (toString): check for 'null' values.
5827         * gnu/java/security/provider/GnuDSAPublicKey.java
5828         (encodedKey): new field.
5829         (getFormat): return "X.509".
5830         (getEncoded): implemented.
5831         (toString): check for 'null' values.
5833 2005-02-16  Michael Koch  <konqueror@gmx.de>
5835         * java/util/jar/JarFile.java: Imports reworked.
5837 2005-02-16  Mark Wielaard  <mark@klomp.org>
5839         * java/util/jar/JarFile.java (verify): Make package private.
5840         (signaturesRead): Likewise.
5841         (verified): Likewise.
5842         (entryCerts): Likewise.
5843         (DEBUG): Likewise.
5844         (debug): Likewise.
5845         (entries): Construct new JarEnumeration with reference to this.
5846         (JarEnumeration): Make static.
5847         (JarEnumeration.jarfile): New field.
5848         (JarEnumeration.nextElement): Use and synchronize on jarfile.
5849         Compare verified value to Boolean.TRUE or Boolean.False only
5850         when verify is true.
5851         (getEntry): Make synchronized. Compare value of verified to
5852         Boolean.TRUE.
5853         (getInputStream): Construct EntryInputStream with reference to this.
5854         (getManifest): Make synchronized.
5855         (EntryInputStream): Make static.
5856         (EntryInputStream.jarfile): New field.
5857         (EntryInputStream.EntryInputStream): Check if manifest exists,
5858         before getting attributes.
5859         (eof): Synchronize on jarfile.
5861 2005-02-16  Casey Marshall  <csm@gnu.org>
5863         * java/util/jar/JarFile.java (verify): return if the jar is signed
5864         with an unsupported algorithm.
5866 2005-02-16  Mark Wielaard  <mark@klomp.org>
5868         * java/util/jar/JarFile.java (EntryInputStream): Add actual
5869         InputStream as argument.
5870         (getInputStream): Construct a new EntryInputStream with the result of
5871         super.getInputStream(entry).
5873 2005-02-16  Casey Marshall  <csm@gnu.org>
5875         Signed JAR file support.
5876         * java/net/URLClassLoader.java
5877         (JarURLResource.getCertificates): re-read jar entry to ensure
5878         certificates are picked up.
5879         (findClass): fill in class `signers' field, too.
5880         * java/util/jar/JarFile.java (META_INF): new constant.
5881         (PKCS7_DSA_SUFFIX): new constant.
5882         (PKCS7_RSA_SUFFIX): new constant.
5883         (DIGEST_KEY_SUFFIX): new constant.
5884         (SF_SUFFIX): new constant.
5885         (MD2_OID): new constant.
5886         (MD4_OID): new constant.
5887         (MD5_OID): new constant.
5888         (SHA1_OID): new constant.
5889         (DSA_ENCRYPTION_OID): new constant.
5890         (RSA_ENCRYPTION_OID): new constant.
5891         (signaturesRead): new field.
5892         (verified): new field.
5893         (entryCerts): new field.
5894         (DEBUG): new constant.
5895         (debug): new method.
5896         (JarEnumeration.nextElement): fill in entry certificates, read
5897         signatures if they haven't been read.
5898         (getEntry): likewise.
5899         (getInputStream): verify stream if it hasn't been verified yet.
5900         (readSignatures): new method.
5901         (verify): new method.
5902         (verifyHashes): new method.
5903         (readManifestEntry): new method.
5904         (EntryInputStream): new class.
5905         * gnu/java/io/Base64InputStream.java (decode): new class
5906         method.
5907         * gnu/java/security/der/DERReader.java don't make class
5908         final.
5909         (in): made protected.
5910         (encBuf): likewise.
5911         (readLength): likewise.
5912         * gnu/java/security/ber/BER.java,
5913         * gnu/java/security/ber/BEREncodingException.java,
5914         * gnu/java/security/ber/BERReader.java,
5915         * gnu/java/security/ber/BERValue.java,
5916         * gnu/java/security/pkcs/PKCS7SignedData.java,
5917         * gnu/java/security/pkcs/SignerInfo.java:
5918         new files.
5920 2005-02-16  Tom Tromey  <tromey@redhat.com>
5922         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5923         copied file on exit.
5925 2005-02-15  Mark Wielaard  <mark@klomp.org>
5927         * java/awt/BasicStroke.java (hashCode): Check for null dash.
5929 2005-02-15  Michael Koch  <konqueror@gmx.de>
5931         * gnu/java/awt/peer/gtk/GtkArg.java,
5932         gnu/java/awt/peer/gtk/GtkArgList.java:
5933         Removed.
5935 2005-02-15  Craig Black  <craig.black@aonix.com>
5937         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5938         (postMenuActionEvent): Implement to notify ItemListeners.
5939         * java/awt/CheckboxMenuItem.java
5940         (dispatchEventImpl): Update state on ItemEvent.
5941         * java/awt/MenuItem.java
5942         (processActionEvent): Retarget event source.
5944 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5946         * gnu/java/awt/color/ClutProfileConverter.java,
5947         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5948         gnu/java/awt/peer/gtk/GdkFontPeer.java,
5949         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5950         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5951         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5952         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5953         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5954         gnu/java/awt/peer/gtk/GdkTextLayout.java,
5955         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5956         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5957         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5958         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5959         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5960         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5961         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5962         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5963         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5964         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5965         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5966         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5967         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5968         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5969         gnu/java/awt/peer/gtk/GtkToolkit.java,
5970         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5971         javax/swing/JPopupMenu.java,
5972         javax/swing/JSpinner.java,
5973         javax/swing/SortingFocusTraversalPolicy.java,
5974         javax/swing/SwingUtilities.java,
5975         javax/swing/plaf/basic/BasicComboBoxEditor.java,
5976         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5977         javax/swing/tree/DefaultMutableTreeNode.java:
5978         Removed unused imports and expanded starred
5979         imports.
5981 2005-02-15  Mark Wielaard  <mark@klomp.org>
5983         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5984         IllegalArgumentException when the given String is null.
5986         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5987         when given keystoke sequence cannot be parsed.
5989         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5990         if one is installed. Only install the given menubar is not null.
5992         * javax/swing/JViewport.java (getViewSize): Return an empty
5993         Dimension when the view isn't set or preferred component size when
5994         no viewSize is set.
5996         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5997         empty Dimension when there is no view set.
5998         (minimumLayoutSize): Likewise.
5999         (layoutContainer): Don't try to layout when there is no view.
6001 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6003         * jawt.c: New file.
6004         * include/jawt.h: Likewise.
6005         * include/jawt_md.h: Likewise.
6006         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6007         jawt_md.h files.
6008         * jni/classpath/classpath_jawt.h: Likewise.
6009         * jni/gtk-peer/gtk_jawt.c: Likewise.
6010         * Makefile.am: Build libjawt.so.
6012 2005-02-15  Michael Koch  <konqueror@gmx.de>
6014         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6015         Merged file header with classpath CVS head.
6016         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6017         Merged code formatting with classpath CVS head.
6018         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
6019         Removed debug code.
6020         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
6021         Handle special JNI strings with 2 '\0' at the end.
6022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6023         Merged file header with classpath CVS head.
6024         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6025         Merged code formatting with classpath CVS head.
6027 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
6030         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
6031         (handle_response): Use GTK_RESPONSE_ACCEPT.
6033 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6035         * Makefile.am: Fix library build breakage.
6036         * Makefile.in: Regenerate.
6038 2005-02-15  Michael Koch  <konqueror@gmx.de>
6040         * javax/swing/JTabbedPane.java
6041         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
6043 2005-02-15  Michael Koch  <konqueror@gmx.de>
6045         * javax/swing/tree/DefaultMutableTreeNode.java:
6046         Reworked Javadocs all over.
6047         (getPathToRoot): Fixed direction of result array initialization.
6049 2005-02-15  Michael Koch  <konqueror@gmx.de>
6051         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6052          Fix includes for cairo 0.3.0 snappshot.
6053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6054         Merged file header from classpath CVS HEAD.
6056 2005-02-15  Craig Black  <craig.black@aonix.com>
6058         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6059         (copyState): Pass a JNI global reference to signal handler.
6060         (realize_cb): Use and free JNI global reference.
6061         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6062         (create): Pass a JNI global reference to signal handler.
6063         (selection_changed): Match declaration.
6064         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6065         (dispose): Do not remove entries from state tables until after widget is
6066         destroyed.
6068 2005-02-15  Michael Koch  <konqueror@gmx.de>
6070         * java/awt/Container.javai (paramString):
6071         If layoutMgr is null just return result of super.paramString().
6072         * java/awt/Scrollbar.java: Reformatted.
6073         * java/awt/im/InputContext.java (static):
6074         Removed redundant initializations.
6076 2005-02-15  Michael Koch  <konqueror@gmx.de>
6078         * javax/swing/ImageIcon.java,
6079         javax/swing/UIManager.java,
6080         javax/swing/text/EditorKit.java,
6081         javax/swing/text/Segment.java:
6082         More whitespace cleanups.
6084 2005-02-15  Michael Koch  <konqueror@gmx.de>
6086         * gnu/java/awt/EmbeddedWindow.java,
6087         gnu/java/awt/image/ImageDecoder.java,
6088         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6089         java/awt/DefaultKeyboardFocusManager.java,
6090         java/awt/Frame.java,
6091         java/awt/image/RGBImageFilter.java,
6092         javax/swing/AbstractButton.java,
6093         javax/swing/ActionMap.java,
6094         javax/swing/ComponentInputMap.java,
6095         javax/swing/DefaultDesktopManager.java,
6096         javax/swing/ImageIcon.java,
6097         javax/swing/InputMap.java,
6098         javax/swing/JButton.java,
6099         javax/swing/JCheckBox.java,
6100         javax/swing/JCheckBoxMenuItem.java,
6101         javax/swing/JEditorPane.java,
6102         javax/swing/JMenu.java,
6103         javax/swing/JMenuItem.java,
6104         javax/swing/JOptionPane.java,
6105         javax/swing/JRootPane.java,
6106         javax/swing/JTable.java,
6107         javax/swing/MenuSelectionManager.java,
6108         javax/swing/RepaintManager.java,
6109         javax/swing/ScrollPaneLayout.java,
6110         javax/swing/SortingFocusTraversalPolicy.java,
6111         javax/swing/UIManager.java,
6112         javax/swing/ViewportLayout.java,
6113         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6114         javax/swing/plaf/basic/BasicInternalFrameUI.java,
6115         javax/swing/plaf/basic/BasicLabelUI.java,
6116         javax/swing/plaf/basic/BasicListUI.java,
6117         javax/swing/plaf/basic/BasicMenuItemUI.java,
6118         javax/swing/plaf/basic/BasicMenuUI.java,
6119         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6120         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6121         javax/swing/plaf/basic/BasicRootPaneUI.java,
6122         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6123         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6124         javax/swing/plaf/basic/BasicTextUI.java,
6125         javax/swing/table/TableColumnModel.java,
6126         javax/swing/text/AbstractDocument.java,
6127         javax/swing/text/EditorKit.java,
6128         javax/swing/text/Position.java,
6129         javax/swing/text/Segment.java,
6130         javax/swing/text/StyledEditorKit.java,
6131         javax/swing/text/ViewFactory.java:
6132         Cleanup whitespace differences to classpath CVS HEAD.
6134 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6136         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6137         (finalize): Call finish from here.
6138         (produce): Not from here.
6139         * Makefile.am (gtk_c_source_files):
6140         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
6141         * Makefile.in: Regenerate.
6142         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6143         (cairoSetFont):
6144         (cairoDrawGdkTextLayout):
6145         (cairoDrawString):
6146         (getPeerTextMetrics):
6147         (getPeerFontMetrics): Remove.
6148         (setFont): Don't call cairoSetFont.
6149         (cairoDrawGlyphVector): Accept font peer argument.
6150         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
6151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6152         (ensure_metrics_cairo):
6153         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
6154         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
6155         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
6156         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
6157         (metrics_cairo):
6158         (metrics_surface): Remove.
6159         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
6160         Pass and install font peer.
6162 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6164         * Makefile.am: Create "split library" structure.
6165         * Makefile.in: Regenerate.
6167 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6173         Release GDK lock during upcalls.
6175 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
6178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6179         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
6180         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
6181         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
6182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
6183         * gnu/java/awt/peer/gtk/GdkFontPeer.java
6184         (getGlyphVector):
6185         (getFontMetrics):
6186         (getTextMetrics): New native methods.
6187         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
6188         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
6189         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
6190         * Makefile.in: Regenerate.
6192 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6194         * javax/swing/SwingUtilities.java:
6195         (getAccessibleAt(java.awt.Component, java.awt.Point)):
6196         Implemented and documented.
6197         (getAccessibleChild(java.awt.Component, int)): Likewise.
6198         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
6199         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
6200         (getAccessibleStateSet(java.awt.Component)): Likewise.
6202 2005-02-15  Michael Koch  <konqueror@gmx.de>
6204         * javax/swing/SwingUtilities.java
6205         (getFontMetrics): Removed.
6207 2005-02-15  Michael Koch  <konqueror@gmx.de>
6209         * java/awt/Container.java
6210         (paramString): Implemented.
6211         * javax/swing/AbstractButton.java
6212         (paramString): Implemented.
6213         * javax/swing/JComponent.java
6214         (paramString): Implemented.
6215         * javax/swing/JMenu.java
6216         (paramString): Implemented.
6217         * javax/swing/JMenuBar.java
6218         (paramString): Implemented.
6219         * javax/swing/JMenuItem.java
6220         (paramString): Implemented.
6221         * javax/swing/JPopupMenu.java
6222         (paramString): Implemented.
6224 2005-02-15  Michael Koch  <konqueror@gmx.de>
6226         * javax/swing/JMenu.java
6227         (uiClassID): Removed.
6228         (JMenu): Set invoker on popup menu.
6229         (getUIClassID): Return id directly.
6230         (getItemCount): Simply return getMenuComponentCount().
6231         Fixed javadoc.
6232         (isTopLevelMenu): Simplified.
6233         * javax/swing/JMenuItem.java
6234         (uiClassID): Removed.
6235         (getUIClassID): Return id directly.
6236         * javax/swing/JPopupMenu.java
6237         (uiClassID): Removed.
6238         (JPopupMenu): Always initialize correctly.
6239         (getSubElements): Only return components implementing MenuElement
6240         interface.
6241         (HeavyWeightPopup.hide): Removed.
6243 2005-02-15  Michael Koch  <konqueror@gmx.de>
6245         * java/awt/image/ReplicateScaleFilter.java
6246         (replicatePixels): Made private.
6247         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
6248         (DefaultRGBChooserPanel): Made package private.
6249         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
6250         (RecentSwatchPanel): Likewise.
6251         * javax/swing/event/MouseInputAdapter.java: Reformatted.
6252         (MouseInputAdapter): Made abstract.
6253         * javax/swing/tree/DefaultMutableTreeNode.java
6254         (random): Removed.
6255         (growTree): Likewise.
6257 2005-02-15  Michael Koch  <konqueror@gmx.de>
6259         * java/awt/dnd/DropTarget.java (addDropTargetListener):
6260         Clarified comments.
6262 2005-02-15  Michael Koch  <konqueror@gmx.de>
6264         * javax/swing/JComponent.java (getComponentGraphics):
6265         Removed accidently commited code.
6267 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6269         * java/awt/dnd/DropTarget.java
6270         (addDropTargetListener): Despite documentation, do not throw.
6271         * javax/swing/JComponent.java: Set a default DropTarget.
6273 2005-02-15  Michael Koch  <konqueror@gmx.de>
6275         * javax/swing/AbstractAction.java
6276         (ENABLED_PROPERTY): Removed.
6277         (setEnabled): Replaced constant with real string.
6278         * javax/swing/AbstractButton.java
6279         (createActionPropertyChangeListener.propertyChange): Likewise.
6280         * javax/swing/JComboBox.java
6281         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
6282         (EDITABLE_CHANGED_PROPERTY): Removed.
6283         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
6284         (ENABLED_CHANGED_PROPERTY):Likewise.
6285         (RENDERER_CHANGED_PROPERTY):Likewise.
6286         (EDITOR_CHANGED_PROPERTY):Likewise.
6287         (MODEL_CHANGED_PROPERTY):Likewise.
6288         (uiClassID):Likewise.
6289         (getUIClassID): Replaced constant with real string.
6290         (setModel):Likewise.
6291         (setEditable):Likewise.
6292         (setMaximumRowCount):Likewise.
6293         (setRenderer):Likewise.
6294         (setEditor):Likewise.
6295         (setEnabled):Likewise.
6296         * javax/swing/JLabel.java
6297         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
6298         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
6299         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
6300         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
6301         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
6302         (ICON_CHANGED_PROPERTY): Likewise.
6303         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
6304         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
6305         (TEXT_CHANGED_PROPERTY): Likewise.
6306         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
6307         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
6308         (setText): Replaced constant with real string.
6309         (setIcon): Likewise.
6310         (setDisabledIcon): Likewise.
6311         (setDisplayedMnemonic): Likewise.
6312         (setIconTextGap): Likewise.
6313         (setVerticalAlignment): Likewise.
6314         (setHorizontalAlignment): Likewise.
6315         (setVerticalTextPosition): Likewise.
6316         (setHorizontalTextPosition): Likewise.
6317         (setLabelFor): Replaced constant with real string.
6318         Fire property change event after property got changed.
6319         * javax/swing/JList.java
6320         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
6321         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
6322         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
6323         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
6324         (MODEL_PROPERTY_CHANGED): Likewise.
6325         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
6326         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
6327         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
6328         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
6329         (setFixedCellWidth): Reimplemented.
6330         (setFixedCellHeight): Exit if new value is identical.
6331         Replaced constant with real string.
6332         (setSelectionBackground): Likewise.
6333         (setSelectionForeground): Likewise.
6334         (setPrototypeCellValue): Likewise.
6335         (setCellRenderer): Replaced constant with real string.
6336         (setModel): Likewise.
6337         (setSelectionModel): Likewise.
6338         * javax/swing/JMenuBar.java
6339         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
6340         (MODEL_CHANGED_PROPERTY): Likewise.
6341         (MARGIN_CHANGED_PROPERTY): Likewise.
6342         (setBorderPainted): Reimplemented.
6343         (setMargin): Likewise.
6344         (setSelectionModel): Replaced constant with real string.
6345         * javax/swing/JPopupMenu.java
6346         (LABEL_CHANGED_PROPERTY): Removed.
6347         (VISIBLE_CHANGED_PROPERTY): Likewise.
6348         (borderPainted): Likewise.
6349         (setLabel): Replaced constant with real string.
6350         (setVisible): Exit if new value is identical.
6351         Replaced constant with real string.
6352         * javax/swing/JProgressBar.java
6353         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
6354         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6355         (STRING_CHANGED_PROPERTY): Likewise.
6356         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
6357         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
6358         (setOrientation): Replaced constant with real string.
6359         (setStringPainted): Likewise.
6360         (setString): Likewise.
6361         (setBorderPainted): Likewise.
6362         (setIndeterminate): Likewise.
6363         * javax/swing/JScrollBar.java
6364         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
6365         (MODEL_CHANGED_PROPERTY): Likewise.
6366         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6367         (setOrientation): Replaced constant with real string.
6368         (setModel): Likewise.
6369         (setUnitIncrement): Likewise.
6370         (setBlockIncrement): Likewise.
6371         * javax/swing/JScrollPane.java
6372         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
6373         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
6374         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
6375         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
6376         (LAYOUT_CHANGED_PROPERTY): Likewise.
6377         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
6378         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
6379         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
6380         (VIEWPORT_CHANGED_PROPERTY): Likewise.
6381         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
6382         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
6383         (setComponentOrientation): Replaced constant with real string.
6384         (setColumnHeader): Likewise.
6385         (setHorizontalScrollBar): Likewise.
6386         (setHorizontalScrollBarPolicy): Likewise.
6387         (setRowHeader): Likewise.
6388         (setVerticalScrollBar): Likewise.
6389         (setVerticalScrollBarPolicy): Likewise.
6390         (setWheelScrollingEnabled): Likewise.
6391         (setViewport): Likewise.
6392         (setViewportBorder): Likewise.
6393         * javax/swing/JSlider.java
6394         (INVERTED_CHANGED_PROPERTY): Removed.
6395         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
6396         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
6397         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
6398         (MODEL_CHANGED_PROPERTY): Likewise.
6399         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6400         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
6401         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
6402         (setModel): Replaced constant with real string.
6403         (setOrientation): Likewise.
6404         (setLabelTable): Likewise.
6405         (setInverted): Likewise.
6406         (setMajorTickSpacing): Likewise.
6407         (setMinorTickSpacing): Likewise.
6408         (setPaintTicks): Likewise.
6409         (setPaintLabels): Likewise.
6410         * javax/swing/JTabbedPane.java
6411         (MODEL_CHANGED_PROPERTY): Removed.
6412         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
6413         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
6414         (setModel): Replaced constant with real string.
6415         (setTabPlacement): Likewise.
6416         (setTabLayoutPolicy): Likewise.
6417         * javax/swing/JToolBar.java
6418         (ORIENTATION_CHANGED_PROPERTY): Removed.
6419         (FLOATABLE_CHANGED_PROPERTY): Likewise.
6420         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
6421         (MARGIN_CHANGED_PROPERTY): Likewise.
6422         (ROLLOVER_CHANGED_PROPERTY): Likewise.
6423         (setRollover): Replaced constant with real string.
6424         (setMargin): Likewise.
6425         (setBorderPainted): Likewise.
6426         (setFloatable): Likewise.
6427         (setOrientation): Likewise.
6428         * javax/swing/plaf/basic/BasicComboBoxUI.java
6429         (PropertyChangeHandler.propertyChange): Likewise.
6430         * javax/swing/plaf/basic/BasicComboPopup.java
6431         (PropertyChangeHandler.propertyChange): Likewise.
6432         * javax/swing/plaf/basic/BasicMenuBarUI.java
6433         (PropertyChangeHandler.propertyChange): Likewise.
6434         * javax/swing/plaf/basic/BasicProgressBarUI.java
6435         (PropertyChangeHandler.propertyChange): Likewise.
6436         * javax/swing/plaf/basic/BasicScrollBarUI.java
6437         (PropertyChangeHandler.propertyChange): Likewise.
6438         * javax/swing/plaf/basic/BasicSliderUI.java
6439         (PropertyChangeHandler.propertyChange): Likewise.
6440         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6441         (PropertyChangeHandler.propertyChange): Likewise.
6442         * javax/swing/plaf/basic/BasicToolBarUI.java
6443         (PropertyChangeHandler.propertyChange): Likewise.
6445 2005-02-15  Michael Koch  <konqueror@gmx.de>
6447         * javax/swing/DefaultButtonModel.java
6448         (changeState): Made private.
6449         * javax/swing/DefaultDesktopManager.java
6450         (setWasIcon): Fixed second argument to be java.lang.Boolean.
6451         * javax/swing/JLayeredPane.java
6452         (layerToRange): Made private.
6453         (incrLayer): Likewise.
6454         (decrLayer): Likewise.
6455         * javax/swing/JTable.java
6456         (dragEnabled): Likewise.
6457         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
6458         * javax/swing/KeyStroke.java
6459         (Keystroke): Made private.
6460         * javax/swing/TransferHandler.java
6461         (COMMAND_COPY): Likewise.
6462         (COMMAND_CUT): Likewise.
6463         (COMMAND_PASTE): Likewise.
6465 2005-02-15  Michael Koch  <konqueror@gmx.de>
6467         * javax/swing/JTextField.java
6468         (postActionEvent): Use text in field when actionCommand is null.
6469         (getActionCommand): Removed.
6471 2005-02-15  Michael Koch  <konqueror@gmx.de>
6473         * javax/swing/AbstractSet.java: Removed.
6474         * Makefile.am: Removed javax/swing/AbstractSet.java.
6475         * Makefile.in: Regenerated.
6477 2005-02-15  Michael Koch  <konqueror@gmx.de>
6479         * java/awt/Window.java
6480         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
6481         * java/awt/dnd/DnDConstants.java
6482         (DnDConstants): New private constructor.
6484 2005-02-15  Michael Koch  <konqueror@gmx.de>
6486         * javax/swing/DefaultCellRenderer.java: Removed.
6487         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
6488         * Makefile.in: Regenerated.
6490 2005-02-15  Michael Koch  <konqueror@gmx.de>
6492         * javax/swing/AbstractButton.java
6493         (fireItemStateChanged): Made protected.
6494         (fireActionPerformed): Likewise.
6495         (fireStateChanged): Likewise.
6496         * javax/swing/DefaultButtonModel.java
6497         (fireItemStateChanged): Likewise.
6498         (fireActionPerformed): Likewise.
6499         (fireStateChanged): Likewise.
6500         * javax/swing/JApplet.java
6501         (JApplet): Removed.
6502         (frameInit): Likewise.
6503         (setRootPane): Made protected.
6504         (createRootPane): Likewise.
6505         * javax/swing/JComponent.java
6506         (getClientProperty): Likewise.
6507         (putClientProperty): Likewise.
6508         * javax/swing/JEditorPane.java
6509         (getContentType): Likewise.
6510         (setContentType): Likewise.
6511         * javax/swing/JFrame.java
6512         (setRootPane): Likewise.
6513         (createRootPane): Likewise.
6514         * javax/swing/JInternalFrame.java
6515         (getFocusCycleRootAncestor): Made final. Added @since tag.
6516         (isFocusCycleRoot): Likewise.
6517         (getWarningString): Made final.
6518         * javax/swing/JScrollBar.java
6519         (changeListener): Removed.
6520         (changeEvent): Likewise.
6521         (createChangeListener): Likewise.
6522         (fireStateChanged): Likewise.
6523         (addChangeListener): Likewise.
6524         (removeChangeListener): Likewise.
6525         (getChangeListeners): Likewise.
6526         * javax/swing/JScrollPane.java
6527         (createViewport): Made protected.
6528         * javax/swing/JViewport.java
6529         (addImpl): Likewise.
6530         (setBorder): New method.
6531         * javax/swing/JWindow.java
6532         (setRootPane): Made protected.
6533         (createRootPane): Likewise.
6534         * javax/swing/plaf/basic/BasicButtonUI.java
6535         (installListeners): Likewise.
6536         (uninstallListeners): Likewise.
6537         * javax/swing/plaf/basic/BasicProgressBarUI.java
6538         (incrementAnimationIndex): Likewise.
6539         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6540         (createLayoutManager): Likewise.
6541         * javax/swing/table/DefaultTableCellRenderer.java
6542         (firePropertyChange): Likewise.
6543         * javax/swing/table/JTableHeader.java
6544         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
6545         New constructor.
6546         * javax/swing/text/PlainDocument.java
6547         (reindex): Made private.
6548         * javax/swing/text/PlainView.java
6549         (drawLine): Made protected.
6550         (getTabSize): Likewise.
6551         * javax/swing/text/View.java
6552         (setSize): Removed.
6553         (preferenceChanged): New method.
6554         (getBreakWeight): Likewise.
6555         (breakView): Likewise.
6556         (getViewIndex): Likewise.
6558 2005-02-15  Michael Koch  <konqueror@gmx.de>
6560         * javax/swing/JScrollPane.java
6561         (ScrollBar): Made class protected.
6562         * javax/swing/JSpinner.java
6563         (JSpinner): Added @since tag.
6564         (listenerList): Removed.
6565         * javax/swing/JTable.java
6566         (setValueAt): New method.
6567         (getColumn): Likewise.
6568         * javax/swing/JWindow.java
6569         (rootPaneCheckingEnabled): Renamed from checking.
6571 2005-02-15  Michael Koch  <konqueror@gmx.de>
6573         * javax/swing/plaf/basic/BasicTextUI.java
6574         (RootView.modelToView): Made it public and return a java.awt.Shape.
6575         Handle null subview.
6576         (uninstall): Set textComponent to null when its not possible used
6577         anymore.
6578         * javax/swing/text/View.java
6579         (setParent): Use better argument name.
6580         (getContainer): Get parent via getParent().
6581         (getViewFactory): Likewise.
6582         (getAttributes): Get element via getElement().
6583         (getStartOffset): Likewise.
6584         (getEndOffset): Likewise.
6585         (getResizeWeight): New method.
6586         (getMaximumSpan): Likewise.
6587         (getMinimumSpan): Likewise.
6588         (setSize): Likewise.
6589         (getGraphics): Likewise.
6591 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6593         * java/awt/Checkbox.java:
6594         (AccessibleAWTCheckbox()): Added public constructor
6595         to call superclass.
6596         * java/awt/Choice.java:
6597         (AccessibleAWTChoice): Added class documentation.
6598         (AccessibleAWTChoice()): Added public constructor
6599         to call superclass.
6600         (AccessibleAWTChoice.getAccessibleAction()): Documented.
6601         (AccessibleAWTChoice.getAccessibleRole()): Documented,
6602         and changed role to COMBO_BOX.
6603         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
6604         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
6605         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
6607 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6608             Michael Koch  <konqueror@gmx.de>
6610         * javax/swing/LayoutFocusTraversalPolicy.java,
6611         javax/swing/SortingFocusTraversalPolicy.java:
6612         New classes.
6613         * Makefile.am: Added new classes.
6614         * Makefike.in: Regenerated.
6617 2005-02-15  Michael Koch  <konqueror@gmx.de>
6619         * javax/swing/DebugGraphics.java: Mostly implemented.
6621 2005-02-15  Michael Koch  <konqueror@gmx.de>
6623         * javax/swing/SwingUtilities.java
6624         (findFocusOwner): New method.
6626 2005-02-15  Michael Koch  <konqueror@gmx.de>
6628         * javax/swing/text/DefaultEditorKit.java
6629         (read): Added '\n' after each line.
6630         * javax/swing/text/PlainView.java
6631         (modelToView): Update metrics.
6632         (drawLine): Use offsets from element.
6633         (paint): Update metrics. Draw all lines.
6635 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6637         * java/awt/Checkbox.java:
6638         (AccessibleAWTCheckbox): Added class documentation
6639         * java/awt/Scrollbar.java:
6640         (AccessibleAWTScrollBar): typo corrected and docs added
6641         (AccessibleAWTScrollBar.getAccessibleRole()): documented
6642         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
6643         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
6644         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
6645         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
6646         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
6647         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
6648         (getAccessibleContext()): name of accessible class corrected
6650 2005-02-15  Mark Wielaard  <mark@klomp.org>
6652         * java/awt/BasicStroke.java (hashCode): Implement.
6653         (equals): Document.
6655 2005-02-15  Michael Koch  <konqueror@gmx.de>
6657         * java/awt/print/PrinterJob.java
6658         (pageDialog): Throws java.awt.HeadlessException.
6659         (printDialog): Likewise.
6661 2005-02-15  Mark Wielaard  <mark@klomp.org>
6663         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
6665 2005-02-15  Michael Koch  <konqueror@gmx.de>
6667         * javax/swing/JTable.java
6668         (getValueAt): New method.
6669         * javax/swing/table/JTableHeader.java
6670         (columnAtPoint): New method.
6672 2005-02-15  Michael Koch  <konqueror@gmx.de>
6674         * javax/swing/JTextField.java
6675         (actions): New field.
6676         (static): Initalize actions field.
6677         (getActions): New method.
6679 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6681         * java/awt/Checkbox.java:
6682         (AccessibleAWTCheckbox): name capitalization corrected
6683         and serialization UID added.
6684         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
6685         documented.
6686         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
6687         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
6688         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
6689         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
6690         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
6691         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
6692         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
6693         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
6694         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
6695         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
6696         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
6697         documented
6698         (getAccessibleContext()): name of accessible class corrected
6700 2005-02-15  Sven de Marothy  <sven@physto.se>
6702         * java/awt/geom/doc-files/Area-1.png,
6703         java/awt/geom/doc-files/Ellipse-1.png,
6704         java/awt/geom/doc-files/GeneralPath-1.png:
6705         New files.
6707 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
6710         Use union to avoid type-punning warning.
6712 2005-02-15  Michael Koch  <konqueror@gmx.de>
6714         * javax/swing/DefaultListSelectionModel.java
6715         (clone): New method.
6717 2005-02-15  Mark Wielaard  <mark@klomp.org>
6719         Reported by Martin Platter <motse@complang.tuwien.ac.at>
6720         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6721         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
6722         Correct method signature of gtkSetFilename.
6724 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
6726         * javax/swing/text/StringContent.java: New file.
6728 2005-02-15  Michael Koch  <konqueror@gmx.de>
6730         * Makefile.am: Added javax/swing/text/StringContent.java.
6731         * Makefile.in: Regenerated.
6733 2005-02-15  Michael Koch  <konqueror@gmx.de>
6735         * gnu/java/awt/ClasspathToolkit.java:
6736         Import statements reworked.
6737         (imageCache): Made it of type java.util.HashMap.
6739 2005-02-15  Michael Koch  <konqueror@gmx.de>
6741         * javax/imageio/stream/MemoryCacheImageInputStream.java:
6742         Reworked import statements.
6744 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
6747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
6749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
6751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6752         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
6753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
6754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
6759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
6760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6762         Rewrite uses of extern variable to be function calls.
6763         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
6764         function, from extern variable.
6765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6766         (gdk_env): Remove variable, add new function.
6767         (java_vm): Add new variable.
6768         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
6769         java_vm rather than old gdk_env variable.
6771 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6773         * javax/swing/DefaultListModel.java
6774         (add): fire correct event,
6775         (addElement): corrected interval indices in event,
6776         (clear): corrected upper bound for interval, only fire event if
6777         list is not empty,
6778         (setSize): fire appropriate event.
6780 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6782         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
6783         * gnu/awt/xlib/XToolkit.java: Likewise.
6784         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6785         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6786         * gnu/java/awt/ClasspathToolkit.java: Likewise.
6787         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
6788         * java/awt/EventQueue.java (getNextEvent):
6789         Adjust event loop to switch to native mode after 100ms.
6790         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
6791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6792         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
6793         Wake up event thread.
6794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6795         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
6796         Adjust event loop to switch to java mode after 100ms.
6798 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6800         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
6801         accidentally removed in last change.
6803 2005-02-15  Michael Koch  <konqueror@gmx.de>
6805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6806         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6808 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6810         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6811         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6812         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6813         * jni.cc: Reuse bottom frame between calls, avoid clearing
6814         frame when no local references are made.
6816 2005-02-15  Michael Koch  <konqueror@gmx.de>
6818         * javax/swing/UIDefaults.java (UIDefaults):
6819         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6820         Fixed HTML entity and removed a redundant comma.
6822 2005-02-15  Michael Koch  <konqueror@gmx.de>
6824         * javax/swing/text/DefaultEditorKit.java
6825         (deinstall): Removed.
6826         (install): Likewise.
6828 2005-02-15  Michael Koch  <konqueror@gmx.de>
6830         * javax/swing/UIDefaults.java (put): Handle value of null.
6832 2005-02-15  Michael Koch  <konqueror@gmx.de>
6834         * java/awt/Robot.java,
6835         java/awt/Scrollbar.java,
6836         java/awt/print/PrinterJob.java,
6837         javax/swing/JTable.java,
6838         javax/swing/text/AbstractDocument.java:
6839         Reworked import statements.
6841 2005-02-15  Michael Koch  <konqueror@gmx.de>
6843         * javax/swing/JEditorPane.java
6844         (read): Implemented.
6845         (write): Likewise.
6846         * javax/swing/text/DefaultEditorKit.java
6847         (page): Renamed from page_url. Made private.
6848         (editorKit): Renamed from kit. Made private.
6849         (ctype): Removed.
6850         (JEditorPane): All constructors reimplemented.
6851         (getContentType): Use content type from editor kit.
6852         (getEditorKit): Return editorKit.
6853         (getEditorKitForContentType):Likewise.
6854         (getPage): Return page.
6855         (setContentType): Reimplemented.
6856         (setEditorKit): Likewise.
6857         (setEditorKitForContentType): Removed wrong implementation.
6858         (setPage): Implemented.
6860 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6863         (nativeSetIconImageFromData): Re-add native implementation.
6865 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
6867         * javax/swing/table/DefaultTableModel.java
6868         (DefaultTableModel()): Added Javadocs.
6869         (DefaultTableModel(int, int)): Fixed implementation.
6870         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6871         for negative rowCount.
6872         (DefaultTableModel(Object[], int)): Added Javadocs.
6873         (DefaultTableModel(Vector, Vector)): Likewise.
6874         (DefaultTableModel(Object[][], Object[])): Likewise.
6875         (getDataVector): Likewise.
6876         (setDataVector(Vector, Vector)): Likewise.
6877         (setDataVector(Object[][], Object[])): Likewise.
6878         (newDataAvailable): Likewise.
6879         (newRowsAdded): Likewise.
6880         (rowsRemoved): Likewise.
6881         (setColumnIdentifiers(Vector)): Allow for null argument.
6882         (setColumnIdentifiers(Object[])): Added Javadocs.
6883         (setNumRows): Likewise.
6884         (setRowCount): Adds new rows if necessary, and sends more specific
6885         TableModelEvent.
6886         (setColumnCount): Allow for null columnIdentifiers.
6887         (addColumn(Object)): Added Javadocs.
6888         (addColumn(Object, Vector)): Handle null columnData.
6889         (addColumn(Object, Object[])): Handle columnData with more or less
6890         entries than rows in the table.
6891         (addRow(Vector)): Fire appropriate event.
6892         (addRow(Object[])): Added Javadocs.
6893         (insertRow(int, Vector)): Fire appropriate event.
6894         (insertRow(int, Object[])): Added Javadocs.
6895         (moveRow): Reimplemented.
6896         (removeRow(int)): Fire appropriate event.
6897         (getColumnCount): Allow for null columnIdentifiers.
6898         (getColumnName): Now returns empty string when column index is too
6899         large.
6900         (isCellEditable): Added Javadocs.
6901         (getValueAt): Likewise.
6902         (setValueAt): Fire more specific event.
6903         (convertToVector): Added Javadocs.
6904         * javax/swing/table/TableModel.java
6905         Added Javadocs.
6907 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6909         * libgcj.spec.in (lib): Add -l-javax-imageio.
6911 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6913         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6914         references to event queue q with method call q().
6915         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6916         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6917         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6918         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6919         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6920         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6921         (q): New method.
6923 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6925         * gnu/java/awt/ClasspathToolkit.java
6926         (registerImageIOSpis): New method.
6927         * gnu/java/awt/image/ImageDecoder.java
6928         (imageDecoder): New constructor using InputStream
6929         (startProduction): Handle existing InputStream.
6930         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6931         (findSimpleIntegerArray): Make public and static.
6932         (updateBufferedImage): Set each pixel, in a loop.
6933         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6934         Implement ImageIO SPI classes.
6935         (createBufferedImage): Rewrite in terms of SPI classes.
6936         * gnu/java/awt/peer/gtk/GtkToolkit.java
6937         (registerImageIOSpis): New method.
6938         * java/lang/reflect/natMethod.cc
6939         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6940         which lets JNI call interface methods properly.
6941         * javax/imageio/ImageIO.java
6942         (WriterFormatFilter.filter): Fix copy-and-paste typos.
6943         (WriterMIMETypeFilter.filter): Likewise.
6944         (ImageReaderIterator): Pass extension argument through to SPI.
6945         (getReadersByFilter): Likewise.
6946         (getWritersByFilter): Likewise.
6947         (getImageReadersByFormatName): Likewise.
6948         (getImageReadersByMIMEType): Likewise.
6949         (getImageReadersBySuffix): Likewise.
6950         (getImageWritersByFormatName): Likewise.
6951         (getImageWritersByMIMEType): Likewise.
6952         (getImageWritersBySuffix): Likewise.
6953         (read): Implement.
6954         (write): Implement.
6955         * javax/imageio/ImageReader.java
6956         (progressListeners): Initialize.
6957         (setInput): Implement.
6958         * javax/imageio/ImageWriter.java
6959         (progressListeners): Initialize.
6960         (warningListeners): Likewise.
6961         (warningLocales): Likewise.
6962         (setOutput): Test "isInstance" rather than class equality.
6963         * javax/imageio/spi/IIORegistry.java
6964         (static): Add reader and writer SPIs.
6965         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6967         (query_formats): New function.
6968         (save_to_stream): Likewise.
6969         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6971 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6974         Call XFlush.
6975         (keyPress): Likewise.
6976         (keyRelease): Likewise.
6978 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
6980         * javax/swing/JTable.java
6981         (columnAtPoint): New Method. Implemented.
6982         (rowAtPoint): Likewise.
6983         (countSelections): Fixed few small count errors.
6984         (getSelections): Likewise.
6985         (setSelectionMode): Set selection mode for column
6986         selection model in addition to row selection model.
6987         * javax/swing/plaf/basic/BasicTableUI.java:
6988         (getRowForPoint): Removed. Replaced by
6989         JTable.rowAtPoint().
6990         (getColForPoint): Removed. Replaced by
6991         JTable.columnAtPoint().
6992         (updateSelection): Updated to call JTable.columnAtPoint
6993         and JTable.rowAtPoint.
6994         * javax/swing/table/DefaultTableColumnModel.java:
6995         (getSelectedColumns): Implemented.
6996         (getSelectedColumnCount): Implemented.
6998 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7000         * Makefile.am
7001         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
7002         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
7003         * Makefile.in: Regenerate.
7004         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
7005         * gnu/awt/xlib/XFramePeer.java: Likewise.
7006         * gnu/awt/xlib/XToolkit.java: Likewise.
7007         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
7008         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
7009         * gnu/java/awt/ClasspathToolkit.java
7010         (nativeQueueEmpty)
7011         (wakeNativeQueue)
7012         (iterateNativeQueue): New methods.
7013         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
7014         * gnu/java/awt/peer/gtk/GtkToolkit.java
7015         (gtkInit): Absorb from defunct GtkMainThread class.
7016         (static): Run gtkInit in static startup block.
7017         (GtkToolkit): Remove construction of GtkMainThread and queue.
7018         (getSystemEventQueueImpl): Construct queue when requested.
7019         (nativeQueueEmpty)
7020         (wakeNativeQueue)
7021         (iterateNativeQueue): New methods.
7022         * java/awt/Component.java (removeNotify): Remove race.
7023         * java/awt/EventDispatchThread.java
7024         (EventDispatchThread): Don't start on construction.
7025         (run): Remove isInterrupted check.
7026         * java/awt/EventQueue.java (shutdown): New flag.
7027         (isShutdown): New method checking J2SE shutdown condition.
7028         (setShutdown): New method.
7029         (getNextEvent): Restructure to use ClasspathToolkit.
7030         (postEvent): Activate new thread on posting, wake thread on
7031         post of possible shutdown condition event.
7032         * java/awt/Frame.java
7033         (Frame): Call noteFrame in all constructors.
7034         (fireDummyEvent): New helper method.
7035         (addNotify): Fire a dummy event to wake up queue.
7036         (removeNotify): Fire a dummy event to wake up queue.
7037         (noteFrame): New method.
7038         (weakFrames): New static field.
7039         (getFrames): Implement.
7040         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
7041         Remove.
7042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
7043         Move everything from GtkMainThread into this file
7044         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
7045         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
7046         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
7047         New functions to implement single-threaded queue semantics.
7049 2005-02-15  Michael Koch  <konqueror@gmx.de>
7051         * javax/swing/plaf/metal/MetalLookAndFeel.java
7052         (getControlTextFont): New method.
7053         (getMenuTextFont): Likewise.
7054         (getSubTextFont): Likewise.
7055         (getSystemTextFont): Likewise.
7056         (getUserTextFont): Likewise.
7057         (getWindowTitleFont): Likewise.
7059 2005-02-15  Michael Koch  <konqueror@gmx.de>
7061         * javax/swing/text/AbstractDocument.java
7062         (documentFilter): New field.
7063         (getDocumentFilter): New method.
7064         (setDocumentFilter): Likewise.
7065         (dump): Likewise.
7067 2005-02-15  Michael Koch  <konqueror@gmx.de>
7069         * javax/swing/JTree.java
7070         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
7072 2005-02-15  Michael Koch  <konqueror@gmx.de>
7074         * javax/swing/text/AbstractDocument.java
7075         (AbstractElement.getLength): Fixed off-by-one error.
7076         (AbstractElement.children): Made abstract.
7077         (AbstractElement.getAllowsChildren): Likewise.
7078         (AbstractElement.getElement): Likewise.
7079         (AbstractElement.dumpElement): New private method.
7080         (AbstractElement.dump): New method.
7081         (BranchElememt.getName): Fixed implementation.
7082         (BranchElememt.toString): Likewise.
7083         (BranchElememt.getElement): Fixed arguments.
7084         (LeafElement.getName): Fixed implementation.
7085         (LeafElement.toString): Likewise.
7086         * javax/swing/text/GapContent.java
7087         (GapContent): Put default content into buffer.
7088         * javax/swing/text/PlainDocument.java
7089         (reindex): Use empty attribute sets instead of null.
7090         (createDefaultRoot): Reimplemented.
7091         (insertUpdate): Call super method.
7092         (removeUpdate): Likewise.
7093         (getParagraphElement): Implemented.
7095 2005-02-15  Michael Koch  <konqueror@gmx.de>
7097         * gnu/java/awt/ClasspathToolkit.java
7098         (createRobot): Throws java.awt.AWTException.
7099         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
7100         Added '__attribute__((unused))' to all unused method arguments.
7102 2005-02-15  Michael Koch  <konqueror@gmx.de>
7104         * javax/swing/DefaultBoundedRangeModel.java
7105         (fireValueChanged): Fixed off-by-one error.
7107 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7109         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
7110         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
7111         GdkRobotPeer.java.
7112         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
7113         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
7114         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
7115         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
7116         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
7117         (getDefaultScreenDevice): Implement.
7118         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
7119         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
7120         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
7121         * java/awt/Robot.java: Implement.
7122         * java/awt/peer/RobotPeer.java: Rename parameters.
7123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
7124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7125         (awt_keycode_to_keysym): Make non-static.
7126         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
7127         AWT_BUTTON3_MASK): Declare constants.
7128         (awt_keycode_to_keysym): Declare.
7130         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
7131         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
7132         and is non-empty pass its value to "make check".
7133         (test_mauve_sim): Likewise.
7135 2005-02-15  Michael Koch  <konqueror@gmx.de>
7137         * javax/imageio/IIOParam.java
7138         (setSourceBands): New method.
7139         (setSourceSubsampling): Likewise.
7140         * javax/imageio/ImageReadParam.java
7141         (setDestination): Likewise.
7142         (setDestinationBands): Likewise.
7143         (setSourceProgressivePasses): Likewise.
7144         * javax/imageio/metadata/IIOInvalidTreeException.java
7145         (serialVersionUID): New static field.
7146         * javax/imageio/metadata/IIOMetadataNode.java
7147         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
7148         (parent): Dont initailize with default value explicitely.
7149         (Object): Likewise.
7150         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
7151         (removeAttributeNode): Likewise.
7152         (removeAttributeNS): Likewise.
7153         (setAttribute): Likewise.
7154         (setAttributeNode): Likewise.
7155         (setAttributeNodeNS): Likewise.
7156         (setAttributeNS): Likewise.
7157         (appendChild): Likewise.
7158         (getNodeValue): Likewise.
7159         (insertBefore): Likewise.
7160         (removeChild): Likewise.
7161         (replaceChild): Likewise.
7162         (setPrefix): Likewise.
7164 2005-02-15  Michael Koch  <konqueror@gmx.de>
7166         * javax/swing/LookAndFeel.java
7167         (getDesktopPropertyValue): New method.
7169 2005-02-15  Michael Koch  <konqueror@gmx.de>
7171         * javax/swing/JTree.java
7172         (hasChildren): New instance field.
7174 2005-02-15  Michael Koch  <konqueror@gmx.de>
7176         * javax/swing/JComponent.java
7177         (getToolTipText): New method.
7178         (getTitledBorderText): Likewise.
7179         (getAccessibleKeyBinding): Likewise.
7180         (getVerifyInputWhenFocusTarget): Likewise.
7181         (setVerifyInputWhenFocusTarget): Likewise.
7182         (verifyInputWhenFocusTarget): New instance field.
7184 2005-02-15  Michael Koch  <konqueror@gmx.de>
7186         * javax/swing/DefaultListSelectionModel.java
7187         (fireValueChanged): New method.
7189 2005-02-15  Michael Koch  <konqueror@gmx.de>
7191         * javax/swing/DefaultBoundedRangeModel.java:
7192         Fixed javadocs all over.
7193         (fireStateChanged): Simplified.
7194         * javax/swing/BoundedRangeModel.java:
7195         Reformatted.
7197 2005-02-15  Michael Koch  <konqueror@gmx.de>
7199         * javax/swing/JRootPane.java
7200         (setMenuBar): Added @deprecated tag.
7201         (getMenuBar): Likewise.
7202         * javax/swing/JTable.java
7203         (sizeColumnsToFit): Likewise.
7205 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
7207         * javax/swing/ImageIcon.java (setImage): Implemented.
7209 2005-02-15  Michael Koch  <konqueror@gmx.de>
7211         * javax/swing/JTable.java:
7212         Removed unused imports.
7214 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7216         (prepareRenderer): Get column's index in dataModel instead
7217         of column's view index.
7218         (getColumnCount): return count of the columns in ColumnModel,
7219         not in dataModel.
7220         (removeColumn): Implemented.
7221         (moveColumm): Likewise.
7222         (setRowHeight): throw IllegalArgumentException if height is
7223         less then 1.
7224         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
7225         (DefaultTableColumnModel):Add call to createSelectionModel().
7226         (addColumn): Fire columnAdded event to registered listeners.
7227         (removeColumn): Fire columnRemoved event to registered listeners.
7228         (moveColumn): Fire columnMoved event to registered listeners.
7229         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
7230         (getColumnIndex): Changed parameter name.
7231         (setColumnSelectionAllowed): Likewise.
7232         (fireColumnAdded): Implemented.
7233         (fireColumnRemoved): Likewise.
7234         (fireColumnMoved): Likewise.
7235         (fireColumnMarginChanged): Likewise.
7236         (getListeners): Changed parameter name.
7237         (propertyChange): Implemented.
7238         (valueChanged): Changed parameter name.
7239         (createSelectionModel): Implemented.
7241 2005-02-15  Michael Koch  <konqueror@gmx.de>
7243         * gnu/java/awt/peer/gtk/GtkToolkit.java:
7244         Explicitely import used classes.
7245         (getLocalGraphicsEnvironment): Simplify.
7246         * java/awt/Window.java (Window):
7247         Enable code to get the default GraphicsConfiguration.
7249 2005-02-15  Michael Koch  <konqueror@gmx.de>
7251         * javax/swing/plaf/metal/DefaultMetalTheme.java
7252         (CONTROL_TEXT_FONT): New static field.
7253         (MENU_TEXT_FONT): Likewise.
7254         (SUB_TEXT_FONT): Likewise.
7255         (SYSTEM_TEXT_FONT): Likewise.
7256         (USER_TEXT_FONT): Likewise.
7257         (WINDOW_TITLE_FONT): Likewise.
7258         (getControlTextFont): New method.
7259         (getMenuTextFont): Likewise.
7260         (getSubTextFont): Likewise.
7261         (getSystemTextFont): Likewise.
7262         (getUserTextFont): Likewise.
7263         (getWindowTitleFont): Likewise.
7264         * javax/swing/plaf/metal/MetalTheme.java
7265         (BLACK): Initialize with Color.BLACK.
7266         (WHITE): Initialize with Color.WHITE.
7267         (getInactiveControlTextColor): Return getControlDisabled().
7268         (getMenuDisabledForeground): Return getSecondary3().
7269         (getControlTextFont): New abstract method.
7270         (getMenuTextFont): Likewise.
7271         (getSubTextFont): Likewise.
7272         (getSystemTextFont): Likewise.
7273         (getUserTextFont): Likewise.
7274         (getWindowTitleFont): Likewise.
7276 2005-02-15  Michael Koch  <konqueror@gmx.de>
7278         * javax/swing/JFormattedTextField.java
7279         (getFocusLostBehavior): Fixed typo in method name.
7280         (setFocusLostBehavior): Likewise.
7282 2005-02-15  Michael Koch  <konqueror@gmx.de>
7284         * javax/swing/TransferHandler.java:
7285         Reworked import statements.
7287 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7289         * java/awt/Button.java,
7290         java/awt/Canvas.java,
7291         java/awt/Checkbox.java,
7292         java/awt/CheckboxMenuItem.java,
7293         java/awt/Choice.java,
7294         java/awt/Dialog.java,
7295         java/awt/Frame.java,
7296         java/awt/Label.java,
7297         java/awt/List.java,
7298         java/awt/Menu.java,
7299         java/awt/MenuBar.java,
7300         java/awt/MenuItem.java,
7301         java/awt/PopupMenu.java,
7302         java/awt/ScrollPane.java,
7303         java/awt/Scrollbar.java,
7304         java/awt/TextArea.java,
7305         java/awt/Window.java (getAccessibleContext): Clean up comments.
7306         Reformat.
7307         * java/awt/Button.java,
7308         java/awt/Checkbox.java,
7309         java/awt/Choice.java,
7310         java/awt/Menu.java,
7311         java/awt/PopupMenu.java,
7312         java/awt/TextArea.java (getAccessibleContext): Only create new
7313         accessible once.
7314         * java/awt/TextComponent.java (getAccessibleContext): Implement.
7316 2005-02-15  Michael Koch  <konqueror@gmx.de>
7318         * java/awt/Button.java,
7319         javax/swing/JApplet.java,
7320         javax/swing/JFormattedTextField.java,
7321         javax/swing/JWindow.java,
7322         javax/swing/JTree.java,
7323         javax/swing/plaf/basic/BasicEditorPaneUI.java,
7324         javax/swing/plaf/basic/BasicTextPaneUI.java,
7325         javax/swing/plaf/basic/BasicTreeUI.java:
7326         Reworked import statements.
7328 2005-02-15  Michael Koch  <konqueror@gmx.de>
7330         * Makefile.am: Put javax.imageio into its own library and link it
7331         against lib-org-w3c-dom.la to fix bootstrapping.
7332         * Makefile.in: Regenerated.
7334 2005-02-15  Michael Koch  <konqueror@gmx.de>
7336         * javax/swing/text/TextAction.java
7337         (getTextComponent): Simplified. Added Javadoc.
7338         (augmentList): Implemented. Added Javadoc.
7339         (getFocusedComponent): Added javadoc.
7341 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7343         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
7344         getAccessibleContext): Implement.
7345         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
7346         getAccessibleContext): Implement.
7348 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7350         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
7351         Implement.
7352         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
7353         Implement.
7354         * java/awt/Window.java (getAccessibleContext): Fix comment.
7355         Remove extra import.
7357 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7359         * java/awt/Window.java (AccessibleAWTWindow): Implement.
7360         (isActive, isFocused, getAccessibleContext): Implement.
7362 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7364         * java/awt/MenuItem.java (getAccessibleContext): Implement.
7365         * java/awt/MenuComponent.java (accessibleContext): Make package
7366         visible.
7367         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
7368         AccessibleAWTCheckboxMenuItem): Implement.
7370 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7372         * java/awt/List.java: Implement AccessibleAWTList,
7373         AccessibleAWTListChild.
7375 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7377         * java/awt/Choice.java: Add implements declaration for
7378         Accessible.
7380 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7382         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
7383         instead of Object.
7385 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7387         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
7388         implemented interface list.
7390 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7392         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
7393         * javax/imageio/metadata/IIOAttr.java: New class.
7394         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
7395         * javax/imageio/metadata/IIONodeList.java: New class.
7396         * Makefile.am: Added new files.
7397         * Makefile.in: Regenerated.
7399 2005-02-15  Michael Koch  <konqueror@gmx.de>
7401         * javax/swing/AbstractAction.java,
7402         javax/swing/AbstractCellEditor.java,
7403         javax/swing/AbstractListModel.java,
7404         javax/swing/DefaultBoundedRangeModel.java,
7405         javax/swing/DefaultButtonModel.java,
7406         javax/swing/DefaultCellEditor.java,
7407         javax/swing/DefaultComboBoxModel.java,
7408         javax/swing/DefaultDesktopManager.java,
7409         javax/swing/JMenu.java,
7410         javax/swing/JSlider.java,
7411         javax/swing/KeyStroke.java,
7412         javax/swing/OverlayLayout.java,
7413         javax/swing/ScrollPaneLayout.java,
7414         javax/swing/SizeRequirements.java,
7415         javax/swing/ViewportLayout.java:
7416         Made serialVersionUID private.
7418 2005-02-15  Michael Koch  <konqueror@gmx.de>
7420         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
7421         Reformatted.
7423 2005-02-15  Michael Koch  <konqueror@gmx.de>
7425         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
7427 2005-02-15  Michael Koch  <konqueror@gmx.de>
7429         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
7431 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
7433         * java/awt/EventDispatchThread.java,
7434         java/awt/Toolkit.java:
7435         Don't catch java.lang.ThreadDeath.
7437 2005-02-15  Michael Koch  <konqueror@gmx.de>
7439         * javax/swing/text/PasswordView.java
7440         (drawEchoCharacter): Added javadoc.
7441         (drawSelectedText): Likewise.
7442         (drawUnselectedText): Likewise.
7444 2005-02-15  Michael Koch  <konqueror@gmx.de>
7446         * javax/swing/JRootPane.java
7447         (windowDecorationStyle): New field.
7448         (setMenuBar): New method.
7449         (getMenuBar): Likewise.
7450         (getWindowDecorationStyle): Likewise.
7451         (setWindowDecorationStyle): Likewise.
7453 2005-02-15  Michael Koch  <konqueror@gmx.de>
7455         * javax/swing/DefaultListSelectionModel.java
7456         (leadAnchorNotificationEnabled): Made protected.
7458 2005-02-15  Michael Koch  <konqueror@gmx.de>
7460         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
7461         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
7462         * Makefile.in: Regenerated.
7465 2005-02-15  Michael Koch  <konqueror@gmx.de>
7467         * javax/swing/JFormattedTextField.java: Implemented.
7468         * javax/swing/JWindow.java
7469         (JWindow): New constructors.
7470         (initWindow): Renamed from initFrame.
7471         * javax/swing/UIDefaults.java
7472         (ActiveValue): Made interface static.
7473         (LazyValue): Likewise.
7474         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7475         (TitlePaneLayout.TitlePaneLayout): New constructor.
7476         * javax/swing/plaf/basic/BasicSliderUI.java
7477         (ChangeHandler): Made public.
7478         (FocusHandler): Likewise.
7479         (PropertyChangeHandler): Likewise.
7480         (ScrollListener): Likewise.
7481         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7482         (FocusHandler): Likewise.
7483         (MouseHandler): Likewise.
7484         * javax/swing/plaf/basic/BasicTextPaneUI.java
7485         (BasicTextPaneUI): Extend BasicEditorPaneUI.
7486         * javax/swing/plaf/basic/BasicToolBarUI.java
7487         (BasicToolBarUI): Simplified. Reworked javadoc.
7488         (canDock): Simplified. Make public.
7489         (DockingListener): Made public.
7490         * javax/swing/text/JTextComponent.java
7491         (navigationFilter): New field.
7492         (getNavigationFilter): New method.
7493         (setNavigationFilter): Likewise.
7495 2005-02-15  Michael Koch  <konqueror@gmx.de>
7497         * javax/swing/plaf/metal/MetalTheme.java
7498         (getControlTextColor): Return getControlInfo().
7499         (getHighlightedTextColor): Return getControlTextColor().
7501 2005-02-15  Michael Koch  <konqueror@gmx.de>
7503         * javax/swing/plaf/basic/BasicButtonListener.java
7504         (BasicButtonListener): New constructor.
7505         * javax/swing/plaf/basic/BasicButtonUI.java
7506         (createButtonListener): Usw new BasicButtonListener constructor.
7508 2005-02-15  Michael Koch  <konqueror@gmx.de>
7510         * javax/imageio/event/package.html,
7511         javax/imageio/metadata/package.html: New files.
7513 2005-02-15  Michael Koch  <konqueror@gmx.de>
7515         * java/awt/image/MemoryImageSource.java: Reformatted.
7517 2005-02-15  Michael Koch  <konqueror@gmx.de>
7519         * javax/swing/tree/TreeCellEditor.java: Refomatted.
7521 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
7523         * java/awt/color/ICC_Profile.java
7524         (finalize): Removed pointless field assignments.
7526 2005-02-15  Michael Koch  <konqueror@gmx.de>
7528         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
7529         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
7530         * Makefile.in: Regenerated.
7532 2005-02-15  Michael Koch  <konqueror@gmx.de>
7534         * javax/swing/text/DefaultStyledDocument.java: New file.
7535         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
7536         * Makefile.in: Regenerated.
7538 2005-02-15  Michael Koch  <konqueror@gmx.de>
7540         * javax/swing/JFileChooser.java
7541         (showDialog): Return CANCEL_OPTION for now.
7542         (showOpenDialog): Likewise.
7543         (showSaveDialog): Likewise.
7545 2005-02-15  Michael Koch  <konqueror@gmx.de>
7547         * javax/swing/JApplet.java
7548         (HIDE_ON_CLOSE): Removed.
7549         (EXIT_ON_CLOSE): Likewise.
7550         (DISPOSE_ON_CLOSE): Likewise.
7551         (DO_NOTHING_ON_CLOSE): Likewise.
7552         (close_action): Likewise.
7553         (getDefaultCloseOperation): Likewise.
7554         (setDefaultCloseOperation): Likewise.
7555         (processWindowEvent): Likewise.
7556         (getPreferredSize): Simplified.
7557         * javax/swing/JInternalFrame.java
7558         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
7559         value.
7560         * javax/swing/JWindow.java
7561         (HIDE_ON_CLOSE): Removed.
7562         (EXIT_ON_CLOSE): Likewise.
7563         (DISPOSE_ON_CLOSE): Likewise.
7564         (DO_NOTHING_ON_CLOSE): Likewise.
7565         (close_action): Likewise.
7566         (processKeyEvent): Likewise.
7567         (setDefaultCloseOperation): Likewise.
7568         (getPreferredSize): Simplified.
7570 2005-02-15  Michael Koch  <konqueror@gmx.de>
7572         * javax/swing/JTextField.java
7573         (getPreferredSize): Re-implemented.
7575 2005-02-15  Michael Koch  <konqueror@gmx.de>
7577         * javax/swing/JLabel.java
7578         (setDisplayedMnemonic): Use only upper case characters.
7579         (setDisplayedMnemonicIndex): Handle index == -1 and fire
7580         PropertyChangeEvent after property got set to the new index.
7582 2005-02-15  Robert Schuster <thebohemian@gmx.net>
7584         * javax/swing/JComboBox.java:
7585         (JComboBox): Removed selection of the
7586         first item in the model.
7588 2005-02-15  Robert Schuster <thebohemian@gmx.net>
7590         * javax/swing/JComboBox.java
7591         added support for no item being selected
7592         (JComboBox): select first or nothing depending on element count
7593         (setModel): cleaned up unneeded "this." usage, added more
7594         docs, made exception behavior match that of the JDK
7595         (setLighWeightPopupEnabled): removed unneeded "this." usage
7596         (setEditable): dito
7597         (setMaximumRowCount): dito
7598         (setRenderer): dito
7599         (setPrototypeDisplayValue): dito
7600         (getSelectedItem): simplified, added more user doc
7601         (setSelectedIndex): corrected exception behavior, added more user doc
7602         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
7603         added performance warning to user doc
7604         (addItem): fixed exception behavior, added user doc
7605         (insertItemAt): dito
7606         (removeItem): dito
7607         (removeItemAt): dito
7608         (removeAll): fixed exception behavior, added user doc, added support
7609         for model not being instance of DefaultComboBoxModel
7610         (getSelectedItemObjects): simplified
7611         (getItemCount): fixed dependency on DefaultComboBoxModel
7612         (getItemAt): fixed dependency on MutableComboBoxModel
7613         * javax/swing/DefaultComboBoxModel.java:
7614         (setSelectedItem): updates selected item only if new
7615         value is null or known (match JDK behavior)
7616         * javax/swing/plaf/basic/BasicComboBoxUI.java:
7617         (paintCurrentValue): renders "" if no item is selected
7619 2005-02-15  Michael Koch  <konqueror@gmx.de>
7621         * javax/swing/plaf/metal/MetalTheme.java,
7622         javax/swing/plaf/metal/DefaultMetalTheme.java:
7623         New files.
7624         * javax/swing/plaf/metal/MetalLookAndFeel.java
7625         * Makefile.am: Added the new files.
7626         * Makefile.in: Regenerated.
7628 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7630         * javax/swing/JTable.java
7631         (editorComp): New field.
7632         (JTable): Initialize local variables and call updateUI
7633         (selectionBackground): Make protected.
7634         (selectionForeground): Likewise.
7635         (initializeLocalVars): Create default editors and renderers,
7636         initialize editingColumn, editingRow variables.
7637         (createDefaultEditors): New Method.
7638         (createDefaultRenderers): Likewise.
7639         (createDefaultListSelectionModel): Removed
7640         (createDefaultSelectionModel): New Method.
7641         (createDefaultTableHeader): Likewise
7642         (removeColumn): Likewise.
7643         (getEditingColumn): Likewise.
7644         (setEditingColumn): Likewise.
7645         (getEditingRow): Likewise.
7646         (setEditingRow): Likewise.
7647         (getEditorComponent): Likewise.
7648         (isEditing): Likewise.
7649         (setDefaultEditor): Likewise.
7650         (addColumnSelectionInterval): Likewise.
7651         (addRowSelectionInterval): Likewise.
7652         (setColumnSelectionInterval): Likewise.
7653         (setRowSelectionInterval): Likewise.
7654         (removeColumnSelectionInterval): Likewise.
7655         (removeRowSelectionInterval): Likewise.
7656         (isColumnSelected): Likewise.
7657         (isRowSelected): Likewise.
7658         (isCellSelected): Likewise.
7659         (selectAll): Likewise.
7661 2005-02-15  Michael Koch  <konqueror@gmx.de>
7663         * javax/swing/JTable.java
7664         (addColumn): New method.
7665         (getColumnClass): Likewise.
7666         (getColumnName): Likewise.
7668 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
7670         * javax/swing/TransferHandler.java
7671         (createTransferable): Made protected.
7673 2005-02-15  Michael Koch  <konqueror@gmx.de>
7675         * javax/swing/JTable.java,
7676         javax/swing/plaf/basic/BasicTableHeaderUI.java,
7677         javax/swing/plaf/basic/BasicTableUI.java:
7678         Use fixed get/setIntercellSpacing() methods.
7680 2005-02-15  Michael Koch  <konqueror@gmx.de>
7682         * javax/swing/JTable.java
7683         (getIntercellSpacing): Fixed typo in method name.
7684         (setIntercellSpacing): Likewise.
7686 2005-02-15  Michael Koch  <konqueror@gmx.de>
7688         * javax/swing/text/JTextComponent.java
7689         (focusAccelerator): New variable.
7690         (getFocusAccelerator): New method.
7691         (setFocusAccelerator): Likewise.
7693 2005-02-15  Michael Koch  <konqueror@gmx.de>
7695         * javax/swing/JComponent.java
7696         (setTransferHandler): Made public. Fire property change event.
7697         * javax/swing/TransferHandler.java: Implemented.
7698         * javax/swing/text/JTextComponent.java
7699         (DefaultTransferHandler): New inner class.
7700         (defaultTransferHandler): New variable.
7701         (copy): New method.
7702         (cut): Likewise.
7703         (paste): Likewise.
7704         (doTransferAction): Likewise.
7706 2005-02-15  Michael Koch  <konqueror@gmx.de>
7708         * javax/swing/JTree.java
7709         (collapsePath): New method.
7710         (collapseRow): Likewise.
7711         (expandPath): Likewise.
7712         (expandRow): Likewise.
7713         (checkExpandParents): Likewise.
7714         (doExpandParents): Likewise.
7715         (setExpandedState): Likewise.
7716         (makeVisible): Likewise.
7718 2005-02-15  Michael Koch  <konqueror@gmx.de>
7720         * javax/swing/JPasswordField.java: Updated javadocs.
7722 2005-02-15  Michael Koch  <konqueror@gmx.de>
7724         * javax/swing/JLayeredPane.java
7725         (getLayer): Fixed return type, made public.
7726         (getPosition): Use new getLayer().
7727         (SetPosition): Likewise.
7728         (getIndexOf): Likewise.
7729         (remove): Likewise.
7730         * javax/swing/JInternalFrame.java
7731         (getLayer): Use new JLayeredPane.getLayer().
7734 2005-02-15  Michael Koch  <konqueror@gmx.de>
7736         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
7737         (setHeaderValue): Simplified. Do nothing when old value == new value.
7739 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7741         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
7742         against null clip region.
7743         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
7744         gtkWindowSetResizable.
7745         (postConfigureEvent): Only revalidate if frame size has changed.
7746         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
7747         Only revalidate if frame size has changed.
7748         * java/awt/Component.java (reshape): Only repaint and post
7749         component events if component is showing.
7750         * java/awt/Container.java (addImpl): Only post container event if
7751         container is showing.
7752         (remove): Likewise.
7753         * java/awt/Window.java (setLocationRelativeTo): Implement.
7754         (setBoundsCallback): Only post component events if component is
7755         showing.
7756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
7757         Protect against null graphics structure.  Flush gdk event queue.
7759 2005-02-15  Michael Koch  <konqueror@gmx.de>
7761         * javax/imageio/ImageReader.java,
7762         javax/imageio/ImageTranscoder.java,
7763         javax/imageio/ImageWriter.java,
7764         javax/imageio/spi/ImageInputStreamSpi.java,
7765         javax/imageio/spi/ImageOutputStreamSpi.java,
7766         javax/imageio/spi/ServiceRegistry.java,
7767         javax/imageio/stream/ImageInputStream.java,
7768         javax/imageio/stream/ImageOutputStream.java: Updated.
7769         * javax/imageio/IIOException.java,
7770         javax/imageio/IIOImage.java,
7771         javax/imageio/IIOParam.java,
7772         javax/imageio/IIOParamController.java,
7773         javax/imageio/ImageIO.java,
7774         javax/imageio/ImageReadParam.java,
7775         javax/imageio/ImageTypeSpecifier.java,
7776         javax/imageio/ImageWriteParam.java,
7777         javax/imageio/spi/IIORegistry.java,
7778         javax/imageio/spi/ImageReaderSpi.java,
7779         javax/imageio/spi/ImageWriterSpi.java,
7780         javax/imageio/stream/FileCacheImageInputStream.java,
7781         javax/imageio/stream/FileCacheImageOutputStream.java,
7782         javax/imageio/stream/FileImageInputStream.java,
7783         javax/imageio/stream/FileImageOutputStream.java,
7784         javax/imageio/stream/ImageInputStreamImpl.java,
7785         javax/imageio/stream/ImageOutputStreamImpl.java,
7786         javax/imageio/stream/MemoryCacheImageInputStream.java,
7787         javax/imageio/stream/MemoryCacheImageOutputStream.java,
7788         javax/imageio/event/IIOReadProgressListener.java,
7789         javax/imageio/event/IIOReadUpdateListener.java,
7790         javax/imageio/event/IIOReadWarningListener.java,
7791         javax/imageio/event/IIOWriteProgressListener.java,
7792         javax/imageio/event/IIOWriteWarningListener.java,
7793         javax/imageio/metadata/IIOMetadata.java,
7794         javax/imageio/metadata/IIOMetadataController.java,
7795         javax/imageio/metadata/IIOMetadataFormat.java,
7796         javax/imageio/metadata/IIOInvalidTreeException.java,
7797         javax/imageio/metadata/IIOMetadataFormatImpl.java,
7798         javax/imageio/metadata/IIOMetadataNode.java: New files.
7799         * Makefile.am (javax_source_files): Added new files
7800         * Makefile.in: Regenerated.
7802 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7804         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7805         Rework painting into BufferedImages
7806         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7807         Construct BufferedImage with alpha only when alpha is
7808         present in colormodel.
7809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7810         Rework painting into client-side jint arrays.
7811         * jni/gtk-peer/gtkcairopeer.h:
7812         Likewise.
7814 2005-02-15  Michael Koch  <konqueror@gmx.de>
7816         * javax/swing/DefaultListCellRenderer.java
7817         (serialVersionUID): Made private.
7818         (getListCellRendererComponent): Set horizontal alignment.
7819         * javax/swing/JLabel.java
7820         (setVerticalAlignment): Re-implemented.
7821         (setHorizontalAlignment): Do nothing if old value = new value.
7822         * javax/swing/JList.java
7823         (setCellRenderer): Likewise.
7824         (setModel): Re-implemented.
7825         (setSelectionModel): Likewise.
7827 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
7829         * java/awt/Component.java,
7830         java/awt/geom/Rectangle2D.java:
7831         Javadoc fixes.
7833 2005-02-15  Michael Koch  <konqueror@gmx.de>
7835         * javax/swing/AbstractListModel.java
7836         (fireContentsChanged): Simplified.
7837         (fireIntervalAdded): Likewise.
7838         (fireIntervalRemoved): Likewise.
7839         * javax/swing/DefaultSingleSelectionModel.java:
7840         Reformatted.
7841         (fireStateChanged): Simplified.
7842         * javax/swing/JPopupMenu.java
7843         (setSelectionModel): Set property.
7845 2005-02-15  Michael Koch  <konqueror@gmx.de>
7847         * java/awt/print/Book.java: Reformatted.
7849 2005-02-15  Michael Koch  <konqueror@gmx.de>
7851         * java/awt/geom/Area.java
7852         (QuadSegment.curveArea): Remove unused variables.
7853         (CubicSegment.curveArea): Likewise.
7855 2005-02-15  Michael Koch  <konqueror@gmx.de>
7857         * javax/swing/JTree.java
7858         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7859         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7860         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7861         (EXPANDED): New constant.
7862         (COLLAPSED): Likewise.
7863         (nodeStates): New field.
7864         (cellEditor): New method.
7865         (cellRenderer): Likewise.
7866         (selectionModel): Likewise.
7867         (treeModel): Likewise.
7868         (scrollPathToVisible): Likewise.
7869         (scrollRowToVisible): Likewise.
7870         (isCollapsed): Likewise.
7871         (isExpanded): Likewise.
7872         (clearToggledPaths): Likewise.
7873         (getDescendantToggledPaths): Likewise.
7874         (hasBeenExpanded): Likewise.
7875         (isVisible): Likewise.
7876         (isPathEditable): Likewise.
7878 2005-02-15  Michael Koch  <konqueror@gmx.de>
7880         * javax/swing/JLayeredPane.java: Reformatted.
7882 2005-02-15  Michael Koch  <konqueror@gmx.de>
7884         * javax/swing/tree/DefaultMutableTreeNode.java:
7885         Completely Revised.
7886         * javax/swing/tree/MutableTreeNode.java:
7887         Reformatted.
7889 2005-02-15  Michael Koch  <konqueror@gmx.de>
7891         * javax/swing/JFormattedTextField.java
7892         (setDocument): Call setDocument of super class. Don't fire property
7893         change event.
7895 2005-02-15  Sven de Marothy  <sven@physto.se>
7897         * java/awt/image/IndexColorModel.java:
7898         Add FIXME with respect to alpha handling.
7899         (getAlpha): Default to returning opaque pixels.
7900         * java/awt/image/MultiPixelPackedSampleModel.java
7901         (MultiPixelPackedSampleModel): Corrected parameters, order of
7902         bit shifts and masks, stride length off by one.
7904 2005-02-15  Michael Koch  <konqueror@gmx.de>
7906         * javax/swing/JList.java, javax/swing/JTree.java:
7907         Added much new methods and fixed much methods setting bound properties.
7909 2005-02-16  Mark Wielaard  <mark@klomp.org>
7911         * Makefile.am (gnu_xml_source_files): Removed
7912         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7913         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7914         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7915         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7916         gnu/xml/dom/DomDocumentFragment.java,
7917         gnu/xml/dom/DomProcessingInstruction.java and
7918         gnu/xml/dom/ls/DomLSException.java.
7919         * Makefile.in: Regenerated.
7921 2005-02-16  Tom Tromey  <tromey@redhat.com>
7923         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7924         attribute index is out of bounds.
7926 2005-02-16  Chris Burdess  <dog@gnu.org>
7928         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7929         isDeclared methods. Improved performance of isSpecified methods.
7931 2005-02-16  Chris Burdess  <dog@gnu.org>
7933         Fixes bug libgcj/19864
7934         * gnu/xml/dom/DomAttr.java,
7935         gnu/xml/dom/DomCDATA.java,
7936         gnu/xml/dom/DomCDATASection.java,
7937         gnu/xml/dom/DomCharacterData.java,
7938         gnu/xml/dom/DomDOMException.java,
7939         gnu/xml/dom/DomDoctype.java,
7940         gnu/xml/dom/DomDocument.java,
7941         gnu/xml/dom/DomDocumentConfiguration.java,
7942         gnu/xml/dom/DomDocumentFragment.java,
7943         gnu/xml/dom/DomElement.java,
7944         gnu/xml/dom/DomEx.java,
7945         gnu/xml/dom/DomFragment.java,
7946         gnu/xml/dom/DomImpl.java,
7947         gnu/xml/dom/DomIterator.java,
7948         gnu/xml/dom/DomNamedNodeMap.java,
7949         gnu/xml/dom/DomNode.java,
7950         gnu/xml/dom/DomNsNode.java,
7951         gnu/xml/dom/DomPI.java,
7952         gnu/xml/dom/DomProcessingInstruction.java,
7953         gnu/xml/dom/DomText.java,
7954         gnu/xml/dom/DomLSEx.java,
7955         gnu/xml/dom/DomLSException.java,
7956         gnu/xml/dom/DomLSParser.java,
7957         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7958         implementation class names to conform to Classpath guidelines.  Make
7959         DomLSException use JDK 1.4+ exception chaining.
7960         * gnu/xml/util/SAXNullTransformerFactory.java,
7961         gnu/xml/xpath/Predicate.java: Use constants relative to
7962         declaring class or interface.
7964 2005-02-16  Andrew Haley  <aph@redhat.com>
7966         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7967         null, create a new AccessControlContext.
7968         * java/security/SecureClassLoader.java (protectionDomainCache):
7969         new field.
7970         (defineClass): Create a new protection domain and add it to our
7971         cache.
7973         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7974         addStub() to keep track of the stub we've exported.
7975         (unexportObject): Call deleteStub().
7976         * java/rmi/server/RemoteObject.java (stubs): New field.
7977         (addStub): New method.
7978         (deleteStub): New method.
7979         (toStub): Rewrite.
7981         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7982         true to findHelper (tryParents).
7983         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7984         Likewise.
7985         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7986         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7987         ProtectionDomain.
7988         If tryParents is false, don't scan parent class loaders.
7990         * java/security/Permissions.java (PermissionsHash.implies):
7991         Iterate over the collection and invoke implies() on each
7992         element.
7994 2005-02-16  Andrew Haley  <aph@redhat.com>
7996         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7997         fields.
7998         (PersistentByteMap): Set name
7999         Magic number changed to 0x67636a64 ("gcjd").
8000         (init): Force the map to be prime.
8001         (emptyPersistentByteMap): File name was a string, now a File.
8002         (addBytes): Share srings between entries.
8003         (stringTableSize): New method.
8004         (capacity): Scale by load factor.
8005         (force): New method.
8006         (getFile): New method.
8007         (close): New method.
8008         (putAll): New method.
8009         (ByteWrapper): New class.
8010         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
8011         (main): Guess the average string size as 32, not 64.
8012         Copy a database before modifying it, so that we can update a
8013         database in a running system.
8014         If a database isn't big enough, resize it.
8015         "-m": new option: merges databases.
8016         "-a": Create a new detabase if it doesn't exist.
8017         (usage): Correct, add new option.
8018         (addJar): Copy a database before modifying it.
8019         (resizeMap): New method.
8021 2005-02-15  David Daney <ddaney@avtrex.com>
8022             Bryce McKinlay  <mckinlay@redhat.com>
8024         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
8025         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
8026         ensure that GC threads inherit the new signal mask.
8027         (block_sigchld): Call JvFail rather than throwing exception if
8028         pthread_sigmask() fails.
8030 2005-02-15  Mark Wielaard  <mark@klomp.org>
8032         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
8033         file path elements are separated by spaces.
8035 2005-02-15  Mark Wielaard  <mark@klomp.org>
8037         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
8038         to describe attributes without a constant field value in this class.
8040 2005-02-15  Michael Koch  <konqueror@gmx.de>
8042         * java/util/jar/Attributes.java
8043         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
8045 2005-02-15  Mark Wielaard  <mark@klomp.org>
8047         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
8048         space for parsing CLASS_PATH attribute.
8050 2005-02-15  Mark Wielaard  <mark@klomp.org>
8052         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
8053         aside for "GCJLIBS" in directory where jarfiles are loaded.
8054         (JarURLLoader.getClass): Removed method.
8055         (JarURLLoader.toString): Removed method.
8056         (FileResource.toString): Removed method.
8058 2005-02-15  Mark Wielaard  <mark@klomp.org>
8060         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
8061         and/or cause before throwing.
8063 2005-02-15  Richard Henderson  <rth@redhat.com>
8065         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
8066         (libgcj0_convenience_la_SOURCES): ... here.
8067         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
8068         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
8069         * Makefile.in: Regenerate.
8071 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8073         * jawt.c: New file.
8074         * include/jawt.h: Likewise.
8075         * include/jawt_md.h: Likewise.
8076         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
8077         jawt_md.h files.
8078         * include/Makefile.in: Regenerate.
8079         * jni/classpath/classpath_jawt.h: Likewise.
8080         * jni/gtk-peer/gtk_jawt.c: Likewise.
8081         * Makefile.am: Build libjawt.so.
8082         * Makefile.in: Regenerate.
8084 2005-02-14  Tom Tromey  <tromey@redhat.com>
8086         * testsuite/libjava.lang/PR19921.java: Use correct class name.
8088 2005-02-14  Tom Tromey  <tromey@redhat.com>
8090         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
8091         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
8093 2005-02-14  Tom Tromey  <tromey@redhat.com>
8095         For PR java/19929:
8096         * testsuite/libjava.lang/PR19929.out: New file.
8097         * testsuite/libjava.lang/PR19929.java: New file.
8099 2005-02-14  Anthony Green  <green@redhat.com>
8101         PR libgcj/18116
8102         * testsuite/libjava.jni/PR18116.c: New file.
8103         * testsuite/libjava.jni/PR18116.java: New file.
8104         * testsuite/libjava.jni/PR18116.out: New file.
8106 2005-02-13  Anthony Green  <green@redhat.com>
8108         PR libgcj/18116
8109         * jni.cc (nathash_add): Don't strdup the method signature.
8110         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
8111         method signature.
8112         Update copyright.
8114 2005-02-12  Mark Wielaard  <mark@klomp.org>
8116         Fixes bug libgcj/8170
8117         * java/lang/ClassLoader.java (loadClass): Don't rewrap
8118         ClassNotFoundException.
8119         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
8120         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
8121         (remove_internal): New field superceding remove_interpreter.
8122         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
8123         Remove no-class methods starting with "_Jv_". And Replace null
8124         class or method names with the empty string. Stop at either the
8125         MainThread or a real Thread run() method.
8126         (newElement): Made static.
8127         * java/net/URLClassLoader.java (findClass): Throw
8128         ClassNotFoundExceptions including urls, plus parent using toString().
8129         (thisString): New field.
8130         (toString): New method.
8132 2005-02-10  Tom Tromey  <tromey@redhat.com>
8134         * external/sax/Makefile.in: Rebuilt.
8135         * external/sax/Makefile.am (all-local): Removed.
8136         (BUILT_SOURCES): New variable.
8137         (mostlyclean-local): No error if no classes to delete.
8138         * external/w3c_dom/Makefile.in: Rebuilt.
8139         * external/w3c_dom/Makefile.am (all-local): Removed.
8140         (BUILT_SOURCES): New variable.
8141         (mostlyclean-local): No error if no classes to delete.
8143 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
8145         * testsuite/libjava.mauve/xfails: Updated to reflect current state
8146         of mauve and libjava.
8148 2005-02-09  Tom Tromey  <tromey@redhat.com>
8150         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
8151         jar file with OPEN_DELETE.
8152         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
8153         OPEN_DELETE is used.
8155 2005-02-09  Tom Tromey  <tromey@redhat.com>
8157         * java/util/zip/InflaterInputStream.java (markSupported):
8158         Override.
8159         (mark, reset): Likewise.
8161 2005-02-08  Tom Tromey  <tromey@redhat.com>
8163         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
8164         name or port is missing.
8165         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
8166         AUTHORITY_PORT_GROUP): Updated.
8168 2005-02-08  Tom Tromey  <tromey@redhat.com>
8170         * configure: Rebuilt.
8171         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
8172         AC_CHECK_HEADERS.
8174 2005-02-07  Tom Tromey  <tromey@redhat.com>
8176         * java/lang/natRuntime.cc (insertSystemProperties): Set
8177         sun.boot.class.path earlier.
8179 2005-02-07  Tom Tromey  <tromey@redhat.com>
8181         * defineclass.cc (handleClassBegin): Use
8182         _Jv_RegisterInitiatingLoader.
8183         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
8184         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
8185         class.  Use _Jv_UnregisterInitiatingLoader.
8186         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
8187         New function.
8189 2005-02-07  Mark Wielaard  <mark@klomp.org>
8191         Reported by Timo Lindfors <timo.lindfors@iki.fi>
8192         java/util/regex/Matcher.java (lookingAt): Set position when match
8193         found.
8194         (matches): Implemented through lookingAt().
8196 2005-02-07  Mark Wielaard  <mark@klomp.org>
8198         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
8199         * java/util/regex/Pattern.java (split(CharSequence,int)):
8200         Fix while empties > 0 loops.
8202 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
8204         * gnu/java/nio/charset/ISO_8859_1.java,
8205         gnu/java/nio/charset/US_ASCII.java,
8206         gnu/java/nio/charset/UTF_16.java,
8207         gnu/java/nio/charset/UTF_16_LE.java,
8208         gnu/java/nio/charset/UTF_16_BE.java,
8209         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
8210          and aliases according to
8211          "http://www.iana.org/assignments/character-sets",
8212          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
8213          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
8214         * gnu/java/nio/charset/Provider.java: Made charset lookup
8215          case-insensitive which fixes bug #11740.
8217 2005-02-07  Tom Tromey  <tromey@redhat.com>
8219         PR libgcj/19611:
8220         * Makefile.in: Rebuilt.
8221         * Makefile.am (src.zip): New target.
8222         (install-src.zip): Likewise.
8223         (sourcesdir): New variable.
8225 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
8227         * javax/imageio/metadata/IIOMetadataNode.java:
8228         Implemented.
8229         * javax/imageio/metadata/IIOAttr.java,
8230         javax/imageio/metadata/IIONamedNodeMap.java,
8231         javax/imageio/metadata/IIONodeList.java:
8232         New files
8234 2005-02-06  Graydon Hoare  <graydon@redhat.com>
8236         * gnu/java/awt/ClasspathToolkit.java
8237         (registerImageIOSpis): New method.
8238         * javax/imageio/ImageIO.java
8239         (WriterFormatFilter.filter): Fix copy-and-paste typos.
8240         (WriterMIMETypeFilter.filter): Likewise.
8241         (ImageReaderIterator): Pass extension argument through to SPI.
8242         (getReadersByFilter): Likewise.
8243         (getWritersByFilter): Likewise.
8244         (getImageReadersByFormatName): Likewise.
8245         (getImageReadersByMIMEType): Likewise.
8246         (getImageReadersBySuffix): Likewise.
8247         (getImageWritersByFormatName): Likewise.
8248         (getImageWritersByMIMEType): Likewise.
8249         (getImageWritersBySuffix): Likewise.
8250         (read): Implement.
8251         (write): Implement.
8252         * javax/imageio/ImageReader.java
8253         (progressListeners): Initialize.
8254         (setInput): Implement.
8255         * javax/imageio/ImageWriter.java
8256         (progressListeners): Initialize.
8257         (warningListeners): Likewise.
8258         (warningLocales): Likewise.
8259         (setOutput): Test "isInstance" rather than class equality.
8260         * javax/imageio/spi/IIORegistry.java
8261         (static): Add reader and writer SPIs.
8262         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
8264 2005-02-06  Michael Koch  <konqueror@gmx.de>
8266         * javax/imageio/metadata/IIOInvalidTreeException.java
8267         (IIOInvalidTreeException): Reformatted.
8268         * javax/imageio/spi/IIORegistry.java
8269         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
8270         * javax/imageio/stream/MemoryCacheImageInputStream.java:
8271         Reworked import statements.
8273 2005-02-06  Michael Koch  <konqueror@gmx.de>
8275         * javax/imageio/stream/FileImageOutputStream.java:
8276         Implemented.
8278 2005-02-06  Michael Koch  <konqueror@gmx.de>
8280         * javax/imageio/stream/FileCacheImageInputStream.java,
8281         javax/imageio/stream/FileCacheImageOutputStream.java,
8282         javax/imageio/stream/FileImageInputStream.java,
8283         javax/imageio/stream/ImageInputStreamImpl.java,
8284         javax/imageio/stream/ImageOutputStreamImpl.java,
8285         javax/imageio/stream/MemoryCacheImageInputStream.java,
8286         javax/imageio/stream/MemoryCacheImageOutputStream.java:
8287         Added all missing methods in javax.imageio.stream.
8289 2005-02-02  David Daney  <ddaney@avtrex.com>
8291         * java/net/InetAddress.java (InetAddress): Make a private copy of
8292         the address.
8293         * java/net/Inet4Address.java (getAddress): Return a copy of the
8294         address.
8295         * java/net/Inet6Address.java (Inet6Address): Use private copy of
8296         the address
8297         (getAddress): Return a copy of the address.
8298         (equals): Rewrote.
8300 2005-02-02  Tom Tromey  <tromey@redhat.com>
8302         * Makefile.in: Rebuilt.
8303         * Makefile.am (classes.stamp): New target, broken out from
8304         libgcj.jar target.
8305         ($(all_java_class_files)): Depend on it.
8306         (libgcj-@gcc_version@.jar): Likewise.
8307         (all-recursive): Likewise.
8308         (CLEANFILES): Include classes.stamp.
8310 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
8312         * link.cc: Include <stdio.h>
8314 2005-02-02  Tom Tromey  <tromey@redhat.com>
8316         PR libgcj/19681:
8317         * Makefile.in: Rebuilt.
8318         * Makefile.am (ordinary_java_source_files): Added new class.
8319         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
8320         Use system_instance, not instance.
8321         * gnu/gcj/runtime/SystemClassLoader.java: New file.
8322         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
8323         java.class.path.
8324         (system_instance): New field.
8325         (initialize): Initialize the system loader as well.
8326         (VMClassLoader): Default to LIB_CACHE.
8328 2005-02-02  Tom Tromey  <tromey@redhat.com>
8330         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
8331         * prims.cc: Fixed comment.
8333 2005-02-01  Tom Tromey  <tromey@redhat.com>
8335         * Makefile.in: Rebuilt.
8336         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
8337         (.java.class): Use BOOTCLASSPATH.
8339 2005-02-01  Tom Tromey  <tromey@redhat.com>
8341         * external/w3c_dom/Makefile.am: New file.
8342         * external/w3c_dom/Makefile.in: New file.
8343         * external/sax/Makefile.am: New file.
8344         * external/sax/Makefile.in: New file.
8345         * external/Makefile.in: New file.
8346         * external/Makefile.am: New file.
8347         * external/README: New file from Classpath.
8348         * configure, aclocal.m4, Makefile.in: Rebuilt.
8349         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
8350         * Makefile.am (SUBDIRS): Added external.
8351         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
8352         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
8353         (BOOTCLASSPATH): New variable.
8354         (AM_GCJFLAGS): Use it.
8355         (gnu_xml_source_files): New variable.
8356         (libgcj_la_SOURCES): Use it.
8357         (libgcj_la_LDADD): Include new convenience libraries.
8358         (lib_org_ietf_jgss_la_SOURCES): Removed.
8359         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
8360         (lib_org_ietf_jgss_la_LIBADD): Likewise.
8361         (lib_org_w3c_dom_la_SOURCES): Removed.
8362         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
8363         (lib_org_w3c_dom_la_LIBADD): Likewise.
8364         (lib_org_xml_sax_la_SOURCES): Removed.
8365         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
8366         (lib_org_xml_sax_la_LIBADD): Likewise.
8367         (all_java_source_files): Updated.
8368         (property_files): Likewise.
8369         (libgcj-@gcc_version@.jar): Include classes from external/.
8370         (javax_source_files): Updated.
8371         (ordinary_java_source_files): Updated.
8372         * javax/xml/XMLConstants.java,
8373         javax/xml/datatype/DatatypeConfigurationException.java,
8374         javax/xml/datatype/DatatypeConstants.java,
8375         javax/xml/datatype/DatatypeFactory.java,
8376         javax/xml/datatype/Duration.java,
8377         javax/xml/datatype/XMLGregorianCalendar.java,
8378         javax/xml/datatype/package.html,
8379         javax/xml/namespace/NamespaceContext.java,
8380         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
8381         javax/xml/parsers/DocumentBuilder.java,
8382         javax/xml/parsers/DocumentBuilderFactory.java,
8383         javax/xml/parsers/FactoryConfigurationError.java,
8384         javax/xml/parsers/ParserConfigurationException.java,
8385         javax/xml/parsers/SAXParser.java,
8386         javax/xml/parsers/SAXParserFactory.java,
8387         javax/xml/parsers/package.html,
8388         javax/xml/transform/ErrorListener.java,
8389         javax/xml/transform/OutputKeys.java,
8390         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
8391         javax/xml/transform/SourceLocator.java,
8392         javax/xml/transform/Templates.java,
8393         javax/xml/transform/Transformer.java,
8394         javax/xml/transform/TransformerConfigurationException.java,
8395         javax/xml/transform/TransformerException.java,
8396         javax/xml/transform/TransformerFactory.java,
8397         javax/xml/transform/TransformerFactoryConfigurationError.java,
8398         javax/xml/transform/URIResolver.java,
8399         javax/xml/transform/package.html,
8400         javax/xml/transform/dom/DOMLocator.java,
8401         javax/xml/transform/dom/DOMResult.java,
8402         javax/xml/transform/dom/DOMSource.java,
8403         javax/xml/transform/dom/package.html,
8404         javax/xml/transform/sax/SAXResult.java,
8405         javax/xml/transform/sax/SAXSource.java,
8406         javax/xml/transform/sax/SAXTransformerFactory.java,
8407         javax/xml/transform/sax/TemplatesHandler.java,
8408         javax/xml/transform/sax/TransformerHandler.java,
8409         javax/xml/transform/sax/package.html,
8410         javax/xml/transform/stream/StreamResult.java,
8411         javax/xml/transform/stream/StreamSource.java,
8412         javax/xml/transform/stream/package.html,
8413         javax/xml/validation/Schema.java,
8414         javax/xml/validation/SchemaFactory.java,
8415         javax/xml/validation/TypeInfoProvider.java,
8416         javax/xml/validation/Validator.java,
8417         javax/xml/validation/ValidatorHandler.java,
8418         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
8419         javax/xml/xpath/XPathConstants.java,
8420         javax/xml/xpath/XPathException.java,
8421         javax/xml/xpath/XPathExpression.java,
8422         javax/xml/xpath/XPathExpressionException.java,
8423         javax/xml/xpath/XPathFactory.java,
8424         javax/xml/xpath/XPathFactoryConfigurationException.java,
8425         javax/xml/xpath/XPathFunction.java,
8426         javax/xml/xpath/XPathFunctionException.java,
8427         javax/xml/xpath/XPathFunctionResolver.java,
8428         javax/xml/xpath/XPathVariableResolver.java,
8429         javax/xml/xpath/package.html: New files, from GNU JAXP.
8430         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
8431         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
8432         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
8433         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
8434         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
8435         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
8436         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
8437         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
8438         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
8439         org/w3c/dom/ranges/DocumentRange.java,
8440         org/w3c/dom/ranges/Range.java,
8441         org/w3c/dom/ranges/RangeException.java,
8442         org/w3c/dom/traversal/DocumentTraversal.java,
8443         org/w3c/dom/traversal/NodeFilter.java,
8444         org/w3c/dom/traversal/NodeIterator.java,
8445         org/w3c/dom/traversal/TreeWalker.java,
8446         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
8447         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
8448         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
8449         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
8450         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
8451         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
8452         org/xml/sax/SAXNotRecognizedException.java,
8453         org/xml/sax/SAXNotSupportedException.java,
8454         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
8455         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
8456         org/xml/sax/ext/DeclHandler.java,
8457         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
8458         org/xml/sax/helpers/AttributeListImpl.java,
8459         org/xml/sax/helpers/AttributesImpl.java,
8460         org/xml/sax/helpers/DefaultHandler.java,
8461         org/xml/sax/helpers/LocatorImpl.java,
8462         org/xml/sax/helpers/NamespaceSupport.java,
8463         org/xml/sax/helpers/NewInstance.java,
8464         org/xml/sax/helpers/ParserAdapter.java,
8465         org/xml/sax/helpers/ParserFactory.java,
8466         org/xml/sax/helpers/XMLFilterImpl.java,
8467         org/xml/sax/helpers/XMLReaderAdapter.java,
8468         org/xml/sax/helpers/XMLReaderFactory.java,
8469         org/xml/sax/helpers/package.html: Moved to external/.
8470         * external/sax/README,
8471         external/sax/org/xml/sax/AttributeList.java,
8472         external/sax/org/xml/sax/Attributes.java,
8473         external/sax/org/xml/sax/ContentHandler.java,
8474         external/sax/org/xml/sax/DTDHandler.java,
8475         external/sax/org/xml/sax/DocumentHandler.java,
8476         external/sax/org/xml/sax/EntityResolver.java,
8477         external/sax/org/xml/sax/ErrorHandler.java,
8478         external/sax/org/xml/sax/HandlerBase.java,
8479         external/sax/org/xml/sax/InputSource.java,
8480         external/sax/org/xml/sax/Locator.java,
8481         external/sax/org/xml/sax/Parser.java,
8482         external/sax/org/xml/sax/SAXException.java,
8483         external/sax/org/xml/sax/SAXNotRecognizedException.java,
8484         external/sax/org/xml/sax/SAXNotSupportedException.java,
8485         external/sax/org/xml/sax/SAXParseException.java,
8486         external/sax/org/xml/sax/XMLFilter.java,
8487         external/sax/org/xml/sax/XMLReader.java,
8488         external/sax/org/xml/sax/package.html,
8489         external/sax/org/xml/sax/ext/Attributes2.java,
8490         external/sax/org/xml/sax/ext/Attributes2Impl.java,
8491         external/sax/org/xml/sax/ext/DeclHandler.java,
8492         external/sax/org/xml/sax/ext/DefaultHandler2.java,
8493         external/sax/org/xml/sax/ext/EntityResolver2.java,
8494         external/sax/org/xml/sax/ext/LexicalHandler.java,
8495         external/sax/org/xml/sax/ext/Locator2.java,
8496         external/sax/org/xml/sax/ext/Locator2Impl.java,
8497         external/sax/org/xml/sax/ext/package.html,
8498         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
8499         external/sax/org/xml/sax/helpers/AttributesImpl.java,
8500         external/sax/org/xml/sax/helpers/DefaultHandler.java,
8501         external/sax/org/xml/sax/helpers/LocatorImpl.java,
8502         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
8503         external/sax/org/xml/sax/helpers/NewInstance.java,
8504         external/sax/org/xml/sax/helpers/ParserAdapter.java,
8505         external/sax/org/xml/sax/helpers/ParserFactory.java,
8506         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
8507         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
8508         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
8509         external/sax/org/xml/sax/helpers/package.html,
8510         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
8511         external/w3c_dom/org/w3c/dom/Attr.java,
8512         external/w3c_dom/org/w3c/dom/CDATASection.java,
8513         external/w3c_dom/org/w3c/dom/CharacterData.java,
8514         external/w3c_dom/org/w3c/dom/Comment.java,
8515         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
8516         external/w3c_dom/org/w3c/dom/DOMError.java,
8517         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
8518         external/w3c_dom/org/w3c/dom/DOMException.java,
8519         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
8520         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
8521         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
8522         external/w3c_dom/org/w3c/dom/DOMLocator.java,
8523         external/w3c_dom/org/w3c/dom/DOMStringList.java,
8524         external/w3c_dom/org/w3c/dom/Document.java,
8525         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
8526         external/w3c_dom/org/w3c/dom/DocumentType.java,
8527         external/w3c_dom/org/w3c/dom/Element.java,
8528         external/w3c_dom/org/w3c/dom/Entity.java,
8529         external/w3c_dom/org/w3c/dom/EntityReference.java,
8530         external/w3c_dom/org/w3c/dom/NameList.java,
8531         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
8532         external/w3c_dom/org/w3c/dom/Node.java,
8533         external/w3c_dom/org/w3c/dom/NodeList.java,
8534         external/w3c_dom/org/w3c/dom/Notation.java,
8535         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
8536         external/w3c_dom/org/w3c/dom/Text.java,
8537         external/w3c_dom/org/w3c/dom/TypeInfo.java,
8538         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
8539         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
8540         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
8541         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
8542         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
8543         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
8544         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
8545         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
8546         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
8547         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
8548         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
8549         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
8550         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
8551         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
8552         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
8553         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
8554         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
8555         external/w3c_dom/org/w3c/dom/css/Counter.java,
8556         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
8557         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
8558         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
8559         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
8560         external/w3c_dom/org/w3c/dom/css/Rect.java,
8561         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
8562         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
8563         external/w3c_dom/org/w3c/dom/events/Event.java,
8564         external/w3c_dom/org/w3c/dom/events/EventException.java,
8565         external/w3c_dom/org/w3c/dom/events/EventListener.java,
8566         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
8567         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
8568         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
8569         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
8570         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
8571         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
8572         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
8573         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
8574         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
8575         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
8576         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
8577         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
8578         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
8579         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
8580         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
8581         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
8582         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
8583         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
8584         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
8585         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
8586         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
8587         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
8588         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
8589         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
8590         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
8591         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
8592         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
8593         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
8594         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
8595         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
8596         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
8597         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
8598         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
8599         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
8600         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
8601         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
8602         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
8603         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
8604         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
8605         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
8606         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
8607         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
8608         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
8609         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
8610         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
8611         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
8612         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
8613         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
8614         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
8615         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
8616         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
8617         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
8618         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
8619         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
8620         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
8621         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
8622         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
8623         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
8624         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
8625         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
8626         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
8627         external/w3c_dom/org/w3c/dom/ls/LSException.java,
8628         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
8629         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
8630         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
8631         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
8632         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
8633         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
8634         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
8635         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
8636         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
8637         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
8638         external/w3c_dom/org/w3c/dom/ranges/Range.java,
8639         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
8640         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
8641         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
8642         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
8643         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
8644         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
8645         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
8646         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
8647         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
8648         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
8649         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
8650         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
8651         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
8652         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
8653         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
8654         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
8655         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
8656         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
8657         from Classpath.
8659 2005-01-31  Anthony Green  <green@redhat.com>
8661         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
8662         Support IP_MULTICAST_LOOP.
8663         (setOption): Support IP_MULTICAST_LOOP.
8665         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
8666         SO_REUSEADDR support.
8667         (getOption): Support SO_REUSEADDR.
8669 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
8671         PR libgcj/19649
8672         * java/util/Date.java
8673         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
8674         constructor.
8675         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
8676         arguments.
8677         (getTimezoneOffset): Inverted sign.
8679 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
8681         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
8682         remove other passing tests and add new XFAILs.
8684 2005-01-24  Tom Tromey  <tromey@redhat.com>
8686         * java/lang/Class.h (next): Updated documentation.  Renamed to
8687         'next_or_version'.
8688         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
8689         _Jv_CheckABIVersion.
8690         (_Jv_RegisterClasses_Counted): Likewise.
8691         (_Jv_RegisterClassHookDefault): Fix starting condition of
8692         duplicate-checking loop.
8693         * include/jvm.h (GCJ_VERSION): New define.
8694         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
8695         (_Jv_CheckABIVersion): New function.
8697 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
8699         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
8700         (libgij_la_LDFLAGS): Add.
8701         * Makefile.in: Rebuilt.
8703 2005-01-24  Roger Sayle  <roger@eyesopen.com>
8705         PR java/19295
8706         * testsuite/libjava.compile/PR19295.java: New test case.
8708 2005-01-19  Tom Tromey  <tromey@redhat.com>
8710         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
8711         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
8712         if 'handler' is valid.
8714 2005-01-17  Tom Tromey  <tromey@redhat.com>
8716         * java/text/MessageFormat.java (scanString): Changed how quoting
8717         is handled.
8718         (scanFormatElement): Likewise.
8720 2004-12-07  Mark Wielaard  <mark@klomp.org>
8722         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
8724 2005-01-15  Michael Koch  <konqueror@gmx.de>
8726         PR libgcj/19444
8727         * java/net/URI.java
8728         (AUTHORITY_REGEXP): New regexp constant.
8729         (AUTHORITY_USERINFO_GROUP): New constant.
8730         (AUTHORITY_HOST_GROUP): Likewise.
8731         (AUTHORITY_PORT_GROUP): Likewise.
8732         (port): Changed default value to -1.
8733         (parseURI): Parse authority part and initialize host,
8734         port and userInfo.
8736 2005-01-14  Robin Green  <greenrd@greenrd.org>
8738         * java/io/File.java (toURI): Generate a URI which we understand.
8740 2005-01-13  Graydon Hoare  <graydon@redhat.com>
8742         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8743         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8744         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8745         * jni.cc: Reuse bottom frame between calls, avoid clearing
8746         frame when no local references are made.
8748 2005-01-13  Michael Koch  <konqueror@gmx.de>
8750         PR libgcj/17784
8751         * java/lang/Thread.java
8752         (Thread): Call checkAccess().
8753         (stop): Fixed argument name to match javadoc.
8754         * java/lang/natThread.cc
8755         (interrupt): Call checkAccess().
8756         (stop): Likewise.
8758 2005-01-11  Michael Koch  <konqueror@gmx.de>
8760         PR libgcj/13972
8761         * java/net/URL.java (URL): Handle specs like
8762         "/redir?http://domain2.com/index.html" which start with a slash.
8764 2005-01-11  Michael Koch  <konqueror@gmx.de>
8766         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
8767         * gnu/java/net/BASE64.java,
8768         gnu/java/net/EmptyX509TrustManager.java,
8769         gnu/java/net/LineInputStream.java,
8770         gnu/java/net/protocol/http/Authenticator.java,
8771         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
8772         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
8773         gnu/java/net/protocol/http/ChunkedInputStream.java,
8774         gnu/java/net/protocol/http/Cookie.java,
8775         gnu/java/net/protocol/http/CookieManager.java,
8776         gnu/java/net/protocol/http/Credentials.java,
8777         gnu/java/net/protocol/http/HTTPConnection.java,
8778         gnu/java/net/protocol/http/HTTPDateFormat.java,
8779         gnu/java/net/protocol/http/HTTPURLConnection.java,
8780         gnu/java/net/protocol/http/Headers.java,
8781         gnu/java/net/protocol/http/Request.java,
8782         gnu/java/net/protocol/http/RequestBodyWriter.java,
8783         gnu/java/net/protocol/http/Response.java,
8784         gnu/java/net/protocol/http/ResponseBodyReader.java,
8785         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
8786         gnu/java/net/protocol/http/SimpleCookieManager.java,
8787         gnu/java/net/protocol/http/event/ConnectionEvent.java,
8788         gnu/java/net/protocol/http/event/ConnectionListener.java,
8789         gnu/java/net/protocol/http/event/RequestEvent.java,
8790         gnu/java/net/protocol/http/event/RequestListener.java: New files.
8791         * gnu/java/net/protocol/http/Connection.java: Removed.
8792         * gnu/java/net/protocol/http/Handler.java,
8793         javax/net/ssl/HttpsURLConnection.java: Updated.
8794         * Makefile.am: Added new files and remove old ones.
8795         * Makefile.in: Regenerated.
8797 2005-01-11  Tom Tromey  <tromey@redhat.com>
8799         PR libgcj/18840:
8800         * java/io/BufferedInputStream.java (read): Repeatedly read to
8801         fill buffer.
8802         (refill): Change test to see if buffer must be grown.
8804 2005-01-10  Tom Tromey  <tromey@redhat.com>
8806         * mauve-libgcj: Exclude some swing tests.
8808 2005-01-10  Tom Tromey  <tromey@redhat.com>
8810         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8811         * java/lang/Package.java (getPackages): Use VMClassLoader when
8812         appropriate.
8813         (getPackage): Likewise.
8814         * prims.cc (_Jv_CreateJavaVM): Call
8815         _Jv_RegisterBootstrapPackages.
8816         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8817         * java/lang/VMClassLoader.java (getPackage): Rewrote.
8818         (getPackages): Likewise.
8819         (definedPackages): New field.
8820         (definePackageForNative): New method.
8821         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8822         * java/lang/natVMClassLoader.cc (loadClass): Updated.
8823         * defineclass.cc (handleClassBegin): Use
8824         ClassLoader.findLoadedClass.
8825         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8826         Rewrote.
8827         (struct _Jv_LoaderInfo): Removed.
8828         (initiated_classes): Likewise.
8829         (_Jv_UnregisterClass): Don't use initiated_classes.
8830         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
8831         (_Jv_FindClass): Register classes found during boostrap.
8832         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8833         (bootstrap_class_list): New global.
8834         (bootstrap_index): Likewise.
8835         (_Jv_RegisterBootstrapPackages): New function.
8836         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8837         definePackageForNative.
8838         (findClass): Updated.
8839         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8840         New method.
8842 2005-01-10  Tom Tromey  <tromey@redhat.com>
8844         PR libgcj/18868:
8845         * include/jvm.h (_Jv_Linker::find_field): Declare.
8846         (_Jv_Linker::find_field_helper): Likewise.
8847         * link.cc (find_field_helper): New method.
8848         (find_field): Likewise.
8849         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
8850         not found.
8851         (link_symbol_table): Use find_field.
8853 2005-01-10  Michael Koch  <konqueror@gmx.de>
8855         PR libgcj/18014
8856         * java/util/Locale.java (Locale): Don't uppercase variant.
8857         (getISOCountries): Fixed typo in javadoc.
8859 2005-01-10  Michael Koch  <konqueror@gmx.de>
8861         * java/util/SimpleTimeZone.java (checkRule):
8862         Throw IllegalArgumentException on invalid month values.
8863         * java/util/TimeZone.java (setID):
8864         Throw NullPointerException if needed.
8866 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8868         * java/util/SimpleTimeZone.java (getOffset):
8869         offset end date with daylight savings
8871 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
8873         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8874         * testsuite/libjava.compile/PR19277.xfail: Likewise.
8876 2005-01-09  Michael Koch  <konqueror@gmx.de>
8878         PR libgcj/17069
8879         * java/net/InetAddress.java (getLocalHost):
8880         Throw UnknownHostException if local hostname cannot be determined.
8882 2005-01-06  Tom Tromey  <tromey@redhat.com>
8884         * java/lang/ClassLoader.java (findClass): Fixed documentation.
8886 2005-01-07  Michael Koch  <konqueror@gmx.de>
8888         PR libgcj/18115
8889         * java/nio/Buffer.java (address): New field.
8890         * java/nio/DirectByteBufferImpl.java (address): Removed.
8891         * java/nio/MappedByteBufferImpl.java (address): Likewise.
8892         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8893         Explicitly initialize Buffer.address if needed.
8894         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8895         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8896         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8897         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8898         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8899         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8900         DirectByteBufferImpl object.
8901         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8902         * testsuite/libjava.jni/directbuffer.c,
8903         testsuite/libjava.jni/directbuffer.java,
8904         testsuite/libjava.jni/directbuffer.out,
8905         testsuite/libjava.jni/bytebuffer.c,
8906         testsuite/libjava.jni/bytebuffer.java,
8907         testsuite/libjava.jni/bytebuffer.out: New files.
8909 2005-01-05  Tom Tromey  <tromey@redhat.com>
8911         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8912         argument.
8913         (compressedSize): Now 'long'.  Default to -1.
8914         (getCompressedSize): Rewrote.
8915         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8916         deflate at all if we need input.
8918 2005-01-05  Tom Tromey  <tromey@redhat.com>
8920         PR libgcj/15719:
8921         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8922         correctly.
8924 2005-01-05  Tom Tromey  <tromey@redhat.com>
8926         * java/lang/natRuntime.cc (insertSystemProperties): Set
8927         java.ext.dirs earlier.
8929 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
8931         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8932         sync_info element of the object if needed.
8934 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
8936         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8937         a non-zero exit status from 'false'.
8939 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
8941         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.