PR c++/19253
[official-gcc.git] / libjava / ChangeLog
blobf8f55a0d197d669aae222e9f275921f5f411f852
1 2005-10-12  Andrew Haley  <aph@redhat.com>
3         PR java/24251
4         * link.cc (ensure_method_table_complete): Install Miranda methods
5         for interfaces too.
7 2005-10-10  Tom Tromey  <tromey@redhat.com>
9         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
10         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
11         Now static.
13 2005-10-05  Richard Henderson  <rth@redhat.com>
15         PR target/23602
16         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
17         but not BACKTRACESPEC.
18         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
20 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
22         * testsuite/lib/jni.exp (gcj_jni_test_one): For
23         darwin, use -shared-libgcc not -lgcc_s, and explain why.
24         (gcj_jni_invocation_test_one): Likewise.
26 2005-09-30  Tom Tromey  <tromey@redhat.com>
28         PR libgcj/24051:
29         * Makefile.in: Rebuilt.
30         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
31         requested.
32         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
33         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
34         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
35         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
36         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
37         * configure: Rebuilt.
38         * configure.ac: Pass --enable-qt-peers when qt is requested.
40 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
42         * configure.ac: Fix typo.
43         * configure: Regenerate.
45 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
47         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
48         __LP64__ is defined rather than __powerpc64__.
49         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
50         (compare_and_swap_release): Likewise.
52 2005-09-28  David Daney  <ddaney@avtrex.com>
54         * HACKING: Update instructions for classpath import.
56 2005-09-27  Tom Tromey  <tromey@redhat.com>
58         PR libgcj/23367:
59         * include/jvm.h (_Jv_FreeMethodCache): Declare.
60         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
61         (struct _Jv_mcache): Likewise.
62         (method_cache): Likewise.
63         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
64         (_Jv_AddMethodToCache): Likewise.
65         (_Jv_FreeMethodCache): New function.
66         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
67         * aclocal.m4, configure, include/config.h.in: Rebuilt.
68         * configure.ac: Invoke GCC_CHECK_TLS.
70 2005-09-27  Tom Tromey  <tromey@redhat.com>
72         * configure, Makefile.in: Rebuilt.
73         * sources.am: Rebuilt.
74         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
75         * configure.ac (TOOLKIT): Handle Qt peers properly.
77 2005-09-23  Tom Tromey  <tromey@redhat.com>
79         Imported Classpath 0.18.
80         * sources.am, Makefile.in: Updated.
81         * Makefile.am (nat_source_files): Removed natProxy.cc.
82         * java/lang/reflect/natProxy.cc: Removed.
83         * gnu/classpath/jdwp/VMFrame.java,
84         gnu/classpath/jdwp/VMIdManager.java,
85         gnu/classpath/jdwp/VMVirtualMachine.java,
86         java/lang/reflect/VMProxy.java: New files.
88 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
90         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
91         list.
93 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
95         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
96         Remove ClasspathToolkit references.
98 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
100         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
101         * gnu/awt/xlib/XFramePeer.java: Likewise.
102         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
104 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
106         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
107         classpath/native/jawt/jawt.c.
108         * Makefile.in: Regenerate.
109         * jawt.c: Remove file.
110         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
111         jawt_md.h.  Add ../classpath/include/jawt.h and
112         ../classpath/include/jawt_md.h.
113         * include/Makefile.in: Regenerate.
114         * include/jawt.h: Regenerate.
115         * include/jawt_md.h: Regenerate.
117 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
119         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
120         `null' parent ClassLoader to parent constructor.
121         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
122         constructor.
124 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
126         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
128 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
130         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
131         Use libjava_find_lib to find the proper libgcj.
133 2005-09-16  Anthony Green  <green@redhat.com>
135         PR libgcj/20198
136         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
137         resources should all have canonicalized names.
139 2005-09-15  Tom Tromey  <tromey@redhat.com>
141         PR libgcj/16032:
142         * interpret.cc (AVAL1U): Resolve pool entry when not direct
143         threaded.
144         (AVAL2U): Likewise.
145         (compile): Handle 'ldc class' specially.
146         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
147         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
148         * defineclass.cc (handleCodeAttribute): Set new field.
149         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
150         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
151         (parse): Check version numbers.
152         (_Jv_ClassReader::is_15): New field.
153         (_Jv_ClassReader): Initialize it.
154         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
156 2005-09-15  Tom Tromey  <tromey@redhat.com>
158         For PR libgcj/23288:
159         * java/net/URLClassLoader.java (definePackage): Correctly order
160         arguments to definePackage.  Look up per-entry Attributes.
161         (getAttributeValue): New method.
163 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
165         PR libgcj/23762
166         * shlibpath.m4: New file.
167         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
168         macro.
169         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
170         [USE_LTDL]: If it was not defined with -D set java.library.path to
171         the value of LTDL_SHLIBPATH_VAR.
173 2005-09-08  Andrew Haley  <aph@redhat.com>
175         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
176         loader.
177         (toString): Likewise.
179 2005-09-08  Andrew Haley  <aph@redhat.com>
181         PR java/22084
182         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
183         R/M field in instruction is 100.
185 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
187         PR libgcj/23761
188         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
189         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
190         lt_dlinit.
191         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
192         Define variable.
193         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
194         _Jv_Module_Load_Path.
196 2005-09-06  Tom Tromey  <tromey@redhat.com>
198         PR libgcj/23739:
199         * testsuite/libjava.jni/pr23739.c: New file.
200         * testsuite/libjava.jni/pr23739.java: New file.
201         * testsuite/libjava.jni/pr23739.out: New file.
202         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
203         * java/lang/reflect/natMethod.cc (invoke): Updated.
204         * java/lang/natClass.cc (isAssignableFrom): Updated.
205         (isInstance): Likewise.
206         (_Jv_IsAssignableFrom): Reversed arguments.
207         (_Jv_IsInstanceOf): Updated.
208         (_Jv_CheckCast): Likewise.
209         (_Jv_CheckArrayStore): Likewise.
210         (_Jv_IsAssignableFromSlow): Reversed arguments.
211         (_Jv_InterfaceAssignableFrom): Likewise.
212         * link.cc (verify_type_assertions): Updated.
213         * prims.cc (_Jv_CheckAccess): Updated.
215 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
217         Testsuite changes for PR java/23431.
218         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
219         8.4.6.2-hiding-5.
220         * testsuite/libjava.compile/PR23431_1.java: New testcase.
221         * testsuite/libjava.compile/PR23431_2.java: Likewise.
222         * testsuite/libjava.compile/PR23431_1.xfail: New file.
223         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
225 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
227         PR libgcj/23549
228         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
229         -disableassertions and -da.
231 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
233         * configure.ac: Replace "*-*-darwin[0-7].*" with
234         "*-*-darwin[[0-7]].*"
235         * configure: Regenerate.
237 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
239         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
240         darwin < 8.
241         * configure: Regenerate.
243 2005-08-23  Roman Kennke  <roman@kennke.org>
245         * java/lang/Character.java
246         (toChars(int)): New JDK1.5 method.
247         (toChars(int, char[], int)): New JDK1.5 method.
248         (charCount): New JDK1.5 method.
249         (isSupplementaryCodePoint): New JDK1.5 method.
250         (isValidCodePoint): New JDK1.5 method.
252 2005-08-23  Tom Tromey  <tromey@redhat.com>
254         * aclocal.m4, Makefile.in: Rebuilt.
255         * Makefile.am (property_files): Added META-INF files.
256         (propertyo_files): Changed definition.
257         ($(propertyo_files)): Updated patterns.
259 2005-08-22  Tom Tromey  <tromey@redhat.com>
261         PR libgcj/22622:
262         * configure: Rebuilt.
263         * configure.ac: Correctly create Configuration.java (for
264         temporary use).
266 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
268         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
269         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
270         * mingwld.m4: ... this new file.
271         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
272         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
274 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
276         PR libgcj/23507
277         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
278         assignment.  Cast operands of compare to function pointer type.
280 2005-08-21  Tom Tromey  <tromey@redhat.com>
282         * HACKING: Updated for hacking classpath in libgcj.
284 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
286         PR libgcj/21692
287         * sysdep/pa/descriptor.h: New file.
288         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
290 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
292         * Makefile.am (extra_ldflags_libjava): New variable to
293         substitute in.
294         (LIBLINK): Add extra_ldflags_libjava to it.
295         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
296         "-Wl,-single_module".
297         * Makefile.in: Regenerate.
298         * aclocal.m4: Regenerate.
299         * configure: Regenerate.
300         * gcj/Makefile.in: Regenerate.
301         * include/Makefile.in: Regenerate.
302         * testsuite/Makefile.in: Regenerate.
304 2005-08-17  Tom Tromey  <tromey@redhat.com>
306         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
307         friend.
308         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
309         * testsuite/libjava.lang/bclink.java: New file.
310         * testsuite/libjava.lang/bclink.out: New file.
311         * link.cc (print_class_loaded): Changed ABI test to look at
312         various _syms fields.
314 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
316         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
317         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
319 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
321         More testsuite adjustments for PR java/19870.
322         * testsuite/libjava.lang/PR19870_2.java: New testcase.
323         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
324         new testcase.
325         * testsuite/libjava.jacks/jacks.xfail: Remove
326         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
328 2005-08-16  Tom Tromey  <tromey@redhat.com>
330         * gnu/xml/xpath/XPathParser.y: Removed.
332 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
334         PR libgcj/23353:
335         * java/lang/natObject.cc (clone): Clear sync_info.
337 2005-07-26  Tom Tromey  <tromey@redhat.com>
339         * gnu/java/net/protocol/ftp/package.html,
340         gnu/javax/swing/text/html/package.html,
341         gnu/javax/swing/text/html/parser/package.html,
342         gnu/javax/swing/text/html/parser/models/package.html,
343         gnu/javax/swing/text/html/parser/support/package.html,
344         gnu/javax/swing/text/html/parser/support/low/package.html,
345         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
346         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
347         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
348         java/awt/geom/doc-files/CubicCurve2D-1.png,
349         java/awt/geom/doc-files/CubicCurve2D-2.png,
350         java/awt/geom/doc-files/CubicCurve2D-3.png,
351         java/awt/geom/doc-files/CubicCurve2D-4.png,
352         java/awt/geom/doc-files/CubicCurve2D-5.png,
353         java/awt/geom/doc-files/Ellipse-1.png,
354         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
355         java/awt/geom/doc-files/GeneralPath-1.png,
356         java/awt/geom/doc-files/QuadCurve2D-1.png,
357         java/awt/geom/doc-files/QuadCurve2D-2.png,
358         java/awt/geom/doc-files/QuadCurve2D-3.png,
359         java/awt/geom/doc-files/QuadCurve2D-4.png,
360         java/awt/geom/doc-files/QuadCurve2D-5.png,
361         javax/imageio/package.html, javax/imageio/event/package.html,
362         javax/imageio/metadata/package.html,
363         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
364         javax/swing/border/doc-files/BevelBorder-1.png,
365         javax/swing/border/doc-files/BevelBorder-2.png,
366         javax/swing/border/doc-files/BevelBorder-3.png,
367         javax/swing/border/doc-files/EmptyBorder-1.png,
368         javax/swing/border/doc-files/EtchedBorder-1.png,
369         javax/swing/border/doc-files/EtchedBorder-2.png,
370         javax/swing/border/doc-files/LineBorder-1.png,
371         javax/swing/border/doc-files/MatteBorder-1.png,
372         javax/swing/border/doc-files/MatteBorder-2.png,
373         javax/swing/border/doc-files/MatteBorder-3.png,
374         javax/swing/border/doc-files/MatteBorder-4.png,
375         javax/swing/border/doc-files/MatteBorder-5.png,
376         javax/swing/border/doc-files/MatteBorder-6.png,
377         javax/swing/border/doc-files/SoftBevelBorder-1.png,
378         javax/swing/border/doc-files/SoftBevelBorder-2.png,
379         javax/swing/border/doc-files/SoftBevelBorder-3.png,
380         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
381         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
382         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
383         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
384         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
385         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
386         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
387         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
388         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
389         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
390         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
391         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
392         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
393         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
394         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
395         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
396         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
397         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
398         javax/swing/plaf/doc-files/ComponentUI-1.dia,
399         javax/swing/plaf/doc-files/ComponentUI-1.png,
400         javax/swing/plaf/doc-files/TreeUI-1.png,
401         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
402         javax/xml/parsers/package.html, javax/xml/transform/package.html,
403         javax/xml/transform/dom/package.html,
404         javax/xml/transform/sax/package.html,
405         javax/xml/transform/stream/package.html,
406         javax/xml/validation/package.html, javax/xml/xpath/package.html:
407         Removed.
409 2005-07-22  Tom Tromey  <tromey@redhat.com>
411         * include/Makefile.in: Rebuilt.
412         * include/Makefile.am (tool_include__HEADERS): Include
413         classpath's jni.h.
415 2005-07-20  Tom Tromey  <tromey@redhat.com>
417         * sources.am, Makefile.in: Rebuilt.
418         * Makefile.am (all_xlib_lo_files): Removed.
419         (all_libgcj_lo_files): Likewise.
420         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
421         (xlib_java_source_files): Removed.
422         (xlib_nat_headers): Updated.
423         * configure: Rebuilt.
424         * configure.ac: Create standard.omit.
425         * standard.omit.in: New file.
426         * standard.omit: Removed.
427         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
428         'package'.
429         (emit_package_rule): Special case xlib peers.
430         (emit_source_var): Likewise.
431         Read standard.omit.in.
432         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
434 2005-07-18  Tom Tromey  <tromey@redhat.com>
436         * HACKING: Updated.
438 2005-07-19  Matthias Klose  <doko@debian.org>
440         * classpath/java/awt/im/InputContext.java (clinit): Initialize
441           line, im.
443 2005-07-18  Tom Tromey  <tromey@redhat.com>
445         PR libgj/21058:
446         * sources.am, Makefile.in: Rebuilt.
447         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
448         file.
449         (emit_source_var): Don't emit patsubst with './'.
451 2005-07-18  Tom Tromey  <tromey@redhat.com>
453         * Makefile.in: Rebuilt.
454         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
456 2005-07-17  Andreas Jaeger  <aj@suse.de>
458         * defineclass.cc (handleClassBegin): Remove unused variable.
460 2005-07-16  Andreas Schwab  <schwab@suse.de>
462         * scripts/makemake.tcl (emit_package_rule): Emit command to create
463         target directory.
464         * Makefile.am (%.lo): Don't create it here.
465         * sources.am, Makefile.in: Regenerated.
467 2005-07-15  Tom Tromey  <tromey@redhat.com>
469         Major merge with Classpath.
470         Removed many duplicate files.
471         * HACKING: Updated.x
472         * classpath: Imported new directory.
473         * standard.omit: New file.
474         * Makefile.in, aclocal.m4, configure: Rebuilt.
475         * sources.am: New file.
476         * configure.ac: Run Classpath configure script.  Moved code around
477         to support.  Disable xlib AWT peers (temporarily).
478         * Makefile.am (SUBDIRS): Added 'classpath'
479         (JAVAC): Removed.
480         (AM_CPPFLAGS): Added more -I options.
481         (BOOTCLASSPATH): Simplified.
482         Completely redid how sources are built.
483         Include sources.am.
484         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
485         * include/jni.h: Removed (in Classpath).
486         * scripts/classes.pl: Updated to look at built classes.
487         * scripts/makemake.tcl: New file.
488         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
489         -I options.
490         (gcj_jni_invocation_compile_c_to_binary): Likewise.
492 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
494         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
495         (eventMask): New field.
496         (XCanvasPeer(Component)): Use attributes field.
497         (setBackground): Implemented.
498         (setEventMask): Process mask only if changed.
499         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
500         (eventLoopThread): New field.
501         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
502         (interrupt): Removed.
503         (run): New method.
504         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
505         and Component events.
506         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
507         field.
508         (configureNotify): Set and clear processingConfigureNotify.
509         (setBounds): Process only if processingConfigureNotify is false.
510         (toBack): Implemented.
511         (toFront): Implemented.
512         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
513         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
514         color.
515         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
516         (wakeNativeQueue): Do nothing.
517         (iterateNativeQueue): Do queue.wait if blocking.
518         * gnu/gcj/xlib/Font.java (loadFont): New method.
519         (loadFontImpl): Renamed native method, was loadFont. 
520         * gnu/gcj/xlib/Window.java (toFront): New method.
521         (toBack): New method.
522         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
523         loadFont.
524         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
525         (toFront): New method. 
526         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
528 2005-07-14  Andrew Haley  <aph@redhat.com>
530         * gnu/java/net/protocol/file/Connection.java (unquote): New
531         method.
532         (connect): Unquote filename.
533         gnu/java/net/protocol/jar/Connection.java (getInputStream):
534         Likewise.  
535         (getJarFile): Likewise.
537         * java/net/URLConnection.java (getContentHandler): Guard cast with
538         instaceof.
540         * java/net/URL.java (URL): If the file part of a spec is absolute,
541         ignore the file part of its context.
543 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
545         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
546         Implemented VirtualMachine Command Set.
548 2005-07-14  Tom Tromey  <tromey@redhat.com>
550         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
551         Classpath.
553 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
555         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
556         Implemented the Field CommandSet.
557         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
558         Implemented the InterfaceType CommandSet.
560 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
562         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
563         shutdown to jdwp instead of connection.
565 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
567         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
568         New file.
570 2005-07-08  Colin Walters  <walters@verbum.org>
572         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
573         check for abstract classes or interfaces here; JVM spec
574         says it should throw an exception, so we'll do so later.
575         * interpret.cc (run): Throw an InstantiationException for
576         abstract classes and interfaces.
578 2005-07-08  Andrew Haley  <aph@redhat.com>
580         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
581         (regular, non-realtime scheduling), not SCHED_RR (realtime,
582         round-robin).
584 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
586         * gnu/classpath/jdwp/util/Signature.java
587         (computeFieldSignature): New Method.
589 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
591         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
592         file.
594 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
596         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
597         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
599 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
601         * testsuite/libjava.compile/PR21045.java: New test.
602         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
603         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
605 2005-07-06  Tom Tromey  <tromey@redhat.com>
607         * java/io/InputStreamReader.java (refill): Handle no-progress
608         case correctly.
609         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
611 2005-07-06  Tom Tromey  <tromey@redhat.com>
613         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
615 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
617         * testsuite/libjava.compile/PR19674.java: New test.
619 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
621         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
622         New file.
624 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
626         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
627         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
628         CommandSets to handle JdwpCommandPackets.
629         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
630         Constructor.
632 2005-07-01  Tom Tromey  <tromey@redhat.com>
634         * libtool-version: Updated.
636 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
638         * gnu/classpath/jdwp/util/JdwpString.java: New file.
640 2005-06-30  Keith Seitz  <keiths@redhat.com>
642         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
643         (myWrite): New abstract method.
644         (toBytes): Remove.
645         (myToBytes): Remove.
646         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
647         method.
648         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
649         method.
650         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
651         JdwpPacket.write instead of JdwpPacket.toBytes.
653 2005-06-30  Keith Seitz  <keiths@redhat.com>
655         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
656         method.
657         (_bytes): New member.
658         (_doStream): New member.
659         (JdwpConnection): Initialize new members.
661 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
663         * all files: Update for new FSF address.
665 2005-06-29  Tom Tromey  <tromey@redhat.com>
667         PR libgcj/22211:
668         * testsuite/libjava.lang/pr22211.java: New file.
669         * java/lang/natThread.cc (finish_): Synchronize when updating
670         alive_flag.
671         (_Jv_AttachCurrentThread): Likewise.
672         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
673         * java/lang/Thread.java (isAlive): Now synchronized.
675 2005-06-29  Tom Tromey  <tromey@redhat.com>
677         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
678         _Jv_CheckCast.
680 2005-06-28  Robin Green  <greenrd@greenrd.org>
682         PR java/22189
683         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
684         error.
686 2005-06-27  Tom Tromey  <tromey@redhat.com>
688         PR java/21540, PR java/13788:
689         * testsuite/libjava.compile/pr21540.java: New file.
690         * testsuite/libjava.compile/pr13788.java: New file.
691         * testsuite/libjava.jacks/jacks.xfail: Updated.
693 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
695         * testsuite/libjava.mauve/xfails: Updated to reflect current state
696         of mauve and libjava. 
698 2005-06-24  Tom Tromey  <tromey@redhat.com>
700         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
701         where class' name is NULL.
702         (_Jv_FindClass): Don't wait for class state.
703         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
704         name found.
705         * include/java-interp.h (_Jv_DefineClass): Updated.
706         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
707         (struct _Jv_ClassReader): Likewise.
708         (found_name): New field.
709         (handleClassBegin): Set *found_name.
710         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
711         (handleClassBegin): Throw error if super class not set.
712         (read_methods): Correctly call check_tag and prepare_pool_entry.
714 2005-06-24  Tom Tromey  <tromey@redhat.com>
716         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
718 2005-06-24  Tom Tromey  <tromey@redhat.com>
720         * verify.cc (verify_instructions_0): Correctly handle situation
721         where PC falls off end.
723 2005-06-24  Tom Tromey  <tromey@redhat.com>
725         * interpret.cc (compile): Handle case where table entry is
726         outside of PC range.
728 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
730         * testsuite/libjava.compile/PR20697.java: New test-case.
732 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
734         * Makefile.am (SUBDIRS): Use append for conditional.
735         (toolexeclib_LTLIBRARIES): Likewise.
736         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
737         a conditional append.
738         * Makefile.in: Regenerate.
740 2005-06-17  Keith Seitz  <keiths@redhat.com>
742         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
743         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
744         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
745         file.
746         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
747         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
748         file.
749         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
750         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
751         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
752         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
753         file.
754         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
755         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
757 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
759         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
760         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
761         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
762         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
763         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
764         * Makefile.in: Regenerate.
766 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
768         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
769         (USING_POSIX_PLATFORM): ... here.
770         * Makefile.am: Delete USING_ECOS_PLATFORM.
771         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
772         external/Makefile.in, external/sax/Makefile.in,
773         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
775 2005-06-15  Tom Tromey  <tromey@redhat.com>
777         PR libgcj/17536:
778         * testsuite/libjava.lang/pr17536.java: New file.
779         * testsuite/libjava.lang/pr17536.out: New file.
781 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
783         PR libgcj/21074:
784         * gnu/java/net/protocol/http/HTTPURLConnection.java
785         (getHeaderFieldKey): Check index.
787 2005-06-15  Tom Tromey  <tromey@redhat.com>
789         PR libgcj/21906:
790         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
791         methods.
792         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
793         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
794         static.
795         (append_partial_itable): Use it.
796         (set_vtable_entries): Likewise.
798 2005-06-15  Tom Tromey  <tromey@redhat.com>
800         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
801         last_was_sep in loop.
803 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
805         * configure.host: Handle Solaris 10/x86.
807 2005-06-14  Keith Seitz  <keiths@redhat.com>
809         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
810         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
812 2005-06-14  Keith Seitz  <keiths@redhat.com>
814         * gnu/classpath/jdwp/id/ArrayId.java: New file.
815         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
816         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
817         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
818         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
819         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
820         * gnu/classpath/jdwp/id/JdwpId.java: New file.
821         * gnu/classpath/jdwp/id/ObjectId.java: New file.
822         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
823         * gnu/classpath/jdwp/id/StringId.java: New file.
824         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
825         * gnu/classpath/jdwp/id/ThreadId.java: New file.
827 2005-06-14  Tom Tromey  <tromey@redhat.com>
829         PR libgcj/19877:
830         * configure, aclocal.m4, Makefile.in: Rebuilt.
832 2005-06-14  Tom Tromey  <tromey@redhat.com>
834         * java/lang/Class.java (getClasses): New method.
835         (internalGetClasses): Likewise.
836         (getClassLoader): Updated documentation.
837         (getDeclaredClasses): New overload; old overload no longer
838         native.
839         (_getConstructors): Removed.
840         (resourcePath): Updated.
841         * java/lang/natClass.cc (getClasses): Removed.
842         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
843         Updated.
844         (_getConstructors): Removed.
846 2005-06-13  Jim Huang  <jserv@kaffe.org>
848         PR libgcj/22036:
849         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
850         (_Jv_JNI_NewObject): Likewise.
852 2005-06-13  Tom Tromey  <tromey@redhat.com>
854         PR java/21844:
855         * testsuite/libjava.lang/pr21844.java: New file.
856         * testsuite/libjava.lang/pr21844.out: New file.
858 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
860         PR libgcj/21949
861         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
862         From Gary Benson.
864 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
866         * java/text/MessageFormat.java (parse): When parsing strings, check
867         for an empty pattern trailer.
869 2005-06-06  Keith Seitz  <keiths@redhat.com>
871         * gnu/classpath/jdwp/util/Signature.java: New file.
872         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
874 2005-06-05  Anthony Green  <green@redhat.com>
876         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
877         fall-through bug.
879 2005-06-04  Anthony Green  <green@redhat.com>
881         * java/net/URLClassLoader.java: import gnu.gcj.Core,
882         and gnu.java.net.protocol.core.CoreInputStream.
883         (CureURLLoader): New class.
884         (CoreResource): New class.
885         (addURLImpl): Add special treatment for the "core" protocol.
886         * gnu/gcj/natCore.cc (find): New method.
887         * gnu/gcj/Core.java (find): New method.
889 2005-06-03  Keith Seitz  <keiths@redhat.com>
891         * gnu/classpath/jdwp/transport/ITransport.java: New file.
892         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
893         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
895 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
897         * jawt.c: Remove malloc.h, covered by stdlib.h.
899         * testsuite/libjava.jni/jni.exp
900         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
901         the build process.
903 2005-06-02  Keith Seitz  <keiths@redhat.com>
905         * gnu/classpath/jdwp/transport/TransportException.java: New file.
907 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
909         * mauve-libgcj: Remove implemented classes from the fail section.
910         Add two new not implemented to it.
912 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
914         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
915         AC_SUBST definition from configure.host.
916         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
917         to -fomit-frame-pointer on 32-bit x86 targets.
919 2005-06-01  Tom Tromey  <tromey@redhat.com>
921         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
923 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
925         PR libgcj/20435:
926         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
927         (static): Add possessive matching to JAVA_1_4 syntax.
928         * gnu/regexp/RETokenRepeated.java (possessive): New field.
929         (makePossessive, isPossessive): New methods.
930         (match): Don't back off during possessive matching.
931         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
932         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
933         to JAVA_1_4.
935 2005-06-01  Keith Seitz  <keiths@redhat.com>
937         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
938         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
939         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
941 2005-06-01  Tom Tromey  <tromey@redhat.com>
943         PR libgcj/21785:
944         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
945         (currentLoader): New method.
946         * java/io/ObjectInputStream.java (resolveProxyClass): Use
947         currentLoader.
948         (currentLoader): Now native.
949         (currentClassLoader): Removed.
950         * testsuite/libjava.lang/pr21785.java: New file.
951         * testsuite/libjava.lang/pr21785.out: New file.
953 2005-06-01  Tom Tromey  <tromey@redhat.com>
955         PR libgcj/21753:
956         * java/lang/natString.cc (substring): Changed sharing heuristic.
958 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
960         PR libgcj/21821
961         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
962         MAXPATHLEN. Format exception message using a StringBuffer instead.
964 2005-05-29  Michael Koch  <konqueror@gmx.de>
966         PR libgcj/20273:
967         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
969 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
971         * ChangeLog: Fix typo.
973 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
975         Testsuite adjustments for PR java/19870.
976         * testsuite/libjava.lang/PR19870.java: New testcase.
977         * testsuite/libjava.lang/PR19870.out: Expected output for the
978         testcase.
979         * testsuite/libjava.jacks/jacks.xfail: Add
980         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
983 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
985         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
986         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
987         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
988         classes.
989         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
990         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
991         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
992         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
994 2005-05-25  Richard Henderson  <rth@redhat.com>
996         PR libgcj/21692
997         * sysdep/descriptor-n.h: New file.
998         * sysdep/descriptor-y.h: New file.
999         * sysdep/powerpc/descriptor.h: New file.
1000         * configure.host: Set $descriptor_h appropriate for the host.
1001         * configure.ac: Link it.
1002         * configure: Regenerate.
1003         * stacktrace.cc: Include sysdep/descriptor.h.
1004         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
1006 2005-05-25  Chris Burdess  <dog@gnu.org>
1008         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
1009         end entity callbacks.
1011 2005-05-24  Gary Benson  <gbenson@redhat.com>
1013         PR libgcj/21736:
1014         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
1015         Handle DateFormat.DEFAULT case correctly.
1017 2005-05-21  Tom Tromey  <tromey@redhat.com>
1019         PR libgcj/21703:
1020         * java/lang/ref/natReference.cc (find_slot): Handle case where
1021         table has no NULL entries.
1022         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
1023         table has no NULL entries.
1025 2005-05-22  Andreas Jaeger  <aj@suse.de>
1027         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
1028         avoid warnings.
1030 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
1032         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
1034 2005-05-19  Richard Henderson  <rth@redhat.com>
1036         * exception.cc: Revert 05-17 gcc_unreachable change.
1038 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1040         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
1041         _Jv_RegisterInitiatingLoader to register array classes, not
1042         _Jv_RegisterClass.
1043         (_Jv_RegisterInitiatingLoader): Give up if called very early during
1044         bootstrapping. Add a FIXME to handle this case better.
1046 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1048         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
1049         convenience library.
1050         (libgcj_la_SOURCES): New. Move sources here.
1051         (libgcj.la): Remove rule.
1053 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1055         PR libgcj/19729
1056         * gnu/java/security/provider/DSASignature.java: Import updates
1057         from GNU Crypto.
1059 2005-05-18  Anthony Green  <green@redhat.com>
1061         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
1062         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1063         classpath_jawt_destroy_lock): New functions.
1064         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
1065         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1066         classpath_jawt_destroy_lock): New functions.
1067         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
1068         field.
1069         * jawt.c: #include malloc.h.
1070         (_Jv_Lock): Use lock.
1071         (_Jv_Unlock): Ditto.
1072         (_Jv_GetDrawingSurface): Initialize lock.
1073         (_Jv_FreeDrawingSurface): Destroy lock.
1074         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
1076 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
1078         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
1079         * Makefile.in: Regenerate.
1081 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
1083         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
1084         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
1085         * aclocal.m4, configure, config.h.in, include/config.h.in,
1086         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1087         external/Makefile.in, external/sax/Makefile.in,
1088         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
1090 2005-05-17  David Daney  <ddaney@avtrex.com>
1092         PR libgcj/18220
1093         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
1095 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
1097         * exception.cc (abort): Remove std::abort hack.
1098         (gcc_unreacheable): Define.
1100 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1102         * Makefile.am (Makefile.deps): Do not create native.list and
1103         bytecodes.list.
1104         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
1105         * Makefile.in: Regenerate.
1107 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1109         * configure.ac (--enable-libgcj-multifile): Remove.
1111         * Makefile.am (all_native_compiled_source_files,
1112         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
1113         all_libgcj_lo_files, all_xlib_lo_files,
1114         all_java_deps_files, all_java_stamp_files,
1115         all_java_filelist_files): New variables.
1116         (EXTRA_DIST): New Automake variable.
1117         (CLEANFILES): Add .stamp, .list and .lo files.
1118         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
1119         (classes.stamp): Depend on $(all_java_stamp_files).
1120         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
1121         going through write_entries_to_file.
1123         (all_java_source_files, all_property_files): Move earlier.
1124         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
1125         all_java_class_files): Remove.
1126         (gtk_awt_peer_sources): Rename to...
1127         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
1129         (ONESTEP): Remove.
1130         (libgcj0_convenience_la_SOURCES): Remove Java source files.
1131         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
1132         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
1133         (libgcj_la_SOURCES): Remove.
1134         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
1135         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
1136         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
1138         * configure: Regenerate.
1139         * Makefile.in: Regenerate.
1140         * external/Makefile.in: Regenerate.
1141         * external/sax/Makefile.in: Regenerate.
1142         * external/w3c_dom/Makefile.in: Regenerate.
1143         * gcj/Makefile.in: Regenerate.
1144         * include/Makefile.in: Regenerate.
1145         * libltdl/Makefile.in: Regenerate.
1146         * testsuite/Makefile.in: Regenerate.
1148 2005-05-16  Tom Tromey  <tromey@redhat.com>
1150         * java/nio/charset/Charset.java (encode, decode): Synchronize on
1151         'this', not the class.
1153 2005-05-16  Tom Tromey  <tromey@redhat.com>
1155         * gnu/java/net/protocol/http/Headers.java (parse): Include final
1156         character of line.
1158 2005-05-16  Tom Tromey  <tromey@redhat.com>
1160         PR libgcj/21606:
1161         * java/net/URI.java (unquote): Handle lower-case letters as well.
1163 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1165         PR libgcj/20504
1166         * gnu/regexp/RE.java: Add support for quoting constructs.
1168 2005-05-15  Tom Tromey  <tromey@redhat.com>
1170         * java/lang/String.java (startsWith): Fixed javadoc.
1172 2005-05-15  Tom Tromey  <tromey@redhat.com>
1174         PR java/21519:
1175         * testsuite/libjava.compile/pr21519.java: New file.
1176         * testsuite/libjava.compile/pr21519.no-link: New file.
1178 2005-05-15  Tom Tromey  <tromey@redhat.com>
1180         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
1182 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
1184         PR libgcj/21557
1185         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
1186         interrupt status flag if _Jv_CondWait is interrupted.
1188 2005-05-13  Tom Tromey  <tromey@redhat.com>
1190         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
1191         element in path.
1193 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
1195         * include/jvm.h (gcj::verifyClasses): Declare.
1196         * link.cc (gcj::verbose_class_flag): Moved.
1197         * prims.cc (gcj::verifyClasses): Define here.
1198         (gcj::verbose_class_flag): Move definition here.
1199         (_Jv_Linker::wait_for_state): Don't call verify_class
1200         if gcj::verifyClasses is not set.
1201         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
1203 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
1205         * gij.cc (main): Recognize '-verify', '-noverify', and
1206         '-verifyremote'
1208 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1210         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
1212 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1214         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
1215         libgcjawt.la.
1217 2005-05-11  Tom Tromey  <tromey@redhat.com>
1219         * external/w3c_dom/Makefile.in: Rebuilt.
1220         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
1221         -fbootstrap-classes.
1222         * external/sax/Makefile.in: Rebuilt.
1223         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
1224         -fbootstrap-classes.
1225         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
1226         friend.
1227         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1228         Call _Jv_CopyClassesToSystemLoader.
1229         * java/lang/natClassLoader.cc (system_class_list): New global.
1230         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
1231         classes differently.
1232         (_Jv_CopyClassesToSystemLoader): New function.
1233         (SYSTEM_LOADER_INITIALIZED): New define.
1234         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
1235         (_Jv_CheckABIVersion): Use it.
1236         (_Jv_ClassForBootstrapLoader): New function.
1237         * Makefile.in: Rebuilt.
1238         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
1240 2005-05-10  Tom Tromey  <tromey@redhat.com>
1242         * gcj/javaprims.h: Updated.
1243         * java/lang/String.java (String(StringBuilder)): New constructor.
1244         * java/lang/natStringBuilder.cc: New file.
1245         * java/lang/StringBuilder.java: New file.
1246         * Makefile.in: Rebuilt.
1247         * Makefile.am (core_java_source_files): Added StringBuilder.java.
1248         (nat_source_files): Added natStringBuilder.cc.
1250 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
1252         PR java/21436
1253         * testsuite/libjava.jacks/jacks.xfail: Adjust.
1255 2005-05-09  Mike Stump  <mrs@apple.com>
1257         * configure: Regenerate.
1259 2005-05-09  David Daney  <ddaney@avtrex.com>
1261         * java/util/BitSet.java (get(int, int)): Fix breakage when
1262         requested set doesn't start on a multiple of 64.
1264 2005-05-07  Matthias Klose  <doko@debian.org>
1266         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
1268 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1270         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
1271         * Makefile.in: Regenerate.
1272         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
1273         (createCompatibleVolatileImage(int,int)): Implement.
1274         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
1275         Likewise.
1276         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
1277         New fields.
1278         (createVolatileImage): Implement.
1279         (createBuffers): Likewise.
1280         (getBackBuffer): Likewise.
1281         (flip): Likewise.
1282         (destroyBuffers): Likewise.
1283         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
1284         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
1285         (CanvasFlipBufferStrategy): Likewise.
1286         (createBufferStrategy(int)): New method.
1287         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1288         * java/awt/Component.java (BltBufferStrategy): Implement and
1289         document class.
1290         (FlipBufferStrategy): Likewise.
1291         * java/awt/Window.java (WindowBltBufferStrategy): New class.
1292         (WindowFlipBufferStrategy): Likewise.
1293         (createBufferStrategy(int)): New method.
1294         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1295         (getBufferStrategy): Likewise.
1296         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
1297         front to frontCaps and back to backCaps.
1299 2005-05-06  Michael Koch  <konqueror@gmx.de>
1301         * java/awt/BufferCapabilities.java
1302         (BufferCapabilities): Merged javadoc.
1304 2005-05-06  Michael Koch  <konqueror@gmx.de>
1306         * java/util/Locale.java
1307         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
1308         (getLocale): New methods. Use it everywhere where instances of Locales
1309         are needed.
1310         (getDisplayLanguage): Merged javadoc.
1311         (getDisplayCountry): Likewise.
1312         (getDisplayVariant): Likewise.
1314 2005-05-06  Archie Cobbs  <archie@dellroad.org>
1316         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1317         use DeleteLocalRef() to avoid exhausting local native references.
1319 2005-05-06  Mark Wielaard  <mark@klomp.org>
1321         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1322         (window_delete_cb): Don't use C++ style comments.
1324 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1326         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
1327         copyright header.
1329 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1331         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1332         (window_delete_cb): Made the function return TRUE.
1334 2005-05-06  Roman Kennke  <roman@kennke.org>
1336         * javax/swing/text/PlainView.java
1337         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1338         offset parameter.
1339         * javax/swing/text/Utilities.java
1340         (drawTabbedText): Initilialize local variable pos correctly.
1342 2005-05-06  Roman Kennke  <roman@kennke.org>
1344         * javax/swing/text/AbstractDocument.java
1345         (LeafElement): Made start and end package private fields for
1346         effective reindexing.
1347         * javax/swing/text/PlainDocument.java
1348         (constructor): The field rootElement is always BranchElement,
1349         so we handle it as such.
1350         (removeUpdate): Rewritten reindexing for removeUpdate so that
1351         the actual removal is taken into account.
1353 2005-05-06  Roman Kennke  <roman@kennke.org>
1355         * javax/swing/text/GapContent.java:
1356         Removed debugging output stuff, which I accidentally left in.
1358 2005-05-06  Roman Kennke  <roman@kennke.org>
1360         * javax/swing/text/GapContent.java:
1361         Implemented a real GapContent. Only the public methods have
1362         been implemented so far and still no UndoableEdit support.
1364 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1366         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1367         the typo.
1369 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1371         * java/awt/image/BufferStrategy.java: Document.
1373         * java/awt/BufferCapabilities.java: Document.
1375 2005-05-04  Tom Tromey  <tromey@redhat.com>
1377         * java/nio/channels/FileLock.java (toString): Entirely avoid
1378         String "+".
1380 2005-05-04  Andrew Overholt  <overholt@redhat.com>
1382         * java/nio/channels/FileLock.java (toString): Re-implement using
1383         StringBuffer.
1385 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1387         * java/awt/ImageCapabilities.java: Document.
1389         * java/awt/image/VolatileImage.java: Unindent copyright header.
1391 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1393         * java/awt/image/VolatileImage.java: Document.
1395 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1398         (init_glib_threads): Check if threading system is already
1399         initialized.
1401 2005-05-03  Andrew Overholt  <overholt@redhat.com>
1403         PR libgcj/21372:
1404         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1405         could not be acquired.
1406         * java/nio/channels/FileLock.java (toString): Re-implement to be
1407         in line with other implementations.
1409 2005-05-03  Tom Tromey  <tromey@redhat.com>
1411         * java/lang/VMSecurityManager.java (currentClassLoader): Use
1412         'systemClasssLoader' directly.
1414 2005-05-03  Tom Tromey  <tromey@redhat.com>
1416         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1417         call VMClassLoader.getSystemClassLoader.
1419 2005-04-29  Michael Koch  <konqueror@gmx.de>
1421         * java/net/NetworkInterface.java
1422         (static): Removed.
1423         (NetworkInterface(String,InetAddress)): Made package-private.
1424         (NetworkInterface(String,InetAddress[])): New constructor.
1425         (getRealNetworkInterfaces): Removed.
1426         (getByName): Use VMNetworkInterface.getInterfaces().
1427         (getByInetAddress): Likewise.
1428         (getNetworkInterfaces): Likewise.
1429         * java/net/VMNetworkInterface.java,
1430         java/net/natVMNetworkInterfaceNoNet.cc,
1431         java/net/natVMNetworkInterfacePosix.c,c
1432         java/net/natVMNetworkInterfaceWin32.cc: New files.
1433         * java/net/natNetworkInterfaceNoNet.cc,
1434         java/net/natNetworkInterfacePosix.cc,
1435          java/net/natNetworkInterfaceWin32.cc: Removed.
1436         * configure.ac
1437         * Makefile.am
1438         * configure, Makefile.in: Regenerated.
1440 2005-04-29  Andrew Haley  <aph@redhat.com>
1442         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1444 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
1446         * java/nio/channels/FileChannelImpl.java
1447         (FileChannelImpl(String, int)): Removed.
1448         (FileChannelImpl(File, int)): Added. Check if opened file is a
1449         directory.
1450         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1451         Call FileChannelImpl(File, int).
1452         * java/io/FileOutputStream.java (FileInputStream): Call
1453         FileChannelImpl(File, int).
1454         * java/io/RandomAccessFile.java (RandomAccessFile):
1455         Call FileChannelImpl(File, int). Switched constructors around.
1457 2005-04-27  Andrew Haley  <aph@redhat.com>
1459         PR java/19285
1460         * prims.cc (_Jv_ResolvePoolEntry): New function.
1461         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1462         * link.cc (_Jv_Linker::find_field): New arg: found_class.
1463         (resolve_pool_entry): Initialize the class in which a field is
1464         found.
1465         (link_symbol_table): Pass new arg to found_class.
1467 2005-04-29  Michael Koch  <konqueror@gmx.de>
1469         * java/nio/charset/Charset.java
1470         (provider): Reformatted.
1472 2005-04-29  Michael Koch  <konqueror@gmx.de>
1474         * gnu/java/net/protocol/http/HTTPConnection.java:
1475         (userAgent): Initialize from system properties.
1476         (initUserAgent): Removed.
1478 2005-04-29  Mark Wielaard  <mark@klomp.org>
1480         * java/util/ResourceBundle.java (getObject): Clarify
1481         MissingResourceException detailed message.
1482         (tryBundle(String,ClassLoader)): Likewise.
1484 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1486         * java/beans/FeatureDescriptor.java:
1487         (getShortDescription): Implemented fallback mechanism and fixed
1488         documentation (fixes bug #12637).
1489         (getDisplayName): Dito.
1491 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1493         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1494         will now be set correctly.
1495         (flushCaches): Now flushes all cached intermediate data.
1497 2005-04-28  Michael Koch  <konqueror@gmx.de>
1499         * java/net/InetAddress.java
1500         (aton): Fixed javadoc.
1501         (lookup): Likewise.
1503 2005-04-28  Tom Tromey  <tromey@redhat.com>
1505         * javax/swing/Timer.java
1506         (drainEvents, queueEvent): Now package-private.
1508 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1510         * javax/swing/Timer.java
1511         (constructor): Assigning initialDelay.
1513 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1515         * javax/swing/Timer.java
1516         (Waker.run): firing the first action event.
1518 2005-04-28  Michael Koch  <konqueror@gmx.de>
1520         * javax/swing/Timer.java: Reordered all fields and methods,
1521         Added more javadocs.
1523 2005-04-28  Michael Koch  <konqueror@gmx.de>
1525         * javax/swing/Timer.java: Javadocs merged
1526         from GNU classpath.
1528 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
1530         * gnu/java/net/protocol/file/Connection.java
1531         (StaticData): New inner class to contain statics.
1532         (connect, getHeaderField): Modified to use StaticData.
1534 2005-04-28  Michael Koch  <konqueror@gmx.de>
1536         * gnu/java/net/protocol/file/Connection.java
1537         (lineSeparator): Initialize with SystemProperties.getProperty().
1539 2005-04-27  Chris Burdess  <dog@gnu.org>
1541         * gnu/java/net/protocol/file/Connection.java: Return correct content
1542         length for directory listing.
1543         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1544         #11285: return valid URLs for directories.i
1546 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1548         * Makefile.am (ordinary_java_source_files): Add
1549         gnu/java/net/protocol/https/Handler.java.
1550         * Makefile.in: Regenerate.
1551         * java/net/URL.java: Remove org.metastatic.jessie from default
1552         protocol search path.
1554 2005-04-27  Chris Burdess  <dog@gnu.org>
1556         * gnu/java/net/protocol/https/Handler.java: New file.
1558 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
1560         * javax/imageio/spi/IIORegistry.java (IIORegistry):
1561         Don't assume that awt Toolkit is always ClasspathToolkit.
1563 2005-04-27  Chris Burdess  <dog@gnu.org>
1565         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1566         absolute and relative paths in Location header.
1568 2005-04-27  Chris Burdess  <dog@gnu.org>
1570         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1571         FileNotFoundException and implement getErrorStream on 404.
1573 2005-04-27  Sven de Marothy <sven@physto.se>
1575         * java/util/TimeZone.java,
1576         (getDefaultDisplayName): Fix previous fix.
1578 2005-04-27  Sven de Marothy <sven@physto.se>
1580         * java/util/TimeZone.java,
1581         (getDefaultDisplayName): Don't print zero offsets.
1583 2005-04-27  Roman Kennke  <roman@kennke.org>
1585         * javax/swing/plaf/basic/BasicScrollBarUI
1586         (getThumbBounds): Do not make thumb smaller than
1587         minimumThumbSize.
1588         * javax/swing/plaf/metal/MetalLookAndFeel
1589         (initComponentDefaults): Added color defaults for ScrollBar.
1590         * javax/swing/plaf/metal/MetalScrollBarUI
1591         (paintThumb): Added.
1592         (getMinimumThumbSize): Added.
1594 2005-04-27  Roman Kennke  <roman@kennke.org>
1596         * javax/swing/plaf/metal/MetalLookAndFeel
1597         (initComponentDefaults): Added some default colors.
1599 2005-04-27  Roman Kennke  <roman@kennke.org>
1601         * javax/swing/plaf/basic/BasicScrollBarUI.java
1602         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1603         to 'ScrollBar.thumbShadow'. The formes does not exist.
1604         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1606 2005-04-27  Roman Kennke  <roman@kennke.org>
1608         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1609         * javax/swing/BoxLayout.java: Likewise.
1610         * javax/swing/UIManager.java: Likewise.
1611         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1612         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1613         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1614         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1615         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1616         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1617         * javax/swing/text/Document.java: Likewise.
1618         * javax/swing/text/GapContent.java: Likewise.
1619         * javax/swing/text/SimpleAttributeSet.java: Likewise.
1620         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1622 2005-04-27  Roman Kennke  <roman@kennke.org>
1624         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1625         (getPropertyPrefix): Added.
1627 2005-04-27  Roman Kennke  <roman@kennke.org>
1629         * javax/swing/plaf/basic/BasicButtonUI.java
1630         (getPropertyPrefix): Added.
1631         (installDefaults): Use getPropertyPrefix instead of hard-coded
1632         prefix.
1634 2005-04-27  Roman Kennke  <roman@kennke.org>
1636         * javax/swing/JToggleButton.java
1637         (JToggleButton): Removed horizontalAlignment setting, this
1638         was wrong. Added setting of an actionCommand, ToggleButtons
1639         have "" as default actionCommand.
1641 2005-04-27  Michael Koch  <konqueror@gmx.de>
1643         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1644         to work around CNI limitation.
1646 2005-04-27  Sven de Marothy  <sven@physto.se>
1648         * java/nio/charset/Charset.java:
1649         (defaultCharset()): New method.
1650         Status updated to 1.5
1652 2005-04-27  Sven de Marothy  <sven@physto.se>
1654         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1656 2005-04-27  Sven de Marothy  <sven@physto.se>
1658         * java/nio/charset/Charset.java: Reset cached de/encoders.
1660 2005-04-27  Robert Schuster <thebohemian@gmx.net>
1662         * java/nio/charset/Charset.java (forName): Throws
1663         IllegalArgumentException when argument is null
1664         and added documentation.
1666 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1668         * java/nio/charset/Charset.java (providers):
1669         New method to make an array of CharsetProviders defined in
1670         META-INF/services/java.nio.charset.spi.CharsetProvider.
1671         (charsetForName, availableCharsets): Use the
1672         new method providers().
1674 2005-04-26  Michael Koch  <konqueror@gmx.de>
1676         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1677         Fixed typos in javadocs.
1678         (isSiteLocalAddress): Fixed handling of byte values.
1679         (isMCLinkLocal): Likewise.
1680         * java/net/Inet4Address.java
1681         (isMulticastAddress): Call super method.
1682         (isLoopbackAddress): Likewise.
1683         (isAnyLocalAddress): Likewise.
1684         (isLinkLocalAddress): Likewise.
1685         (isSiteLocalAddress): Likewise.
1686         (isMCGlobal): Likewise.
1687         (isMCNodeLocal): Likewise.
1688         (isMCLinkLocal): Likewise.
1689         (isMCSiteLocal): Likewise.
1690         (isMCOrgLocal): Likewise.
1691         (getHostAddress): Likewise.
1693 2005-04-26  Sven de Marothy  <sven@physto.se>
1695         * java/net/InetAddress.java
1696         (toString): Don't print empty hostnames.
1698 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
1700         PR libgcj/21136:
1701         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1702         'false' to native lock().
1703         (lock): Pass 'true' to native lock().
1705 2005-04-26  Michael Koch  <konqueror@gmx.de>
1707         * java/net/InetAddress.java:
1708         Fixed typos in javadocs.
1710 2005-04-26  Andrew Haley  <aph@redhat.com>
1712         PR libgcj/21020:
1713         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1714         field's type.
1716 2005-04-26  Tom Tromey  <tromey@redhat.com>
1718         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1719         gnu): Now package-private.
1720         * javax/swing/text/html/parser/DocumentParser.java (parser,
1721         callBack, gnu): Now package-private.
1722         * javax/swing/text/StringContent.java (content, setOffset,
1723         checkLocation): Now package-private.
1724         * javax/swing/text/JTextComponent.java (doc): Now
1725         package-private.
1726         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1727         lastGoodOrientation, origParent, borders, cachedBounds,
1728         cachedOrientation, DragWindow): Now package-private.
1729         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1730         decrButton, viewport, panel, currentScrollLocation, layoutManager,
1731         tabAreaRect, contentRect, createIncreaseButton,
1732         createDecreaseButton, findPointForIndex): Now package-private.
1733         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1734         (currentDividerLocation, moveDividerTo): Now package-private.
1735         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1736         package-private.
1737         * javax/swing/plaf/basic/BasicScrollBarUI.java
1738         (calculatePreferredSize, valueForYPosition, valueForXPosition):
1739         Now package-private.
1740         * javax/swing/plaf/basic/BasicPopupMenuUI.java
1741         (topWindowListener): Now package-private.
1742         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1743         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1744         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1745         package-private.
1746         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1747         package-private.
1748         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1749         Now package-private.
1750         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1751         package-private.
1752         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1753         borderInsets): Now package-private.
1754         (arrowButtonWidth): Likewise.  Now a constant.
1755         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1756         makeTabs, updatePreviewPanel): Now package-private.
1757         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1758         darkShadow, highlight): Now package-private.
1759         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1760         (addColorToQueue): Now package-private.
1761         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1762         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1763         GSpinner, BSpinner): Now package-private.
1764         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1765         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1766         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1767         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1768         updateTrack): Now package-private.
1769         * javax/swing/TransferHandler.java (clipboard): Now
1770         package-private.
1771         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1772         package-private.
1773         * javax/swing/Timer.java (drainEvents, queueEvent): Now
1774         package-private.
1775         * javax/swing/RepaintManager.java (globalManager): Now
1776         package-private.
1777         * javax/swing/JFormattedTextField.java (editValid): Now
1778         package-private.
1779         * javax/swing/JColorChooser.java (makeModal): Now
1780         package-private.
1781         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1782         index, path): Now package-private.
1783         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1784         lineQuadIntersect, lineCubicIntersect, linesIntersect,
1785         pointEquals): Now package-private.
1786         * java/awt/geom/Arc2D.java (type): Now package-private.
1787         * java/awt/Window.java (windowFocusOwner): Now package-private.
1788         * java/awt/TextComponent.java (editable, selectionStart,
1789         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1790         package-private.
1791         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1792         package-private.
1793         * java/awt/MenuComponent.java (focusListener): Now
1794         package-private.
1795         * java/awt/Frame.java (state): Now package-private.
1796         * java/awt/Choice.java (pItems): Now package-private.
1797         * java/awt/Checkbox.java (state): Now package-private.
1798         * java/awt/Button.java (actionCommand, label): Now
1799         package-private.
1800         * gnu/javax/swing/text/html/parser/support/Parser.java
1801         (attributes, _handleEndTag_remaining, _handleStartTag): Now
1802         package-private.
1803         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1804         package-private.
1805         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1806         clip, transform, font, comp): Now package-private.
1808 2005-04-26  Tom Tromey  <tromey@redhat.com>
1810         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1811         static way.
1813 2005-04-26  Mark Wielaard  <mark@klomp.org>
1815         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1816         to MalformedURLException.
1818 2005-04-26  Michael Koch  <konqueror@gmx.de>
1820         * java/security/AccessControlContext.java:
1821         Reformated.
1822         (protectedDomains): Renamed from 'protectionDomain'.
1823         * java/security/AccessController.java:
1824         Reformatted.
1826 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
1828         * gnu/java/security/action/GetSecurityPropertyAction.java
1829         (GetSecurityPropertyAction): Implement PrivilegedAction instead
1830         of extending GetPropertyAction.
1831         (name): New field.
1832         (value): Likewise.
1833         (setParamters): New methods.
1834         (GetSecurityPropertyAction): Use new setParameters methods.
1836 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
1838         * java/security/Security.java,
1839         java/security/cert/X509CRLSelector.java,
1840         java/security/cert/X509CertSelector.java:
1841         Modified to use SystemProperties.
1843 2005-04-26  Michael Koch  <konqueror@gmx.de>
1845         * java/lang/System.java
1846         (setSecurityManager): Fixed comment.
1847         (getSecurityManager): Removed obsolete comment.
1849 2005-04-25  Tom Tromey  <tromey@redhat.com>
1851         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1853 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
1855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1856         (connectSignals): Realize the window widget after connecting
1857         signals.
1859 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
1861         * java/awt/GraphicsEnvironment.java
1862         (localGraphicsEnvironment): New field.
1863         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1864         property.
1865         (isHeadless): Added support for java.awt.headless property.
1866         (isHeadlessInstance): Call headless().
1868 2005-04-25  Roman Kennke  <roman@kennke.org>
1870         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1871         (getDisplayMode): Added. Returns the current display mode.
1872         (isFullScreenSupported): Added.
1873         * java/awt/GraphicsDevice.java
1874         (setFullScreenWindow): Implemented a primitive fullscreen mode.
1875         This resizes and relocates the fullscreen window so that it uses
1876         the whole screen. This is not a fully accelerated fullscreen
1877         exclusive mode.
1879 2005-04-25  Michael Koch  <konqueror@gmx.de>
1881         * java/lang/Runtime.java,
1882         java/lang/SecurityManager.java,
1883         java/lang/System.java,
1884         java/lang/ThreadGroup.java:
1885         Replaced java.lang.Runtime.securityManager by
1886         java.lang.SecurityManager.current (as used in GNU classpath).
1888 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
1890         * java/awt/Transparency.java
1891         (getTransparency): fixed API docs.
1893 2005-04-25  Archie Cobbs  <archie@dellroad.org>
1895         * java/lang/Throwable.java: simplify initializing cause in constructor
1897 2005-04-25  Michael Koch  <konqueror@gmx.de>
1899         * gnu/classpath/SystemProperties.java: New file.
1900         * gnu/classpath/natSystemProperties.cc: New file.
1901         * java/lang/Runtime.java
1902         (defaultProperties): Removed.
1903         (static): Likewise.
1904         (): Made thrown exceptions more verbose.
1905         (insertSystemProperties): Removed.
1906         * java/lang/System.java
1907         (static): Likewise.
1908         (properties): Likewise.
1909         (setSecurityManager): Reordered modifiers.
1910         (getenv): Improved javadoc.
1911         (): Likewise.
1912         (isWordsBigEndian): Removed.
1913         * java/lang/natRuntime.cc
1914         (_Jv_SetDLLSearchPath): Likewise.
1915         (file_encoding): Likewise.
1916         (default_file_encoding): Likewise.
1917         (getpwuid_adaptor): Likewise.
1918         (insertSystemProperties): Likewise.
1919         * java/lang/natSystem.cc
1920         (isWordsBigEndian): Likewise.
1921         * Makefile.am
1922         (ordinary_java_source_files):
1923         Added gnu/classpath/SystemProperties.java.
1924         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1925         * Makefile.in: Regenerated.
1927 2005-04-25  Roman Kennke  <roman@kennke.org>
1929         * javax/swing/plaf/basic/BasicScrollBarUI.java
1930         (initDefaults): Initialize thumb*Color fields correctly.
1932 2005-04-25  Roman Kennke  <roman@kennke.org>
1934         * javax/swing/text/GapContent.java:
1935         Added API comments.
1937 2005-04-25  Roman Kennke  <roman@kennke.org>
1939         * javax/swing/plaf/metal/MetalBorders.java:
1940         Added inner class ScrollPaneBorder.
1941         * javax/swing/plaf/metal/MetalLookAndFeel.java
1942         (initComponentDefaults): Added default for "ScrollPane.border"
1943         to use the new ScrollPaneBorder.
1945 2005-04-25  Roman Kennke  <roman@kennke.org>
1947         * javax/swing/text/AbstractDocument.java:
1948         Added FIXME comments. This class still has to be
1949         implemented thread-safe.
1951 2005-04-25  Roman Kennke  <roman@kennke.org>
1953         * javax/swing/tree/DefaultTreeSelectionModel.java
1954         (DefaultTreeSelectionModel): Initialize listenerList here.
1956 2005-04-25  Roman Kennke  <roman@kennke.org>
1958         * javax/swing/plaf/metal/MetalTextFieldUI.java
1959         (createUI): Return one instance per Component instead of a
1960         shared instance.
1962 2005-04-25  Roman Kennke  <roman@kennke.org>
1964         * javax/swing/text/Document.java:
1965         Added API documentation comments.
1967 2005-04-25  Roman Kennke  <roman@kennke.org>
1969         * javax/swing/text/AbstractDocument.java
1970         (getDocumentProperties): Implemented.
1971         (setDocumentProperties): Implemented.
1972         (getProperty): Implemented.
1973         (putProperty): Implemented.
1975 2005-04-25  Roman Kennke  <roman@kennke.org>
1977         * javax/swing/BoxLayout
1978         (preferredLayoutSize): Fixed computation so that it correctly
1979         adds the top and bottom insets of the container.
1981 2005-04-25  Roman Kennke  <roman@kennke.org>
1983         * javax/swing/plaf/basic/BasicMenuItemUI.java
1984         (paintText): Make use of the 'selectionForeground' UI default
1985         for text painting.
1987 2005-04-25  Roman Kennke  <roman@kennke.org>
1989         * javax/swing/plaf/basic/BasicLookAndFeel.java
1990         (initSystemColorDefaults): Modified colors to match the
1991         BasicLookAndFeel in the reference implementation.
1992         (initComponentDefaults): Likewise.
1994 2005-04-25  Tom Tromey  <tromey@redhat.com>
1996         * include/jni.h (_Jv_va_list): Removed.
1997         Moved configuration code...
1998         * include/jni_md.h: ... here.  New file.
1999         * include/Makefile.in: Rebuilt.
2000         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
2002 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
2004         * java/io/FileInputStream.java (FileInputStream(File)),
2005         java/io/FileOutputStream.java (FileOutputStream(File)):
2006         Removed unnecessary File.isDirectory() check.
2008 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
2010         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
2011         gij if get_multilibs fails.
2013 2005-04-22  Anthony Green  <green@redhat.com>
2015         * jni.cc (natrehash): Don't bother clearing memory again.
2016         * interpret.cc (do_allocate_static_fields): Ditto.
2017         * java/lang/natString.cc (rehash): Ditto.
2019 2005-04-22  Roman Kennke  <roman@kennke.org>
2021         * javax/swing/plaf/basic/BasicLookAndFeel.java
2022         (initComponentDefaults): Changed Button.border to be
2023         BasicBorders.getButtonBorder as it should be.
2025 2005-04-22  Roman Kennke  <roman@kennke.org>
2027         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2028         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
2029         should according to a mauve testcase, instead of the preferred
2030         size.
2032 2005-04-22  Roman Kennke  <roman@kennke.org>
2034         * javax/swing/JMenu.java
2035         (add): add(Component) now calls PopupMenu.insert(..) instead of
2036         PopupMenu.add(..). add(..) is not implemented for Component,
2037         so JComponent.add(..) is called instead, adding the component
2038         in the wrong place.
2040 2005-04-22  Roman Kennke  <roman@kennke.org>
2042         * javax/swing/plaf/basic/BasicButtonListener.java
2043         (mousePressed): replaced query to getModifiersEx with getModifiers.
2044         This method relied on faulty behaviour in getModifierEx.
2045         (mouseReleased): replaced query to getModifiersEx with getModifiers.
2046         This method relied on faulty behaviour in getModifierEx.
2048 2005-04-22  Roman Kennke  <roman@kennke.org>
2050         * javax/swing/plaf/metal/MetalLookAndFeel.java
2051         (getDefaults): Call addCustomEntriesToTable on the theme.
2053 2005-04-22  Roman Kennke  <roman@kennke.org>
2055         * javax/swing/tree/DefaultTreeSelectionModel.java
2056         (constructor): Added implementation.
2057         (getRowMapper): Added implementation.
2058         (setSelectionMode): Added implementation.
2059         (getSelectionMode): Added implementation.
2060         (getSelectionPath): Added implementation.
2061         (getSelectionPaths): Added implementation.
2062         (getSelectionCount): Added implementation.
2063         (isSelectionEmpty): Added implementation.
2064         (getSelectionRows): Added implementation.
2065         (getMinSelectionRow): Added implementation.
2066         (getMaxSelectionRow): Added implementation.
2067         (getLeadSelectionRow): Added implementation.
2068         (getLeadSelectionPath): Added implementation.
2070 2005-04-22  Casey Marshall <csm@gnu.org>
2072         * gnu/java/security/der/DERValue.java
2073         (getValueAs): new method.
2074         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
2075         (<init>): read both dates with 'DERValue.getValueAs', with
2076         'GENERALIZED_TIME' as the argument.
2078 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
2080         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
2081         be null, check for that case and don't deference it.
2083 2005-04-22  Sven de Marothy  <sven@physto.se>
2085         * java/util/logging/LogManager.java: Reformatted.
2086         (readConfiguration): If a logger for a key is not found, create one.
2088 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2090         * java/rmi/Naming.java:
2091         Added class documentation.
2092         (lookup(String)): Call parseURL and getName.
2093         (bind(String,java.rmi.Remote)): Likewise.
2094         (unbind(String)): Likewise.
2095         (rebind(String, java.rmi.Remote)): Likewise.
2096         (list(String)): Call parseURL.
2097         (parseURL(String)): New method to handle parsing and defaults.
2098         (getName(java.net.URL)): New method to handle finding the service name.
2100 2005-04-21  Tom Tromey  <tromey@redhat.com>
2102         * java/lang/natClass.cc (initializeClass): Link class.
2104 2005-04-21  Tom Tromey  <tromey@redhat.com>
2106         * java/lang/AssertionError.java: Typo fix.
2108 2005-04-21  Tom Tromey  <tromey@redhat.com>
2110         * java/lang/VMClassLoader.java (transformException): Removed.
2111         (resolveClass): No longer native.  Now does nothing.
2112         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
2114 2005-04-21  Anthony Green  <green@redhat.com>
2116         PR libgcj/21115
2117         * testsuite/libjava.special/special.exp,
2118         testsuite/libjava.special/pr21115I.java,
2119         testsuite/libjava.special/pr21115.java,
2120         testsuite/libjava.special/pr21115.out: New files.
2122 2005-04-21  Chris Burdess  <dog@gnu.org>
2124         * gnu/java/net/CRLFInputStream.java: Rewrite to return
2125         CRLF-delimited chunks.
2127 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2129         * java/net/URI.java:
2130         Added class documentation.
2131         (parseURI(String)): Only handle scheme-specific parts
2132         if URI is not opaque.  Allow for parts that can't be null.
2133         (toString()): Output the scheme-specific part whole, rather
2134         than as its possibly non-existent components.
2136 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2138         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
2139         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
2140         Adjusted to match new regexp.
2142 2005-04-20  Michael Koch  <konqueror@gmx.de>
2144         * gnu/java/net/protocol/file/Connection.java,
2145         gnu/java/net/protocol/jar/Connection.java:
2146         Reorganized import statements. Fixed @author tags.
2148 2005-04-20  Chris Burdess  <dog@gnu.org>
2150         * java/io/DataOutputStream.java (writeUTF): Use block write for
2151         output.
2153 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2155         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
2156         (readLine): Changed newline handling.
2158 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2160         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
2161         ColorModel,byte[],int,int): Fixed byte to int conversion.
2163 2005-04-20  Michael Koch  <konqueror@gmx.de>
2165         * java/io/FilePermission.java
2166         (serialVersionUID): Made private.
2167         (ALL_FILES): New constant.
2168         (implies): Handle '<<ALL FILES>>' case.
2170 2005-04-20  Sven de Marothy  <sven@physto.se>
2172         * gnu/java/awt/peer/gtk/GdkGraphics.java:
2173         (drawImage): Don't notify the image observer for offscreen images.
2174         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
2175         (setPixels): Don't notify the image observer.
2177 2005-04-20  Sven de Marothy  <sven@physto.se>
2179         * java/nio/ByteBufferImpl.java:
2180         (putChar): Inlined for speed.
2181         (put, get): Bulk methods can use arraycopy.
2182         * java/nio/CharBufferImpl.java:
2183         (put, get): Bulk methods can use arraycopy.
2185 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2187         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
2188         and field updates.
2189         * java/nio/CharBufferImpl.java
2190         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
2191         (get(), put(char)): Inlined checks and field updates. Fixed to
2192         take array_offset into account.
2193         (get(int), put(int, char)): Fixed to take array_offset into account.
2195 2005-04-20  Sven de Marothy  <sven@physto.se>
2197         * java/text/SimpleDateFormat.java:
2198         (formatWithAttribute): Pad year before truncating digits.
2200 2005-04-20  Michael Koch  <konqueror@gmx.de>
2202         * gnu/java/net/PlainDatagramSocketImpl.java:
2203         Merged copyright header.
2204         * gnu/java/net/PlainSocketImpl.java:
2205         Reorganized import statements. Fixed @author tags.
2207 2005-04-20  Michael Koch  <konqueror@gmx.de>
2209         * gnu/java/lang/ClassHelper.java,
2210         gnu/java/lang/reflect/TypeSignature.java:
2211         Fixed @author tag.
2213 2005-04-20  Michael Koch  <konqueror@gmx.de>
2215         * gnu/java/beans/IntrospectionIncubator.java:
2216         Fixed HTML tags in javadocs.
2218 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2220         * gnu/java/beans/IntrospectionIncubator.java
2221         (addToPropertyHash, addToListenerHash): Don't confuse get(),
2222         set(), is(), add() and remove() with properties or events.
2224 2005-04-20  Michael Koch  <konqueror@gmx.de>
2226         * gnu/java/awt/image/XBMDecoder.java:
2227         Fixed modifier order.
2229 2005-04-20  Roman Kennke  <roman@kennke.org>
2231         * javax/swing/plaf/basic/BasicButtonUI.java
2232         (paint): This should not care about margin and insets
2233         at the same time, as insets already include the margin
2234         through the border.
2235         * javax/swing/plaf/basic/BasicGraphicsUtils.java
2236         (getPreferredButtonSize): Likewise.
2237         * javax/swing/plaf/metal/MetalBorders.java
2238         (getBorderInsets): Likewise.
2240 2005-04-20  Roman Kennke  <roman@kennke.org>
2242         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2243         (createMessageArea): The JPanel that holds the message area
2244         doesn't need to override getPreferredSize. This prevents some
2245         message components from rendering nicely.
2247 2005-04-20  Roman Kennke  <roman@kennke.org>
2249         * javax/swing/plaf/metal/MetalInternalFrameUI.java
2250         (createUI): Do not share instances between components.
2251         * javax/swing/plaf/metal/MetalSliderUI.java
2252         (createUI): Do not share instances between components.
2254 2005-04-20  Roman Kennke  <roman@kennke.org>
2256         * javax/swing/plaf/metal/MetalBorders:
2257         (PopupMenuBorder): Added.
2258         * javax/swing/plaf/metal/MetalLookAndFeel
2259         (initComponentDefaults): Added PopupMenuBorder.
2261 2005-04-20  Roman Kennke  <roman@kennke.org>
2263         * javax/swing/tree/DefaultTreeSelectionModel.java:
2264         Added API documentation all over the class.
2266 2005-04-20  Roman Kennke  <roman@kennke.org>
2268         * javax/swing/plaf/basic/BasicScrollPaneUI.java
2269         (installDefaults): Link managed JScrollPane in instance field.
2270         (uninstallDefaults): Unlink managed JScrollPane in instance field.
2272 2005-04-20  Roman Kennke  <roman@kennke.org>
2274         * javax/swing/plaf/basic/BasicScrollBarUI.java
2275         (PropertyChangeHandler.propertyChange): Add default
2276         to switch statement to avoid errors with unusual values
2277         for orientation.
2278         (installComponents): Likewise.
2280 2005-04-20  Roman Kennke  <roman@kennke.org>
2282         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2283         (createUI): Instances cannot be shared among JScrollPanes.
2285 2005-04-20  Roman Kennke  <roman@kennke.org>
2287         * javax/swing/plaf/metal/MetalLookAndFeel.java
2288         (initComponentDefaults): Added defaults for Menu, MenuBar
2289         MenuEntry fonts.
2291 2005-04-20  Roman Kennke  <roman@kennke.org>
2293         * javax/swing/plaf/basic/BasicScrollBarUI.java
2294         (installUI): Install listeners after everything all, otherwise
2295         we get strange NPEs in some situations, especially with
2296         custom L&Fs.
2297         (createIncreaseButton): Orientation is expected to be
2298         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2299         HORIZONTAL or VERTICAL.
2300         (createDecreaseButton): Orientation is expected to be
2301         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2302         HORIZONTAL or VERTICAL.
2303         (installComponents): Orientation for buttons is expected to be
2304         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2305         HORIZONTAL or VERTICAL.
2307 2005-04-20  Roman Kennke  <roman@kennke.org>
2309         * javax/swing/JToolBar.java
2310         (addImpl): Adjust added AbstractButtons to look and feel like
2311         toolbar buttons.
2312         * javax/swing/plaf/metal/MetalBorders.java:
2313         Adjusted insets of ButtonBorder.
2314         (RolloverMarginBorder): Added class for toolbar buttons.
2315         (getButtonBorder): Adjusted factory method to return a shared
2316         instance of button border.
2317         (getToolbarButtonBorder): Added factory method to return a shared
2318         instance of toolbar button border.
2319         (getMarginBorder): Added factory method to return a shared
2320         instance of margin border.
2321         * javax/swing/plaf/metal/MetalButtonUI.java
2322         (installDefauls): If button is child of a JToolBar then set
2323         special border on this button.
2325 2005-04-20  Michael Koch  <konqueror@gmx.de>
2327         * java/net/URLConnection.java
2328         (getContent): Fixed javadoc comment.
2330 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2332         * java/net/URL.java:
2333         (toURI()): Implemented.
2335 2005-04-19  Michael Koch  <konqueror@gmx.de>
2337         * java/net/InetAddress.java
2338         (InetAddress): Fixed javadoc comment.
2339         (aton): Likewise.
2340         (lookup): Added javadoc.
2341         (getFamily): Likewise.
2342         * java/net/ServerSocket.java
2343         (getChannel): Improved javadoc comment.
2345 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2347         * gnu/xml/dom/html2/DomHTMLParser.java:
2348         Changed 'enum' references to become 'enumeration'.
2350 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2352         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2354 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2356         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2357         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2358         * gnu/javax/swing/text/html/parser/htmlValidator.java:
2359         (validateParameters(TagElement,htmlAttributeSet)):
2360         Replaced 'enum' with 'enumeration'.
2361         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2362         Likewise.
2364 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2366         * javax/swing/text/html/parser/Entity.java (getType): New method.
2367         * javax/swing/text/html/parser/DocumentParser.java:
2368         Inherit from javax.swing.text.html.parser.Parser.
2370 2005-04-19  Chris Burdess  <dog@gnu.org>
2372         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2373         check for HTML/XHTML namespace.
2375 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2377         * javax/swing/text/html/parser/Parser.java,
2378         javax/swing/text/html/parser/Entity.java:
2379         Inheriting from DTDConstants.
2380         * javax/swing/text/html/parser/AttributeList.java
2381         (getValues): Changed return type.
2382         * javax/swing/text/html/parser/DocumentParser
2383         (parse): Adding the callback parameter that receives
2384         the parsing events.
2386 2005-04-19  Chris Burdess  <dog@gnu.org>
2388         * gnu/xml/dom/DomImpl.java,
2389         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2390         gnu/xml/dom/html2/DomHTMLDocument.java,
2391         gnu/xml/dom/html2/DomHTMLElement.java,
2392         gnu/xml/dom/html2/DomHTMLFormElement.java,
2393         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2394         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2395         gnu/xml/dom/html2/DomHTMLImpl.java,
2396         gnu/xml/dom/html2/DomHTMLInputElement.java,
2397         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2398         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2399         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2400         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2401         gnu/xml/dom/html2/DomHTMLTableElement.java,
2402         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2403         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2404         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2405         UI events, and tree utility functions.
2407 2005-04-19  Michael Koch  <konqueror@gmx.de>
2409         * gnu/javax/swing/text/html/parser/HTML_401F.java,
2410         gnu/javax/swing/text/html/parser/gnuDTD.java,
2411         gnu/javax/swing/text/html/parser/models/node.java:
2412         Reworked import statements.
2414 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
2416         * javax/swing/text/html/HTMLDocument.java: New file.
2418 2005-04-19  Michael Koch  <konqueror@gmx.de>
2420         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2421         Reformatted.
2422         * javax/swing/text/html/parser/AttributeList.java:
2423         Fixed order of modifiers.
2424         (AttributeList): Made final.
2425         * javax/swing/text/html/parser/ContentModel.java:
2426         Fixed html characters in javadocs.
2427         * javax/swing/text/html/parser/DTD.java
2428         (DTD): Don't implement java.io.Serializable directly.
2429         (getElement): Simplified.
2430         * javax/swing/text/html/parser/DTDConstants.java:
2431         Reformatted file.
2432         * javax/swing/text/html/parser/Element.java:
2433         Fixed order of modifiers.
2434         * javax/swing/text/html/parser/Parser.java:
2435         Reformatted. Don't use fully-qualified class names.
2436         * javax/swing/text/html/parser/ParserDelegator.java:
2437         Fixed order of modifiers.
2438         * javax/swing/text/rtf/RTFParser.java:
2439         Re-ordered import statements.
2440         * javax/swing/text/rtf/RTFScanner.java:
2441         Removed unused import statement.
2443 2005-04-19  Chris Burdess  <dog@gnu.org>
2445         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2446         gnu/xml/dom/html2/DomHTMLCollection.java,
2447         gnu/xml/dom/html2/DomHTMLDocument.java,
2448         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2449         types.
2450         * gnu/xml/dom/html2/DomHTMLDListElement.java,
2451         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2452         gnu/xml/dom/html2/DomHTMLDivElement.java,
2453         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2454         gnu/xml/dom/html2/DomHTMLFontElement.java,
2455         gnu/xml/dom/html2/DomHTMLFormElement.java,
2456         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2457         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2458         gnu/xml/dom/html2/DomHTMLHRElement.java,
2459         gnu/xml/dom/html2/DomHTMLHeadElement.java,
2460         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2461         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2462         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2463         gnu/xml/dom/html2/DomHTMLImageElement.java,
2464         gnu/xml/dom/html2/DomHTMLInputElement.java,
2465         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2466         gnu/xml/dom/html2/DomHTMLLIElement.java,
2467         gnu/xml/dom/html2/DomHTMLLabelElement.java,
2468         gnu/xml/dom/html2/DomHTMLLegendElement.java,
2469         gnu/xml/dom/html2/DomHTMLLinkElement.java,
2470         gnu/xml/dom/html2/DomHTMLMapElement.java,
2471         gnu/xml/dom/html2/DomHTMLMenuElement.java,
2472         gnu/xml/dom/html2/DomHTMLMetaElement.java,
2473         gnu/xml/dom/html2/DomHTMLModElement.java,
2474         gnu/xml/dom/html2/DomHTMLOListElement.java,
2475         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2476         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2477         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2478         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2479         gnu/xml/dom/html2/DomHTMLParamElement.java,
2480         gnu/xml/dom/html2/DomHTMLPreElement.java,
2481         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2482         gnu/xml/dom/html2/DomHTMLScriptElement.java,
2483         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2484         gnu/xml/dom/html2/DomHTMLStyleElement.java,
2485         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2486         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2487         gnu/xml/dom/html2/DomHTMLTableColElement.java,
2488         gnu/xml/dom/html2/DomHTMLTableElement.java,
2489         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2490         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2491         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2492         gnu/xml/dom/html2/DomHTMLTitleElement.java,
2493         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2495 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2497         * javax/swing/text/ChangedCharSetException.java,
2498         javax/swing/text/html/HTMLEditorKit.java,
2499         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2500         javax/swing/text/html/parser/AttributeList.java,
2501         javax/swing/text/html/parser/ContentModel.java,
2502         javax/swing/text/html/parser/DocumentParser.java,
2503         javax/swing/text/html/parser/DTD.java,
2504         javax/swing/text/html/parser/DTDConstants.java,
2505         javax/swing/text/html/parser/Element.java,
2506         javax/swing/text/html/parser/Entity.java,
2507         javax/swing/text/html/parser/Parser.java,
2508         javax/swing/text/html/parser/TagElement.java,
2509         gnu/javax/swing/text/html/package.html,
2510         gnu/javax/swing/text/html/parser/gnuDTD.java,
2511         gnu/javax/swing/text/html/parser/HTML_401F.java,
2512         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2513         gnu/javax/swing/text/html/parser/htmlValidator.java,
2514         gnu/javax/swing/text/html/parser/package.html,
2515         gnu/javax/swing/text/html/parser/models/list.java,
2516         gnu/javax/swing/text/html/parser/models/node.java,
2517         gnu/javax/swing/text/html/parser/models/noTagModel.java,
2518         gnu/javax/swing/text/html/parser/models/package.html,
2519         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2520         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2521         gnu/javax/swing/text/html/parser/models/transformer.java,
2522         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2523         gnu/javax/swing/text/html/parser/support/package.html,
2524         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2525         gnu/javax/swing/text/html/parser/support/Parser.java,
2526         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2527         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2528         gnu/javax/swing/text/html/parser/support/low/Constants.java,
2529         gnu/javax/swing/text/html/parser/support/low/Location.java,
2530         gnu/javax/swing/text/html/parser/support/low/node.java,
2531         gnu/javax/swing/text/html/parser/support/low/package.html,
2532         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2533         gnu/javax/swing/text/html/parser/support/low/pattern.java,
2534         gnu/javax/swing/text/html/parser/support/low/Queue.java,
2535         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2536         New files.
2537         * javax/swing/text/html/HTML.java,
2538         javax/swing/text/html/parser/ParserDelegator.java:
2539         New files (replacing).
2540         * javax/swing/text/html/package.html,
2541         javax/swing/text/html/parser/package.html: Documenting the
2542         packages.
2544 2005-04-19  Chris Burdess  <dog@gnu.org>
2546         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2547         gnu/xml/dom/html2/DomHTMLAppletElement.java,
2548         gnu/xml/dom/html2/DomHTMLAreaElement.java,
2549         gnu/xml/dom/html2/DomHTMLBaseElement.java,
2550         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2551         gnu/xml/dom/html2/DomHTMLBodyElement.java,
2552         gnu/xml/dom/html2/DomHTMLBRElement.java,
2553         gnu/xml/dom/html2/DomHTMLButtonElement.java,
2554         gnu/xml/dom/html2/DomHTMLCollection.java,
2555         gnu/xml/dom/html2/DomHTMLDocument.java,
2556         gnu/xml/dom/html2/DomHTMLElement.java: New files.
2558 2005-04-19  Michael Koch  <konqueror@gmx.de>
2560         * Makefile.am: Added new files.
2561         * Makefile.in: Regenerated.
2563 2005-04-19  Roman Kennke  <roman@kennke.org>
2565         * javax/swing/text/JTextComponent.java
2566         (JTextComponent): Added repaintListener which issues repaint
2567         requests when the underlying document changes.
2568         (setDocument): Adds repaintListener to document when the
2569         document is changed.
2570         * javax/swing/text/DefaultEditorKit.java:
2571         Removed repaint calls on JTextComponent. This is now handled
2572         through a DocumentListener in JTextComponent that repaints
2573         the component when needed.
2575 2005-04-19  Roman Kennke  <roman@kennke.org>
2577         PR libgcj/21064
2578         * javax/swing/text/StyleContext.java
2579         (NamedStyle.setResolveParent): Added null
2580         pointer check.
2582 2005-04-19  Michael Koch  <konqueror@gmx.de>
2584         * java/rmi/server/RemoteObject.java:
2585         Removed unused import statement.
2587 2005-04-19  Michael Koch  <konqueror@gmx.de>
2589         * java/net/URL.java: Formatting cleanups.
2591 2005-04-19  Michael Koch  <konqueror@gmx.de>
2593         * java/awt/FontMetrics.java: Reformatted.
2594         (getFontRenderContext): Handle case when java.awt.Graphics context is
2595         given.
2597 2005-04-19  Michael Koch  <konqueror@gmx.de>
2599         * java/awt/FontMetrics.java
2600         (getStringBounds): New methods.
2603 2005-04-19  Michael Koch  <konqueror@gmx.de>
2605         * gnu/java/security/x509/X509Certificate.java
2606         (parse): Handle val == null case.
2608 2005-04-19  Roman Kennke  <roman@kennke.org>
2610         * javax/swing/plaf/metal/MetalLookAndFeel.java
2611         (initComponentDefaults): Added defaults for Menu, MenuBar
2612         MenuEntry fonts.
2614 2005-04-19  Roman Kennke  <roman@kennke.org>
2616         * javax/swing/plaf/metal/MetalLookAndFeel.java
2617         (initComponentDefaults): Added Label.font.
2618         (initSystemColorDefaults): Added this method and adjusted the
2619         general control color.
2621 2005-04-19  Roman Kennke  <roman@kennke.org>
2623         * javax/swing/plaf/metal/MetalBorders.java:
2624         Added.
2625         * javax/swing/plaf/metal/MetalButtonUI.java:
2626         (installDefaults): Install button font.
2627         * javax/swing/plaf/metal/MetalLookAndFeel.java:
2628         (initComponentDefaults): Added button border, font and margin.
2629         Changed components background color to the Metal current themes
2630         standard color.
2632 2005-04-19  Roman Kennke  <roman@kennke.org>
2634         * javax/swing/plaf/metal/MetalLookAndFeel.java
2635         (initComponentDefaults): Added to set Metal specific component
2636         defaults.
2638 2005-04-19  Mark Wielaard  <mark@klomp.org>
2640         * javax/swing/plaf/metal/MetalLookAndFeel.java
2641         (initClassDefaults): Call super.initClassDefaults().
2643 2005-04-19  Roman Kennke  <roman@kennke.org>
2645         * javax/swing/plaf/metal/MetalLookAndFeel.java
2646         (initClassDefaults): Added to include the *UI classes.
2648 2005-04-19  Roman Kennke  <roman@kennke.org>
2650         * javax/swing/plaf/metal/MetalComboBoxUI.java:
2651         Added.
2652         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2653         Added.
2654         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2655         Added.
2656         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2657         Added.
2658         * javax/swing/plaf/metal/MetalProgressBarUI.java:
2659         Added.
2660         * javax/swing/plaf/metal/MetalRootPaneUI.java:
2661         Added.
2662         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2663         Added.
2664         * javax/swing/plaf/metal/MetalSeparatorUI.java:
2665         Added.
2666         * javax/swing/plaf/metal/MetalSliderUI.java:
2667         Added.
2668         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2669         Added.
2670         * javax/swing/plaf/metal/MetalTextFieldUI.java:
2671         Added.
2672         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2674 2005-04-19  Roman Kennke  <roman@kennke.org>
2676         * javax/swing/plaf/metal/MetalButtonUI.java:
2677         Added skeleton class.
2678         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2679         Added skeleton class.
2680         * javax/swing/plaf/metal/MetalLabelUI.java:
2681         Added skeleton class.
2682         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2683         Added skeleton class.
2684         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2685         Added skeleton class.
2686         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2687         Added skeleton class.
2689 2005-04-19  Roman Kennke  <roman@kennke.org>
2691         * javax/swing/UIDefaults.java:
2692         Added API documentation for all methods.
2694 2005-04-19  Roman Kennke  <roman@kennke.org>
2696         * javax/swing/UIDefaults.java
2697         (put): Now uses new checkAndPut method instead of checking
2698         directly.
2699         (putDefaults): Fixed so that it accepts null-values and
2700         treats them like remove(key).
2701         (checkAndPut): Added. This checks for null-values and calls
2702         put or remove.
2704 2005-04-19  Michael Koch  <konqueror@gmx.de>
2706         * Makefile.am: Added new files.
2707         * Makefile.in: Regenerated.
2709 2005-04-19  Mark Wielaard  <mark@klomp.org>
2711         * java/lang/natRuntime.cc (insertSystemProperties): Set
2712         java.class.path to CLASSPATH only when not empty. Fall back to
2713         default path "." when java.class.path is empty.
2715 2005-04-19  Michael Koch  <konqueror@gmx.de>
2717         * javax/swing/text/rtf/ControlWordToken.java,
2718         javax/swing/text/rtf/RTFEditorKit.java,
2719         javax/swing/text/rtf/RTFParseException.java,
2720         javax/swing/text/rtf/RTFParser.java,
2721         javax/swing/text/rtf/RTFScanner.java,
2722         javax/swing/text/rtf/TextToken.java,
2723         javax/swing/text/rtf/Token.java: New files.
2724         * Makefile.am: Added new files.
2725         * Makefile.in: Regenerated.
2727 2005-04-19  Michael Koch  <konqueror@gmx.de>
2729         * java/awt/geom/QuadCurve2D.java:
2730         Fixed Brian Gough's name for real.
2732 2005-04-19  Roman Kennke  <roman@kennke.org>
2734         * javax/swing/UIManager.java:
2735         Make the UIManager respect the swing.defaultlaf system
2736         property.
2738 2005-04-19  Tom Tromey  <tromey@redhat.com>
2740         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2741         not _Jv_InitClass.
2743 2005-04-19  Roman Kennke  <roman@kennke.org>
2745         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2746         Fixed tabs to spaces.
2748 2005-04-19  Roman Kennke  <roman@kennke.org>
2750         * javax/swing/plaf/basic/BasicMenuUI.java
2751         (getMaximumSize): Now returns preferredSize because JMenu should
2752         never be bigger than that.
2753         * javax/swing/JRootPane
2754         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2756 2005-04-19  Roman Kennke  <roman@kennke.org>
2758         * javax/swing/JRootPane.java:
2759         Fixed various tabs to be spaces.
2760         (RootLayout.layoutContainer): Made menubar left aligned.
2762 2005-04-19  Roman Kennke  <roman@ontographics.com>
2764         * javax/swing/JList.java
2765         (getPreferredScrollableViewportSize):
2766         The previous implementation was merely guessing the size,
2767         now it respects layoutOrientation, visibleRowCount
2768         and preferredSize.
2769         (getScrollableTracksViewportHeight):
2770         Reimplemented so that layoutOrientation, visibleRowCount
2771         and preferred size are respected.
2772         (getScrollableTracksViewportWidth):
2773         Reimplemented so that layoutOrientation, visibleRowCount
2774         and preferred size are respected.
2775         * javax/swing/plaf/basic/BasicListUI.java
2776         (getPreferredSize):
2777         Improved calculation of preferredSize when JList is
2778         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2779         (getCellBounds):
2780         The previous implementation assumed a layoutOrientation of
2781         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2782         JList.VERTICAL_WRAP.
2784 2005-04-19  Roman Kennke  <roman@ontographics.com>
2786         * javax/swing/plaf/basic/BasicListUI.java
2787         (paintCell): use CellRendererPane for painting the cells.
2789 2005-04-19  Roman Kennke  <roman@ontographics.com>
2791         * javax/swing/plaf/basic/BasicListUI:
2792         fixed modifiers of several fields, methods and inner
2793         classes to match the 'spec'.
2794         (getMaximumSize): removed. It's not in the spec and the
2795         implementations was superfluous.
2797 2005-04-19  Roman Kennke  <roman@ontographics.com>
2799         * javax/swing/plaf/basic/BasicListUI:
2800         make BasicListUI capable of wrapping lists
2801         (layoutOrientation property of javax.swing.JList)
2803 2005-04-19  Roman Kennke  <roman@ontographics.com>
2805         * javax/swing/plaf/basic/BasicListUI
2806         (updateLayoutState,paint): make BasicListUI aware of the
2807         width of the rendered JList.
2809 2005-04-19  Roman Kennke  <roman@kennke.org>
2811         * javax/swing/ImageIcon.java
2812         Added API documentation.
2814 2005-04-19  Roman Kennke  <roman@kennke.org>
2816         * javax/swing/text/ImageIcon.java
2817         (ImageIcon): Use setImage instead of direct assignment.
2818         (setImage): Call loadImage to make sure that the image is loaded.
2819         (loadImage): Waits for the image to complete loading.
2820         (getImageLoadStatus): Added. Returns the load status of the
2821         image.
2823 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2825         * javax/swing/JTextArea.java (replaceRange):
2826         Fixing doc.remove(start, length) misinterpretation.
2828 2005-04-19  Roman Kennke  <roman@ontographics.com>
2830         * javax/swing/CellRendererPane.java:
2831         implemented all methods of this class.
2832         reformatted all wrong formatted code.
2834 2005-04-19  Roman Kennke  <roman@kennke.org>
2836         * javax/swing/BoxLayout.java:
2837         (layoutContainer): Made this layout manager respect the
2838         minimum, maximum and preferred size more correctly.
2840 2005-04-19  Roman Kennke  <roman@ontographics.com>
2842         * javax/swing/BoxLayout.java:
2843         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2844         layoutContainer): Make these methods and thereby the
2845         BoxLayout respect the insets (like borders) of the
2846         component that is laid out.
2848 2005-04-19  Roman Kennke  <roman@kennke.org>
2850         * javax/swing/JComponent.java:
2851         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2852         Untabified the file.
2854 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2856         * javax/swing/JComboBox.java (constructors): selecting the
2857         first item if the box was constructed from the provided
2858         non - empty array or vector.
2860 2005-04-19  Michael Koch  <konqueror@gmx.de>
2862         * gnu/java/awt/peer/gtk/GdkGraphics.java
2863         (getClipBounds): Handle clip being null.
2864         (setClip): Likewise.
2865         * java/beans/beancontext/BeanContextSupport.java
2866         (add): Implemented.
2867         (addAll): Likewise.
2868         (clear): Likewise.
2869         (removeAll): Likewise.
2870         (retainAll): Likewise.
2872 2005-04-19  Michael Koch  <konqueror@gmx.de>
2874         * java/beans/beancontext/BeanContextServicesSupport.java
2875         (BeanContextServicesSupport): Reimplemented.
2876         (addBeanContextServicesListener): Implemented.
2877         (initialize): Likewise.
2878         (removeBeanContextServicesListener): Likewise.
2879         * java/beans/beancontext/BeanContextSupport.java
2880         (add): Likewise.
2881         (addBeanContextMembershipListener): Likewise.
2882         (getLocale): Likewise.
2883         (initialize): Likewise.
2884         (iterator): Likewise.
2885         (remove): Likewise.
2886         (toArray): Likewise.
2888 2005-04-19  Roman Kennke  <roman@kennke.org>
2890         * java/awt/MediaTracker.java:
2891         Reindented tabs to spaces.
2893 2005-04-19  Roman Kennke  <roman@kennke.org>
2895         * java/awt/MediaTracker.java
2896         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2897         confused the media tracker and lead to lockups. The LOADING
2898         bit is handled on other places.
2899         (addImage): Removed the 'start image tracking' stuff. This
2900         is not necessary and could confuse the media tracker.
2901         (checkAll): Improved the check for image status so that
2902         images that already complete images are detected. Also now
2903         are really all images checked and if necessary loaded. Before
2904         the method bailed out after the first incomplete image.
2905         (statusAll): Detect images that are complete after the
2906         call to Component.prepareImage(..).
2907         (checkID): The same as in checkAll.
2908         (statusID): The same as in statusAll.
2910 2005-04-19  Roman Kennke  <roman@kennke.org>
2912         * java/awt/MediaTracker.java
2913         (addImage): Synchronized list access.
2914         (waitForAll): Fixed comparison of time (changed < to >).
2915         (waitForID): Fixed comparison of time (changed < to >).
2916         (removeImage): Synchronized list access.
2918 2005-04-19  Roman Kennke  <roman@kennke.org>
2920         * java/awt/MediaTracker.java
2921         Added API documentation.
2923 2005-04-19  Roman Kennke  <roman@kennke.org>
2925         * java/awt/MediaTracker.java
2926         (MediaEntry.imageUpdate): Fixed flags. The different flags
2927         must not be ORed together.
2928         (checkAll): Modified to handle different meaning of the flags.
2929         (waitForAll): Fixed so that it waits maximum the
2930         specified amount of milliseconds.
2931         (statusAll): Modified to handle different meaning of the flags.
2932         (waitForID): Fixed so that it waits maximum the
2933         specified amount of milliseconds.
2935 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
2937         * java/awt/Font.java (decode): Handle null argument and allow
2938         space as delimiter.
2940 2005-04-19  Robert Schuster <thebohemian@gmx.net>
2942         * java/beans/EventHandler.java: Reworked documentation.
2943         (invoke): Fixed behavior to match spec.
2945 2005-04-19  Michael Koch  <konqueror@gmx.de>
2947         * java/awt/print/PrinterJob.java
2948         (pageDialog): New method.
2949         (printDialog): Implemented.
2951 2005-04-19  Michael Koch  <konqueror@gmx.de>
2953         * java/awt/image/ConvolveOp.java:
2954         Removed comment added by eclipse.
2956 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
2958         * java/awt/image/IndexColorModel.java
2959         (getRGB): Check if pixel is negative.
2961 2005-04-19  Michael Koch  <konqueror@gmx.de>
2963         * java/awt/image/RasterOp.java:
2964         Fixed wrong formatting.
2966 2005-04-18  Roman Kennke  <roman@kennke.org>
2968         * java/awt/Compmonent.java
2969         (setComponentOrientation): Made this property firing a
2970         PropertyChangeEvent.
2972 2005-04-18  Roman Kennke  <roman@kennke.org>
2974         * java/awt/BorderLayout.java
2975         (calcSize): Check for overflow when component sizes are added.
2977 2005-04-18  Robert Schuster <thebohemian@gmx.net>
2979         * java/awt/AWTEvent.java (toString): Added case
2980         for source not being an AWT component.
2982 2005-04-18  Chris Burdess  <dog@gnu.org>
2984         * gnu/java/net/BASE64.java: Truncate encoded byte array.
2986 2005-04-18  Michael Koch  <konqueror@gmx.de>
2988         gnu/java/awt/EmbeddedWindowSupport.java,
2989         gnu/java/net/HeaderFieldHelper.java,
2990         gnu/java/net/URLParseError.java,
2991         gnu/java/net/protocol/file/Handler.java,
2992         gnu/java/net/protocol/jar/Handler.java:
2993         Fixed usage of @author tag.
2995 2005-04-18  Michael Koch  <konqueror@gmx.de>
2997         * gnu/xml/aelfred2/XmlParser.java:
2998         Reverted my typo fix.
3000 2005-04-18  Michael Koch  <konqueror@gmx.de>
3002         * java/awt/geom/CubicCurve2D.java,
3003         java/awt/geom/QuadCurve2D.java:
3004         Fixed mentioning of Brian Gouph.
3006 2005-04-18  Michael Koch  <konqueror@gmx.de>
3008         * gnu/java/awt/Buffers.java,
3009         gnu/java/awt/image/ImageDecoder.java,
3010         gnu/java/awt/image/XBMDecoder.java,
3011         gnu/java/awt/peer/ClasspathFontPeer.java,
3012         gnu/java/net/CRLFInputStream.java,
3013         gnu/java/net/EmptyX509TrustManager.java,
3014         gnu/java/net/LineInputStream.java,
3015         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3016         gnu/java/net/protocol/ftp/BlockInputStream.java,
3017         gnu/java/net/protocol/ftp/CompressedInputStream.java,
3018         gnu/java/net/protocol/ftp/DTP.java,
3019         gnu/java/net/protocol/ftp/DTPInputStream.java,
3020         gnu/java/net/protocol/ftp/FTPConnection.java,
3021         gnu/java/net/protocol/ftp/FTPURLConnection.java,
3022         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3023         gnu/java/net/protocol/ftp/StreamInputStream.java,
3024         gnu/java/net/protocol/http/ChunkedInputStream.java,
3025         gnu/java/net/protocol/http/HTTPConnection.java,
3026         gnu/java/net/protocol/http/HTTPURLConnection.java,
3027         gnu/java/net/protocol/http/Headers.java,
3028         gnu/java/net/protocol/http/Request.java,
3029         gnu/java/nio/ChannelInputStream.java,
3030         gnu/java/nio/ChannelOutputStream.java,
3031         gnu/java/nio/InputStreamChannel.java,
3032         gnu/java/nio/OutputStreamChannel.java,
3033         gnu/java/nio/SelectorProviderImpl.java,
3034         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
3035         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
3036         gnu/java/rmi/dgc/DGCImpl.java,
3037         gnu/java/rmi/registry/RegistryImpl.java,
3038         gnu/java/rmi/server/ProtocolConstants.java,
3039         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
3040         gnu/java/rmi/server/RMIIncomingThread.java,
3041         gnu/java/rmi/server/RMIObjectInputStream.java,
3042         gnu/java/rmi/server/RMIObjectOutputStream.java,
3043         gnu/java/rmi/server/RMIVoidValue.java,
3044         gnu/java/rmi/server/UnicastConnectionManager.java,
3045         gnu/java/rmi/server/UnicastRef.java,
3046         gnu/java/rmi/server/UnicastRemoteCall.java,
3047         gnu/java/rmi/server/UnicastRemoteStub.java,
3048         gnu/java/rmi/server/UnicastServerRef.java,
3049         gnu/java/security/OID.java,
3050         gnu/java/security/der/DERReader.java,
3051         gnu/java/security/provider/CollectionCertStoreImpl.java,
3052         gnu/java/security/provider/DSAParameterGenerator.java,
3053         gnu/java/security/provider/DefaultPolicy.java,
3054         gnu/java/security/provider/EncodedKeyFactory.java,
3055         gnu/java/security/provider/GnuDHPublicKey.java,
3056         gnu/java/security/provider/GnuDSAPrivateKey.java,
3057         gnu/java/security/provider/GnuDSAPublicKey.java,
3058         gnu/java/security/provider/GnuRSAPrivateKey.java,
3059         gnu/java/security/provider/GnuRSAPublicKey.java,
3060         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3061         gnu/java/security/provider/RSA.java,
3062         gnu/java/security/provider/SHA1PRNG.java,
3063         gnu/java/security/provider/SHA1withRSA.java,
3064         gnu/java/security/provider/X509CertificateFactory.java,
3065         gnu/java/security/x509/GnuPKIExtension.java,
3066         gnu/java/security/x509/X500DistinguishedName.java,
3067         gnu/java/security/x509/X509CRL.java,
3068         gnu/java/security/x509/X509CRLEntry.java,
3069         gnu/java/security/x509/X509CertPath.java,
3070         gnu/java/security/x509/X509CertSelectorImpl.java,
3071         gnu/java/security/x509/X509Certificate.java,
3072         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3073         gnu/java/security/x509/ext/BasicConstraints.java,
3074         gnu/java/security/x509/ext/CRLNumber.java,
3075         gnu/java/security/x509/ext/CertificatePolicies.java,
3076         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3077         gnu/java/security/x509/ext/Extension.java,
3078         gnu/java/security/x509/ext/GeneralNames.java,
3079         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3080         gnu/java/security/x509/ext/KeyUsage.java,
3081         gnu/java/security/x509/ext/PolicyConstraint.java,
3082         gnu/java/security/x509/ext/PolicyMappings.java,
3083         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3084         gnu/java/security/x509/ext/ReasonCode.java,
3085         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3086         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
3087         Reorganized import statements.
3089 2005-04-18  Michael Koch  <konqueror@gmx.de>
3091         * gnu/java/awt/color/CieXyzConverter.java,
3092         gnu/java/awt/color/ClutProfileConverter.java,
3093         gnu/java/awt/color/ColorLookUpTable.java,
3094         gnu/java/awt/color/ColorSpaceConverter.java,
3095         gnu/java/awt/color/GrayProfileConverter.java,
3096         gnu/java/awt/color/GrayScaleConverter.java,
3097         gnu/java/awt/color/LinearRGBConverter.java,
3098         gnu/java/awt/color/ProfileHeader.java,
3099         gnu/java/awt/color/PyccConverter.java,
3100         gnu/java/awt/color/RgbProfileConverter.java,
3101         gnu/java/awt/color/SrgbConverter.java,
3102         gnu/java/awt/color/TagEntry.java,
3103         gnu/java/awt/color/ToneReproductionCurve.java:
3104         Standardized file headers.
3106 2005-04-16  Tom Tromey  <tromey@redhat.com>
3108         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
3109         'ANY' package-private.
3111 2005-04-15  Tom Tromey  <tromey@redhat.com>
3113         * Makefile.in: Rebuilt.
3114         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
3115         (libgcj0_convenience_la_LIBADD): ... here.
3117 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
3119         * gij.cc (version): Properly quote java version.
3120         (main): Fix typo in comment.
3122 2005-04-13  Mark Wielaard  <mark@klomp.org>
3124         * java/lang/natRuntime.cc (insertSystemProperties): Set
3125         java.class.path to CLASSPATH if not already set.
3127 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3129         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
3131 2005-04-12  Mike Stump  <mrs@apple.com>
3133         * configure: Regenerate.
3135 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3137         PR libgcj/20958
3138         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
3139         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
3141 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3143         PR libgcj/20975
3144         * scripts/TexinfoDoclet.java: Removed.
3145         * Makefile.am (texinfo): Removed.
3146         * Makefile.in: Regenerated.
3148 2005-04-11  Michael Koch  <konqueror@gmx.de>
3150         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
3151         Fixed wrong casting.
3153 2005-04-06  Andrew Haley  <aph@redhat.com>
3155         * testsuite/libjava.lang/bytearray.java: New file.
3156         * testsuite/libjava.lang/bytearray.out: New file.
3157         * java/lang/ClassLoader.java (loadClassFromSig): Declare
3158         (loadClass): Use it.
3159         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
3161 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
3163         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
3164         gcj-dbtool dependency
3165         * Makefile.in: Regenerated
3167 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
3169         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
3170         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
3172 2005-04-05  Andrew Haley  <aph@redhat.com>
3174         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
3175         (Tokenizer): New class.
3176         (getFiles): New method.
3177         (main): Add "-" argument.
3178         Add "-0" argument.
3179         Read list of files from stdin when merging map databases.
3180         (usage):  Add "-" argument.
3181         Add "-0" argument.
3182         Minor corrections.
3184 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3186         PR libgcj/20750
3187         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
3188         * Makefile.in: Regenerate.
3189         * configure.ac: Add --with-java-home option.
3190         * configure: Regenerate.
3191         * external/Makefile.in: Regenerate.
3192         * external/sax/Makefile.in: Regenerate.
3193         * external/w3c_dom/Makefile.in: Regenerate.
3194         * gcj/Makefile.in: Regenerate.
3195         * include/Makefile.in: Regenerate.
3196         * testsuite/Makefile.in: Regenerate.
3197         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
3198         to JAVA_HOME macro.
3200 2005-04-05  Tom Tromey  <tromey@redhat.com>
3202         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
3203         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
3204         Rewrote to use _Jv_FindClassFromSignature.
3205         * verify.cc (resolve): throw NoClassDefFoundError.
3206         * link.cc (resolve_field): Throw NoClassDefFoundError.
3207         (find_field): Likewise.
3208         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
3209         Handle error cases.  Added 'endp' argument.
3210         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
3212 2005-04-05  Tom Tromey  <tromey@redhat.com>
3214         * Makefile.in: Rebuilt.
3215         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
3216         gtk_awt_peer_sources.
3217         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
3218         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
3219         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
3220         (gtk-awt-peer.lo): New target.
3222 2005-04-04  Steve Pribyl <steve@netfuel.com>
3224         PR libgcj/20761
3225         * configure.ac: Fix fastjar definition for cross builds.
3226         * configure: Rebuilt.
3228 2005-04-04  Tom Tromey  <tromey@redhat.com>
3230         * java/lang/ClassLoader.java (loadClass): Resolve class even if
3231         it was already found.
3233 2005-04-04  Tom Tromey  <tromey@redhat.com>
3235         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
3236         org.metastatic.jessie.
3238 2005-04-02  Anthony Green  <green@redhat.com>
3240         PR libgcj/20727
3241         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
3243 2005-04-02  Mark Wielaard  <mark@klomp.org>
3245         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
3246         Attributes and attribute order doesn't matter.
3247         (BasicAttributesEnumeration.where): Initialize to zero.
3248         (BasicAttributesEnumeration.nextElement): Update and compare where
3249         appropriately (zero based).
3251 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
3253         PR libgcj/20090, PR libgcj/20526
3254         * gij.cc (nonstandard_opts_help): New function.
3255         (add_option): New function.
3256         (main): Support java options.  Set java.class.path.  Don't set
3257         _Jv_Jar_Class_Path.
3258         * prims.cc (parse_x_arg): New function.
3259         (parse_init_args): Call parse_x_arg for -X and _ options, when
3260         ignoreUnrecognized is true.
3261         (new _Jv_RunMain): New vm_args variant.
3262         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
3263         (_Jv_Jar_Class_Path): Remove variable.
3264         * include/java-props.h: Likewise.
3265         * include/cni.h (JvRealloc): New function.
3266         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
3267         * java/lang/natRuntime.cc (insertSystemProperties): Remove
3268         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
3269         macros.
3270         * configure.ac (JV_VERSION): Define.
3271         (JV_API_VERSION): Likewise.
3272         * configure: Regenerate.
3273         * include/config.h.in: Regenerate.
3275 2005-04-01 Mark Anderson <mark@panonet.net>
3277         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
3278         -Infinity as parameters.
3280 2005-04-01  Michael Koch  <konqueror@gmx.de>
3282         * java/io/PipedInputStream.java
3283         (read): Make sure a positive byte value is returned. Revised javadoc.
3284         Thanks to Olafur Bragason for reporting these bugs.
3286 2005-04-01  Tom Tromey  <tromey@redhat.com>
3288         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3289         Updated for name change.
3290         (nativeFindClass): New method.
3291         (loadClass): Use nativeFindClass.
3292         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
3293         form of loadClass.
3294         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
3295         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
3296         VMClassLoader.
3297         (initialize): New method.
3298         (nativeFindClass): Declare.
3299         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
3300         * gnu/gcj/runtime/VMClassLoader.java: Removed.
3301         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
3302         VMClassLoader.java.
3303         (definePackageForNative): Removed.
3304         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
3305         Moved to VMClassLoader.java.
3306         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
3307         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
3308         (ordinary_java_source_files): Added ExtensionClassLoader.java,
3309         removed VMClassLoader.java.
3310         (nat_source_files): Removed natVMClassLoader.cc.
3312 2005-04-01  Tom Tromey  <tromey@redhat.com>
3314         * Makefile.in: Rebuilt.
3315         * Makefile.am (db_pathtail): Use $(gcc_version), not
3316         @gcc_version@.
3318 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
3320         * java/util/Timer.java
3321         (run): Stop the queue if a task throws an exception.
3323 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3325         * javax/swing/text/JTextComponent.java (viewToModel): New method.
3327 2005-03-29  Ian Lance Taylor  <ian@airs.com>
3329         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
3330         * external/sax/Makefile.in: Rebuild.
3331         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
3332         "-fclasspath=".
3333         * external/w3c_dom/Makefile.in: Rebuild.
3335 2005-03-29  Tom Tromey  <tromey@redhat.com>
3337         * java/lang/natRuntime.cc (insertSystemProperties): Set
3338         gnu.gcj.runtime.endorsed.dirs.
3339         * Makefile.in: Rebuilt.
3340         * Makefile.am (ordinary_java_source_files): Added
3341         HelperClassLoader.java.
3342         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3343         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3344         HelperClassLoader.
3345         (init): Use addDirectoriesFromProperty.
3346         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3347         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
3348         gnu.gcj.runtime.endorsed.dirs.
3349         * gnu/gcj/runtime/HelperClassLoader.java: New file.
3351 2005-03-26  Chris Burdess  <dog@gnu.org>
3353         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3354         required.
3356 2005-03-13  Michael Koch  <konqueror@gmx.de>
3358         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3360 2005-03-11  Chris Burdess  <dog@gnu.org>
3362         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3363         warnings.
3365 2005-02-27  Chris Burdess  <dog@gnu.org>
3367         * gnu/xml/aelfred2/JAXPFactory.java,
3368         gnu/xml/aelfred2/SAXDriver.java,
3369         gnu/xml/aelfred2/XmlParser.java,
3370         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3371         formatting conventions. Replaced arrays of Object with struct-like
3372         classes for easier maintainability. Made SAXDriver.stringInterning
3373         package private to allow access from XmlParser inside the loop without
3374         a method call overhead.
3376 2005-03-11  Chris Burdess  <dog@gnu.org>
3378         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3379         warnings.
3381 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
3383         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
3384         settings to sub Makefiles.
3385         (GCJH, ZIP): Prefix with top_builddir.
3386         * configure: Rebuild.
3387         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3388         * external/w3c_dom/Makefile.in: Rebuild.
3389         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3390         * external/sax/Makefile.in: Rebuild.
3392 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3394         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3395         libsocket to the libraries to link for Solaris.
3397 2005-03-28  Per Bothner  <per@bothner.com>
3399         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3400         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3402 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
3404         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3405         to fix a ONESTEP fallout.
3406         * Makefile.in: Regenerate.
3408 2005-03-25  Mike Stump  <mrs@apple.com>
3410         * configure.ac: Fix ZIP and GCJH at configure time to absolute
3411         paths like we do for the compiler, as we use it in external/sax
3412         and it doesn't get MULTIBUILDTOP right when multilibing.
3414 2005-03-24  Anthony Green  <green@redhat.com>
3416         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3417         -p option.
3418         (usage): Add [LIBDIR] to help output.
3419         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3420         * Makefile.am (AM_CXXFLAGS): Define
3421         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3422         (db_pathtail): New macro.
3424 2005-03-24  Tom Tromey  <tromey@redhat.com>
3426         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3427         add sax and w3c libraries.
3428         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3429         libw3c-gcj.la.
3430         * external/w3c_dom/Makefile.in: Rebuilt.
3431         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3432         AM_GCJFLAGS.
3433         (libw3c_gcj_la_LDFLAGS): New variable.
3434         (noinst_LTLIBRARIES): Renamed.
3435         * external/sax/Makefile.in: Rebuilt.
3436         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3437         AM_GCJFLAGS.
3438         (libsax_gcj_la_LDFLAGS): New variable.
3439         (noinst_LTLIBRARIES): Renamed.
3441 2005-03-23  Tom Tromey  <tromey@redhat.com>
3443         * Makefile.in: Rebuilt.
3444         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3445         (libgcj0_convenience_la_SOURCES): Don't include
3446         gnu_xml_source_files.
3447         (libgcj0_convenience_la_LIBADD): New variable.
3448         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3449         (all_java_source_files): javax_imageio_source_files,
3450         javax_xml_source_files, and gnu_java_beans_source_files.
3451         ($(gnu_xml_source_files:.java=.lo)): Removed target.
3452         (gnu-xml.lo): New target.
3453         (javax-imageio.lo): Likewise.
3454         (javax-xml.lo): Likewise.
3455         (gnu-java-beans.lo): Likewise.
3456         (gnu_java_beans_source_files): New variable.
3457         (javax_imageio_source_files): Likewise.
3458         (javax_xml_source_files): Likewise.
3459         (javax_source_files): Moved files to other variable.
3460         (awt_java_source_files): Likewise.
3461         (ordinary_java_source_files): Added BootClassLoader.java.
3462         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3463         not system class loader.
3464         (initBootLoader): New method.
3465         (loadClass): Search bootLoader.
3466         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3467         boot loader, not system class loader.
3468         (_Jv_UnregisterInitiatingLoader): Likewise.
3469         (_Jv_FindClass): Likewise.  Ensure entries in
3470         bootstrap_class_list are unique.
3471         * java/lang/natClass.cc (getClassLoader): Don't special case
3472         system class loader.
3473         * java/lang/VMClassLoader.java (bootLoader): New field.
3474         (getResource): Use bootLoader.
3475         (getResources): Likewise.
3476         (initBootLoader): Declare.
3477         * gnu/gcj/runtime/BootClassLoader.java: New file.
3478         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3479         (EMPTY_ENUMERATION): Now package-private.
3480         * external/w3c_com/Makefile.in: Rebuilt.
3481         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3482         (w3c.jar): New target.
3483         (classes.stamp): Updated.
3484         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3485         Changed name of library.
3486         (libw3c_gcj_la_SOURCES): New variable.
3487         (libw3c_gcj_la_GCJFLAGS): Likewise.
3488         (source_files): Renamed from lib3c_convenience_la_SOURCES.
3489         * external/sax/Makefile.in: Rebuilt.
3490         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3491         (sax.jar): New target.
3492         (classes.stamp): Updated.
3493         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3494         Changed name of library.
3495         (libsax_gcj_la_SOURCES): New variable.
3496         (libsax_gcj_la_GCJFLAGS): Likewise.
3497         (source_files): Renamed from libsax_convenience_la_SOURCES.
3498         * stacktrace.cc (non_system_trace_fn): Don't look at system class
3499         loader.
3500         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3501         loader.
3502         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3504 2005-03-23  Sven de Marothy  <sven@physto.se>
3506         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3507         PR libgcj/11085:
3508         * java/util/Calendar.java
3509         (set): Use starting day of week when one is needed if none is given.
3510         * java/text/SimpleDateFormat.java
3511         (parse): Handle 1-12 and 1-24 timestamps correctly.
3512         * java/util/GregorianCalendar.java
3513         (computeTime, computeFields): HOUR should be in 0-11 format.
3514         (nonLeniencyCheck): Adjust leniency checking to that fact.
3515         (getLinearDay): Should be private.
3517 2005-03-23  Tom Tromey  <tromey@redhat.com>
3519         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3520         (_Jv_CheckABIVersion): Use it.
3522 2005-03-22  Mike Stump  <mrs@apple.com>
3524         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3526         * include/posix.h: .dylib is used on all Apple MACH platforms.
3527         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3529 2005-03-22  Tom Tromey  <tromey@redhat.com>
3531         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3533 2005-03-21  Tom Tromey  <tromey@redhat.com>
3535         * java/lang/VMCompiler.java (static block): Also catch
3536         BufferUnderflowException.
3538 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
3540         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
3541         set tool_include_dir.  In all substitutions, leave $(gcc_version)
3542         to be expanded by the Makefile.
3543         * aclocal.m4, configure: Regenerate.
3544         * Makefile.am: Set gcc_version.  Replace all uses of
3545         @gcc_version@ with $(gcc_version).
3546         * external/Makefile.am, external/sax/Makefile.am
3547         * external/w3c_dom/Makefile.am, gcj/Makefile.am
3548         * testsuite/Makefile.am: Set gcc_version.
3549         * include/Makefile.am: Set gcc_version and tool_include_dir.
3550         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3551         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3552         * testsuite/Makefile.in: Regenerate.
3554 2005-03-17  Andrew Haley  <aph@redhat.com>
3556         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3557         arg: klass.
3558         Pass klass to _Jv_StackTrace::GetClassContext().
3559         * java/lang/ClassLoader.java (getParent): Pass class to
3560         VMSecurityManager.getClassContext()
3561         (getSystemClassLoader): Likewise.
3562         * java/lang/Package.java (getPackage): Likewise.
3563         (getPackages): Likewise.
3564         * java/lang/SecurityManager.java (getClassContext): Likewise.
3565         (currentClassLoader): Likewise.
3566         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3567         (currentClassLoader) Add new arg: caller.
3568         Pass caller to VMSecurityManager.getClassContext.
3570         * stacktrace.cc (GetClassContext): Correct calculation of
3571         jframe_count.
3573         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3574         im->source_file_name.
3576 2005-03-16  Andrew Haley  <aph@redhat.com>
3578         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3580 2005-03-16  Tom Tromey  <tromey@redhat.com>
3582         * link.cc (ensure_class_linked): Removed #ifdef.
3583         (print_class_loaded): Likewise.
3584         (wait_for_state): Likewise.
3585         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3586         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3587         * include/java-interp.h: ... here.
3589 2005-03-16  Tom Tromey  <tromey@redhat.com>
3591         * gnu/java/lang/MainThread.java (run): Load main class using
3592         system class loader.
3594 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
3596         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3597         lgcc_s to the libraries to link for Darwin.
3599 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
3601         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3602         interpreter-specific code with #ifdef INTERPRETER.
3603         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3604         (_Jv_StackTrace::FillInFrameInfo): Likewise.
3605         (_Jv_StackTrace::non_system_trace_fn): Likewise.
3606         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3607         #ifdef INTERPRETER. Also protect declarations that use it.
3608         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3609         #ifdef INTERPRETER block.
3611 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
3613         PR libgcj/20251
3614         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3615         * Makefile.in: Rebuilt.
3617 2005-03-15  David Daney  <ddaney@avtrex.com>
3619         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3620         count == 0 case.
3622 2005-03-15  David Daney  <ddaney@avtrex.com>
3624         * java/io/BufferedInputStream.java (available): Use 'in' instead
3625         of 'super' for underlying stream access.
3626         (close): Ditto.
3627         (read(byte[], int, int)): Ditto.
3628         (refill): Ditto.
3629         (skip): Call skip on underlying stream when possible.
3631 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
3633         * stacktrace.cc (GetCallerInfo): Return nothing in case of
3634         SJLJ_EXCEPTIONS is defined.
3636 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
3638         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3639         tests.
3641 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
3643         * testsuite/lib/libjava.exp (libjava_init): Use the same target
3644         check for Darwin.
3645         (libjava_arguments): Likewise.
3647         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3648         (gcj_jni_test_one): Likewise.
3649         (gcj_jni_invocation_compile_c_to_binary): Likewise.
3650         Add flags to keep the Darwin linker quiet.
3651         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3652         Add -liconv for Darwin.
3654 2005-03-11  Tom Tromey  <tromey@redhat.com>
3656         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3657         (_Jv_CheckABIVersion): Use it.
3659 2005-03-11  Tom Tromey  <tromey@redhat.com>
3661         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3662         (usage): Document '-p'.
3663         * Makefile.in: Rebuilt.
3664         * Makefile.am (dbexecdir): New variable.
3665         (db_name): Likewise.
3666         (dbexec_DATA): Likewise.
3667         ($(db_name)): New target.
3668         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3669         * java/lang/natRuntime.cc (insertSystemProperties): Set default
3670         system database.
3672 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
3674         * exception.cc: Remove stray MethodRef.h include.
3675         * java/lang/natClass.cc: Likewise.
3676         * gnu/gcj/runtime/MethodRef.java: Removed.
3677         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3678         gnu/gcj/runtime/natStackTrace.cc: Really removed.
3679         * java/lang/natRuntime.cc (_load): Remove unsed variable.
3680         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3681         * Makefile.in: Rebuilt.
3683 2005-03-10  Tom Tromey  <tromey@redhat.com>
3685         * Makefile.in: Rebuilt.
3686         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3688 2005-03-10  Chris Burdess  <dog@bluezoo.org>
3690         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3691         not currently parsing the DTD.
3693 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
3695         New Stack Trace infrastructure.
3696         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3697         (gnu/gcj/runtime/StackTrace.java): Removed.
3698         (ordinary_java_source_files): Remove obsolete files.
3699         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3700         * configure.host (fallback_backtrace_h): Set backtrace header
3701         for mingw and cygwin targets.
3702         * configure.ac: Make symlink for fallback backtrace headers.
3703         * Makefile.in, configure: Rebuilt.
3704         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3705         Read 'LineNumberTable' attribute.
3706         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3707         attribute.
3708         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3709         table fields.
3710         * exception.cc: Remove unused include.
3711         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3712         (SAVE_PC): New macro. Save current PC in the interpreter frame.
3713         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3714         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3715         table to direct threaded instruction values.
3716         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3717         (_Jv_InterpMethod::run): No longer member function. All
3718         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3719         is made or where an instruction could throw.
3720         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3721         in line_table.
3722         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3723         (catch_fpe): Likewise.
3724         * stacktrace.cc: New file. Stack trace code now here.
3725         * gnu/gcj/runtime/MethodRef.java:
3726         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3727         calls addr2line to look up PC addresses in a given binary or shared
3728         library.
3729         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3730         gnu/gcj/runtime/natStackTrace.cc: Removed.
3731         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3732         this function name is specially recognised by the stack trace code
3733         and shouldn't be changed.
3734         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3735         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
3736         (_Jv_InterpMethod::run): Update declaration.
3737         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3738         friends.
3739         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3740         * include/java-stack.h: New file. Declarations for stack tracing.
3741         * include/jvm.h (_Jv_Frame_info): Removed.
3742         * java/lang/Class.h: Update friend declarations.
3743         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3744         exception message.
3745         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3746         (getStackTrace): Now native.
3747         (data): New RawDataManaged field.
3748         * java/lang/natClass.cc: Update includes.
3749         (forName): Use _Jv_StackTrace::GetCallingClass for
3750         calling-classloader check.
3751         (getClassLoader): Likewise.
3752         * java/lang/natRuntime.cc: Update includes.
3753         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3754         * java/lang/natVMSecurityManager.cc: Update includes.
3755         (getClassContext): Use _Jv_StackTrace::GetClassContext.
3756         * java/lang/natVMThrowable.cc: New file. Native methods for
3757         VMThrowable.
3758         * java/lang/reflect/natArray.cc: Update includes.
3759         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3760         accessibility check.
3761         * java/lang/reflect/natConstructor.cc: Update includes.
3762         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3763         accessibility check.
3764         * java/lang/reflect/natField.cc: Update includes.
3765         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3766         accessibility check.
3767         * java/lang/reflect/natMethod.cc: Update includes.
3768         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3769         accessibility check.
3770         * java/util/natResourceBundle.cc: Update includes.
3771         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3772         * java/util/logging/natLogger.cc: Update includes. Use
3773         _Jv_StackTrace::GetCallerInfo to get call-site info.
3774         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3775         implementation.
3776         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3777         implementation.
3779 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3781         * testsuite/libjava.compile/PR20312.java: New file.
3782         * testsuite/libjava.compile/PR20312.xfail: Likewise.
3783         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3785 2005-03-09  Andrew Haley  <aph@redhat.com>
3787         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3788         New.
3789         (smallTransferTo): New.
3790         (transferFrom): Loop around smallTransferFrom, copying pageSize
3791         bytes each time.
3792         (transferTo): Likewise.
3794 2005-03-09  David Daney  <ddaney@avtrex.com>
3796         PR libgcj/20389
3797         Merge BufferedInputStream from GNU Classpath.
3798         * java/io/BufferedInputStream.java (marktarget): Field removed.
3799         (CHUNKSIZE): Field removed.
3800         (bufferSize): New field.
3801         (BufferedInputStream): Initialize fields.
3802         (close): Invalidate mark and buffer indexes.
3803         (mark):  Rewritten.
3804         (read()): Move mark handling code to refill.
3805         (read(byte[], int, int)): Ditto.
3806         (skip): Ditto and simplify EOF testing.
3807         (refill): Rewritten.
3808         * java/io/InputStreamReader.java (refill): Removed mark and reset
3809         of internal BufferedInputStream.
3811 2005-03-09  Tom Tromey  <tromey@redhat.com>
3813         * java/lang/natVMClassLoader.cc (defineClass): Reference
3814         'systemClassLoader' field directly.
3815         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3816         field directly.
3817         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3818         Reference 'systemClassLoader' field directly.
3819         (_Jv_UnregisterInitiatingLoader): Likewise.
3820         (_Jv_FindClass): Likewise.
3822 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
3824         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3826         * java/lang/mprec.h: Remove commented headers. Fix comment to match
3827         the file in GNU Classpath style.
3829 2005-03-09  Tom Tromey  <tromey@redhat.com>
3831         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3832         (toString): Synchronize.
3834 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
3836         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3837         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3839 2005-03-07  Tom Tromey  <tromey@redhat.com>
3841         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3842         (usage): Document '-f'.
3844 2005-03-07  Tom Tromey  <tromey@redhat.com>
3846         * java/lang/VMCompiler.java (md5Digest): New field.
3847         (compileClass): Clone md5Digest instead of looking up a new one.
3849 2005-03-07  Tom Tromey  <tromey@redhat.com>
3851         PR java/20215:
3852         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3853         * link.cc (find_field_helper): Added 'type' argument.
3854         (find_field): Updated.
3856 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
3857         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3858         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3859         throw UnsupportedOperationException, fixed comments.
3860         (setFont, setForeground): Fixed comments.
3861         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3862         return type to boolean.
3863         (getNextEvent): Fixed javadocs.
3864         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3865         (nativeQueueEmpty): Removed unused code.
3866         (iterateNativeQueue): Removed outer loop.
3868 2005-03-06  Roger Sayle  <roger@eyesopen.com>
3870         PR libgcj/20155
3871         * Makefile.am (libgcj0_convenience.la): Revert last change.
3872         * Makefile.in: Regenerate.
3874 2005-03-05  Anthony Green  <green@redhat.com>
3876         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3877         classpath_jawt_lock, classpath_jawt_unlock): New functions.
3878         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3879         (_Jv_GetDrawingSurface): Set visualID.
3880         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3881         (JAWT_GetAWT): Set Lock and Unlock.
3882         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3883         visualID.
3884         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3885         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3886         JAWT_LOCK_SURFACE_CHANGED): New macros.
3887         (struct _JAWT): Add Lock and Unlock.
3889 2005-03-05  Roger Sayle  <roger@eyesopen.com>
3890             Alexandre Oliva  <aoliva@redhat.com>
3891             Kelley Cook  <kcook@gcc.gnu.org>
3893         PR libgcj/20155
3894         * Makefile.am (libgcj0_convenience.la): New rule to create a file
3895         of the object files to link to avoid exceeding the command line
3896         length limits on some platforms.
3897         (clean-local): Clean up objectlist files.
3898         * Makefile.in: Regenerate.
3900 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
3902         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3903         spec_case. Initialize pointer mlo.
3905         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3906         delta.
3908         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3910         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3911         and k.
3913         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3914         uninitialized variable z.
3916         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3917         possible unused variables.
3919         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3921         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3923 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3925         PR libgcj/20292
3926         * testsuite/libjava.jni/jni.exp
3927         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3928         flags.
3929         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3931 2005-02-23  David Daney  <ddaney@avtrex.com>
3933         * configure.host: Don't use -mxgot for MIPS builds.
3935 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
3937         PR bootstrap/17383
3938         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3939         (COMPPATH): Removed.
3940         (ZIP, GCJH): Replace it with ../$(host_subdir).
3941         (built_gcc_dir): Add $(host_subdir).
3942         * configure: Regenerate.
3943         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3944         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3945         external/w3c_dom/Makefile.in: Regenerate.
3947 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
3949         * java/awt/font/TextAttribute.java: changed names to lower case;
3950         (readResolve): implemented.
3951         Added doc comments all over.
3953 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3955         PR libgcj/16923
3956         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
3957         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
3958         value.  Move argument parsing code to prims.cc.
3959         * prims.cc (no_properties): Remove.
3960         (_Jv_Compiler_Properties): Initialize to NULL.
3961         (_Jv_Properties_Count): Initialize to 0.
3962         (parse_verbose_args): New function.
3963         (parse_init_args): New function.
3964         (_Jv_CreateJavaVM): Call parse_init_args.
3965         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3966         * gcj/cni.h (JvVMOption): New struct.
3967         (JvVMInitArgs): Likewise.
3968         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3969         void*.
3970         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3971         (_Jv_VMInitArgs): Likewise.
3972         * include/java-props.h (_Jv_Properties_Count): Declare.
3973         * java/lang/natRuntime.cc (insertSystemProperties): Use
3974         _Jv_Properties_Count in for loop exit condition.
3975         * testsuite/libjava.jni/jni.exp
3976         (gcj_invocation_compile_c_to_binary): New procedure.
3977         (gcj_invocation_test_one): Likewise.
3978         (gcj_jni_run): Run JNI invocation API tests.
3979         * testsuite/libjava.jni/invocation/PR16923.c,
3980         testsuite/libjava.jni/invocation/PR16923.java,
3981         testsuite/libjava.jni/invocation/PR16923.out: New test.
3983 2005-02-23  Michael Koch  <konqueror@gmx.de>
3985         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3986         * Makefile.in: Regenerated.
3988 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
3990         * gnu/java/nio/ChannelReader: Fixed comments.
3992 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
3994         * java/nio/channels/Channels: Added FIXMEs about
3995         stub method implementation.
3996         (newReader): Implemented.
3997         * gnu/java/nio/ChannelReader: New class.
3999 2005-02-23  Michael Koch  <konqueror@gmx.de>
4001         * java/text/SimpleDateFormat.java:
4002         Removed unused import.
4004 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4006         PR libgcj/20029:
4007         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
4008         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
4009         * Makefile.in: Regenerate.
4010         * configure.ac: Check for libXtst.
4011         * configure: Regenerate.
4013 2005-02-22  Mark Wielaard  <address@bogus.example.com>
4015         * java/security/AlgorithmParameterGenerator.java (getInstance):
4016         Mention provider when throwing NoSuchProviderException.
4017         * java/security/AlgorithmParameters.java (getInstance): Likewise.
4018         * java/security/KeyFactory.java (getInstance): Likewise.
4019         * java/security/KeyStore.java (getInstance): Likewise.
4020         * java/security/SecureRandom.java (getInstance): Likewise.
4021         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
4023 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4025         * java/lang/reflect/Proxy.java,
4026         java/net/URL.java,
4027         java/security/SecureRandom.java,
4028         java/util/Timer.java,
4029         java/util/prefs/AbstractPreferences.java:
4030         Don't catch java.lang.ThreadDeath.
4032 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
4034         * java/awt/font/TransformAttribute.java,
4035         (TransformAttribute(AffineTransform)): throw
4036         IllegalArgumentException for null transform.
4037         (getTransform): return a copy of transform.
4038         Added doc comments to all.
4040 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4042         * java/io/Externalizable.java,
4043         java/io/Serializable.java
4044         (serialVersionUID): Removed.
4045         * java/rmi/server/RemoteObject.java,
4046         java/rmi/server/UID.java
4047         (serialVersionUID): Made private.
4048         * java/rmi/server/RemoteRef.java,
4049         java/rmi/server/ServerRef.java
4050         (serialVersionUID): Set proper value.
4051         * java/security/interfaces/DSAPrivateKey.java,
4052         java/security/interfaces/DSAPublicKey.java,
4053         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4054         java/security/interfaces/RSAPrivateCrtKey.java,
4055         java/security/interfaces/RSAPrivateKey.java,
4056         java/security/interfaces/RSAPublicKey.java,
4057         javax/crypto/SecretKey.java
4058         (serialVersionUID): Added.
4060 2005-02-22  Tom Tromey  <tromey@redhat.com>
4062         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
4064 2005-02-22  Tom Tromey  <tromey@redhat.com>
4066         PR java/20056:
4067         * verify.cc (type::EITHER): New constant.
4068         (check_field_constant): Use it.
4069         (type::compatible): Handle it.
4071 2005-02-22  Michael Koch  <konqueror@gmx.de>
4073         * gnu/java/security/PolicyFile.java,
4074         gnu/java/security/pkcs/PKCS7SignedData.java,
4075         gnu/java/security/pkcs/SignerInfo.java:
4076         Fixed copyright header.
4078 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4080         * java/beans/PropertyDescriptor.java
4081         (PropertyDescriptor,setReadMethod): Set propertyType.
4083 2005-02-22  Michael Koch  <konqueror@gmx.de>
4085         * java/nio/DirectByteBufferImpl.java
4086         (owner): Fixed formatting of javadoc.
4087         * java/text/DateFormat.java
4088         (getAvailableLocales): Fixed formatting.
4089         * java/text/SimpleDateFormat.java:
4090         Fixed formatting and import statement order.
4091         * java/util/Calendar.java
4092         (Calendar): Fixed javadoc to be HTML compliant.
4093         * java/util/SimpleTimeZone.java:
4094         Fixed javadocs.
4096 2005-02-22  Roman Kennke <roman@ontographics.com>
4098         * javax/swing/plaf/basic/BasicLookAndFeel.java
4099         (initComponentDefaults): Fixed Button left and right margin.
4101 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4103         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
4104         empty Runnable.
4106         PR libgcj/17952:
4107         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4108         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4109         (getWidth): New method.
4110         (getHeight): Likewise.
4111         (create): Remove width, height and insets parameters.  Move size
4112         setup ...
4113         (realize_cb): ... here.  New function.
4114         (connectSignals): Connect realize_cb.
4115         (request_frame_extents): Remove FIXME.  Move
4116         postInsetsChangedEvent lookup ...
4117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
4118         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
4119         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
4120         jmethodID.
4121         (windowGetWidthID): Likewise.
4122         (windowGetHeightID): Likewise.
4124 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4126         PR libgcj/19842
4127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4128         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
4130 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
4132         Merge serialization from GNU Classpath.
4133         * gcj/method.h: Add missing #includes.
4134         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
4135         primitive class IDs on the stream here...
4136         (resolveClass): ...not here.
4137         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
4138         fields.
4139         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
4140         setLongNative, setIntNative, setShortNative, setCharNative,
4141         setByteNative, setBooleanNative, setObjectNative): New native methods.
4142         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
4143         setLongNative, setIntNative, setShortNative, setCharNative,
4144         setByteNative, setBooleanNative, setObjectNative): Implement them.
4145         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
4146         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
4147         the constructor here.
4148         (callConstructor): Removed.
4149         (getCallersClassLoader): Removed.
4150         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
4151         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
4152         to control whether setting final field values is permitted. Call
4153         getAddr() with checkFinal parameter instead of setAddr().
4154         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
4155         only if not done already.
4156         (getAddr): Add checkFinal parameter. Do the final field check only if
4157         checkFinal is set.
4158         (setAddr): Removed.
4160 2005-02-21  Mark Wielaard  <mark@klomp.org>
4162         # Fixes bug #11957
4163         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
4164         twice.
4166 2005-02-21  Mark Wielaard  <mark@klomp.org>
4168         Fixes bug #11618.
4169         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
4170         without a super class and us ObjectStreamClass.lookupForClassObject().
4171         (resolveClass): Check for primitive types.
4172         (lookupClass): Return null when argument is null.
4174 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4176         * java/io/ObjectInputStream.java
4177         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
4179 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4181         * java/io/ObjectOutputStream.java
4182         (writeObject, callWriteMethod): Replaced reflection with accessing
4183         cached info in ObjectStreamClass.
4184         (getMethod): Removed.
4185         * java/io/ObjectStreamClass.java
4186         (findMethod): Added check to make sure the method found has the
4187         right modifiers.
4188         (cacheMethods): Added writeReplace and writeObject methods.
4189         (setFlags): Look at new writeObjectMethod field instead of doing
4190         reflection again.
4191         (writeReplaceMethod): New field.
4192         (writeObjectMethod): New field.
4194 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
4195         Jeroen Frijters  <jeroen@frijters.net>
4197         * java/io/ObjectInputStream.java
4198         (newObject): Changed prototype. Get a constructor reflect object
4199         directly.
4200         (callConstructor): Removed.
4201         (allocateObject): Changed prototype.
4202         (readClassDescriptor): Build the constructor reflection directly.
4203         (readObject): Invoke newObject using the new prototype.
4205         * java/io/ObjectStreamClass.java
4206         (firstNonSerializableParent): Removed.
4207         (firstNonSerializableParentConstructor): Added.
4209 2005-02-21  Mark Wielaard  <mark@klomp.org>
4211         * gnu/java/locale/LocaleInformation_en.java: Extend
4212         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
4214 2005-02-21  Mark Wielaard  <mark@klomp.org>
4216         * java/text/SimpleDateFormat.java
4217         (SimpleDateFormat(String, DateFormatSymbols)): Throw
4218         NullPointerException when formatData is null.
4220 2005-02-21  Mark Wielaard  <mark@klomp.org>
4222         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
4223         taking dstSavings into account.
4225 2005-02-21  Sven de Marothy <sven@physto.se>
4227         * java/text/SimpleDateFormat.java,
4228         (parse): Set correct DST_OFFSET to the correct value.
4230 2005-02-21  Mark Wielaard  <mark@klomp.org>
4232         * java/util/SimpleTimeZone.java (checkRule): Throw
4233         IllegalArgumentException when month out of range.
4235 2005-02-21  Sven de Marothy  <sven@physto.se>
4237         * java/util/GregorianCalendar.java,
4238         (add): Don't set fields directly anymore. Use set()
4240 2005-02-21  Mark Wielaard  <mark@klomp.org>
4242         * java/text/SimpleDateFormat.java (CompiledField.toString):
4243         Use StringBuffer, not StringBuilder.
4244         (toString): Likewise.
4246 2005-02-21  Sven de Marothy  <sven@physto.se>
4248         * java/util/Calendar.java
4249         (clear): Dates should clear to local time.
4250         * java/util/GregorianCalendar.java
4251         (computeTime): Fix priority problem with DAY_OF_WEEK,
4252         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
4254 2005-02-21  Sven de Marothy  <sven@physto.se>
4256         * java/util/Calendar.java
4257         (Calendar): Constructor should clear fields.
4259 2005-02-21  Sven de Marothy  <sven@physto.se>
4261         * java/text/SimpleDateFormat.java
4262         (parse): Tweak handling of 2-year dates
4263         * java/util/Calendar.java
4264         (clear): Clear fields to correct value.
4265         * java/util/GregorianCalendar.java
4266         (computeTime): Correct handling of time zones.
4267         Correct field minimum values.
4269 2005-02-21  Sven de Marothy  <sven@physto.se>
4271         * java/util/Calendar.java
4272         (set) Invalidate all fields on first call to set().
4274 2005-02-21  Sven de Marothy  <sven@physto.se>
4276         * java/util/GregorianCalendar.java
4277         (computeTime): Fixed handling of time zones.
4279 2005-02-21  Sven de Marothy  <sven@physto.se>
4281         * java/util/Calendar.java
4282         (clear): Set values to Epoch instead of zero.
4283         (set): Set isSet to the relevant field pattern instead of just
4284         the field.
4285         * java/util/GregorianCalendar.java
4286         (getBundle): Removed.
4287         (getDayOfYear): Removed.
4288         (getFirstDayOfMonth): New private method.
4289         (nonLeniencyCheck): New private method.
4290         (computeTime): Correct handling of insufficient data.
4292 2005-02-21  Sven de Marothy <sven@physto.se>
4294         * java/util/Calendar.java: Invalidate ERA field on setting
4295         the YEAR.
4296         * java/util/SimpleTimeZone.java:
4297         (getDaysInMonth): Reimplemented.
4298         * java/util/GregorianCalendar.java:
4299         (getLinearTime): Removed.
4300         (isLeapYear(int,boolean)): Removed.
4301         (before(), after()): Removed.
4302         (computeTime): Reimplemented.
4304 2005-02-21  Sven de Marothy <sven@physto.se>
4306         * java/util/Calendar.java: Reformatted.
4307         * java/util/GregorianCalendar.java: Reformatted.
4308         * java/util/SimpleTimeZone.java: Reformatted.
4310 2005-02-21  Sven de Marothy <sven@physto.se>
4312         * java/util/GregorianCalendar.java
4313         (GregorianCalendar): Update fields in the constructor
4315 2005-02-21  Noa Resare  <noa@resare.com>
4317         * java/util/Calendar.java (explicitDSTOffset): New instance field.
4318         (set(int,int)): Set and use new field.
4319         (set(int,int,int)): Check new field.
4321 2005-02-21  Noa Resare  <address@hidden>
4323         * java/util/Calendar.java(set):
4324         Fix for DST related regression.
4326 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4328         * java/util/Calendar.java
4329         (setTimeInMillis): Added call to clear, removed computeFields call.
4330         * java/util/Date.java
4331         (Date(int,int,int,int,int,int)): Removed workaround for
4332         GregorianCalendar bug.
4333         * java/util/GregorianCalendar.java
4334         (GregorianCalendar): Chained all constructors to a (new)
4335         common constructor.
4336         (computeTime): Fixed support for lenient month treatment.
4337         (getLinearDay): Return long instead of int.
4338         (calculateDay): Added fields argument and changed day argument
4339         to long.
4341 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4343         * java/text/SimpleDateFormat.java
4344         Lots of documentation updates.
4345         (readObject(java.io.ObjectInputStream)): Wraps
4346         IllegalArgumentException as specified.
4347         (compileFormat(String)): Uses standardChars
4348         rather than the local pattern characters.
4349         Throws IllegalArgumentException rather than
4350         storing a -1 field.
4351         (toString()): Extended to include all variables
4352         in a better format.
4353         (translateLocalizedPattern(String, String, String)):
4354         Renamed to better define the use of this method.
4356 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4358         * java/text/DateFormat.java:
4359         Documented pattern character offset constants and
4360         added new ones.
4361         (Field): Added new static fields for new pattern chars.
4362         * java/text/SimpleDateFormat.java:
4363         (CompiledField): Changed name of FieldSizePair class
4364         to CompiledField after adding the character as an
4365         attribute.  Changed fields to private and added
4366         accessors to give encapsulation.
4367         (CompiledField.CompiledField(int,int,char)): Extended
4368         with character field.
4369         (CompiledField.getField()): New accessor method.
4370         (CompiledField.getSize()): New acceessor method.
4371         (CompiledField.getCharacter()): New accessor method.
4372         (CompiledField.toString()): Added primarily for debugging.
4373         (standardChars): Now uses extended 24 character sequence.
4374         (compileFormat(String)): Changed to use CompiledField.
4375         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
4376         java.text.FieldPosition)): Changed to use CompiledField.
4377         New handler for RFC 822 timezones added.
4379 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4381         * java/text/SimpleDateFormat.java:
4382         (parse(String, java.text.ParsePosition)):
4383         Changed 'E' and 'M' cases to use both
4384         short and long names.  Extended 'z'
4385         case to also handle 'Z', and deal
4386         with simple GMT offsets such as +0100.
4387         (computeOffset(String)): New private method,
4388         which converts a GMT offset specification,
4389         such as GMT-0500 to a numeric offset in
4390         milliseconds.
4391         * java/util/TimeZone.java:
4392         (timezones()): Added "CEST", the daylight
4393         savings time version of "CET", or Central
4394         European Time.
4396 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4398         * java/text/SimpleDateFormat.java:
4399         (parse): Set the DST offset to 0 when parsing
4400         GMT offset timezones.
4402 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4404         * java/text/SimpleDateFormat.java:
4405         (parse): Use offset to set ZONE_OFFSET
4406         rather than the DST_OFFSET, so that
4407         GMT offset timezones change the right
4408         one.
4410 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4412         * java/text/SimpleDateFormat.java:
4413         (getDateFormatSymbols()): return a copy
4414         (setDateFormatSymbols(java.text.DateFormatSymbols)):
4415         throw exception on null input
4416         (clone()): implemented to clone
4417         internal fields
4419 2005-02-21  Sven de Marothy <sven@physto.se>
4421         * java/text/SimpleDateFormat.java
4422         (parse): comparison should be case-insensitive, ignore null
4423         strings.
4425 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
4427         * gnu/java/beans/IntrospectionIncubator.java
4428         (addMethod) Reverts the patch that ntroduced a regression (see bug
4429         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
4431 2005-02-21  Michael Koch  <konqueror@gmx.de>
4433         * java/awt/Checkbox.java
4434         (next_checkbox_number): New static variable.
4435         (generateName): New method.
4436         (getUniqueLong): Likewise.
4437         * java/awt/Window.java
4438         (next_window_number): New static variable.
4439         (generateName): New method.
4440         (getUniqueLong): Likewise.
4442 2005-02-21  Mark Wielaard  <mark@klomp.org>
4444         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4445         exists.
4447 2005-02-21  Andrew Haley  <aph@redhat.com>
4449         * Makefile.in: Rebuilt.
4450         * Makefile.am (nat_source_files): Added natLogger.cc.
4451         * java/util/logging/natLogger.cc: New file.
4452         * java/util/logging/Logger.java (getCallerStackFrame): Now
4453         native.
4455 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
4457         * Makefile.am (all_property_files): Remove left over.
4458         (classes.stamp): Add stamp for the ONESTEP build, also known as
4459         --enable-libgcj-multifile.
4460         * Makefile.in: Regenerated.
4462 2005-02-21  Michael Koch  <konqueror@gmx.de>
4464         * java/awt/Button.java,
4465         java/awt/Container.java,
4466         java/awt/Font.java,
4467         java/awt/Frame.java,
4468         java/text/CollationElementIterator.java,
4469         java/text/RuleBasedCollator.java,
4470         java/util/PropertyPermission.java:
4471         Fixed formatting issues all over.
4473 2005-02-21  Mark Wielaard  <mark@klomp.org>
4475         * java/io/FileDescriptor.java (sync): Add real exception to
4476         SyncFailedException.
4478 2005-02-21  Michael Koch  <konqueror@gmx.de>
4480         * java/io/InputStreamReader.java:
4481         Fixed @author tag.
4483 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
4485         PR libgcj/19728:
4486         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4488 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
4490         * libraries/javalib/gnu/regexp/RE.java,
4491         libraries/javalib/java/io/ObjectInputStream.java,
4492         libraries/javalib/java/security/AllPermission.java,
4493         libraries/javalib/java/security/BasicPermission.java,
4494         libraries/javalib/java/security/Permissions.java,
4495         libraries/javalib/java/text/MessageFormat.java:
4496         Made 'inner' classes real public static inner classes,
4497         and made them final where possible, or removed them
4498         where unused.
4500 2005-02-20  Michael Koch  <konqueror@gmx.de>
4502         * gnu/java/text/FormatCharacterIterator.java:
4503         Removed redundant modifiers.
4505 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4507         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4508         snprintf.
4510 2005-02-19  Michael Koch  <konqueror@gmx.de>
4512         * Makefile.am: Added new files in gnu/java/beans and
4513         java/beans/XMLDecoder.java.
4514         * Makefile.in: Regenerated.
4516 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
4518         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4519         assignment behavior by using java.lang.reflect.Array.set()
4520         directly.
4522 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
4524         * gnu/java/beans/EmptyBeanInfo.java,
4525         gnu/java/beans/info/ComponentBeanInfo.java:
4526         Removed unused files.
4528 2005-02-19  Robert Schuster <thebohemian@gmx.net>
4530         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4531         of AppletStub for java.beans.Beans.instantiate.
4532         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4533         of AppletContext.
4534         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4535         to be conformant with Javadoc guidelines.
4536         (instantiate): Added two more overloaded variants, reworked user
4537         documentation, fixed exception behavior, fixed behavior when
4538         deserializing null.
4540 2005-02-19  Mark Wielaard  <mark@klomp.org>
4542         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4543         failing methods.
4544         * gnu/java/beans/decoder/DummyContext.java: Likewise.
4546 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
4548         * gnu/java/beans/decoder/AbstractContext.java,
4549         gnu/java/beans/decoder/AbstractCreatableContext.java,
4550         gnu/java/beans/decoder/AbstractElementHandler.java,
4551         gnu/java/beans/decoder/AbstractObjectContext.java,
4552         gnu/java/beans/decoder/ArrayContext.java,
4553         gnu/java/beans/decoder/ArrayHandler.java,
4554         gnu/java/beans/decoder/AssemblyException.java,
4555         gnu/java/beans/decoder/BooleanHandler.java,
4556         gnu/java/beans/decoder/ByteHandler.java,
4557         gnu/java/beans/decoder/CharHandler.java,
4558         gnu/java/beans/decoder/ClassHandler.java,
4559         gnu/java/beans/decoder/ConstructorContext.java,
4560         gnu/java/beans/decoder/Context.java,
4561         gnu/java/beans/decoder/DecoderContext.java,
4562         gnu/java/beans/decoder/DefaultExceptionListener.java,
4563         gnu/java/beans/decoder/DoubleHandler.java,
4564         gnu/java/beans/decoder/DummyContext.java,
4565         gnu/java/beans/decoder/DummyHandler.java,
4566         gnu/java/beans/decoder/ElementHandler.java,
4567         gnu/java/beans/decoder/FloatHandler.java,
4568         gnu/java/beans/decoder/GrowableArrayContext.java,
4569         gnu/java/beans/decoder/IndexContext.java,
4570         gnu/java/beans/decoder/IntHandler.java,
4571         gnu/java/beans/decoder/JavaHandler.java,
4572         gnu/java/beans/decoder/LongHandler.java,
4573         gnu/java/beans/decoder/MethodContext.java,
4574         gnu/java/beans/decoder/MethodFinder.java,
4575         gnu/java/beans/decoder/NullHandler.java,
4576         gnu/java/beans/decoder/ObjectContext.java,
4577         gnu/java/beans/decoder/ObjectHandler.java,
4578         gnu/java/beans/decoder/PersistenceParser.java,
4579         gnu/java/beans/decoder/PropertyContext.java,
4580         gnu/java/beans/decoder/ShortHandler.java,
4581         gnu/java/beans/decoder/SimpleHandler.java,
4582         gnu/java/beans/decoder/StaticMethodContext.java,
4583         gnu/java/beans/decoder/StringHandler.java,
4584         gnu/java/beans/decoder/VoidHandler.java: New class
4585         implementing java.beans.XMLDecoder decoding functionality.
4586         * java/beans/XMLDecoder.java: New class.
4588 2005-02-19  Michael Koch  <konqueror@gmx.de>
4590         * javax/swing/JTextField.java
4591         (notfiyAction): Added javadoc.
4593 2005-02-19  Sven de Marothy  <sven@physto.se>
4595         * javax/swing/SpinnerDateModel.java: Implemented.
4597 2005-02-19  Michael Koch  <konqueror@gmx.de>
4599         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4600         * Makefile.in: Regenerated.
4602 2005-02-19  Michael Koch  <konqueror@gmx.de>
4604         * gnu/java/nio/SelectorImpl.java:
4605         Reworked import statements.
4606         (register): Removed unused code.
4607         * java/nio/channels/Channels.java: Reformatted.
4608         * java/nio/charset/Charset.java: Likewise.
4609         * java/rmi/server/RemoteObject.java
4610         (serialVersionUID): Made private.
4611         * java/rmi/server/UID.java
4612         (serialVersionUID): Likewise.
4614 2005-02-19  Michael Koch  <konqueror@gmx.de>
4616         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4617         gnu/java/net/protocol/ftp/BlockInputStream.java,
4618         gnu/java/net/protocol/ftp/BlockOutputStream.java,
4619         gnu/java/net/protocol/ftp/CompressedInputStream.java,
4620         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4621         gnu/java/net/protocol/ftp/DTPInputStream.java,
4622         gnu/java/net/protocol/ftp/DTP.java,
4623         gnu/java/net/protocol/ftp/DTPOutputStream.java,
4624         gnu/java/net/protocol/ftp/FTPConnection.java,
4625         gnu/java/net/protocol/ftp/FTPException.java,
4626         gnu/java/net/protocol/ftp/FTPResponse.java,
4627         gnu/java/net/protocol/ftp/FTPURLConnection.java,
4628         gnu/java/net/protocol/ftp/Handler.java,
4629         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4630         gnu/java/net/protocol/ftp/StreamInputStream.java,
4631         gnu/java/net/protocol/ftp/StreamOutputStream.java,
4632         gnu/java/net/CRLFInputStream.java,
4633         gnu/java/net/CRLFOutputStream.java,
4634         gnu/java/net/GetLocalHostAction.java,
4635         gnu/java/net/protocol/ftp/package.html: New files.
4636         * Makefile.am: Added new files.
4637         * Makefile.in: Regenerated.
4639 2005-02-18  Tom Tromey  <tromey@redhat.com>
4641         * link.cc (make_vtable): Remove abstract method check.
4642         (append_partial_itable): Likewise.
4644         PR java/20056:
4645         * verify.cc (type::equals): Fixed test.
4646         * testsuite/libjava.lang/PR20056.out: New file.
4647         * testsuite/libjava.lang/PR20056.java: New file.
4649 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
4651         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4652         not the HashEntry. Reported by Jean-Marie White.
4654 2005-02-18  Tom Tromey  <tromey@redhat.com>
4656         PR java/20056:
4657         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4658         * link.cc (has_field_p): New function.
4659         * verify.cc (check_field_constant): Added 'putfield' argument.
4660         (verify_instructions_0): Updated.
4661         (type::equals): New method.
4663 2005-02-18  Anthony Green  <green@redhat.com>
4665         * NEWS: Draft of libgcj NEWS for 4.0.
4667 2005-02-18  Anthony Green  <green@redhat.com>
4669         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4670         architecture names to "i386" for compatibility reasons.  Win32
4671         still uses "x86".
4673 2005-02-18  Anthony Green  <green@redhat.com>
4675         * gij.cc (version): Change year for '--version' to 2005.
4676         * gnu/gcj/convert/Convert.java: Ditto.
4677         * gnu/java/rmi/rmic/RMIC.java: Ditto.
4678         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4680         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4681         recent copyright year in `--version' output.
4683 2005-02-18  Robert Schuster <thebohemian@gmx.net>
4685         * java/nio/charset/Charset.java (forName): Throws
4686         IllegalArgumentException when argument is null
4687         and added documentation.
4689 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4691         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4692         Move the position of the source buffer forward.
4694 2005-02-17  Tom Tromey  <tromey@redhat.com>
4696         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4697         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4698         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4699         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4700         Changed type of second argument.  Rewrote.
4701         (make_vtable): Use it.
4702         (append_partial_itable): Updated.
4703         (layout_vtable_methods): Updated.
4705 2005-02-17  Michael Koch  <konqueror@gmx.de>
4707         * gnu/java/net/PlainSocketImpl.java
4708         (shutdownInput): Added javadoc.
4709         (shutdownOutput): Likewise.
4711 2005-02-17  Michael Koch  <konqueror@gmx.de>
4713         * javax/print/attribute/standard/Chromaticity.java,
4714         javax/print/attribute/standard/Destination.java,
4715         javax/print/attribute/standard/MediaPrintableArea.java,
4716         javax/print/attribute/standard/MediaSize.java: New files.
4717         * Makefile.am: Added new files.
4718         * Makefile.in: Regenerated.
4720 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4721             Michael Koch  <konqueror@gmx.de>
4723         * gnu/java/net/protocol/http/Cookie.java,
4724         gnu/java/net/protocol/http/HTTPConnection.java,
4725         gnu/java/net/protocol/http/HTTPDateFormat.java,
4726         gnu/java/net/protocol/http/Request.java,
4727         gnu/java/nio/PipeImpl.java,
4728         gnu/java/rmi/dgc/DGCImpl.java,
4729         gnu/java/rmi/server/ConnectionRunnerPool.java,
4730         gnu/java/rmi/server/UnicastConnectionManager.java,
4731         gnu/java/security/der/DERWriter.java,
4732         gnu/java/security/pkcs/SignerInfo.java,
4733         gnu/java/security/provider/EncodedKeyFactory.java,
4734         gnu/java/security/provider/GnuDHPublicKey.java,
4735         gnu/java/security/provider/GnuDSAPrivateKey.java,
4736         gnu/java/security/provider/GnuDSAPublicKey.java,
4737         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4738         gnu/java/security/x509/X500DistinguishedName.java,
4739         gnu/java/security/x509/X509CRL.java,
4740         gnu/java/security/x509/X509CRLEntry.java,
4741         gnu/java/security/x509/X509Certificate.java,
4742         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4743         gnu/java/security/x509/ext/CertificatePolicies.java,
4744         gnu/java/security/x509/ext/PolicyConstraint.java,
4745         gnu/xml/dom/Consumer.java,
4746         gnu/xml/dom/DomCharacterData.java,
4747         gnu/xml/dom/DomDocument.java,
4748         gnu/xml/dom/DomDocumentBuilder.java,
4749         gnu/xml/dom/DomIterator.java,
4750         gnu/xml/dom/DomNode.java,
4751         gnu/xml/dom/DomXPathExpression.java,
4752         gnu/xml/dom/DomXPathResult.java,
4753         gnu/xml/dom/JAXPFactory.java,
4754         gnu/xml/pipeline/CallFilter.java,
4755         gnu/xml/pipeline/DomConsumer.java,
4756         gnu/xml/pipeline/LinkFilter.java,
4757         gnu/xml/pipeline/NSFilter.java,
4758         gnu/xml/pipeline/TeeConsumer.java,
4759         gnu/xml/pipeline/ValidationConsumer.java,
4760         gnu/xml/pipeline/WellFormednessFilter.java,
4761         gnu/xml/pipeline/XIncludeFilter.java,
4762         gnu/xml/pipeline/XsltFilter.java,
4763         gnu/xml/transform/ApplyImportsNode.java,
4764         gnu/xml/transform/Bindings.java,
4765         gnu/xml/transform/DocumentFunction.java,
4766         gnu/xml/transform/FormatNumberFunction.java,
4767         gnu/xml/transform/NodeNumberNode.java,
4768         gnu/xml/transform/NumberNode.java,
4769         gnu/xml/transform/Stylesheet.java,
4770         gnu/xml/transform/SystemPropertyFunction.java,
4771         gnu/xml/transform/Template.java,
4772         gnu/xml/transform/TemplatesImpl.java,
4773         gnu/xml/transform/TransformerImpl.java,
4774         gnu/xml/transform/ValueOfNode.java,
4775         gnu/xml/transform/XSLURIResolver.java,
4776         gnu/xml/util/DoParse.java,
4777         gnu/xml/util/Resolver.java,
4778         gnu/xml/xpath/Expr.java,
4779         gnu/xml/xpath/FunctionCall.java,
4780         gnu/xml/xpath/RelationalExpr.java,
4781         gnu/xml/xpath/Selector.java,
4782         gnu/xml/xpath/XPathParser.java:
4783         Reworked import statements, fixed modifier order and some little
4784         formatting issues.
4786 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4788         * java/nio/ByteBufferImpl.java (compact):
4789         Set position and limit even if no bytes were moved.
4791 2005-02-17  Michael Koch  <konqueror@gmx.de>
4793         * java/nio/CharViewBufferImpl.java (compact): Likewise.
4794         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4795         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4796         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4797         * java/nio/IntViewBufferImpl.java (compact): Likewise.
4798         * java/nio/LongViewBufferImpl.java (compact): Likewise.
4799         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4800         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4801         * java/nio/FloatBufferImpl.java (compact): Set position.
4802         * java/nio/CharBufferImpl.java (compact): Likewise.
4803         * java/nio/DoubleBufferImpl.java (compact): Likewise.
4804         * java/nio/IntBufferImpl.java (compact): Likewise.
4805         * java/nio/LongBufferImpl.java (compact): Likewise.
4806         * java/nio/ShortBufferImpl.java (compact): Likewise.
4808 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
4810         * java/nio/ByteBufferImpl.java,
4811         java/nio/CharBufferImpl.java,
4812         java/nio/DirectByteBufferImpl.java,
4813         java/nio/DoubleBufferImpl.java,
4814         java/nio/FloatBufferImpl.java,
4815         java/nio/IntBufferImpl.java,
4816         java/nio/LongBufferImpl.java,
4817         java/nio/MappedByteBufferImpl.java,
4818         java/nio/ShortBufferImpl.java
4819         (compact): Added explicit read-only check and invalidate mark.
4821 2005-02-17  Michael Koch  <konqueror@gmx.de>
4823         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4824         gnu/java/awt/peer/gtk/GdkFontPeer.java,
4825         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4826         gnu/java/awt/peer/gtk/GdkGraphics.java,
4827         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4828         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4829         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4830         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4831         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4832         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4833         gnu/java/awt/peer/gtk/GdkTextLayout.java,
4834         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4835         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4836         gnu/java/awt/peer/gtk/GtkClipboard.java,
4837         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4838         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4839         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4840         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4841         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4842         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4843         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4844         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4845         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4846         gnu/java/awt/peer/gtk/GtkToolkit.java,
4847         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4848         java/applet/Applet.java,
4849         java/awt/AWTError.java,
4850         java/awt/AWTEvent.java,
4851         java/awt/AWTEventMulticaster.java,
4852         java/awt/AWTException.java,
4853         java/awt/AWTKeyStroke.java,
4854         java/awt/AWTPermission.java,
4855         java/awt/ActiveEvent.java,
4856         java/awt/Adjustable.java,
4857         java/awt/AlphaComposite.java,
4858         java/awt/AttributeValue.java,
4859         java/awt/BorderLayout.java,
4860         java/awt/BufferCapabilities.java,
4861         java/awt/Button.java,
4862         java/awt/Canvas.java,
4863         java/awt/CheckboxGroup.java,
4864         java/awt/CheckboxMenuItem.java,
4865         java/awt/Color.java,
4866         java/awt/ColorPaintContext.java,
4867         java/awt/Component.java,
4868         java/awt/ComponentOrientation.java,
4869         java/awt/Composite.java,
4870         java/awt/CompositeContext.java,
4871         java/awt/Container.java,
4872         java/awt/ContainerOrderFocusTraversalPolicy.java,
4873         java/awt/DefaultFocusTraversalPolicy.java,
4874         java/awt/Dialog.java,
4875         java/awt/Dimension.java,
4876         java/awt/DisplayMode.java,
4877         java/awt/EventQueue.java,
4878         java/awt/FileDialog.java,
4879         java/awt/FontFormatException.java,
4880         java/awt/Graphics.java,
4881         java/awt/Graphics2D.java,
4882         java/awt/GraphicsConfigTemplate.java,
4883         java/awt/GraphicsConfiguration.java,
4884         java/awt/GraphicsDevice.java,
4885         java/awt/GridBagLayout.java,
4886         java/awt/GridBagLayoutInfo.java,
4887         java/awt/GridLayout.java,
4888         java/awt/HeadlessException.java,
4889         java/awt/IllegalComponentStateException.java,
4890         java/awt/Image.java,
4891         java/awt/Insets.java,
4892         java/awt/ItemSelectable.java,
4893         java/awt/JobAttributes.java,
4894         java/awt/KeyEventDispatcher.java,
4895         java/awt/KeyEventPostProcessor.java,
4896         java/awt/KeyboardFocusManager.java,
4897         java/awt/Label.java,
4898         java/awt/LayoutManager.java,
4899         java/awt/MenuBar.java,
4900         java/awt/MenuComponent.java,
4901         java/awt/MenuContainer.java,
4902         java/awt/PageAttributes.java,
4903         java/awt/Paint.java,
4904         java/awt/PaintContext.java,
4905         java/awt/Panel.java,
4906         java/awt/Point.java,
4907         java/awt/Polygon.java,
4908         java/awt/PrintGraphics.java,
4909         java/awt/PrintJob.java,
4910         java/awt/Rectangle.java,
4911         java/awt/RenderingHints.java,
4912         java/awt/Shape.java,
4913         java/awt/Stroke.java,
4914         java/awt/SystemColor.java,
4915         java/awt/Toolkit.java,
4916         java/awt/Transparency.java,
4917         java/awt/Window.java,
4918         java/awt/color/CMMException.java,
4919         java/awt/color/ColorSpace.java,
4920         java/awt/color/ICC_ColorSpace.java,
4921         java/awt/color/ICC_Profile.java,
4922         java/awt/color/ProfileDataException.java,
4923         java/awt/datatransfer/FlavorTable.java,
4924         java/awt/datatransfer/MimeTypeParseException.java,
4925         java/awt/datatransfer/Transferable.java,
4926         java/awt/datatransfer/UnsupportedFlavorException.java,
4927         java/awt/dnd/Autoscroll.java,
4928         java/awt/dnd/DnDConstants.java,
4929         java/awt/dnd/DragGestureListener.java,
4930         java/awt/dnd/DragSourceAdapter.java,
4931         java/awt/dnd/DragSourceDropEvent.java,
4932         java/awt/dnd/DragSourceListener.java,
4933         java/awt/dnd/DragSourceMotionListener.java,
4934         java/awt/dnd/DropTargetAdapter.java,
4935         java/awt/dnd/DropTargetContext.java,
4936         java/awt/dnd/DropTargetListener.java,
4937         java/awt/dnd/InvalidDnDOperationException.java,
4938         java/awt/dnd/MouseDragGestureRecognizer.java,
4939         java/awt/dnd/peer/DropTargetContextPeer.java,
4940         java/awt/event/AWTEventListener.java,
4941         java/awt/event/AWTEventListenerProxy.java,
4942         java/awt/event/ActionEvent.java,
4943         java/awt/event/AdjustmentEvent.java,
4944         java/awt/event/AdjustmentListener.java,
4945         java/awt/event/ComponentAdapter.java,
4946         java/awt/event/ComponentEvent.java,
4947         java/awt/event/ComponentListener.java,
4948         java/awt/event/ContainerAdapter.java,
4949         java/awt/event/ContainerEvent.java,
4950         java/awt/event/ContainerListener.java,
4951         java/awt/event/FocusAdapter.java,
4952         java/awt/event/FocusEvent.java,
4953         java/awt/event/FocusListener.java,
4954         java/awt/event/InputEvent.java,
4955         java/awt/event/InputMethodEvent.java,
4956         java/awt/event/InputMethodListener.java,
4957         java/awt/event/InvocationEvent.java,
4958         java/awt/event/ItemEvent.java,
4959         java/awt/event/ItemListener.java,
4960         java/awt/event/KeyAdapter.java,
4961         java/awt/event/KeyEvent.java,
4962         java/awt/event/KeyListener.java,
4963         java/awt/event/MouseAdapter.java,
4964         java/awt/event/MouseEvent.java,
4965         java/awt/event/MouseListener.java,
4966         java/awt/event/MouseMotionAdapter.java,
4967         java/awt/event/MouseMotionListener.java,
4968         java/awt/event/MouseWheelEvent.java,
4969         java/awt/event/MouseWheelListener.java,
4970         java/awt/event/PaintEvent.java,
4971         java/awt/event/TextEvent.java,
4972         java/awt/event/TextListener.java,
4973         java/awt/event/WindowAdapter.java,
4974         java/awt/event/WindowEvent.java,
4975         java/awt/event/WindowFocusListener.java,
4976         java/awt/event/WindowListener.java,
4977         java/awt/event/WindowStateListener.java,
4978         java/awt/font/TextHitInfo.java,
4979         java/awt/geom/CubicCurve2D.java,
4980         java/awt/geom/Dimension2D.java,
4981         java/awt/geom/Ellipse2D.java,
4982         java/awt/geom/IllegalPathStateException.java,
4983         java/awt/geom/Line2D.java,
4984         java/awt/geom/NoninvertibleTransformException.java,
4985         java/awt/geom/PathIterator.java,
4986         java/awt/geom/Point2D.java,
4987         java/awt/geom/QuadCurve2D.java,
4988         java/awt/geom/RectangularShape.java,
4989         java/awt/geom/RoundRectangle2D.java,
4990         java/awt/im/InputContext.java,
4991         java/awt/im/InputMethodHighlight.java,
4992         java/awt/im/InputMethodRequests.java,
4993         java/awt/im/InputSubset.java,
4994         java/awt/im/spi/InputMethod.java,
4995         java/awt/im/spi/InputMethodDescriptor.java,
4996         java/awt/image/BandCombineOp.java,
4997         java/awt/image/BandedSampleModel.java,
4998         java/awt/image/ByteLookupTable.java,
4999         java/awt/image/ComponentSampleModel.java,
5000         java/awt/image/DataBuffer.java,
5001         java/awt/image/DataBufferByte.java,
5002         java/awt/image/DataBufferDouble.java,
5003         java/awt/image/DataBufferFloat.java,
5004         java/awt/image/DataBufferInt.java,
5005         java/awt/image/DataBufferShort.java,
5006         java/awt/image/DataBufferUShort.java,
5007         java/awt/image/ImagingOpException.java,
5008         java/awt/image/Kernel.java,
5009         java/awt/image/LookupTable.java,
5010         java/awt/image/MultiPixelPackedSampleModel.java,
5011         java/awt/image/PackedColorModel.java,
5012         java/awt/image/PixelInterleavedSampleModel.java,
5013         java/awt/image/RGBImageFilter.java,
5014         java/awt/image/Raster.java,
5015         java/awt/image/RasterFormatException.java,
5016         java/awt/image/SampleModel.java,
5017         java/awt/image/ShortLookupTable.java,
5018         java/awt/image/SinglePixelPackedSampleModel.java,
5019         java/awt/image/WritableRaster.java,
5020         java/awt/print/PrinterAbortException.java,
5021         java/awt/print/PrinterException.java,
5022         java/awt/print/PrinterIOException.java,
5023         java/beans/AppletInitializer.java,
5024         java/beans/ExceptionListener.java,
5025         java/beans/PropertyChangeEvent.java,
5026         java/beans/PropertyChangeListenerProxy.java,
5027         java/beans/PropertyChangeSupport.java,
5028         java/beans/PropertyDescriptor.java,
5029         java/beans/VetoableChangeListenerProxy.java,
5030         java/beans/VetoableChangeSupport.java,
5031         java/io/BufferedReader.java,
5032         java/io/ByteArrayInputStream.java,
5033         java/io/ByteArrayOutputStream.java,
5034         java/io/CharArrayReader.java,
5035         java/io/CharArrayWriter.java,
5036         java/io/CharConversionException.java,
5037         java/io/DataInput.java,
5038         java/io/DataInputStream.java,
5039         java/io/DataOutput.java,
5040         java/io/DataOutputStream.java,
5041         java/io/EOFException.java,
5042         java/io/FileInputStream.java,
5043         java/io/FileNotFoundException.java,
5044         java/io/FileOutputStream.java,
5045         java/io/FilenameFilter.java,
5046         java/io/FilterInputStream.java,
5047         java/io/FilterOutputStream.java,
5048         java/io/FilterReader.java,
5049         java/io/FilterWriter.java,
5050         java/io/IOException.java,
5051         java/io/InputStream.java,
5052         java/io/InterruptedIOException.java,
5053         java/io/LineNumberInputStream.java,
5054         java/io/LineNumberReader.java,
5055         java/io/ObjectInputStream.java,
5056         java/io/ObjectStreamException.java,
5057         java/io/OptionalDataException.java,
5058         java/io/OutputStream.java,
5059         java/io/OutputStreamWriter.java,
5060         java/io/PrintStream.java,
5061         java/io/PrintWriter.java,
5062         java/io/PushbackInputStream.java,
5063         java/io/PushbackReader.java,
5064         java/io/RandomAccessFile.java,
5065         java/io/Reader.java,
5066         java/io/SequenceInputStream.java,
5067         java/io/Serializable.java,
5068         java/io/StreamCorruptedException.java,
5069         java/io/StreamTokenizer.java,
5070         java/io/StringBufferInputStream.java,
5071         java/io/StringWriter.java,
5072         java/io/SyncFailedException.java,
5073         java/io/UTFDataFormatException.java,
5074         java/io/UnsupportedEncodingException.java,
5075         java/io/WriteAbortedException.java,
5076         java/io/Writer.java,
5077         java/lang/AbstractMethodError.java,
5078         java/lang/ArithmeticException.java,
5079         java/lang/ArrayIndexOutOfBoundsException.java,
5080         java/lang/ArrayStoreException.java,
5081         java/lang/AssertionError.java,
5082         java/lang/Boolean.java,
5083         java/lang/Byte.java,
5084         java/lang/Class.java,
5085         java/lang/ClassCastException.java,
5086         java/lang/ClassCircularityError.java,
5087         java/lang/ClassLoader.java,
5088         java/lang/ClassNotFoundException.java,
5089         java/lang/CloneNotSupportedException.java,
5090         java/lang/Cloneable.java,
5091         java/lang/Comparable.java,
5092         java/lang/Compiler.java,
5093         java/lang/Double.java,
5094         java/lang/Error.java,
5095         java/lang/Exception.java,
5096         java/lang/ExceptionInInitializerError.java,
5097         java/lang/Float.java,
5098         java/lang/IllegalAccessError.java,
5099         java/lang/IllegalAccessException.java,
5100         java/lang/IllegalArgumentException.java,
5101         java/lang/IllegalMonitorStateException.java,
5102         java/lang/IllegalStateException.java,
5103         java/lang/IllegalThreadStateException.java,
5104         java/lang/IncompatibleClassChangeError.java,
5105         java/lang/IndexOutOfBoundsException.java,
5106         java/lang/InheritableThreadLocal.java,
5107         java/lang/InstantiationError.java,
5108         java/lang/InstantiationException.java,
5109         java/lang/Integer.java,
5110         java/lang/InternalError.java,
5111         java/lang/InterruptedException.java,
5112         java/lang/LinkageError.java,
5113         java/lang/Long.java,
5114         java/lang/NegativeArraySizeException.java,
5115         java/lang/NoClassDefFoundError.java,
5116         java/lang/NoSuchFieldError.java,
5117         java/lang/NoSuchFieldException.java,
5118         java/lang/NoSuchMethodError.java,
5119         java/lang/NoSuchMethodException.java,
5120         java/lang/NullPointerException.java,
5121         java/lang/Number.java,
5122         java/lang/NumberFormatException.java,
5123         java/lang/OutOfMemoryError.java,
5124         java/lang/Process.java,
5125         java/lang/Runnable.java,
5126         java/lang/Runtime.java,
5127         java/lang/RuntimeException.java,
5128         java/lang/RuntimePermission.java,
5129         java/lang/SecurityException.java,
5130         java/lang/SecurityManager.java,
5131         java/lang/Short.java,
5132         java/lang/StackOverflowError.java,
5133         java/lang/StackTraceElement.java,
5134         java/lang/StringBuffer.java,
5135         java/lang/StringIndexOutOfBoundsException.java,
5136         java/lang/ThreadDeath.java,
5137         java/lang/ThreadGroup.java,
5138         java/lang/Throwable.java,
5139         java/lang/UnsatisfiedLinkError.java,
5140         java/lang/UnsupportedOperationException.java,
5141         java/lang/VerifyError.java,
5142         java/lang/VirtualMachineError.java,
5143         java/lang/reflect/AccessibleObject.java,
5144         java/lang/reflect/Array.java,
5145         java/lang/reflect/InvocationTargetException.java,
5146         java/lang/reflect/Member.java,
5147         java/lang/reflect/Modifier.java,
5148         java/lang/reflect/Proxy.java,
5149         java/lang/reflect/ReflectPermission.java,
5150         java/lang/reflect/UndeclaredThrowableException.java,
5151         java/math/BigInteger.java,
5152         java/net/NetworkInterface.java,
5153         java/nio/ByteBufferHelper.java,
5154         java/nio/ByteBufferImpl.java,
5155         java/nio/DirectByteBufferImpl.java,
5156         java/nio/DoubleBufferImpl.java,
5157         java/nio/FloatBufferImpl.java,
5158         java/nio/IntBufferImpl.java,
5159         java/nio/LongBufferImpl.java,
5160         java/nio/ShortBufferImpl.java,
5161         java/nio/channels/Channel.java,
5162         java/nio/channels/IllegalBlockingModeException.java,
5163         java/nio/charset/spi/CharsetProvider.java,
5164         java/security/AccessControlException.java,
5165         java/security/BasicPermission.java,
5166         java/security/DigestException.java,
5167         java/security/DigestInputStream.java,
5168         java/security/DigestOutputStream.java,
5169         java/security/GeneralSecurityException.java,
5170         java/security/Guard.java,
5171         java/security/GuardedObject.java,
5172         java/security/InvalidAlgorithmParameterException.java,
5173         java/security/InvalidKeyException.java,
5174         java/security/InvalidParameterException.java,
5175         java/security/Key.java,
5176         java/security/KeyException.java,
5177         java/security/KeyManagementException.java,
5178         java/security/KeyStoreException.java,
5179         java/security/MessageDigestSpi.java,
5180         java/security/NoSuchAlgorithmException.java,
5181         java/security/NoSuchProviderException.java,
5182         java/security/Permission.java,
5183         java/security/PermissionCollection.java,
5184         java/security/Permissions.java,
5185         java/security/Principal.java,
5186         java/security/PrivateKey.java,
5187         java/security/PrivilegedActionException.java,
5188         java/security/ProviderException.java,
5189         java/security/PublicKey.java,
5190         java/security/SecureRandom.java,
5191         java/security/SecureRandomSpi.java,
5192         java/security/SignatureException.java,
5193         java/security/SignatureSpi.java,
5194         java/security/SignedObject.java,
5195         java/security/Signer.java,
5196         java/security/UnrecoverableKeyException.java,
5197         java/security/UnresolvedPermission.java,
5198         java/security/acl/AclNotFoundException.java,
5199         java/security/acl/LastOwnerException.java,
5200         java/security/acl/NotOwnerException.java,
5201         java/security/cert/CertPath.java,
5202         java/security/cert/CertPathBuilderException.java,
5203         java/security/cert/CertPathValidatorException.java,
5204         java/security/cert/CertStoreException.java,
5205         java/text/BreakIterator.java,
5206         java/text/ChoiceFormat.java,
5207         java/text/CollationElementIterator.java,
5208         java/text/CollationKey.java,
5209         java/text/Collator.java,
5210         java/text/DateFormat.java,
5211         java/text/DateFormatSymbols.java,
5212         java/text/DecimalFormat.java,
5213         java/text/DecimalFormatSymbols.java,
5214         java/text/FieldPosition.java,
5215         java/text/Format.java,
5216         java/text/NumberFormat.java,
5217         java/text/ParseException.java,
5218         java/text/ParsePosition.java,
5219         java/text/StringCharacterIterator.java,
5220         java/util/AbstractCollection.java,
5221         java/util/AbstractList.java,
5222         java/util/AbstractMap.java,
5223         java/util/AbstractSequentialList.java,
5224         java/util/AbstractSet.java,
5225         java/util/ArrayList.java,
5226         java/util/Arrays.java,
5227         java/util/BitSet.java,
5228         java/util/Collection.java,
5229         java/util/Collections.java,
5230         java/util/Comparator.java,
5231         java/util/ConcurrentModificationException.java,
5232         java/util/Currency.java,
5233         java/util/Date.java,
5234         java/util/EmptyStackException.java,
5235         java/util/Enumeration.java,
5236         java/util/EventListener.java,
5237         java/util/EventListenerProxy.java,
5238         java/util/EventObject.java,
5239         java/util/HashMap.java,
5240         java/util/HashSet.java,
5241         java/util/Hashtable.java,
5242         java/util/IdentityHashMap.java,
5243         java/util/Iterator.java,
5244         java/util/LinkedHashSet.java,
5245         java/util/LinkedList.java,
5246         java/util/List.java,
5247         java/util/ListIterator.java,
5248         java/util/ListResourceBundle.java,
5249         java/util/Map.java,
5250         java/util/MissingResourceException.java,
5251         java/util/NoSuchElementException.java,
5252         java/util/Observable.java,
5253         java/util/Observer.java,
5254         java/util/Properties.java,
5255         java/util/PropertyPermissionCollection.java,
5256         java/util/RandomAccess.java,
5257         java/util/Set.java,
5258         java/util/SortedMap.java,
5259         java/util/SortedSet.java,
5260         java/util/Stack.java,
5261         java/util/StringTokenizer.java,
5262         java/util/TooManyListenersException.java,
5263         java/util/TreeMap.java,
5264         java/util/TreeSet.java,
5265         java/util/Vector.java,
5266         java/util/logging/FileHandler.java,
5267         java/util/logging/Level.java,
5268         java/util/prefs/BackingStoreException.java,
5269         java/util/prefs/InvalidPreferencesFormatException.java,
5270         java/util/prefs/Preferences.java,
5271         javax/accessibility/Accessible.java,
5272         javax/accessibility/AccessibleAction.java,
5273         javax/accessibility/AccessibleBundle.java,
5274         javax/accessibility/AccessibleComponent.java,
5275         javax/accessibility/AccessibleContext.java,
5276         javax/accessibility/AccessibleEditableText.java,
5277         javax/accessibility/AccessibleExtendedComponent.java,
5278         javax/accessibility/AccessibleExtendedTable.java,
5279         javax/accessibility/AccessibleHyperlink.java,
5280         javax/accessibility/AccessibleHypertext.java,
5281         javax/accessibility/AccessibleIcon.java,
5282         javax/accessibility/AccessibleKeyBinding.java,
5283         javax/accessibility/AccessibleRelation.java,
5284         javax/accessibility/AccessibleRelationSet.java,
5285         javax/accessibility/AccessibleResourceBundle.java,
5286         javax/accessibility/AccessibleRole.java,
5287         javax/accessibility/AccessibleSelection.java,
5288         javax/accessibility/AccessibleState.java,
5289         javax/accessibility/AccessibleStateSet.java,
5290         javax/accessibility/AccessibleTable.java,
5291         javax/accessibility/AccessibleTableModelChange.java,
5292         javax/accessibility/AccessibleText.java,
5293         javax/accessibility/AccessibleValue.java,
5294         javax/imageio/IIOException.java,
5295         javax/imageio/ImageIO.java,
5296         javax/imageio/spi/IIOServiceProvider.java,
5297         javax/imageio/spi/ImageInputStreamSpi.java,
5298         javax/imageio/spi/ImageOutputStreamSpi.java,
5299         javax/imageio/spi/ImageReaderWriterSpi.java,
5300         javax/imageio/spi/ImageTranscoderSpi.java,
5301         javax/imageio/spi/RegisterableService.java,
5302         javax/imageio/spi/ServiceRegistry.java,
5303         javax/imageio/stream/IIOByteBuffer.java,
5304         javax/imageio/stream/ImageInputStream.java,
5305         javax/imageio/stream/ImageOutputStream.java,
5306         javax/naming/Binding.java,
5307         javax/naming/CannotProceedException.java,
5308         javax/naming/CompositeName.java,
5309         javax/naming/CompoundName.java,
5310         javax/naming/LinkException.java,
5311         javax/naming/LinkRef.java,
5312         javax/naming/NameClassPair.java,
5313         javax/naming/Reference.java,
5314         javax/naming/ReferralException.java,
5315         javax/naming/directory/Attribute.java,
5316         javax/naming/directory/AttributeModificationException.java,
5317         javax/naming/directory/Attributes.java,
5318         javax/naming/directory/DirContext.java,
5319         javax/naming/directory/ModificationItem.java,
5320         javax/naming/directory/SearchControls.java,
5321         javax/naming/directory/SearchResult.java,
5322         javax/naming/event/EventContext.java,
5323         javax/naming/event/EventDirContext.java,
5324         javax/naming/event/NamespaceChangeListener.java,
5325         javax/naming/event/NamingExceptionEvent.java,
5326         javax/naming/event/NamingListener.java,
5327         javax/naming/event/ObjectChangeListener.java,
5328         javax/naming/ldap/Control.java,
5329         javax/naming/ldap/ExtendedResponse.java,
5330         javax/naming/ldap/HasControls.java,
5331         javax/naming/ldap/LdapContext.java,
5332         javax/naming/ldap/UnsolicitedNotification.java,
5333         javax/naming/ldap/UnsolicitedNotificationEvent.java,
5334         javax/naming/ldap/UnsolicitedNotificationListener.java,
5335         javax/naming/spi/DirectoryManager.java,
5336         javax/naming/spi/ResolveResult.java,
5337         javax/naming/spi/Resolver.java,
5338         javax/security/auth/callback/Callback.java,
5339         javax/security/auth/callback/CallbackHandler.java,
5340         javax/security/auth/callback/ChoiceCallback.java,
5341         javax/security/auth/callback/ConfirmationCallback.java,
5342         javax/security/auth/callback/LanguageCallback.java,
5343         javax/security/auth/callback/NameCallback.java,
5344         javax/security/auth/callback/PasswordCallback.java,
5345         javax/security/auth/callback/TextInputCallback.java,
5346         javax/security/auth/callback/TextOutputCallback.java,
5347         javax/security/auth/callback/UnsupportedCallbackException.java,
5348         javax/security/sasl/Sasl.java,
5349         javax/security/sasl/SaslServerFactory.java,
5350         javax/swing/DefaultBoundedRangeModel.java,
5351         javax/swing/JComponent.java,
5352         javax/swing/JList.java,
5353         javax/swing/JProgressBar.java,
5354         javax/swing/JRadioButton.java,
5355         javax/swing/JTextArea.java,
5356         javax/swing/JTextField.java,
5357         javax/swing/JToggleButton.java,
5358         javax/swing/JTree.java,
5359         javax/swing/SpinnerListModel.java,
5360         javax/swing/event/EventListenerList.java,
5361         javax/swing/text/JTextComponent.java,
5362         javax/swing/text/StringContent.java,
5363         javax/swing/text/Utilities.java,
5364         javax/swing/undo/UndoManager.java,
5365         javax/swing/undo/UndoableEditSupport.java,
5366         javax/transaction/HeuristicCommitException.java,
5367         javax/transaction/HeuristicMixedException.java,
5368         javax/transaction/HeuristicRollbackException.java,
5369         javax/transaction/InvalidTransactionException.java,
5370         javax/transaction/NotSupportedException.java,
5371         javax/transaction/RollbackException.java,
5372         javax/transaction/Status.java,
5373         javax/transaction/Synchronization.java,
5374         javax/transaction/SystemException.java,
5375         javax/transaction/Transaction.java,
5376         javax/transaction/TransactionManager.java,
5377         javax/transaction/TransactionRequiredException.java,
5378         javax/transaction/TransactionRolledbackException.java,
5379         javax/transaction/UserTransaction.java,
5380         javax/transaction/xa/XAException.java,
5381         javax/transaction/xa/XAResource.java,
5382         javax/transaction/xa/Xid.java,
5383         javax/xml/XMLConstants.java,
5384         javax/xml/datatype/DatatypeConfigurationException.java,
5385         javax/xml/datatype/DatatypeConstants.java,
5386         javax/xml/datatype/DatatypeFactory.java,
5387         javax/xml/datatype/Duration.java,
5388         javax/xml/datatype/XMLGregorianCalendar.java,
5389         javax/xml/namespace/NamespaceContext.java,
5390         javax/xml/namespace/QName.java,
5391         javax/xml/parsers/DocumentBuilder.java,
5392         javax/xml/parsers/DocumentBuilderFactory.java,
5393         javax/xml/parsers/FactoryConfigurationError.java,
5394         javax/xml/parsers/ParserConfigurationException.java,
5395         javax/xml/parsers/SAXParser.java,
5396         javax/xml/parsers/SAXParserFactory.java,
5397         javax/xml/transform/ErrorListener.java,
5398         javax/xml/transform/OutputKeys.java,
5399         javax/xml/transform/Result.java,
5400         javax/xml/transform/Source.java,
5401         javax/xml/transform/SourceLocator.java,
5402         javax/xml/transform/Templates.java,
5403         javax/xml/transform/Transformer.java,
5404         javax/xml/transform/TransformerConfigurationException.java,
5405         javax/xml/transform/TransformerException.java,
5406         javax/xml/transform/TransformerFactory.java,
5407         javax/xml/transform/TransformerFactoryConfigurationError.java,
5408         javax/xml/transform/URIResolver.java,
5409         javax/xml/transform/dom/DOMLocator.java,
5410         javax/xml/transform/dom/DOMResult.java,
5411         javax/xml/transform/dom/DOMSource.java,
5412         javax/xml/transform/sax/SAXResult.java,
5413         javax/xml/transform/sax/SAXSource.java,
5414         javax/xml/transform/sax/SAXTransformerFactory.java,
5415         javax/xml/transform/sax/TemplatesHandler.java,
5416         javax/xml/transform/sax/TransformerHandler.java,
5417         javax/xml/transform/stream/StreamResult.java,
5418         javax/xml/transform/stream/StreamSource.java,
5419         javax/xml/validation/Schema.java,
5420         javax/xml/validation/SchemaFactory.java,
5421         javax/xml/validation/TypeInfoProvider.java,
5422         javax/xml/validation/Validator.java,
5423         javax/xml/validation/ValidatorHandler.java,
5424         javax/xml/xpath/XPathConstants.java,
5425         javax/xml/xpath/XPathException.java,
5426         javax/xml/xpath/XPathExpression.java,
5427         javax/xml/xpath/XPathExpressionException.java,
5428         javax/xml/xpath/XPathFactory.java,
5429         javax/xml/xpath/XPathFactoryConfigurationException.java,
5430         javax/xml/xpath/XPathFunction.java,
5431         javax/xml/xpath/XPathFunctionException.java,
5432         javax/xml/xpath/XPathFunctionResolver.java:
5433         Fixed usage of @author tag, reworked import statements,
5434         removed CVS tags, changed the modifier order and fixed
5435         HTML usage in javadocs.
5437 2005-02-16  Julian Scheid  <julian@sektor37.de>
5439         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5440         in.position().
5441         (encodeLoop): Likewise.
5443 2005-02-16  Mark Wielaard  <mark@klomp.org>
5445         * Makefile.am (ordinary_java_source_files): Add new files
5446         gnu/java/security/ber/BER.java,
5447         gnu/java/security/ber/BEREncodingException.java,
5448         gnu/java/security/ber/BERReader.java,
5449         gnu/java/security/ber/BERValue.java,
5450         gnu/java/security/pkcs/PKCS7SignedData.java and
5451         gnu/java/security/pkcs/SignerInfo.java.
5452         * Makefile.in: Regenerated.
5454 2005-02-16  Casey Marshall  <csm@gnu.org>
5456         * gnu/java/security/provider/GnuDSAPrivateKey.java
5457         (encodedKey): new field.
5458         (getFormat): return "PKCS#8".
5459         (getEncoded): implemented.
5460         (toString): check for 'null' values.
5461         * gnu/java/security/provider/GnuDSAPublicKey.java
5462         (encodedKey): new field.
5463         (getFormat): return "X.509".
5464         (getEncoded): implemented.
5465         (toString): check for 'null' values.
5467 2005-02-16  Michael Koch  <konqueror@gmx.de>
5469         * java/util/jar/JarFile.java: Imports reworked.
5471 2005-02-16  Mark Wielaard  <mark@klomp.org>
5473         * java/util/jar/JarFile.java (verify): Make package private.
5474         (signaturesRead): Likewise.
5475         (verified): Likewise.
5476         (entryCerts): Likewise.
5477         (DEBUG): Likewise.
5478         (debug): Likewise.
5479         (entries): Construct new JarEnumeration with reference to this.
5480         (JarEnumeration): Make static.
5481         (JarEnumeration.jarfile): New field.
5482         (JarEnumeration.nextElement): Use and synchronize on jarfile.
5483         Compare verified value to Boolean.TRUE or Boolean.False only
5484         when verify is true.
5485         (getEntry): Make synchronized. Compare value of verified to
5486         Boolean.TRUE.
5487         (getInputStream): Construct EntryInputStream with reference to this.
5488         (getManifest): Make synchronized.
5489         (EntryInputStream): Make static.
5490         (EntryInputStream.jarfile): New field.
5491         (EntryInputStream.EntryInputStream): Check if manifest exists,
5492         before getting attributes.
5493         (eof): Synchronize on jarfile.
5495 2005-02-16  Casey Marshall  <csm@gnu.org>
5497         * java/util/jar/JarFile.java (verify): return if the jar is signed
5498         with an unsupported algorithm.
5500 2005-02-16  Mark Wielaard  <mark@klomp.org>
5502         * java/util/jar/JarFile.java (EntryInputStream): Add actual
5503         InputStream as argument.
5504         (getInputStream): Construct a new EntryInputStream with the result of
5505         super.getInputStream(entry).
5507 2005-02-16  Casey Marshall  <csm@gnu.org>
5509         Signed JAR file support.
5510         * java/net/URLClassLoader.java
5511         (JarURLResource.getCertificates): re-read jar entry to ensure
5512         certificates are picked up.
5513         (findClass): fill in class `signers' field, too.
5514         * java/util/jar/JarFile.java (META_INF): new constant.
5515         (PKCS7_DSA_SUFFIX): new constant.
5516         (PKCS7_RSA_SUFFIX): new constant.
5517         (DIGEST_KEY_SUFFIX): new constant.
5518         (SF_SUFFIX): new constant.
5519         (MD2_OID): new constant.
5520         (MD4_OID): new constant.
5521         (MD5_OID): new constant.
5522         (SHA1_OID): new constant.
5523         (DSA_ENCRYPTION_OID): new constant.
5524         (RSA_ENCRYPTION_OID): new constant.
5525         (signaturesRead): new field.
5526         (verified): new field.
5527         (entryCerts): new field.
5528         (DEBUG): new constant.
5529         (debug): new method.
5530         (JarEnumeration.nextElement): fill in entry certificates, read
5531         signatures if they haven't been read.
5532         (getEntry): likewise.
5533         (getInputStream): verify stream if it hasn't been verified yet.
5534         (readSignatures): new method.
5535         (verify): new method.
5536         (verifyHashes): new method.
5537         (readManifestEntry): new method.
5538         (EntryInputStream): new class.
5539         * gnu/java/io/Base64InputStream.java (decode): new class
5540         method.
5541         * gnu/java/security/der/DERReader.java don't make class
5542         final.
5543         (in): made protected.
5544         (encBuf): likewise.
5545         (readLength): likewise.
5546         * gnu/java/security/ber/BER.java,
5547         * gnu/java/security/ber/BEREncodingException.java,
5548         * gnu/java/security/ber/BERReader.java,
5549         * gnu/java/security/ber/BERValue.java,
5550         * gnu/java/security/pkcs/PKCS7SignedData.java,
5551         * gnu/java/security/pkcs/SignerInfo.java:
5552         new files.
5554 2005-02-16  Tom Tromey  <tromey@redhat.com>
5556         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5557         copied file on exit.
5559 2005-02-15  Mark Wielaard  <mark@klomp.org>
5561         * java/awt/BasicStroke.java (hashCode): Check for null dash.
5563 2005-02-15  Michael Koch  <konqueror@gmx.de>
5565         * gnu/java/awt/peer/gtk/GtkArg.java,
5566         gnu/java/awt/peer/gtk/GtkArgList.java:
5567         Removed.
5569 2005-02-15  Craig Black  <craig.black@aonix.com>
5571         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5572         (postMenuActionEvent): Implement to notify ItemListeners.
5573         * java/awt/CheckboxMenuItem.java
5574         (dispatchEventImpl): Update state on ItemEvent.
5575         * java/awt/MenuItem.java
5576         (processActionEvent): Retarget event source.
5578 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5580         * gnu/java/awt/color/ClutProfileConverter.java,
5581         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5582         gnu/java/awt/peer/gtk/GdkFontPeer.java,
5583         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5584         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5585         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5586         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5587         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5588         gnu/java/awt/peer/gtk/GdkTextLayout.java,
5589         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5590         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5591         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5592         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5593         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5594         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5595         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5596         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5597         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5598         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5599         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5600         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5601         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5602         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5603         gnu/java/awt/peer/gtk/GtkToolkit.java,
5604         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5605         javax/swing/JPopupMenu.java,
5606         javax/swing/JSpinner.java,
5607         javax/swing/SortingFocusTraversalPolicy.java,
5608         javax/swing/SwingUtilities.java,
5609         javax/swing/plaf/basic/BasicComboBoxEditor.java,
5610         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5611         javax/swing/tree/DefaultMutableTreeNode.java:
5612         Removed unused imports and expanded starred
5613         imports.
5615 2005-02-15  Mark Wielaard  <mark@klomp.org>
5617         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5618         IllegalArgumentException when the given String is null.
5620         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5621         when given keystoke sequence cannot be parsed.
5623         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5624         if one is installed. Only install the given menubar is not null.
5626         * javax/swing/JViewport.java (getViewSize): Return an empty
5627         Dimension when the view isn't set or preferred component size when
5628         no viewSize is set.
5630         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5631         empty Dimension when there is no view set.
5632         (minimumLayoutSize): Likewise.
5633         (layoutContainer): Don't try to layout when there is no view.
5635 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5637         * jawt.c: New file.
5638         * include/jawt.h: Likewise.
5639         * include/jawt_md.h: Likewise.
5640         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5641         jawt_md.h files.
5642         * jni/classpath/classpath_jawt.h: Likewise.
5643         * jni/gtk-peer/gtk_jawt.c: Likewise.
5644         * Makefile.am: Build libjawt.so.
5646 2005-02-15  Michael Koch  <konqueror@gmx.de>
5648         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5649         Merged file header with classpath CVS head.
5650         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5651         Merged code formatting with classpath CVS head.
5652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5653         Removed debug code.
5654         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5655         Handle special JNI strings with 2 '\0' at the end.
5656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5657         Merged file header with classpath CVS head.
5658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5659         Merged code formatting with classpath CVS head.
5661 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5664         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
5665         (handle_response): Use GTK_RESPONSE_ACCEPT.
5667 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5669         * Makefile.am: Fix library build breakage.
5670         * Makefile.in: Regenerate.
5672 2005-02-15  Michael Koch  <konqueror@gmx.de>
5674         * javax/swing/JTabbedPane.java
5675         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5677 2005-02-15  Michael Koch  <konqueror@gmx.de>
5679         * javax/swing/tree/DefaultMutableTreeNode.java:
5680         Reworked Javadocs all over.
5681         (getPathToRoot): Fixed direction of result array initialization.
5683 2005-02-15  Michael Koch  <konqueror@gmx.de>
5685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5686          Fix includes for cairo 0.3.0 snappshot.
5687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5688         Merged file header from classpath CVS HEAD.
5690 2005-02-15  Craig Black  <craig.black@aonix.com>
5692         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5693         (copyState): Pass a JNI global reference to signal handler.
5694         (realize_cb): Use and free JNI global reference.
5695         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5696         (create): Pass a JNI global reference to signal handler.
5697         (selection_changed): Match declaration.
5698         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5699         (dispose): Do not remove entries from state tables until after widget is
5700         destroyed.
5702 2005-02-15  Michael Koch  <konqueror@gmx.de>
5704         * java/awt/Container.javai (paramString):
5705         If layoutMgr is null just return result of super.paramString().
5706         * java/awt/Scrollbar.java: Reformatted.
5707         * java/awt/im/InputContext.java (static):
5708         Removed redundant initializations.
5710 2005-02-15  Michael Koch  <konqueror@gmx.de>
5712         * javax/swing/ImageIcon.java,
5713         javax/swing/UIManager.java,
5714         javax/swing/text/EditorKit.java,
5715         javax/swing/text/Segment.java:
5716         More whitespace cleanups.
5718 2005-02-15  Michael Koch  <konqueror@gmx.de>
5720         * gnu/java/awt/EmbeddedWindow.java,
5721         gnu/java/awt/image/ImageDecoder.java,
5722         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5723         java/awt/DefaultKeyboardFocusManager.java,
5724         java/awt/Frame.java,
5725         java/awt/image/RGBImageFilter.java,
5726         javax/swing/AbstractButton.java,
5727         javax/swing/ActionMap.java,
5728         javax/swing/ComponentInputMap.java,
5729         javax/swing/DefaultDesktopManager.java,
5730         javax/swing/ImageIcon.java,
5731         javax/swing/InputMap.java,
5732         javax/swing/JButton.java,
5733         javax/swing/JCheckBox.java,
5734         javax/swing/JCheckBoxMenuItem.java,
5735         javax/swing/JEditorPane.java,
5736         javax/swing/JMenu.java,
5737         javax/swing/JMenuItem.java,
5738         javax/swing/JOptionPane.java,
5739         javax/swing/JRootPane.java,
5740         javax/swing/JTable.java,
5741         javax/swing/MenuSelectionManager.java,
5742         javax/swing/RepaintManager.java,
5743         javax/swing/ScrollPaneLayout.java,
5744         javax/swing/SortingFocusTraversalPolicy.java,
5745         javax/swing/UIManager.java,
5746         javax/swing/ViewportLayout.java,
5747         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5748         javax/swing/plaf/basic/BasicInternalFrameUI.java,
5749         javax/swing/plaf/basic/BasicLabelUI.java,
5750         javax/swing/plaf/basic/BasicListUI.java,
5751         javax/swing/plaf/basic/BasicMenuItemUI.java,
5752         javax/swing/plaf/basic/BasicMenuUI.java,
5753         javax/swing/plaf/basic/BasicOptionPaneUI.java,
5754         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5755         javax/swing/plaf/basic/BasicRootPaneUI.java,
5756         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5757         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5758         javax/swing/plaf/basic/BasicTextUI.java,
5759         javax/swing/table/TableColumnModel.java,
5760         javax/swing/text/AbstractDocument.java,
5761         javax/swing/text/EditorKit.java,
5762         javax/swing/text/Position.java,
5763         javax/swing/text/Segment.java,
5764         javax/swing/text/StyledEditorKit.java,
5765         javax/swing/text/ViewFactory.java:
5766         Cleanup whitespace differences to classpath CVS HEAD.
5768 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5770         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5771         (finalize): Call finish from here.
5772         (produce): Not from here.
5773         * Makefile.am (gtk_c_source_files):
5774         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5775         * Makefile.in: Regenerate.
5776         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5777         (cairoSetFont):
5778         (cairoDrawGdkTextLayout):
5779         (cairoDrawString):
5780         (getPeerTextMetrics):
5781         (getPeerFontMetrics): Remove.
5782         (setFont): Don't call cairoSetFont.
5783         (cairoDrawGlyphVector): Accept font peer argument.
5784         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5786         (ensure_metrics_cairo):
5787         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5788         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5789         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5790         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5791         (metrics_cairo):
5792         (metrics_surface): Remove.
5793         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5794         Pass and install font peer.
5796 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5798         * Makefile.am: Create "split library" structure.
5799         * Makefile.in: Regenerate.
5801 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5804         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5807         Release GDK lock during upcalls.
5809 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5813         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5814         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5815         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5817         * gnu/java/awt/peer/gtk/GdkFontPeer.java
5818         (getGlyphVector):
5819         (getFontMetrics):
5820         (getTextMetrics): New native methods.
5821         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5822         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5823         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5824         * Makefile.in: Regenerate.
5826 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5828         * javax/swing/SwingUtilities.java:
5829         (getAccessibleAt(java.awt.Component, java.awt.Point)):
5830         Implemented and documented.
5831         (getAccessibleChild(java.awt.Component, int)): Likewise.
5832         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5833         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5834         (getAccessibleStateSet(java.awt.Component)): Likewise.
5836 2005-02-15  Michael Koch  <konqueror@gmx.de>
5838         * javax/swing/SwingUtilities.java
5839         (getFontMetrics): Removed.
5841 2005-02-15  Michael Koch  <konqueror@gmx.de>
5843         * java/awt/Container.java
5844         (paramString): Implemented.
5845         * javax/swing/AbstractButton.java
5846         (paramString): Implemented.
5847         * javax/swing/JComponent.java
5848         (paramString): Implemented.
5849         * javax/swing/JMenu.java
5850         (paramString): Implemented.
5851         * javax/swing/JMenuBar.java
5852         (paramString): Implemented.
5853         * javax/swing/JMenuItem.java
5854         (paramString): Implemented.
5855         * javax/swing/JPopupMenu.java
5856         (paramString): Implemented.
5858 2005-02-15  Michael Koch  <konqueror@gmx.de>
5860         * javax/swing/JMenu.java
5861         (uiClassID): Removed.
5862         (JMenu): Set invoker on popup menu.
5863         (getUIClassID): Return id directly.
5864         (getItemCount): Simply return getMenuComponentCount().
5865         Fixed javadoc.
5866         (isTopLevelMenu): Simplified.
5867         * javax/swing/JMenuItem.java
5868         (uiClassID): Removed.
5869         (getUIClassID): Return id directly.
5870         * javax/swing/JPopupMenu.java
5871         (uiClassID): Removed.
5872         (JPopupMenu): Always initialize correctly.
5873         (getSubElements): Only return components implementing MenuElement
5874         interface.
5875         (HeavyWeightPopup.hide): Removed.
5877 2005-02-15  Michael Koch  <konqueror@gmx.de>
5879         * java/awt/image/ReplicateScaleFilter.java
5880         (replicatePixels): Made private.
5881         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5882         (DefaultRGBChooserPanel): Made package private.
5883         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5884         (RecentSwatchPanel): Likewise.
5885         * javax/swing/event/MouseInputAdapter.java: Reformatted.
5886         (MouseInputAdapter): Made abstract.
5887         * javax/swing/tree/DefaultMutableTreeNode.java
5888         (random): Removed.
5889         (growTree): Likewise.
5891 2005-02-15  Michael Koch  <konqueror@gmx.de>
5893         * java/awt/dnd/DropTarget.java (addDropTargetListener):
5894         Clarified comments.
5896 2005-02-15  Michael Koch  <konqueror@gmx.de>
5898         * javax/swing/JComponent.java (getComponentGraphics):
5899         Removed accidently commited code.
5901 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5903         * java/awt/dnd/DropTarget.java
5904         (addDropTargetListener): Despite documentation, do not throw.
5905         * javax/swing/JComponent.java: Set a default DropTarget.
5907 2005-02-15  Michael Koch  <konqueror@gmx.de>
5909         * javax/swing/AbstractAction.java
5910         (ENABLED_PROPERTY): Removed.
5911         (setEnabled): Replaced constant with real string.
5912         * javax/swing/AbstractButton.java
5913         (createActionPropertyChangeListener.propertyChange): Likewise.
5914         * javax/swing/JComboBox.java
5915         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5916         (EDITABLE_CHANGED_PROPERTY): Removed.
5917         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5918         (ENABLED_CHANGED_PROPERTY):Likewise.
5919         (RENDERER_CHANGED_PROPERTY):Likewise.
5920         (EDITOR_CHANGED_PROPERTY):Likewise.
5921         (MODEL_CHANGED_PROPERTY):Likewise.
5922         (uiClassID):Likewise.
5923         (getUIClassID): Replaced constant with real string.
5924         (setModel):Likewise.
5925         (setEditable):Likewise.
5926         (setMaximumRowCount):Likewise.
5927         (setRenderer):Likewise.
5928         (setEditor):Likewise.
5929         (setEnabled):Likewise.
5930         * javax/swing/JLabel.java
5931         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5932         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5933         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5934         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5935         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5936         (ICON_CHANGED_PROPERTY): Likewise.
5937         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5938         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5939         (TEXT_CHANGED_PROPERTY): Likewise.
5940         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5941         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5942         (setText): Replaced constant with real string.
5943         (setIcon): Likewise.
5944         (setDisabledIcon): Likewise.
5945         (setDisplayedMnemonic): Likewise.
5946         (setIconTextGap): Likewise.
5947         (setVerticalAlignment): Likewise.
5948         (setHorizontalAlignment): Likewise.
5949         (setVerticalTextPosition): Likewise.
5950         (setHorizontalTextPosition): Likewise.
5951         (setLabelFor): Replaced constant with real string.
5952         Fire property change event after property got changed.
5953         * javax/swing/JList.java
5954         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5955         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5956         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5957         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5958         (MODEL_PROPERTY_CHANGED): Likewise.
5959         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5960         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5961         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5962         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5963         (setFixedCellWidth): Reimplemented.
5964         (setFixedCellHeight): Exit if new value is identical.
5965         Replaced constant with real string.
5966         (setSelectionBackground): Likewise.
5967         (setSelectionForeground): Likewise.
5968         (setPrototypeCellValue): Likewise.
5969         (setCellRenderer): Replaced constant with real string.
5970         (setModel): Likewise.
5971         (setSelectionModel): Likewise.
5972         * javax/swing/JMenuBar.java
5973         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5974         (MODEL_CHANGED_PROPERTY): Likewise.
5975         (MARGIN_CHANGED_PROPERTY): Likewise.
5976         (setBorderPainted): Reimplemented.
5977         (setMargin): Likewise.
5978         (setSelectionModel): Replaced constant with real string.
5979         * javax/swing/JPopupMenu.java
5980         (LABEL_CHANGED_PROPERTY): Removed.
5981         (VISIBLE_CHANGED_PROPERTY): Likewise.
5982         (borderPainted): Likewise.
5983         (setLabel): Replaced constant with real string.
5984         (setVisible): Exit if new value is identical.
5985         Replaced constant with real string.
5986         * javax/swing/JProgressBar.java
5987         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5988         (ORIENTATION_CHANGED_PROPERTY): Likewise.
5989         (STRING_CHANGED_PROPERTY): Likewise.
5990         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5991         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5992         (setOrientation): Replaced constant with real string.
5993         (setStringPainted): Likewise.
5994         (setString): Likewise.
5995         (setBorderPainted): Likewise.
5996         (setIndeterminate): Likewise.
5997         * javax/swing/JScrollBar.java
5998         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5999         (MODEL_CHANGED_PROPERTY): Likewise.
6000         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6001         (setOrientation): Replaced constant with real string.
6002         (setModel): Likewise.
6003         (setUnitIncrement): Likewise.
6004         (setBlockIncrement): Likewise.
6005         * javax/swing/JScrollPane.java
6006         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
6007         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
6008         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
6009         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
6010         (LAYOUT_CHANGED_PROPERTY): Likewise.
6011         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
6012         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
6013         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
6014         (VIEWPORT_CHANGED_PROPERTY): Likewise.
6015         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
6016         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
6017         (setComponentOrientation): Replaced constant with real string.
6018         (setColumnHeader): Likewise.
6019         (setHorizontalScrollBar): Likewise.
6020         (setHorizontalScrollBarPolicy): Likewise.
6021         (setRowHeader): Likewise.
6022         (setVerticalScrollBar): Likewise.
6023         (setVerticalScrollBarPolicy): Likewise.
6024         (setWheelScrollingEnabled): Likewise.
6025         (setViewport): Likewise.
6026         (setViewportBorder): Likewise.
6027         * javax/swing/JSlider.java
6028         (INVERTED_CHANGED_PROPERTY): Removed.
6029         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
6030         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
6031         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
6032         (MODEL_CHANGED_PROPERTY): Likewise.
6033         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6034         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
6035         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
6036         (setModel): Replaced constant with real string.
6037         (setOrientation): Likewise.
6038         (setLabelTable): Likewise.
6039         (setInverted): Likewise.
6040         (setMajorTickSpacing): Likewise.
6041         (setMinorTickSpacing): Likewise.
6042         (setPaintTicks): Likewise.
6043         (setPaintLabels): Likewise.
6044         * javax/swing/JTabbedPane.java
6045         (MODEL_CHANGED_PROPERTY): Removed.
6046         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
6047         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
6048         (setModel): Replaced constant with real string.
6049         (setTabPlacement): Likewise.
6050         (setTabLayoutPolicy): Likewise.
6051         * javax/swing/JToolBar.java
6052         (ORIENTATION_CHANGED_PROPERTY): Removed.
6053         (FLOATABLE_CHANGED_PROPERTY): Likewise.
6054         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
6055         (MARGIN_CHANGED_PROPERTY): Likewise.
6056         (ROLLOVER_CHANGED_PROPERTY): Likewise.
6057         (setRollover): Replaced constant with real string.
6058         (setMargin): Likewise.
6059         (setBorderPainted): Likewise.
6060         (setFloatable): Likewise.
6061         (setOrientation): Likewise.
6062         * javax/swing/plaf/basic/BasicComboBoxUI.java
6063         (PropertyChangeHandler.propertyChange): Likewise.
6064         * javax/swing/plaf/basic/BasicComboPopup.java
6065         (PropertyChangeHandler.propertyChange): Likewise.
6066         * javax/swing/plaf/basic/BasicMenuBarUI.java
6067         (PropertyChangeHandler.propertyChange): Likewise.
6068         * javax/swing/plaf/basic/BasicProgressBarUI.java
6069         (PropertyChangeHandler.propertyChange): Likewise.
6070         * javax/swing/plaf/basic/BasicScrollBarUI.java
6071         (PropertyChangeHandler.propertyChange): Likewise.
6072         * javax/swing/plaf/basic/BasicSliderUI.java
6073         (PropertyChangeHandler.propertyChange): Likewise.
6074         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6075         (PropertyChangeHandler.propertyChange): Likewise.
6076         * javax/swing/plaf/basic/BasicToolBarUI.java
6077         (PropertyChangeHandler.propertyChange): Likewise.
6079 2005-02-15  Michael Koch  <konqueror@gmx.de>
6081         * javax/swing/DefaultButtonModel.java
6082         (changeState): Made private.
6083         * javax/swing/DefaultDesktopManager.java
6084         (setWasIcon): Fixed second argument to be java.lang.Boolean.
6085         * javax/swing/JLayeredPane.java
6086         (layerToRange): Made private.
6087         (incrLayer): Likewise.
6088         (decrLayer): Likewise.
6089         * javax/swing/JTable.java
6090         (dragEnabled): Likewise.
6091         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
6092         * javax/swing/KeyStroke.java
6093         (Keystroke): Made private.
6094         * javax/swing/TransferHandler.java
6095         (COMMAND_COPY): Likewise.
6096         (COMMAND_CUT): Likewise.
6097         (COMMAND_PASTE): Likewise.
6099 2005-02-15  Michael Koch  <konqueror@gmx.de>
6101         * javax/swing/JTextField.java
6102         (postActionEvent): Use text in field when actionCommand is null.
6103         (getActionCommand): Removed.
6105 2005-02-15  Michael Koch  <konqueror@gmx.de>
6107         * javax/swing/AbstractSet.java: Removed.
6108         * Makefile.am: Removed javax/swing/AbstractSet.java.
6109         * Makefile.in: Regenerated.
6111 2005-02-15  Michael Koch  <konqueror@gmx.de>
6113         * java/awt/Window.java
6114         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
6115         * java/awt/dnd/DnDConstants.java
6116         (DnDConstants): New private constructor.
6118 2005-02-15  Michael Koch  <konqueror@gmx.de>
6120         * javax/swing/DefaultCellRenderer.java: Removed.
6121         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
6122         * Makefile.in: Regenerated.
6124 2005-02-15  Michael Koch  <konqueror@gmx.de>
6126         * javax/swing/AbstractButton.java
6127         (fireItemStateChanged): Made protected.
6128         (fireActionPerformed): Likewise.
6129         (fireStateChanged): Likewise.
6130         * javax/swing/DefaultButtonModel.java
6131         (fireItemStateChanged): Likewise.
6132         (fireActionPerformed): Likewise.
6133         (fireStateChanged): Likewise.
6134         * javax/swing/JApplet.java
6135         (JApplet): Removed.
6136         (frameInit): Likewise.
6137         (setRootPane): Made protected.
6138         (createRootPane): Likewise.
6139         * javax/swing/JComponent.java
6140         (getClientProperty): Likewise.
6141         (putClientProperty): Likewise.
6142         * javax/swing/JEditorPane.java
6143         (getContentType): Likewise.
6144         (setContentType): Likewise.
6145         * javax/swing/JFrame.java
6146         (setRootPane): Likewise.
6147         (createRootPane): Likewise.
6148         * javax/swing/JInternalFrame.java
6149         (getFocusCycleRootAncestor): Made final. Added @since tag.
6150         (isFocusCycleRoot): Likewise.
6151         (getWarningString): Made final.
6152         * javax/swing/JScrollBar.java
6153         (changeListener): Removed.
6154         (changeEvent): Likewise.
6155         (createChangeListener): Likewise.
6156         (fireStateChanged): Likewise.
6157         (addChangeListener): Likewise.
6158         (removeChangeListener): Likewise.
6159         (getChangeListeners): Likewise.
6160         * javax/swing/JScrollPane.java
6161         (createViewport): Made protected.
6162         * javax/swing/JViewport.java
6163         (addImpl): Likewise.
6164         (setBorder): New method.
6165         * javax/swing/JWindow.java
6166         (setRootPane): Made protected.
6167         (createRootPane): Likewise.
6168         * javax/swing/plaf/basic/BasicButtonUI.java
6169         (installListeners): Likewise.
6170         (uninstallListeners): Likewise.
6171         * javax/swing/plaf/basic/BasicProgressBarUI.java
6172         (incrementAnimationIndex): Likewise.
6173         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6174         (createLayoutManager): Likewise.
6175         * javax/swing/table/DefaultTableCellRenderer.java
6176         (firePropertyChange): Likewise.
6177         * javax/swing/table/JTableHeader.java
6178         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
6179         New constructor.
6180         * javax/swing/text/PlainDocument.java
6181         (reindex): Made private.
6182         * javax/swing/text/PlainView.java
6183         (drawLine): Made protected.
6184         (getTabSize): Likewise.
6185         * javax/swing/text/View.java
6186         (setSize): Removed.
6187         (preferenceChanged): New method.
6188         (getBreakWeight): Likewise.
6189         (breakView): Likewise.
6190         (getViewIndex): Likewise.
6192 2005-02-15  Michael Koch  <konqueror@gmx.de>
6194         * javax/swing/JScrollPane.java
6195         (ScrollBar): Made class protected.
6196         * javax/swing/JSpinner.java
6197         (JSpinner): Added @since tag.
6198         (listenerList): Removed.
6199         * javax/swing/JTable.java
6200         (setValueAt): New method.
6201         (getColumn): Likewise.
6202         * javax/swing/JWindow.java
6203         (rootPaneCheckingEnabled): Renamed from checking.
6205 2005-02-15  Michael Koch  <konqueror@gmx.de>
6207         * javax/swing/plaf/basic/BasicTextUI.java
6208         (RootView.modelToView): Made it public and return a java.awt.Shape.
6209         Handle null subview.
6210         (uninstall): Set textComponent to null when its not possible used
6211         anymore.
6212         * javax/swing/text/View.java
6213         (setParent): Use better argument name.
6214         (getContainer): Get parent via getParent().
6215         (getViewFactory): Likewise.
6216         (getAttributes): Get element via getElement().
6217         (getStartOffset): Likewise.
6218         (getEndOffset): Likewise.
6219         (getResizeWeight): New method.
6220         (getMaximumSpan): Likewise.
6221         (getMinimumSpan): Likewise.
6222         (setSize): Likewise.
6223         (getGraphics): Likewise.
6225 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6227         * java/awt/Checkbox.java:
6228         (AccessibleAWTCheckbox()): Added public constructor
6229         to call superclass.
6230         * java/awt/Choice.java:
6231         (AccessibleAWTChoice): Added class documentation.
6232         (AccessibleAWTChoice()): Added public constructor
6233         to call superclass.
6234         (AccessibleAWTChoice.getAccessibleAction()): Documented.
6235         (AccessibleAWTChoice.getAccessibleRole()): Documented,
6236         and changed role to COMBO_BOX.
6237         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
6238         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
6239         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
6241 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6242             Michael Koch  <konqueror@gmx.de>
6244         * javax/swing/LayoutFocusTraversalPolicy.java,
6245         javax/swing/SortingFocusTraversalPolicy.java:
6246         New classes.
6247         * Makefile.am: Added new classes.
6248         * Makefike.in: Regenerated.
6251 2005-02-15  Michael Koch  <konqueror@gmx.de>
6253         * javax/swing/DebugGraphics.java: Mostly implemented.
6255 2005-02-15  Michael Koch  <konqueror@gmx.de>
6257         * javax/swing/SwingUtilities.java
6258         (findFocusOwner): New method.
6260 2005-02-15  Michael Koch  <konqueror@gmx.de>
6262         * javax/swing/text/DefaultEditorKit.java
6263         (read): Added '\n' after each line.
6264         * javax/swing/text/PlainView.java
6265         (modelToView): Update metrics.
6266         (drawLine): Use offsets from element.
6267         (paint): Update metrics. Draw all lines.
6269 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6271         * java/awt/Checkbox.java:
6272         (AccessibleAWTCheckbox): Added class documentation
6273         * java/awt/Scrollbar.java:
6274         (AccessibleAWTScrollBar): typo corrected and docs added
6275         (AccessibleAWTScrollBar.getAccessibleRole()): documented
6276         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
6277         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
6278         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
6279         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
6280         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
6281         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
6282         (getAccessibleContext()): name of accessible class corrected
6284 2005-02-15  Mark Wielaard  <mark@klomp.org>
6286         * java/awt/BasicStroke.java (hashCode): Implement.
6287         (equals): Document.
6289 2005-02-15  Michael Koch  <konqueror@gmx.de>
6291         * java/awt/print/PrinterJob.java
6292         (pageDialog): Throws java.awt.HeadlessException.
6293         (printDialog): Likewise.
6295 2005-02-15  Mark Wielaard  <mark@klomp.org>
6297         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
6299 2005-02-15  Michael Koch  <konqueror@gmx.de>
6301         * javax/swing/JTable.java
6302         (getValueAt): New method.
6303         * javax/swing/table/JTableHeader.java
6304         (columnAtPoint): New method.
6306 2005-02-15  Michael Koch  <konqueror@gmx.de>
6308         * javax/swing/JTextField.java
6309         (actions): New field.
6310         (static): Initalize actions field.
6311         (getActions): New method.
6313 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6315         * java/awt/Checkbox.java:
6316         (AccessibleAWTCheckbox): name capitalization corrected
6317         and serialization UID added.
6318         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
6319         documented.
6320         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
6321         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
6322         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
6323         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
6324         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
6325         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
6326         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
6327         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
6328         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
6329         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
6330         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
6331         documented
6332         (getAccessibleContext()): name of accessible class corrected
6334 2005-02-15  Sven de Marothy  <sven@physto.se>
6336         * java/awt/geom/doc-files/Area-1.png,
6337         java/awt/geom/doc-files/Ellipse-1.png,
6338         java/awt/geom/doc-files/GeneralPath-1.png:
6339         New files.
6341 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
6344         Use union to avoid type-punning warning.
6346 2005-02-15  Michael Koch  <konqueror@gmx.de>
6348         * javax/swing/DefaultListSelectionModel.java
6349         (clone): New method.
6351 2005-02-15  Mark Wielaard  <mark@klomp.org>
6353         Reported by Martin Platter <motse@complang.tuwien.ac.at>
6354         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6355         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
6356         Correct method signature of gtkSetFilename.
6358 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
6360         * javax/swing/text/StringContent.java: New file.
6362 2005-02-15  Michael Koch  <konqueror@gmx.de>
6364         * Makefile.am: Added javax/swing/text/StringContent.java.
6365         * Makefile.in: Regenerated.
6367 2005-02-15  Michael Koch  <konqueror@gmx.de>
6369         * gnu/java/awt/ClasspathToolkit.java:
6370         Import statements reworked.
6371         (imageCache): Made it of type java.util.HashMap.
6373 2005-02-15  Michael Koch  <konqueror@gmx.de>
6375         * javax/imageio/stream/MemoryCacheImageInputStream.java:
6376         Reworked import statements.
6378 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
6381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
6383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
6385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
6387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
6388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6392         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
6393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
6394         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6396         Rewrite uses of extern variable to be function calls.
6397         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
6398         function, from extern variable.
6399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6400         (gdk_env): Remove variable, add new function.
6401         (java_vm): Add new variable.
6402         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
6403         java_vm rather than old gdk_env variable.
6405 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6407         * javax/swing/DefaultListModel.java
6408         (add): fire correct event,
6409         (addElement): corrected interval indices in event,
6410         (clear): corrected upper bound for interval, only fire event if
6411         list is not empty,
6412         (setSize): fire appropriate event.
6414 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6416         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
6417         * gnu/awt/xlib/XToolkit.java: Likewise.
6418         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6419         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6420         * gnu/java/awt/ClasspathToolkit.java: Likewise.
6421         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
6422         * java/awt/EventQueue.java (getNextEvent):
6423         Adjust event loop to switch to native mode after 100ms.
6424         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
6425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6426         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
6427         Wake up event thread.
6428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6429         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
6430         Adjust event loop to switch to java mode after 100ms.
6432 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6434         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
6435         accidentally removed in last change.
6437 2005-02-15  Michael Koch  <konqueror@gmx.de>
6439         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6440         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6442 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6444         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6445         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6446         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6447         * jni.cc: Reuse bottom frame between calls, avoid clearing
6448         frame when no local references are made.
6450 2005-02-15  Michael Koch  <konqueror@gmx.de>
6452         * javax/swing/UIDefaults.java (UIDefaults):
6453         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6454         Fixed HTML entity and removed a redundant comma.
6456 2005-02-15  Michael Koch  <konqueror@gmx.de>
6458         * javax/swing/text/DefaultEditorKit.java
6459         (deinstall): Removed.
6460         (install): Likewise.
6462 2005-02-15  Michael Koch  <konqueror@gmx.de>
6464         * javax/swing/UIDefaults.java (put): Handle value of null.
6466 2005-02-15  Michael Koch  <konqueror@gmx.de>
6468         * java/awt/Robot.java,
6469         java/awt/Scrollbar.java,
6470         java/awt/print/PrinterJob.java,
6471         javax/swing/JTable.java,
6472         javax/swing/text/AbstractDocument.java:
6473         Reworked import statements.
6475 2005-02-15  Michael Koch  <konqueror@gmx.de>
6477         * javax/swing/JEditorPane.java
6478         (read): Implemented.
6479         (write): Likewise.
6480         * javax/swing/text/DefaultEditorKit.java
6481         (page): Renamed from page_url. Made private.
6482         (editorKit): Renamed from kit. Made private.
6483         (ctype): Removed.
6484         (JEditorPane): All constructors reimplemented.
6485         (getContentType): Use content type from editor kit.
6486         (getEditorKit): Return editorKit.
6487         (getEditorKitForContentType):Likewise.
6488         (getPage): Return page.
6489         (setContentType): Reimplemented.
6490         (setEditorKit): Likewise.
6491         (setEditorKitForContentType): Removed wrong implementation.
6492         (setPage): Implemented.
6494 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6497         (nativeSetIconImageFromData): Re-add native implementation.
6499 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
6501         * javax/swing/table/DefaultTableModel.java
6502         (DefaultTableModel()): Added Javadocs.
6503         (DefaultTableModel(int, int)): Fixed implementation.
6504         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6505         for negative rowCount.
6506         (DefaultTableModel(Object[], int)): Added Javadocs.
6507         (DefaultTableModel(Vector, Vector)): Likewise.
6508         (DefaultTableModel(Object[][], Object[])): Likewise.
6509         (getDataVector): Likewise.
6510         (setDataVector(Vector, Vector)): Likewise.
6511         (setDataVector(Object[][], Object[])): Likewise.
6512         (newDataAvailable): Likewise.
6513         (newRowsAdded): Likewise.
6514         (rowsRemoved): Likewise.
6515         (setColumnIdentifiers(Vector)): Allow for null argument.
6516         (setColumnIdentifiers(Object[])): Added Javadocs.
6517         (setNumRows): Likewise.
6518         (setRowCount): Adds new rows if necessary, and sends more specific
6519         TableModelEvent.
6520         (setColumnCount): Allow for null columnIdentifiers.
6521         (addColumn(Object)): Added Javadocs.
6522         (addColumn(Object, Vector)): Handle null columnData.
6523         (addColumn(Object, Object[])): Handle columnData with more or less
6524         entries than rows in the table.
6525         (addRow(Vector)): Fire appropriate event.
6526         (addRow(Object[])): Added Javadocs.
6527         (insertRow(int, Vector)): Fire appropriate event.
6528         (insertRow(int, Object[])): Added Javadocs.
6529         (moveRow): Reimplemented.
6530         (removeRow(int)): Fire appropriate event.
6531         (getColumnCount): Allow for null columnIdentifiers.
6532         (getColumnName): Now returns empty string when column index is too
6533         large.
6534         (isCellEditable): Added Javadocs.
6535         (getValueAt): Likewise.
6536         (setValueAt): Fire more specific event.
6537         (convertToVector): Added Javadocs.
6538         * javax/swing/table/TableModel.java
6539         Added Javadocs.
6541 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6543         * libgcj.spec.in (lib): Add -l-javax-imageio.
6545 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6547         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6548         references to event queue q with method call q().
6549         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6550         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6551         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6552         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6553         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6554         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6555         (q): New method.
6557 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6559         * gnu/java/awt/ClasspathToolkit.java
6560         (registerImageIOSpis): New method.
6561         * gnu/java/awt/image/ImageDecoder.java
6562         (imageDecoder): New constructor using InputStream
6563         (startProduction): Handle existing InputStream.
6564         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6565         (findSimpleIntegerArray): Make public and static.
6566         (updateBufferedImage): Set each pixel, in a loop.
6567         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6568         Implement ImageIO SPI classes.
6569         (createBufferedImage): Rewrite in terms of SPI classes.
6570         * gnu/java/awt/peer/gtk/GtkToolkit.java
6571         (registerImageIOSpis): New method.
6572         * java/lang/reflect/natMethod.cc
6573         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6574         which lets JNI call interface methods properly.
6575         * javax/imageio/ImageIO.java
6576         (WriterFormatFilter.filter): Fix copy-and-paste typos.
6577         (WriterMIMETypeFilter.filter): Likewise.
6578         (ImageReaderIterator): Pass extension argument through to SPI.
6579         (getReadersByFilter): Likewise.
6580         (getWritersByFilter): Likewise.
6581         (getImageReadersByFormatName): Likewise.
6582         (getImageReadersByMIMEType): Likewise.
6583         (getImageReadersBySuffix): Likewise.
6584         (getImageWritersByFormatName): Likewise.
6585         (getImageWritersByMIMEType): Likewise.
6586         (getImageWritersBySuffix): Likewise.
6587         (read): Implement.
6588         (write): Implement.
6589         * javax/imageio/ImageReader.java
6590         (progressListeners): Initialize.
6591         (setInput): Implement.
6592         * javax/imageio/ImageWriter.java
6593         (progressListeners): Initialize.
6594         (warningListeners): Likewise.
6595         (warningLocales): Likewise.
6596         (setOutput): Test "isInstance" rather than class equality.
6597         * javax/imageio/spi/IIORegistry.java
6598         (static): Add reader and writer SPIs.
6599         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6601         (query_formats): New function.
6602         (save_to_stream): Likewise.
6603         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6605 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6608         Call XFlush.
6609         (keyPress): Likewise.
6610         (keyRelease): Likewise.
6612 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
6614         * javax/swing/JTable.java
6615         (columnAtPoint): New Method. Implemented.
6616         (rowAtPoint): Likewise.
6617         (countSelections): Fixed few small count errors.
6618         (getSelections): Likewise.
6619         (setSelectionMode): Set selection mode for column
6620         selection model in addition to row selection model.
6621         * javax/swing/plaf/basic/BasicTableUI.java:
6622         (getRowForPoint): Removed. Replaced by
6623         JTable.rowAtPoint().
6624         (getColForPoint): Removed. Replaced by
6625         JTable.columnAtPoint().
6626         (updateSelection): Updated to call JTable.columnAtPoint
6627         and JTable.rowAtPoint.
6628         * javax/swing/table/DefaultTableColumnModel.java:
6629         (getSelectedColumns): Implemented.
6630         (getSelectedColumnCount): Implemented.
6632 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6634         * Makefile.am
6635         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6636         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6637         * Makefile.in: Regenerate.
6638         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6639         * gnu/awt/xlib/XFramePeer.java: Likewise.
6640         * gnu/awt/xlib/XToolkit.java: Likewise.
6641         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6642         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6643         * gnu/java/awt/ClasspathToolkit.java
6644         (nativeQueueEmpty)
6645         (wakeNativeQueue)
6646         (iterateNativeQueue): New methods.
6647         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6648         * gnu/java/awt/peer/gtk/GtkToolkit.java
6649         (gtkInit): Absorb from defunct GtkMainThread class.
6650         (static): Run gtkInit in static startup block.
6651         (GtkToolkit): Remove construction of GtkMainThread and queue.
6652         (getSystemEventQueueImpl): Construct queue when requested.
6653         (nativeQueueEmpty)
6654         (wakeNativeQueue)
6655         (iterateNativeQueue): New methods.
6656         * java/awt/Component.java (removeNotify): Remove race.
6657         * java/awt/EventDispatchThread.java
6658         (EventDispatchThread): Don't start on construction.
6659         (run): Remove isInterrupted check.
6660         * java/awt/EventQueue.java (shutdown): New flag.
6661         (isShutdown): New method checking J2SE shutdown condition.
6662         (setShutdown): New method.
6663         (getNextEvent): Restructure to use ClasspathToolkit.
6664         (postEvent): Activate new thread on posting, wake thread on
6665         post of possible shutdown condition event.
6666         * java/awt/Frame.java
6667         (Frame): Call noteFrame in all constructors.
6668         (fireDummyEvent): New helper method.
6669         (addNotify): Fire a dummy event to wake up queue.
6670         (removeNotify): Fire a dummy event to wake up queue.
6671         (noteFrame): New method.
6672         (weakFrames): New static field.
6673         (getFrames): Implement.
6674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6675         Remove.
6676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6677         Move everything from GtkMainThread into this file
6678         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6679         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6680         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6681         New functions to implement single-threaded queue semantics.
6683 2005-02-15  Michael Koch  <konqueror@gmx.de>
6685         * javax/swing/plaf/metal/MetalLookAndFeel.java
6686         (getControlTextFont): New method.
6687         (getMenuTextFont): Likewise.
6688         (getSubTextFont): Likewise.
6689         (getSystemTextFont): Likewise.
6690         (getUserTextFont): Likewise.
6691         (getWindowTitleFont): Likewise.
6693 2005-02-15  Michael Koch  <konqueror@gmx.de>
6695         * javax/swing/text/AbstractDocument.java
6696         (documentFilter): New field.
6697         (getDocumentFilter): New method.
6698         (setDocumentFilter): Likewise.
6699         (dump): Likewise.
6701 2005-02-15  Michael Koch  <konqueror@gmx.de>
6703         * javax/swing/JTree.java
6704         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6706 2005-02-15  Michael Koch  <konqueror@gmx.de>
6708         * javax/swing/text/AbstractDocument.java
6709         (AbstractElement.getLength): Fixed off-by-one error.
6710         (AbstractElement.children): Made abstract.
6711         (AbstractElement.getAllowsChildren): Likewise.
6712         (AbstractElement.getElement): Likewise.
6713         (AbstractElement.dumpElement): New private method.
6714         (AbstractElement.dump): New method.
6715         (BranchElememt.getName): Fixed implementation.
6716         (BranchElememt.toString): Likewise.
6717         (BranchElememt.getElement): Fixed arguments.
6718         (LeafElement.getName): Fixed implementation.
6719         (LeafElement.toString): Likewise.
6720         * javax/swing/text/GapContent.java
6721         (GapContent): Put default content into buffer.
6722         * javax/swing/text/PlainDocument.java
6723         (reindex): Use empty attribute sets instead of null.
6724         (createDefaultRoot): Reimplemented.
6725         (insertUpdate): Call super method.
6726         (removeUpdate): Likewise.
6727         (getParagraphElement): Implemented.
6729 2005-02-15  Michael Koch  <konqueror@gmx.de>
6731         * gnu/java/awt/ClasspathToolkit.java
6732         (createRobot): Throws java.awt.AWTException.
6733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6734         Added '__attribute__((unused))' to all unused method arguments.
6736 2005-02-15  Michael Koch  <konqueror@gmx.de>
6738         * javax/swing/DefaultBoundedRangeModel.java
6739         (fireValueChanged): Fixed off-by-one error.
6741 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6743         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6744         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6745         GdkRobotPeer.java.
6746         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6747         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6748         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6749         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6750         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6751         (getDefaultScreenDevice): Implement.
6752         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6753         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6754         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6755         * java/awt/Robot.java: Implement.
6756         * java/awt/peer/RobotPeer.java: Rename parameters.
6757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6759         (awt_keycode_to_keysym): Make non-static.
6760         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6761         AWT_BUTTON3_MASK): Declare constants.
6762         (awt_keycode_to_keysym): Declare.
6764         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6765         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6766         and is non-empty pass its value to "make check".
6767         (test_mauve_sim): Likewise.
6769 2005-02-15  Michael Koch  <konqueror@gmx.de>
6771         * javax/imageio/IIOParam.java
6772         (setSourceBands): New method.
6773         (setSourceSubsampling): Likewise.
6774         * javax/imageio/ImageReadParam.java
6775         (setDestination): Likewise.
6776         (setDestinationBands): Likewise.
6777         (setSourceProgressivePasses): Likewise.
6778         * javax/imageio/metadata/IIOInvalidTreeException.java
6779         (serialVersionUID): New static field.
6780         * javax/imageio/metadata/IIOMetadataNode.java
6781         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6782         (parent): Dont initailize with default value explicitely.
6783         (Object): Likewise.
6784         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6785         (removeAttributeNode): Likewise.
6786         (removeAttributeNS): Likewise.
6787         (setAttribute): Likewise.
6788         (setAttributeNode): Likewise.
6789         (setAttributeNodeNS): Likewise.
6790         (setAttributeNS): Likewise.
6791         (appendChild): Likewise.
6792         (getNodeValue): Likewise.
6793         (insertBefore): Likewise.
6794         (removeChild): Likewise.
6795         (replaceChild): Likewise.
6796         (setPrefix): Likewise.
6798 2005-02-15  Michael Koch  <konqueror@gmx.de>
6800         * javax/swing/LookAndFeel.java
6801         (getDesktopPropertyValue): New method.
6803 2005-02-15  Michael Koch  <konqueror@gmx.de>
6805         * javax/swing/JTree.java
6806         (hasChildren): New instance field.
6808 2005-02-15  Michael Koch  <konqueror@gmx.de>
6810         * javax/swing/JComponent.java
6811         (getToolTipText): New method.
6812         (getTitledBorderText): Likewise.
6813         (getAccessibleKeyBinding): Likewise.
6814         (getVerifyInputWhenFocusTarget): Likewise.
6815         (setVerifyInputWhenFocusTarget): Likewise.
6816         (verifyInputWhenFocusTarget): New instance field.
6818 2005-02-15  Michael Koch  <konqueror@gmx.de>
6820         * javax/swing/DefaultListSelectionModel.java
6821         (fireValueChanged): New method.
6823 2005-02-15  Michael Koch  <konqueror@gmx.de>
6825         * javax/swing/DefaultBoundedRangeModel.java:
6826         Fixed javadocs all over.
6827         (fireStateChanged): Simplified.
6828         * javax/swing/BoundedRangeModel.java:
6829         Reformatted.
6831 2005-02-15  Michael Koch  <konqueror@gmx.de>
6833         * javax/swing/JRootPane.java
6834         (setMenuBar): Added @deprecated tag.
6835         (getMenuBar): Likewise.
6836         * javax/swing/JTable.java
6837         (sizeColumnsToFit): Likewise.
6839 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
6841         * javax/swing/ImageIcon.java (setImage): Implemented.
6843 2005-02-15  Michael Koch  <konqueror@gmx.de>
6845         * javax/swing/JTable.java:
6846         Removed unused imports.
6848 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
6850         (prepareRenderer): Get column's index in dataModel instead
6851         of column's view index.
6852         (getColumnCount): return count of the columns in ColumnModel,
6853         not in dataModel.
6854         (removeColumn): Implemented.
6855         (moveColumm): Likewise.
6856         (setRowHeight): throw IllegalArgumentException if height is
6857         less then 1.
6858         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6859         (DefaultTableColumnModel):Add call to createSelectionModel().
6860         (addColumn): Fire columnAdded event to registered listeners.
6861         (removeColumn): Fire columnRemoved event to registered listeners.
6862         (moveColumn): Fire columnMoved event to registered listeners.
6863         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6864         (getColumnIndex): Changed parameter name.
6865         (setColumnSelectionAllowed): Likewise.
6866         (fireColumnAdded): Implemented.
6867         (fireColumnRemoved): Likewise.
6868         (fireColumnMoved): Likewise.
6869         (fireColumnMarginChanged): Likewise.
6870         (getListeners): Changed parameter name.
6871         (propertyChange): Implemented.
6872         (valueChanged): Changed parameter name.
6873         (createSelectionModel): Implemented.
6875 2005-02-15  Michael Koch  <konqueror@gmx.de>
6877         * gnu/java/awt/peer/gtk/GtkToolkit.java:
6878         Explicitely import used classes.
6879         (getLocalGraphicsEnvironment): Simplify.
6880         * java/awt/Window.java (Window):
6881         Enable code to get the default GraphicsConfiguration.
6883 2005-02-15  Michael Koch  <konqueror@gmx.de>
6885         * javax/swing/plaf/metal/DefaultMetalTheme.java
6886         (CONTROL_TEXT_FONT): New static field.
6887         (MENU_TEXT_FONT): Likewise.
6888         (SUB_TEXT_FONT): Likewise.
6889         (SYSTEM_TEXT_FONT): Likewise.
6890         (USER_TEXT_FONT): Likewise.
6891         (WINDOW_TITLE_FONT): Likewise.
6892         (getControlTextFont): New method.
6893         (getMenuTextFont): Likewise.
6894         (getSubTextFont): Likewise.
6895         (getSystemTextFont): Likewise.
6896         (getUserTextFont): Likewise.
6897         (getWindowTitleFont): Likewise.
6898         * javax/swing/plaf/metal/MetalTheme.java
6899         (BLACK): Initialize with Color.BLACK.
6900         (WHITE): Initialize with Color.WHITE.
6901         (getInactiveControlTextColor): Return getControlDisabled().
6902         (getMenuDisabledForeground): Return getSecondary3().
6903         (getControlTextFont): New abstract method.
6904         (getMenuTextFont): Likewise.
6905         (getSubTextFont): Likewise.
6906         (getSystemTextFont): Likewise.
6907         (getUserTextFont): Likewise.
6908         (getWindowTitleFont): Likewise.
6910 2005-02-15  Michael Koch  <konqueror@gmx.de>
6912         * javax/swing/JFormattedTextField.java
6913         (getFocusLostBehavior): Fixed typo in method name.
6914         (setFocusLostBehavior): Likewise.
6916 2005-02-15  Michael Koch  <konqueror@gmx.de>
6918         * javax/swing/TransferHandler.java:
6919         Reworked import statements.
6921 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
6923         * java/awt/Button.java,
6924         java/awt/Canvas.java,
6925         java/awt/Checkbox.java,
6926         java/awt/CheckboxMenuItem.java,
6927         java/awt/Choice.java,
6928         java/awt/Dialog.java,
6929         java/awt/Frame.java,
6930         java/awt/Label.java,
6931         java/awt/List.java,
6932         java/awt/Menu.java,
6933         java/awt/MenuBar.java,
6934         java/awt/MenuItem.java,
6935         java/awt/PopupMenu.java,
6936         java/awt/ScrollPane.java,
6937         java/awt/Scrollbar.java,
6938         java/awt/TextArea.java,
6939         java/awt/Window.java (getAccessibleContext): Clean up comments.
6940         Reformat.
6941         * java/awt/Button.java,
6942         java/awt/Checkbox.java,
6943         java/awt/Choice.java,
6944         java/awt/Menu.java,
6945         java/awt/PopupMenu.java,
6946         java/awt/TextArea.java (getAccessibleContext): Only create new
6947         accessible once.
6948         * java/awt/TextComponent.java (getAccessibleContext): Implement.
6950 2005-02-15  Michael Koch  <konqueror@gmx.de>
6952         * java/awt/Button.java,
6953         javax/swing/JApplet.java,
6954         javax/swing/JFormattedTextField.java,
6955         javax/swing/JWindow.java,
6956         javax/swing/JTree.java,
6957         javax/swing/plaf/basic/BasicEditorPaneUI.java,
6958         javax/swing/plaf/basic/BasicTextPaneUI.java,
6959         javax/swing/plaf/basic/BasicTreeUI.java:
6960         Reworked import statements.
6962 2005-02-15  Michael Koch  <konqueror@gmx.de>
6964         * Makefile.am: Put javax.imageio into its own library and link it
6965         against lib-org-w3c-dom.la to fix bootstrapping.
6966         * Makefile.in: Regenerated.
6968 2005-02-15  Michael Koch  <konqueror@gmx.de>
6970         * javax/swing/text/TextAction.java
6971         (getTextComponent): Simplified. Added Javadoc.
6972         (augmentList): Implemented. Added Javadoc.
6973         (getFocusedComponent): Added javadoc.
6975 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
6977         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6978         getAccessibleContext): Implement.
6979         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6980         getAccessibleContext): Implement.
6982 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
6984         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6985         Implement.
6986         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6987         Implement.
6988         * java/awt/Window.java (getAccessibleContext): Fix comment.
6989         Remove extra import.
6991 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
6993         * java/awt/Window.java (AccessibleAWTWindow): Implement.
6994         (isActive, isFocused, getAccessibleContext): Implement.
6996 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
6998         * java/awt/MenuItem.java (getAccessibleContext): Implement.
6999         * java/awt/MenuComponent.java (accessibleContext): Make package
7000         visible.
7001         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
7002         AccessibleAWTCheckboxMenuItem): Implement.
7004 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7006         * java/awt/List.java: Implement AccessibleAWTList,
7007         AccessibleAWTListChild.
7009 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7011         * java/awt/Choice.java: Add implements declaration for
7012         Accessible.
7014 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7016         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
7017         instead of Object.
7019 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7021         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
7022         implemented interface list.
7024 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7026         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
7027         * javax/imageio/metadata/IIOAttr.java: New class.
7028         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
7029         * javax/imageio/metadata/IIONodeList.java: New class.
7030         * Makefile.am: Added new files.
7031         * Makefile.in: Regenerated.
7033 2005-02-15  Michael Koch  <konqueror@gmx.de>
7035         * javax/swing/AbstractAction.java,
7036         javax/swing/AbstractCellEditor.java,
7037         javax/swing/AbstractListModel.java,
7038         javax/swing/DefaultBoundedRangeModel.java,
7039         javax/swing/DefaultButtonModel.java,
7040         javax/swing/DefaultCellEditor.java,
7041         javax/swing/DefaultComboBoxModel.java,
7042         javax/swing/DefaultDesktopManager.java,
7043         javax/swing/JMenu.java,
7044         javax/swing/JSlider.java,
7045         javax/swing/KeyStroke.java,
7046         javax/swing/OverlayLayout.java,
7047         javax/swing/ScrollPaneLayout.java,
7048         javax/swing/SizeRequirements.java,
7049         javax/swing/ViewportLayout.java:
7050         Made serialVersionUID private.
7052 2005-02-15  Michael Koch  <konqueror@gmx.de>
7054         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
7055         Reformatted.
7057 2005-02-15  Michael Koch  <konqueror@gmx.de>
7059         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
7061 2005-02-15  Michael Koch  <konqueror@gmx.de>
7063         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
7065 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
7067         * java/awt/EventDispatchThread.java,
7068         java/awt/Toolkit.java:
7069         Don't catch java.lang.ThreadDeath.
7071 2005-02-15  Michael Koch  <konqueror@gmx.de>
7073         * javax/swing/text/PasswordView.java
7074         (drawEchoCharacter): Added javadoc.
7075         (drawSelectedText): Likewise.
7076         (drawUnselectedText): Likewise.
7078 2005-02-15  Michael Koch  <konqueror@gmx.de>
7080         * javax/swing/JRootPane.java
7081         (windowDecorationStyle): New field.
7082         (setMenuBar): New method.
7083         (getMenuBar): Likewise.
7084         (getWindowDecorationStyle): Likewise.
7085         (setWindowDecorationStyle): Likewise.
7087 2005-02-15  Michael Koch  <konqueror@gmx.de>
7089         * javax/swing/DefaultListSelectionModel.java
7090         (leadAnchorNotificationEnabled): Made protected.
7092 2005-02-15  Michael Koch  <konqueror@gmx.de>
7094         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
7095         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
7096         * Makefile.in: Regenerated.
7099 2005-02-15  Michael Koch  <konqueror@gmx.de>
7101         * javax/swing/JFormattedTextField.java: Implemented.
7102         * javax/swing/JWindow.java
7103         (JWindow): New constructors.
7104         (initWindow): Renamed from initFrame.
7105         * javax/swing/UIDefaults.java
7106         (ActiveValue): Made interface static.
7107         (LazyValue): Likewise.
7108         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7109         (TitlePaneLayout.TitlePaneLayout): New constructor.
7110         * javax/swing/plaf/basic/BasicSliderUI.java
7111         (ChangeHandler): Made public.
7112         (FocusHandler): Likewise.
7113         (PropertyChangeHandler): Likewise.
7114         (ScrollListener): Likewise.
7115         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7116         (FocusHandler): Likewise.
7117         (MouseHandler): Likewise.
7118         * javax/swing/plaf/basic/BasicTextPaneUI.java
7119         (BasicTextPaneUI): Extend BasicEditorPaneUI.
7120         * javax/swing/plaf/basic/BasicToolBarUI.java
7121         (BasicToolBarUI): Simplified. Reworked javadoc.
7122         (canDock): Simplified. Make public.
7123         (DockingListener): Made public.
7124         * javax/swing/text/JTextComponent.java
7125         (navigationFilter): New field.
7126         (getNavigationFilter): New method.
7127         (setNavigationFilter): Likewise.
7129 2005-02-15  Michael Koch  <konqueror@gmx.de>
7131         * javax/swing/plaf/metal/MetalTheme.java
7132         (getControlTextColor): Return getControlInfo().
7133         (getHighlightedTextColor): Return getControlTextColor().
7135 2005-02-15  Michael Koch  <konqueror@gmx.de>
7137         * javax/swing/plaf/basic/BasicButtonListener.java
7138         (BasicButtonListener): New constructor.
7139         * javax/swing/plaf/basic/BasicButtonUI.java
7140         (createButtonListener): Usw new BasicButtonListener constructor.
7142 2005-02-15  Michael Koch  <konqueror@gmx.de>
7144         * javax/imageio/event/package.html,
7145         javax/imageio/metadata/package.html: New files.
7147 2005-02-15  Michael Koch  <konqueror@gmx.de>
7149         * java/awt/image/MemoryImageSource.java: Reformatted.
7151 2005-02-15  Michael Koch  <konqueror@gmx.de>
7153         * javax/swing/tree/TreeCellEditor.java: Refomatted.
7155 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
7157         * java/awt/color/ICC_Profile.java
7158         (finalize): Removed pointless field assignments.
7160 2005-02-15  Michael Koch  <konqueror@gmx.de>
7162         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
7163         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
7164         * Makefile.in: Regenerated.
7166 2005-02-15  Michael Koch  <konqueror@gmx.de>
7168         * javax/swing/text/DefaultStyledDocument.java: New file.
7169         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
7170         * Makefile.in: Regenerated.
7172 2005-02-15  Michael Koch  <konqueror@gmx.de>
7174         * javax/swing/JFileChooser.java
7175         (showDialog): Return CANCEL_OPTION for now.
7176         (showOpenDialog): Likewise.
7177         (showSaveDialog): Likewise.
7179 2005-02-15  Michael Koch  <konqueror@gmx.de>
7181         * javax/swing/JApplet.java
7182         (HIDE_ON_CLOSE): Removed.
7183         (EXIT_ON_CLOSE): Likewise.
7184         (DISPOSE_ON_CLOSE): Likewise.
7185         (DO_NOTHING_ON_CLOSE): Likewise.
7186         (close_action): Likewise.
7187         (getDefaultCloseOperation): Likewise.
7188         (setDefaultCloseOperation): Likewise.
7189         (processWindowEvent): Likewise.
7190         (getPreferredSize): Simplified.
7191         * javax/swing/JInternalFrame.java
7192         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
7193         value.
7194         * javax/swing/JWindow.java
7195         (HIDE_ON_CLOSE): Removed.
7196         (EXIT_ON_CLOSE): Likewise.
7197         (DISPOSE_ON_CLOSE): Likewise.
7198         (DO_NOTHING_ON_CLOSE): Likewise.
7199         (close_action): Likewise.
7200         (processKeyEvent): Likewise.
7201         (setDefaultCloseOperation): Likewise.
7202         (getPreferredSize): Simplified.
7204 2005-02-15  Michael Koch  <konqueror@gmx.de>
7206         * javax/swing/JTextField.java
7207         (getPreferredSize): Re-implemented.
7209 2005-02-15  Michael Koch  <konqueror@gmx.de>
7211         * javax/swing/JLabel.java
7212         (setDisplayedMnemonic): Use only upper case characters.
7213         (setDisplayedMnemonicIndex): Handle index == -1 and fire
7214         PropertyChangeEvent after property got set to the new index.
7216 2005-02-15  Robert Schuster <thebohemian@gmx.net>
7218         * javax/swing/JComboBox.java:
7219         (JComboBox): Removed selection of the
7220         first item in the model.
7222 2005-02-15  Robert Schuster <thebohemian@gmx.net>
7224         * javax/swing/JComboBox.java
7225         added support for no item being selected
7226         (JComboBox): select first or nothing depending on element count
7227         (setModel): cleaned up unneeded "this." usage, added more
7228         docs, made exception behavior match that of the JDK
7229         (setLighWeightPopupEnabled): removed unneeded "this." usage
7230         (setEditable): dito
7231         (setMaximumRowCount): dito
7232         (setRenderer): dito
7233         (setPrototypeDisplayValue): dito
7234         (getSelectedItem): simplified, added more user doc
7235         (setSelectedIndex): corrected exception behavior, added more user doc
7236         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
7237         added performance warning to user doc
7238         (addItem): fixed exception behavior, added user doc
7239         (insertItemAt): dito
7240         (removeItem): dito
7241         (removeItemAt): dito
7242         (removeAll): fixed exception behavior, added user doc, added support
7243         for model not being instance of DefaultComboBoxModel
7244         (getSelectedItemObjects): simplified
7245         (getItemCount): fixed dependency on DefaultComboBoxModel
7246         (getItemAt): fixed dependency on MutableComboBoxModel
7247         * javax/swing/DefaultComboBoxModel.java:
7248         (setSelectedItem): updates selected item only if new
7249         value is null or known (match JDK behavior)
7250         * javax/swing/plaf/basic/BasicComboBoxUI.java:
7251         (paintCurrentValue): renders "" if no item is selected
7253 2005-02-15  Michael Koch  <konqueror@gmx.de>
7255         * javax/swing/plaf/metal/MetalTheme.java,
7256         javax/swing/plaf/metal/DefaultMetalTheme.java:
7257         New files.
7258         * javax/swing/plaf/metal/MetalLookAndFeel.java
7259         * Makefile.am: Added the new files.
7260         * Makefile.in: Regenerated.
7262 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7264         * javax/swing/JTable.java
7265         (editorComp): New field.
7266         (JTable): Initialize local variables and call updateUI
7267         (selectionBackground): Make protected.
7268         (selectionForeground): Likewise.
7269         (initializeLocalVars): Create default editors and renderers,
7270         initialize editingColumn, editingRow variables.
7271         (createDefaultEditors): New Method.
7272         (createDefaultRenderers): Likewise.
7273         (createDefaultListSelectionModel): Removed
7274         (createDefaultSelectionModel): New Method.
7275         (createDefaultTableHeader): Likewise
7276         (removeColumn): Likewise.
7277         (getEditingColumn): Likewise.
7278         (setEditingColumn): Likewise.
7279         (getEditingRow): Likewise.
7280         (setEditingRow): Likewise.
7281         (getEditorComponent): Likewise.
7282         (isEditing): Likewise.
7283         (setDefaultEditor): Likewise.
7284         (addColumnSelectionInterval): Likewise.
7285         (addRowSelectionInterval): Likewise.
7286         (setColumnSelectionInterval): Likewise.
7287         (setRowSelectionInterval): Likewise.
7288         (removeColumnSelectionInterval): Likewise.
7289         (removeRowSelectionInterval): Likewise.
7290         (isColumnSelected): Likewise.
7291         (isRowSelected): Likewise.
7292         (isCellSelected): Likewise.
7293         (selectAll): Likewise.
7295 2005-02-15  Michael Koch  <konqueror@gmx.de>
7297         * javax/swing/JTable.java
7298         (addColumn): New method.
7299         (getColumnClass): Likewise.
7300         (getColumnName): Likewise.
7302 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
7304         * javax/swing/TransferHandler.java
7305         (createTransferable): Made protected.
7307 2005-02-15  Michael Koch  <konqueror@gmx.de>
7309         * javax/swing/JTable.java,
7310         javax/swing/plaf/basic/BasicTableHeaderUI.java,
7311         javax/swing/plaf/basic/BasicTableUI.java:
7312         Use fixed get/setIntercellSpacing() methods.
7314 2005-02-15  Michael Koch  <konqueror@gmx.de>
7316         * javax/swing/JTable.java
7317         (getIntercellSpacing): Fixed typo in method name.
7318         (setIntercellSpacing): Likewise.
7320 2005-02-15  Michael Koch  <konqueror@gmx.de>
7322         * javax/swing/text/JTextComponent.java
7323         (focusAccelerator): New variable.
7324         (getFocusAccelerator): New method.
7325         (setFocusAccelerator): Likewise.
7327 2005-02-15  Michael Koch  <konqueror@gmx.de>
7329         * javax/swing/JComponent.java
7330         (setTransferHandler): Made public. Fire property change event.
7331         * javax/swing/TransferHandler.java: Implemented.
7332         * javax/swing/text/JTextComponent.java
7333         (DefaultTransferHandler): New inner class.
7334         (defaultTransferHandler): New variable.
7335         (copy): New method.
7336         (cut): Likewise.
7337         (paste): Likewise.
7338         (doTransferAction): Likewise.
7340 2005-02-15  Michael Koch  <konqueror@gmx.de>
7342         * javax/swing/JTree.java
7343         (collapsePath): New method.
7344         (collapseRow): Likewise.
7345         (expandPath): Likewise.
7346         (expandRow): Likewise.
7347         (checkExpandParents): Likewise.
7348         (doExpandParents): Likewise.
7349         (setExpandedState): Likewise.
7350         (makeVisible): Likewise.
7352 2005-02-15  Michael Koch  <konqueror@gmx.de>
7354         * javax/swing/JPasswordField.java: Updated javadocs.
7356 2005-02-15  Michael Koch  <konqueror@gmx.de>
7358         * javax/swing/JLayeredPane.java
7359         (getLayer): Fixed return type, made public.
7360         (getPosition): Use new getLayer().
7361         (SetPosition): Likewise.
7362         (getIndexOf): Likewise.
7363         (remove): Likewise.
7364         * javax/swing/JInternalFrame.java
7365         (getLayer): Use new JLayeredPane.getLayer().
7368 2005-02-15  Michael Koch  <konqueror@gmx.de>
7370         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
7371         (setHeaderValue): Simplified. Do nothing when old value == new value.
7373 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7375         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
7376         against null clip region.
7377         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
7378         gtkWindowSetResizable.
7379         (postConfigureEvent): Only revalidate if frame size has changed.
7380         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
7381         Only revalidate if frame size has changed.
7382         * java/awt/Component.java (reshape): Only repaint and post
7383         component events if component is showing.
7384         * java/awt/Container.java (addImpl): Only post container event if
7385         container is showing.
7386         (remove): Likewise.
7387         * java/awt/Window.java (setLocationRelativeTo): Implement.
7388         (setBoundsCallback): Only post component events if component is
7389         showing.
7390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
7391         Protect against null graphics structure.  Flush gdk event queue.
7393 2005-02-15  Michael Koch  <konqueror@gmx.de>
7395         * javax/imageio/ImageReader.java,
7396         javax/imageio/ImageTranscoder.java,
7397         javax/imageio/ImageWriter.java,
7398         javax/imageio/spi/ImageInputStreamSpi.java,
7399         javax/imageio/spi/ImageOutputStreamSpi.java,
7400         javax/imageio/spi/ServiceRegistry.java,
7401         javax/imageio/stream/ImageInputStream.java,
7402         javax/imageio/stream/ImageOutputStream.java: Updated.
7403         * javax/imageio/IIOException.java,
7404         javax/imageio/IIOImage.java,
7405         javax/imageio/IIOParam.java,
7406         javax/imageio/IIOParamController.java,
7407         javax/imageio/ImageIO.java,
7408         javax/imageio/ImageReadParam.java,
7409         javax/imageio/ImageTypeSpecifier.java,
7410         javax/imageio/ImageWriteParam.java,
7411         javax/imageio/spi/IIORegistry.java,
7412         javax/imageio/spi/ImageReaderSpi.java,
7413         javax/imageio/spi/ImageWriterSpi.java,
7414         javax/imageio/stream/FileCacheImageInputStream.java,
7415         javax/imageio/stream/FileCacheImageOutputStream.java,
7416         javax/imageio/stream/FileImageInputStream.java,
7417         javax/imageio/stream/FileImageOutputStream.java,
7418         javax/imageio/stream/ImageInputStreamImpl.java,
7419         javax/imageio/stream/ImageOutputStreamImpl.java,
7420         javax/imageio/stream/MemoryCacheImageInputStream.java,
7421         javax/imageio/stream/MemoryCacheImageOutputStream.java,
7422         javax/imageio/event/IIOReadProgressListener.java,
7423         javax/imageio/event/IIOReadUpdateListener.java,
7424         javax/imageio/event/IIOReadWarningListener.java,
7425         javax/imageio/event/IIOWriteProgressListener.java,
7426         javax/imageio/event/IIOWriteWarningListener.java,
7427         javax/imageio/metadata/IIOMetadata.java,
7428         javax/imageio/metadata/IIOMetadataController.java,
7429         javax/imageio/metadata/IIOMetadataFormat.java,
7430         javax/imageio/metadata/IIOInvalidTreeException.java,
7431         javax/imageio/metadata/IIOMetadataFormatImpl.java,
7432         javax/imageio/metadata/IIOMetadataNode.java: New files.
7433         * Makefile.am (javax_source_files): Added new files
7434         * Makefile.in: Regenerated.
7436 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7438         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7439         Rework painting into BufferedImages
7440         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7441         Construct BufferedImage with alpha only when alpha is
7442         present in colormodel.
7443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7444         Rework painting into client-side jint arrays.
7445         * jni/gtk-peer/gtkcairopeer.h:
7446         Likewise.
7448 2005-02-15  Michael Koch  <konqueror@gmx.de>
7450         * javax/swing/DefaultListCellRenderer.java
7451         (serialVersionUID): Made private.
7452         (getListCellRendererComponent): Set horizontal alignment.
7453         * javax/swing/JLabel.java
7454         (setVerticalAlignment): Re-implemented.
7455         (setHorizontalAlignment): Do nothing if old value = new value.
7456         * javax/swing/JList.java
7457         (setCellRenderer): Likewise.
7458         (setModel): Re-implemented.
7459         (setSelectionModel): Likewise.
7461 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
7463         * java/awt/Component.java,
7464         java/awt/geom/Rectangle2D.java:
7465         Javadoc fixes.
7467 2005-02-15  Michael Koch  <konqueror@gmx.de>
7469         * javax/swing/AbstractListModel.java
7470         (fireContentsChanged): Simplified.
7471         (fireIntervalAdded): Likewise.
7472         (fireIntervalRemoved): Likewise.
7473         * javax/swing/DefaultSingleSelectionModel.java:
7474         Reformatted.
7475         (fireStateChanged): Simplified.
7476         * javax/swing/JPopupMenu.java
7477         (setSelectionModel): Set property.
7479 2005-02-15  Michael Koch  <konqueror@gmx.de>
7481         * java/awt/print/Book.java: Reformatted.
7483 2005-02-15  Michael Koch  <konqueror@gmx.de>
7485         * java/awt/geom/Area.java
7486         (QuadSegment.curveArea): Remove unused variables.
7487         (CubicSegment.curveArea): Likewise.
7489 2005-02-15  Michael Koch  <konqueror@gmx.de>
7491         * javax/swing/JTree.java
7492         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7493         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7494         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7495         (EXPANDED): New constant.
7496         (COLLAPSED): Likewise.
7497         (nodeStates): New field.
7498         (cellEditor): New method.
7499         (cellRenderer): Likewise.
7500         (selectionModel): Likewise.
7501         (treeModel): Likewise.
7502         (scrollPathToVisible): Likewise.
7503         (scrollRowToVisible): Likewise.
7504         (isCollapsed): Likewise.
7505         (isExpanded): Likewise.
7506         (clearToggledPaths): Likewise.
7507         (getDescendantToggledPaths): Likewise.
7508         (hasBeenExpanded): Likewise.
7509         (isVisible): Likewise.
7510         (isPathEditable): Likewise.
7512 2005-02-15  Michael Koch  <konqueror@gmx.de>
7514         * javax/swing/JLayeredPane.java: Reformatted.
7516 2005-02-15  Michael Koch  <konqueror@gmx.de>
7518         * javax/swing/tree/DefaultMutableTreeNode.java:
7519         Completely Revised.
7520         * javax/swing/tree/MutableTreeNode.java:
7521         Reformatted.
7523 2005-02-15  Michael Koch  <konqueror@gmx.de>
7525         * javax/swing/JFormattedTextField.java
7526         (setDocument): Call setDocument of super class. Don't fire property
7527         change event.
7529 2005-02-15  Sven de Marothy  <sven@physto.se>
7531         * java/awt/image/IndexColorModel.java:
7532         Add FIXME with respect to alpha handling.
7533         (getAlpha): Default to returning opaque pixels.
7534         * java/awt/image/MultiPixelPackedSampleModel.java
7535         (MultiPixelPackedSampleModel): Corrected parameters, order of
7536         bit shifts and masks, stride length off by one.
7538 2005-02-15  Michael Koch  <konqueror@gmx.de>
7540         * javax/swing/JList.java, javax/swing/JTree.java:
7541         Added much new methods and fixed much methods setting bound properties.
7543 2005-02-16  Mark Wielaard  <mark@klomp.org>
7545         * Makefile.am (gnu_xml_source_files): Removed
7546         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7547         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7548         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7549         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7550         gnu/xml/dom/DomDocumentFragment.java,
7551         gnu/xml/dom/DomProcessingInstruction.java and
7552         gnu/xml/dom/ls/DomLSException.java.
7553         * Makefile.in: Regenerated.
7555 2005-02-16  Tom Tromey  <tromey@redhat.com>
7557         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7558         attribute index is out of bounds.
7560 2005-02-16  Chris Burdess  <dog@gnu.org>
7562         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7563         isDeclared methods. Improved performance of isSpecified methods.
7565 2005-02-16  Chris Burdess  <dog@gnu.org>
7567         Fixes bug libgcj/19864
7568         * gnu/xml/dom/DomAttr.java,
7569         gnu/xml/dom/DomCDATA.java,
7570         gnu/xml/dom/DomCDATASection.java,
7571         gnu/xml/dom/DomCharacterData.java,
7572         gnu/xml/dom/DomDOMException.java,
7573         gnu/xml/dom/DomDoctype.java,
7574         gnu/xml/dom/DomDocument.java,
7575         gnu/xml/dom/DomDocumentConfiguration.java,
7576         gnu/xml/dom/DomDocumentFragment.java,
7577         gnu/xml/dom/DomElement.java,
7578         gnu/xml/dom/DomEx.java,
7579         gnu/xml/dom/DomFragment.java,
7580         gnu/xml/dom/DomImpl.java,
7581         gnu/xml/dom/DomIterator.java,
7582         gnu/xml/dom/DomNamedNodeMap.java,
7583         gnu/xml/dom/DomNode.java,
7584         gnu/xml/dom/DomNsNode.java,
7585         gnu/xml/dom/DomPI.java,
7586         gnu/xml/dom/DomProcessingInstruction.java,
7587         gnu/xml/dom/DomText.java,
7588         gnu/xml/dom/DomLSEx.java,
7589         gnu/xml/dom/DomLSException.java,
7590         gnu/xml/dom/DomLSParser.java,
7591         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7592         implementation class names to conform to Classpath guidelines.  Make
7593         DomLSException use JDK 1.4+ exception chaining.
7594         * gnu/xml/util/SAXNullTransformerFactory.java,
7595         gnu/xml/xpath/Predicate.java: Use constants relative to
7596         declaring class or interface.
7598 2005-02-16  Andrew Haley  <aph@redhat.com>
7600         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7601         null, create a new AccessControlContext.
7602         * java/security/SecureClassLoader.java (protectionDomainCache):
7603         new field.
7604         (defineClass): Create a new protection domain and add it to our
7605         cache.
7607         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7608         addStub() to keep track of the stub we've exported.
7609         (unexportObject): Call deleteStub().
7610         * java/rmi/server/RemoteObject.java (stubs): New field.
7611         (addStub): New method.
7612         (deleteStub): New method.
7613         (toStub): Rewrite.
7615         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7616         true to findHelper (tryParents).
7617         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7618         Likewise.
7619         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7620         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7621         ProtectionDomain.
7622         If tryParents is false, don't scan parent class loaders.
7624         * java/security/Permissions.java (PermissionsHash.implies):
7625         Iterate over the collection and invoke implies() on each
7626         element.
7628 2005-02-16  Andrew Haley  <aph@redhat.com>
7630         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7631         fields.
7632         (PersistentByteMap): Set name
7633         Magic number changed to 0x67636a64 ("gcjd").
7634         (init): Force the map to be prime.
7635         (emptyPersistentByteMap): File name was a string, now a File.
7636         (addBytes): Share srings between entries.
7637         (stringTableSize): New method.
7638         (capacity): Scale by load factor.
7639         (force): New method.
7640         (getFile): New method.
7641         (close): New method.
7642         (putAll): New method.
7643         (ByteWrapper): New class.
7644         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7645         (main): Guess the average string size as 32, not 64.
7646         Copy a database before modifying it, so that we can update a
7647         database in a running system.
7648         If a database isn't big enough, resize it.
7649         "-m": new option: merges databases.
7650         "-a": Create a new detabase if it doesn't exist.
7651         (usage): Correct, add new option.
7652         (addJar): Copy a database before modifying it.
7653         (resizeMap): New method.
7655 2005-02-15  David Daney <ddaney@avtrex.com>
7656             Bryce McKinlay  <mckinlay@redhat.com>
7658         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7659         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7660         ensure that GC threads inherit the new signal mask.
7661         (block_sigchld): Call JvFail rather than throwing exception if
7662         pthread_sigmask() fails.
7664 2005-02-15  Mark Wielaard  <mark@klomp.org>
7666         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7667         file path elements are separated by spaces.
7669 2005-02-15  Mark Wielaard  <mark@klomp.org>
7671         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7672         to describe attributes without a constant field value in this class.
7674 2005-02-15  Michael Koch  <konqueror@gmx.de>
7676         * java/util/jar/Attributes.java
7677         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7679 2005-02-15  Mark Wielaard  <mark@klomp.org>
7681         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7682         space for parsing CLASS_PATH attribute.
7684 2005-02-15  Mark Wielaard  <mark@klomp.org>
7686         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7687         aside for "GCJLIBS" in directory where jarfiles are loaded.
7688         (JarURLLoader.getClass): Removed method.
7689         (JarURLLoader.toString): Removed method.
7690         (FileResource.toString): Removed method.
7692 2005-02-15  Mark Wielaard  <mark@klomp.org>
7694         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7695         and/or cause before throwing.
7697 2005-02-15  Richard Henderson  <rth@redhat.com>
7699         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7700         (libgcj0_convenience_la_SOURCES): ... here.
7701         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7702         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7703         * Makefile.in: Regenerate.
7705 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
7707         * jawt.c: New file.
7708         * include/jawt.h: Likewise.
7709         * include/jawt_md.h: Likewise.
7710         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7711         jawt_md.h files.
7712         * include/Makefile.in: Regenerate.
7713         * jni/classpath/classpath_jawt.h: Likewise.
7714         * jni/gtk-peer/gtk_jawt.c: Likewise.
7715         * Makefile.am: Build libjawt.so.
7716         * Makefile.in: Regenerate.
7718 2005-02-14  Tom Tromey  <tromey@redhat.com>
7720         * testsuite/libjava.lang/PR19921.java: Use correct class name.
7722 2005-02-14  Tom Tromey  <tromey@redhat.com>
7724         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7725         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7727 2005-02-14  Tom Tromey  <tromey@redhat.com>
7729         For PR java/19929:
7730         * testsuite/libjava.lang/PR19929.out: New file.
7731         * testsuite/libjava.lang/PR19929.java: New file.
7733 2005-02-14  Anthony Green  <green@redhat.com>
7735         PR libgcj/18116
7736         * testsuite/libjava.jni/PR18116.c: New file.
7737         * testsuite/libjava.jni/PR18116.java: New file.
7738         * testsuite/libjava.jni/PR18116.out: New file.
7740 2005-02-13  Anthony Green  <green@redhat.com>
7742         PR libgcj/18116
7743         * jni.cc (nathash_add): Don't strdup the method signature.
7744         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7745         method signature.
7746         Update copyright.
7748 2005-02-12  Mark Wielaard  <mark@klomp.org>
7750         Fixes bug libgcj/8170
7751         * java/lang/ClassLoader.java (loadClass): Don't rewrap
7752         ClassNotFoundException.
7753         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7754         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7755         (remove_internal): New field superceding remove_interpreter.
7756         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7757         Remove no-class methods starting with "_Jv_". And Replace null
7758         class or method names with the empty string. Stop at either the
7759         MainThread or a real Thread run() method.
7760         (newElement): Made static.
7761         * java/net/URLClassLoader.java (findClass): Throw
7762         ClassNotFoundExceptions including urls, plus parent using toString().
7763         (thisString): New field.
7764         (toString): New method.
7766 2005-02-10  Tom Tromey  <tromey@redhat.com>
7768         * external/sax/Makefile.in: Rebuilt.
7769         * external/sax/Makefile.am (all-local): Removed.
7770         (BUILT_SOURCES): New variable.
7771         (mostlyclean-local): No error if no classes to delete.
7772         * external/w3c_dom/Makefile.in: Rebuilt.
7773         * external/w3c_dom/Makefile.am (all-local): Removed.
7774         (BUILT_SOURCES): New variable.
7775         (mostlyclean-local): No error if no classes to delete.
7777 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
7779         * testsuite/libjava.mauve/xfails: Updated to reflect current state
7780         of mauve and libjava.
7782 2005-02-09  Tom Tromey  <tromey@redhat.com>
7784         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7785         jar file with OPEN_DELETE.
7786         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7787         OPEN_DELETE is used.
7789 2005-02-09  Tom Tromey  <tromey@redhat.com>
7791         * java/util/zip/InflaterInputStream.java (markSupported):
7792         Override.
7793         (mark, reset): Likewise.
7795 2005-02-08  Tom Tromey  <tromey@redhat.com>
7797         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7798         name or port is missing.
7799         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7800         AUTHORITY_PORT_GROUP): Updated.
7802 2005-02-08  Tom Tromey  <tromey@redhat.com>
7804         * configure: Rebuilt.
7805         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7806         AC_CHECK_HEADERS.
7808 2005-02-07  Tom Tromey  <tromey@redhat.com>
7810         * java/lang/natRuntime.cc (insertSystemProperties): Set
7811         sun.boot.class.path earlier.
7813 2005-02-07  Tom Tromey  <tromey@redhat.com>
7815         * defineclass.cc (handleClassBegin): Use
7816         _Jv_RegisterInitiatingLoader.
7817         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7818         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7819         class.  Use _Jv_UnregisterInitiatingLoader.
7820         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7821         New function.
7823 2005-02-07  Mark Wielaard  <mark@klomp.org>
7825         Reported by Timo Lindfors <timo.lindfors@iki.fi>
7826         java/util/regex/Matcher.java (lookingAt): Set position when match
7827         found.
7828         (matches): Implemented through lookingAt().
7830 2005-02-07  Mark Wielaard  <mark@klomp.org>
7832         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7833         * java/util/regex/Pattern.java (split(CharSequence,int)):
7834         Fix while empties > 0 loops.
7836 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
7838         * gnu/java/nio/charset/ISO_8859_1.java,
7839         gnu/java/nio/charset/US_ASCII.java,
7840         gnu/java/nio/charset/UTF_16.java,
7841         gnu/java/nio/charset/UTF_16_LE.java,
7842         gnu/java/nio/charset/UTF_16_BE.java,
7843         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7844          and aliases according to
7845          "http://www.iana.org/assignments/character-sets",
7846          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7847          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7848         * gnu/java/nio/charset/Provider.java: Made charset lookup
7849          case-insensitive which fixes bug #11740.
7851 2005-02-07  Tom Tromey  <tromey@redhat.com>
7853         PR libgcj/19611:
7854         * Makefile.in: Rebuilt.
7855         * Makefile.am (src.zip): New target.
7856         (install-src.zip): Likewise.
7857         (sourcesdir): New variable.
7859 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
7861         * javax/imageio/metadata/IIOMetadataNode.java:
7862         Implemented.
7863         * javax/imageio/metadata/IIOAttr.java,
7864         javax/imageio/metadata/IIONamedNodeMap.java,
7865         javax/imageio/metadata/IIONodeList.java:
7866         New files
7868 2005-02-06  Graydon Hoare  <graydon@redhat.com>
7870         * gnu/java/awt/ClasspathToolkit.java
7871         (registerImageIOSpis): New method.
7872         * javax/imageio/ImageIO.java
7873         (WriterFormatFilter.filter): Fix copy-and-paste typos.
7874         (WriterMIMETypeFilter.filter): Likewise.
7875         (ImageReaderIterator): Pass extension argument through to SPI.
7876         (getReadersByFilter): Likewise.
7877         (getWritersByFilter): Likewise.
7878         (getImageReadersByFormatName): Likewise.
7879         (getImageReadersByMIMEType): Likewise.
7880         (getImageReadersBySuffix): Likewise.
7881         (getImageWritersByFormatName): Likewise.
7882         (getImageWritersByMIMEType): Likewise.
7883         (getImageWritersBySuffix): Likewise.
7884         (read): Implement.
7885         (write): Implement.
7886         * javax/imageio/ImageReader.java
7887         (progressListeners): Initialize.
7888         (setInput): Implement.
7889         * javax/imageio/ImageWriter.java
7890         (progressListeners): Initialize.
7891         (warningListeners): Likewise.
7892         (warningLocales): Likewise.
7893         (setOutput): Test "isInstance" rather than class equality.
7894         * javax/imageio/spi/IIORegistry.java
7895         (static): Add reader and writer SPIs.
7896         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7898 2005-02-06  Michael Koch  <konqueror@gmx.de>
7900         * javax/imageio/metadata/IIOInvalidTreeException.java
7901         (IIOInvalidTreeException): Reformatted.
7902         * javax/imageio/spi/IIORegistry.java
7903         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7904         * javax/imageio/stream/MemoryCacheImageInputStream.java:
7905         Reworked import statements.
7907 2005-02-06  Michael Koch  <konqueror@gmx.de>
7909         * javax/imageio/stream/FileImageOutputStream.java:
7910         Implemented.
7912 2005-02-06  Michael Koch  <konqueror@gmx.de>
7914         * javax/imageio/stream/FileCacheImageInputStream.java,
7915         javax/imageio/stream/FileCacheImageOutputStream.java,
7916         javax/imageio/stream/FileImageInputStream.java,
7917         javax/imageio/stream/ImageInputStreamImpl.java,
7918         javax/imageio/stream/ImageOutputStreamImpl.java,
7919         javax/imageio/stream/MemoryCacheImageInputStream.java,
7920         javax/imageio/stream/MemoryCacheImageOutputStream.java:
7921         Added all missing methods in javax.imageio.stream.
7923 2005-02-02  David Daney  <ddaney@avtrex.com>
7925         * java/net/InetAddress.java (InetAddress): Make a private copy of
7926         the address.
7927         * java/net/Inet4Address.java (getAddress): Return a copy of the
7928         address.
7929         * java/net/Inet6Address.java (Inet6Address): Use private copy of
7930         the address
7931         (getAddress): Return a copy of the address.
7932         (equals): Rewrote.
7934 2005-02-02  Tom Tromey  <tromey@redhat.com>
7936         * Makefile.in: Rebuilt.
7937         * Makefile.am (classes.stamp): New target, broken out from
7938         libgcj.jar target.
7939         ($(all_java_class_files)): Depend on it.
7940         (libgcj-@gcc_version@.jar): Likewise.
7941         (all-recursive): Likewise.
7942         (CLEANFILES): Include classes.stamp.
7944 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
7946         * link.cc: Include <stdio.h>
7948 2005-02-02  Tom Tromey  <tromey@redhat.com>
7950         PR libgcj/19681:
7951         * Makefile.in: Rebuilt.
7952         * Makefile.am (ordinary_java_source_files): Added new class.
7953         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7954         Use system_instance, not instance.
7955         * gnu/gcj/runtime/SystemClassLoader.java: New file.
7956         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7957         java.class.path.
7958         (system_instance): New field.
7959         (initialize): Initialize the system loader as well.
7960         (VMClassLoader): Default to LIB_CACHE.
7962 2005-02-02  Tom Tromey  <tromey@redhat.com>
7964         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7965         * prims.cc: Fixed comment.
7967 2005-02-01  Tom Tromey  <tromey@redhat.com>
7969         * Makefile.in: Rebuilt.
7970         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7971         (.java.class): Use BOOTCLASSPATH.
7973 2005-02-01  Tom Tromey  <tromey@redhat.com>
7975         * external/w3c_dom/Makefile.am: New file.
7976         * external/w3c_dom/Makefile.in: New file.
7977         * external/sax/Makefile.am: New file.
7978         * external/sax/Makefile.in: New file.
7979         * external/Makefile.in: New file.
7980         * external/Makefile.am: New file.
7981         * external/README: New file from Classpath.
7982         * configure, aclocal.m4, Makefile.in: Rebuilt.
7983         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7984         * Makefile.am (SUBDIRS): Added external.
7985         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7986         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7987         (BOOTCLASSPATH): New variable.
7988         (AM_GCJFLAGS): Use it.
7989         (gnu_xml_source_files): New variable.
7990         (libgcj_la_SOURCES): Use it.
7991         (libgcj_la_LDADD): Include new convenience libraries.
7992         (lib_org_ietf_jgss_la_SOURCES): Removed.
7993         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7994         (lib_org_ietf_jgss_la_LIBADD): Likewise.
7995         (lib_org_w3c_dom_la_SOURCES): Removed.
7996         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7997         (lib_org_w3c_dom_la_LIBADD): Likewise.
7998         (lib_org_xml_sax_la_SOURCES): Removed.
7999         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
8000         (lib_org_xml_sax_la_LIBADD): Likewise.
8001         (all_java_source_files): Updated.
8002         (property_files): Likewise.
8003         (libgcj-@gcc_version@.jar): Include classes from external/.
8004         (javax_source_files): Updated.
8005         (ordinary_java_source_files): Updated.
8006         * javax/xml/XMLConstants.java,
8007         javax/xml/datatype/DatatypeConfigurationException.java,
8008         javax/xml/datatype/DatatypeConstants.java,
8009         javax/xml/datatype/DatatypeFactory.java,
8010         javax/xml/datatype/Duration.java,
8011         javax/xml/datatype/XMLGregorianCalendar.java,
8012         javax/xml/datatype/package.html,
8013         javax/xml/namespace/NamespaceContext.java,
8014         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
8015         javax/xml/parsers/DocumentBuilder.java,
8016         javax/xml/parsers/DocumentBuilderFactory.java,
8017         javax/xml/parsers/FactoryConfigurationError.java,
8018         javax/xml/parsers/ParserConfigurationException.java,
8019         javax/xml/parsers/SAXParser.java,
8020         javax/xml/parsers/SAXParserFactory.java,
8021         javax/xml/parsers/package.html,
8022         javax/xml/transform/ErrorListener.java,
8023         javax/xml/transform/OutputKeys.java,
8024         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
8025         javax/xml/transform/SourceLocator.java,
8026         javax/xml/transform/Templates.java,
8027         javax/xml/transform/Transformer.java,
8028         javax/xml/transform/TransformerConfigurationException.java,
8029         javax/xml/transform/TransformerException.java,
8030         javax/xml/transform/TransformerFactory.java,
8031         javax/xml/transform/TransformerFactoryConfigurationError.java,
8032         javax/xml/transform/URIResolver.java,
8033         javax/xml/transform/package.html,
8034         javax/xml/transform/dom/DOMLocator.java,
8035         javax/xml/transform/dom/DOMResult.java,
8036         javax/xml/transform/dom/DOMSource.java,
8037         javax/xml/transform/dom/package.html,
8038         javax/xml/transform/sax/SAXResult.java,
8039         javax/xml/transform/sax/SAXSource.java,
8040         javax/xml/transform/sax/SAXTransformerFactory.java,
8041         javax/xml/transform/sax/TemplatesHandler.java,
8042         javax/xml/transform/sax/TransformerHandler.java,
8043         javax/xml/transform/sax/package.html,
8044         javax/xml/transform/stream/StreamResult.java,
8045         javax/xml/transform/stream/StreamSource.java,
8046         javax/xml/transform/stream/package.html,
8047         javax/xml/validation/Schema.java,
8048         javax/xml/validation/SchemaFactory.java,
8049         javax/xml/validation/TypeInfoProvider.java,
8050         javax/xml/validation/Validator.java,
8051         javax/xml/validation/ValidatorHandler.java,
8052         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
8053         javax/xml/xpath/XPathConstants.java,
8054         javax/xml/xpath/XPathException.java,
8055         javax/xml/xpath/XPathExpression.java,
8056         javax/xml/xpath/XPathExpressionException.java,
8057         javax/xml/xpath/XPathFactory.java,
8058         javax/xml/xpath/XPathFactoryConfigurationException.java,
8059         javax/xml/xpath/XPathFunction.java,
8060         javax/xml/xpath/XPathFunctionException.java,
8061         javax/xml/xpath/XPathFunctionResolver.java,
8062         javax/xml/xpath/XPathVariableResolver.java,
8063         javax/xml/xpath/package.html: New files, from GNU JAXP.
8064         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
8065         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
8066         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
8067         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
8068         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
8069         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
8070         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
8071         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
8072         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
8073         org/w3c/dom/ranges/DocumentRange.java,
8074         org/w3c/dom/ranges/Range.java,
8075         org/w3c/dom/ranges/RangeException.java,
8076         org/w3c/dom/traversal/DocumentTraversal.java,
8077         org/w3c/dom/traversal/NodeFilter.java,
8078         org/w3c/dom/traversal/NodeIterator.java,
8079         org/w3c/dom/traversal/TreeWalker.java,
8080         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
8081         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
8082         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
8083         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
8084         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
8085         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
8086         org/xml/sax/SAXNotRecognizedException.java,
8087         org/xml/sax/SAXNotSupportedException.java,
8088         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
8089         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
8090         org/xml/sax/ext/DeclHandler.java,
8091         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
8092         org/xml/sax/helpers/AttributeListImpl.java,
8093         org/xml/sax/helpers/AttributesImpl.java,
8094         org/xml/sax/helpers/DefaultHandler.java,
8095         org/xml/sax/helpers/LocatorImpl.java,
8096         org/xml/sax/helpers/NamespaceSupport.java,
8097         org/xml/sax/helpers/NewInstance.java,
8098         org/xml/sax/helpers/ParserAdapter.java,
8099         org/xml/sax/helpers/ParserFactory.java,
8100         org/xml/sax/helpers/XMLFilterImpl.java,
8101         org/xml/sax/helpers/XMLReaderAdapter.java,
8102         org/xml/sax/helpers/XMLReaderFactory.java,
8103         org/xml/sax/helpers/package.html: Moved to external/.
8104         * external/sax/README,
8105         external/sax/org/xml/sax/AttributeList.java,
8106         external/sax/org/xml/sax/Attributes.java,
8107         external/sax/org/xml/sax/ContentHandler.java,
8108         external/sax/org/xml/sax/DTDHandler.java,
8109         external/sax/org/xml/sax/DocumentHandler.java,
8110         external/sax/org/xml/sax/EntityResolver.java,
8111         external/sax/org/xml/sax/ErrorHandler.java,
8112         external/sax/org/xml/sax/HandlerBase.java,
8113         external/sax/org/xml/sax/InputSource.java,
8114         external/sax/org/xml/sax/Locator.java,
8115         external/sax/org/xml/sax/Parser.java,
8116         external/sax/org/xml/sax/SAXException.java,
8117         external/sax/org/xml/sax/SAXNotRecognizedException.java,
8118         external/sax/org/xml/sax/SAXNotSupportedException.java,
8119         external/sax/org/xml/sax/SAXParseException.java,
8120         external/sax/org/xml/sax/XMLFilter.java,
8121         external/sax/org/xml/sax/XMLReader.java,
8122         external/sax/org/xml/sax/package.html,
8123         external/sax/org/xml/sax/ext/Attributes2.java,
8124         external/sax/org/xml/sax/ext/Attributes2Impl.java,
8125         external/sax/org/xml/sax/ext/DeclHandler.java,
8126         external/sax/org/xml/sax/ext/DefaultHandler2.java,
8127         external/sax/org/xml/sax/ext/EntityResolver2.java,
8128         external/sax/org/xml/sax/ext/LexicalHandler.java,
8129         external/sax/org/xml/sax/ext/Locator2.java,
8130         external/sax/org/xml/sax/ext/Locator2Impl.java,
8131         external/sax/org/xml/sax/ext/package.html,
8132         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
8133         external/sax/org/xml/sax/helpers/AttributesImpl.java,
8134         external/sax/org/xml/sax/helpers/DefaultHandler.java,
8135         external/sax/org/xml/sax/helpers/LocatorImpl.java,
8136         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
8137         external/sax/org/xml/sax/helpers/NewInstance.java,
8138         external/sax/org/xml/sax/helpers/ParserAdapter.java,
8139         external/sax/org/xml/sax/helpers/ParserFactory.java,
8140         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
8141         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
8142         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
8143         external/sax/org/xml/sax/helpers/package.html,
8144         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
8145         external/w3c_dom/org/w3c/dom/Attr.java,
8146         external/w3c_dom/org/w3c/dom/CDATASection.java,
8147         external/w3c_dom/org/w3c/dom/CharacterData.java,
8148         external/w3c_dom/org/w3c/dom/Comment.java,
8149         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
8150         external/w3c_dom/org/w3c/dom/DOMError.java,
8151         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
8152         external/w3c_dom/org/w3c/dom/DOMException.java,
8153         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
8154         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
8155         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
8156         external/w3c_dom/org/w3c/dom/DOMLocator.java,
8157         external/w3c_dom/org/w3c/dom/DOMStringList.java,
8158         external/w3c_dom/org/w3c/dom/Document.java,
8159         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
8160         external/w3c_dom/org/w3c/dom/DocumentType.java,
8161         external/w3c_dom/org/w3c/dom/Element.java,
8162         external/w3c_dom/org/w3c/dom/Entity.java,
8163         external/w3c_dom/org/w3c/dom/EntityReference.java,
8164         external/w3c_dom/org/w3c/dom/NameList.java,
8165         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
8166         external/w3c_dom/org/w3c/dom/Node.java,
8167         external/w3c_dom/org/w3c/dom/NodeList.java,
8168         external/w3c_dom/org/w3c/dom/Notation.java,
8169         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
8170         external/w3c_dom/org/w3c/dom/Text.java,
8171         external/w3c_dom/org/w3c/dom/TypeInfo.java,
8172         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
8173         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
8174         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
8175         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
8176         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
8177         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
8178         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
8179         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
8180         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
8181         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
8182         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
8183         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
8184         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
8185         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
8186         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
8187         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
8188         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
8189         external/w3c_dom/org/w3c/dom/css/Counter.java,
8190         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
8191         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
8192         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
8193         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
8194         external/w3c_dom/org/w3c/dom/css/Rect.java,
8195         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
8196         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
8197         external/w3c_dom/org/w3c/dom/events/Event.java,
8198         external/w3c_dom/org/w3c/dom/events/EventException.java,
8199         external/w3c_dom/org/w3c/dom/events/EventListener.java,
8200         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
8201         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
8202         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
8203         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
8204         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
8205         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
8206         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
8207         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
8208         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
8209         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
8210         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
8211         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
8212         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
8213         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
8214         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
8215         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
8216         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
8217         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
8218         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
8219         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
8220         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
8221         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
8222         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
8223         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
8224         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
8225         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
8226         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
8227         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
8228         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
8229         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
8230         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
8231         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
8232         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
8233         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
8234         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
8235         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
8236         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
8237         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
8238         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
8239         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
8240         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
8241         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
8242         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
8243         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
8244         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
8245         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
8246         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
8247         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
8248         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
8249         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
8250         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
8251         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
8252         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
8253         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
8254         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
8255         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
8256         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
8257         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
8258         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
8259         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
8260         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
8261         external/w3c_dom/org/w3c/dom/ls/LSException.java,
8262         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
8263         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
8264         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
8265         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
8266         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
8267         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
8268         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
8269         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
8270         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
8271         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
8272         external/w3c_dom/org/w3c/dom/ranges/Range.java,
8273         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
8274         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
8275         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
8276         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
8277         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
8278         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
8279         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
8280         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
8281         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
8282         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
8283         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
8284         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
8285         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
8286         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
8287         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
8288         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
8289         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
8290         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
8291         from Classpath.
8293 2005-01-31  Anthony Green  <green@redhat.com>
8295         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
8296         Support IP_MULTICAST_LOOP.
8297         (setOption): Support IP_MULTICAST_LOOP.
8299         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
8300         SO_REUSEADDR support.
8301         (getOption): Support SO_REUSEADDR.
8303 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
8305         PR libgcj/19649
8306         * java/util/Date.java
8307         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
8308         constructor.
8309         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
8310         arguments.
8311         (getTimezoneOffset): Inverted sign.
8313 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
8315         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
8316         remove other passing tests and add new XFAILs.
8318 2005-01-24  Tom Tromey  <tromey@redhat.com>
8320         * java/lang/Class.h (next): Updated documentation.  Renamed to
8321         'next_or_version'.
8322         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
8323         _Jv_CheckABIVersion.
8324         (_Jv_RegisterClasses_Counted): Likewise.
8325         (_Jv_RegisterClassHookDefault): Fix starting condition of
8326         duplicate-checking loop.
8327         * include/jvm.h (GCJ_VERSION): New define.
8328         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
8329         (_Jv_CheckABIVersion): New function.
8331 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
8333         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
8334         (libgij_la_LDFLAGS): Add.
8335         * Makefile.in: Rebuilt.
8337 2005-01-24  Roger Sayle  <roger@eyesopen.com>
8339         PR java/19295
8340         * testsuite/libjava.compile/PR19295.java: New test case.
8342 2005-01-19  Tom Tromey  <tromey@redhat.com>
8344         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
8345         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
8346         if 'handler' is valid.
8348 2005-01-17  Tom Tromey  <tromey@redhat.com>
8350         * java/text/MessageFormat.java (scanString): Changed how quoting
8351         is handled.
8352         (scanFormatElement): Likewise.
8354 2004-12-07  Mark Wielaard  <mark@klomp.org>
8356         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
8358 2005-01-15  Michael Koch  <konqueror@gmx.de>
8360         PR libgcj/19444
8361         * java/net/URI.java
8362         (AUTHORITY_REGEXP): New regexp constant.
8363         (AUTHORITY_USERINFO_GROUP): New constant.
8364         (AUTHORITY_HOST_GROUP): Likewise.
8365         (AUTHORITY_PORT_GROUP): Likewise.
8366         (port): Changed default value to -1.
8367         (parseURI): Parse authority part and initialize host,
8368         port and userInfo.
8370 2005-01-14  Robin Green  <greenrd@greenrd.org>
8372         * java/io/File.java (toURI): Generate a URI which we understand.
8374 2005-01-13  Graydon Hoare  <graydon@redhat.com>
8376         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8377         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8378         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8379         * jni.cc: Reuse bottom frame between calls, avoid clearing
8380         frame when no local references are made.
8382 2005-01-13  Michael Koch  <konqueror@gmx.de>
8384         PR libgcj/17784
8385         * java/lang/Thread.java
8386         (Thread): Call checkAccess().
8387         (stop): Fixed argument name to match javadoc.
8388         * java/lang/natThread.cc
8389         (interrupt): Call checkAccess().
8390         (stop): Likewise.
8392 2005-01-11  Michael Koch  <konqueror@gmx.de>
8394         PR libgcj/13972
8395         * java/net/URL.java (URL): Handle specs like
8396         "/redir?http://domain2.com/index.html" which start with a slash.
8398 2005-01-11  Michael Koch  <konqueror@gmx.de>
8400         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
8401         * gnu/java/net/BASE64.java,
8402         gnu/java/net/EmptyX509TrustManager.java,
8403         gnu/java/net/LineInputStream.java,
8404         gnu/java/net/protocol/http/Authenticator.java,
8405         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
8406         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
8407         gnu/java/net/protocol/http/ChunkedInputStream.java,
8408         gnu/java/net/protocol/http/Cookie.java,
8409         gnu/java/net/protocol/http/CookieManager.java,
8410         gnu/java/net/protocol/http/Credentials.java,
8411         gnu/java/net/protocol/http/HTTPConnection.java,
8412         gnu/java/net/protocol/http/HTTPDateFormat.java,
8413         gnu/java/net/protocol/http/HTTPURLConnection.java,
8414         gnu/java/net/protocol/http/Headers.java,
8415         gnu/java/net/protocol/http/Request.java,
8416         gnu/java/net/protocol/http/RequestBodyWriter.java,
8417         gnu/java/net/protocol/http/Response.java,
8418         gnu/java/net/protocol/http/ResponseBodyReader.java,
8419         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
8420         gnu/java/net/protocol/http/SimpleCookieManager.java,
8421         gnu/java/net/protocol/http/event/ConnectionEvent.java,
8422         gnu/java/net/protocol/http/event/ConnectionListener.java,
8423         gnu/java/net/protocol/http/event/RequestEvent.java,
8424         gnu/java/net/protocol/http/event/RequestListener.java: New files.
8425         * gnu/java/net/protocol/http/Connection.java: Removed.
8426         * gnu/java/net/protocol/http/Handler.java,
8427         javax/net/ssl/HttpsURLConnection.java: Updated.
8428         * Makefile.am: Added new files and remove old ones.
8429         * Makefile.in: Regenerated.
8431 2005-01-11  Tom Tromey  <tromey@redhat.com>
8433         PR libgcj/18840:
8434         * java/io/BufferedInputStream.java (read): Repeatedly read to
8435         fill buffer.
8436         (refill): Change test to see if buffer must be grown.
8438 2005-01-10  Tom Tromey  <tromey@redhat.com>
8440         * mauve-libgcj: Exclude some swing tests.
8442 2005-01-10  Tom Tromey  <tromey@redhat.com>
8444         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8445         * java/lang/Package.java (getPackages): Use VMClassLoader when
8446         appropriate.
8447         (getPackage): Likewise.
8448         * prims.cc (_Jv_CreateJavaVM): Call
8449         _Jv_RegisterBootstrapPackages.
8450         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8451         * java/lang/VMClassLoader.java (getPackage): Rewrote.
8452         (getPackages): Likewise.
8453         (definedPackages): New field.
8454         (definePackageForNative): New method.
8455         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8456         * java/lang/natVMClassLoader.cc (loadClass): Updated.
8457         * defineclass.cc (handleClassBegin): Use
8458         ClassLoader.findLoadedClass.
8459         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8460         Rewrote.
8461         (struct _Jv_LoaderInfo): Removed.
8462         (initiated_classes): Likewise.
8463         (_Jv_UnregisterClass): Don't use initiated_classes.
8464         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
8465         (_Jv_FindClass): Register classes found during boostrap.
8466         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8467         (bootstrap_class_list): New global.
8468         (bootstrap_index): Likewise.
8469         (_Jv_RegisterBootstrapPackages): New function.
8470         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8471         definePackageForNative.
8472         (findClass): Updated.
8473         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8474         New method.
8476 2005-01-10  Tom Tromey  <tromey@redhat.com>
8478         PR libgcj/18868:
8479         * include/jvm.h (_Jv_Linker::find_field): Declare.
8480         (_Jv_Linker::find_field_helper): Likewise.
8481         * link.cc (find_field_helper): New method.
8482         (find_field): Likewise.
8483         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
8484         not found.
8485         (link_symbol_table): Use find_field.
8487 2005-01-10  Michael Koch  <konqueror@gmx.de>
8489         PR libgcj/18014
8490         * java/util/Locale.java (Locale): Don't uppercase variant.
8491         (getISOCountries): Fixed typo in javadoc.
8493 2005-01-10  Michael Koch  <konqueror@gmx.de>
8495         * java/util/SimpleTimeZone.java (checkRule):
8496         Throw IllegalArgumentException on invalid month values.
8497         * java/util/TimeZone.java (setID):
8498         Throw NullPointerException if needed.
8500 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8502         * java/util/SimpleTimeZone.java (getOffset):
8503         offset end date with daylight savings
8505 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
8507         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8508         * testsuite/libjava.compile/PR19277.xfail: Likewise.
8510 2005-01-09  Michael Koch  <konqueror@gmx.de>
8512         PR libgcj/17069
8513         * java/net/InetAddress.java (getLocalHost):
8514         Throw UnknownHostException if local hostname cannot be determined.
8516 2005-01-06  Tom Tromey  <tromey@redhat.com>
8518         * java/lang/ClassLoader.java (findClass): Fixed documentation.
8520 2005-01-07  Michael Koch  <konqueror@gmx.de>
8522         PR libgcj/18115
8523         * java/nio/Buffer.java (address): New field.
8524         * java/nio/DirectByteBufferImpl.java (address): Removed.
8525         * java/nio/MappedByteBufferImpl.java (address): Likewise.
8526         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8527         Explicitly initialize Buffer.address if needed.
8528         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8529         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8530         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8531         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8532         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8533         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8534         DirectByteBufferImpl object.
8535         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8536         * testsuite/libjava.jni/directbuffer.c,
8537         testsuite/libjava.jni/directbuffer.java,
8538         testsuite/libjava.jni/directbuffer.out,
8539         testsuite/libjava.jni/bytebuffer.c,
8540         testsuite/libjava.jni/bytebuffer.java,
8541         testsuite/libjava.jni/bytebuffer.out: New files.
8543 2005-01-05  Tom Tromey  <tromey@redhat.com>
8545         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8546         argument.
8547         (compressedSize): Now 'long'.  Default to -1.
8548         (getCompressedSize): Rewrote.
8549         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8550         deflate at all if we need input.
8552 2005-01-05  Tom Tromey  <tromey@redhat.com>
8554         PR libgcj/15719:
8555         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8556         correctly.
8558 2005-01-05  Tom Tromey  <tromey@redhat.com>
8560         * java/lang/natRuntime.cc (insertSystemProperties): Set
8561         java.ext.dirs earlier.
8563 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
8565         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8566         sync_info element of the object if needed.
8568 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
8570         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8571         a non-zero exit status from 'false'.
8573 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
8575         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.