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