OSDN Git Service

2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
2
3         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
4         library extensions.
5
6 2005-10-12  Andrew Haley  <aph@redhat.com>
7
8         PR java/24251
9         * link.cc (ensure_method_table_complete): Install Miranda methods
10         for interfaces too.
11
12 2005-10-10  Tom Tromey  <tromey@redhat.com>
13
14         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
15         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
16         Now static.
17
18 2005-10-05  Richard Henderson  <rth@redhat.com>
19
20         PR target/23602
21         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
22         but not BACKTRACESPEC.
23         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
24
25 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
26
27         * testsuite/lib/jni.exp (gcj_jni_test_one): For
28         darwin, use -shared-libgcc not -lgcc_s, and explain why.
29         (gcj_jni_invocation_test_one): Likewise.
30
31 2005-09-30  Tom Tromey  <tromey@redhat.com>
32
33         PR libgcj/24051:
34         * Makefile.in: Rebuilt.
35         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
36         requested.
37         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
38         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
39         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
40         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
41         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
42         * configure: Rebuilt.
43         * configure.ac: Pass --enable-qt-peers when qt is requested.
44
45 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
46
47         * configure.ac: Fix typo.
48         * configure: Regenerate.
49
50 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
51
52         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
53         __LP64__ is defined rather than __powerpc64__.
54         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
55         (compare_and_swap_release): Likewise.
56
57 2005-09-28  David Daney  <ddaney@avtrex.com>
58
59         * HACKING: Update instructions for classpath import.
60
61 2005-09-27  Tom Tromey  <tromey@redhat.com>
62
63         PR libgcj/23367:
64         * include/jvm.h (_Jv_FreeMethodCache): Declare.
65         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
66         (struct _Jv_mcache): Likewise.
67         (method_cache): Likewise.
68         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
69         (_Jv_AddMethodToCache): Likewise.
70         (_Jv_FreeMethodCache): New function.
71         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
72         * aclocal.m4, configure, include/config.h.in: Rebuilt.
73         * configure.ac: Invoke GCC_CHECK_TLS.
74
75 2005-09-27  Tom Tromey  <tromey@redhat.com>
76
77         * configure, Makefile.in: Rebuilt.
78         * sources.am: Rebuilt.
79         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
80         * configure.ac (TOOLKIT): Handle Qt peers properly.
81
82 2005-09-23  Tom Tromey  <tromey@redhat.com>
83
84         Imported Classpath 0.18.
85         * sources.am, Makefile.in: Updated.
86         * Makefile.am (nat_source_files): Removed natProxy.cc.
87         * java/lang/reflect/natProxy.cc: Removed.
88         * gnu/classpath/jdwp/VMFrame.java,
89         gnu/classpath/jdwp/VMIdManager.java,
90         gnu/classpath/jdwp/VMVirtualMachine.java,
91         java/lang/reflect/VMProxy.java: New files.
92
93 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
94
95         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
96         list.
97
98 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
99
100         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
101         Remove ClasspathToolkit references.
102
103 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
104
105         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
106         * gnu/awt/xlib/XFramePeer.java: Likewise.
107         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
108
109 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
110
111         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
112         classpath/native/jawt/jawt.c.
113         * Makefile.in: Regenerate.
114         * jawt.c: Remove file.
115         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
116         jawt_md.h.  Add ../classpath/include/jawt.h and
117         ../classpath/include/jawt_md.h.
118         * include/Makefile.in: Regenerate.
119         * include/jawt.h: Regenerate.
120         * include/jawt_md.h: Regenerate.
121
122 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
123
124         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
125         `null' parent ClassLoader to parent constructor.
126         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
127         constructor.
128
129 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
130
131         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
132
133 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
134
135         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
136         Use libjava_find_lib to find the proper libgcj.
137
138 2005-09-16  Anthony Green  <green@redhat.com>
139
140         PR libgcj/20198
141         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
142         resources should all have canonicalized names.
143
144 2005-09-15  Tom Tromey  <tromey@redhat.com>
145
146         PR libgcj/16032:
147         * interpret.cc (AVAL1U): Resolve pool entry when not direct
148         threaded.
149         (AVAL2U): Likewise.
150         (compile): Handle 'ldc class' specially.
151         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
152         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
153         * defineclass.cc (handleCodeAttribute): Set new field.
154         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
155         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
156         (parse): Check version numbers.
157         (_Jv_ClassReader::is_15): New field.
158         (_Jv_ClassReader): Initialize it.
159         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
160
161 2005-09-15  Tom Tromey  <tromey@redhat.com>
162
163         For PR libgcj/23288:
164         * java/net/URLClassLoader.java (definePackage): Correctly order
165         arguments to definePackage.  Look up per-entry Attributes.
166         (getAttributeValue): New method.
167
168 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
169
170         PR libgcj/23762
171         * shlibpath.m4: New file.
172         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
173         macro.
174         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
175         [USE_LTDL]: If it was not defined with -D set java.library.path to
176         the value of LTDL_SHLIBPATH_VAR.
177
178 2005-09-08  Andrew Haley  <aph@redhat.com>
179
180         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
181         loader.
182         (toString): Likewise.
183
184 2005-09-08  Andrew Haley  <aph@redhat.com>
185
186         PR java/22084
187         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
188         R/M field in instruction is 100.
189
190 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
191
192         PR libgcj/23761
193         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
194         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
195         lt_dlinit.
196         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
197         Define variable.
198         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
199         _Jv_Module_Load_Path.
200
201 2005-09-06  Tom Tromey  <tromey@redhat.com>
202
203         PR libgcj/23739:
204         * testsuite/libjava.jni/pr23739.c: New file.
205         * testsuite/libjava.jni/pr23739.java: New file.
206         * testsuite/libjava.jni/pr23739.out: New file.
207         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
208         * java/lang/reflect/natMethod.cc (invoke): Updated.
209         * java/lang/natClass.cc (isAssignableFrom): Updated.
210         (isInstance): Likewise.
211         (_Jv_IsAssignableFrom): Reversed arguments.
212         (_Jv_IsInstanceOf): Updated.
213         (_Jv_CheckCast): Likewise.
214         (_Jv_CheckArrayStore): Likewise.
215         (_Jv_IsAssignableFromSlow): Reversed arguments.
216         (_Jv_InterfaceAssignableFrom): Likewise.
217         * link.cc (verify_type_assertions): Updated.
218         * prims.cc (_Jv_CheckAccess): Updated.
219
220 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
221
222         Testsuite changes for PR java/23431.
223         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
224         8.4.6.2-hiding-5.
225         * testsuite/libjava.compile/PR23431_1.java: New testcase.
226         * testsuite/libjava.compile/PR23431_2.java: Likewise.
227         * testsuite/libjava.compile/PR23431_1.xfail: New file.
228         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
229
230 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
231
232         PR libgcj/23549
233         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
234         -disableassertions and -da.
235
236 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
237
238         * configure.ac: Replace "*-*-darwin[0-7].*" with
239         "*-*-darwin[[0-7]].*"
240         * configure: Regenerate.
241
242 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
243
244         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
245         darwin < 8.
246         * configure: Regenerate.
247
248 2005-08-23  Roman Kennke  <roman@kennke.org>
249
250         * java/lang/Character.java
251         (toChars(int)): New JDK1.5 method.
252         (toChars(int, char[], int)): New JDK1.5 method.
253         (charCount): New JDK1.5 method.
254         (isSupplementaryCodePoint): New JDK1.5 method.
255         (isValidCodePoint): New JDK1.5 method.
256
257 2005-08-23  Tom Tromey  <tromey@redhat.com>
258
259         * aclocal.m4, Makefile.in: Rebuilt.
260         * Makefile.am (property_files): Added META-INF files.
261         (propertyo_files): Changed definition.
262         ($(propertyo_files)): Updated patterns.
263
264 2005-08-22  Tom Tromey  <tromey@redhat.com>
265
266         PR libgcj/22622:
267         * configure: Rebuilt.
268         * configure.ac: Correctly create Configuration.java (for
269         temporary use).
270
271 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
272
273         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
274         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
275         * mingwld.m4: ... this new file.
276         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
277         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
278
279 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
280
281         PR libgcj/23507
282         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
283         assignment.  Cast operands of compare to function pointer type.
284
285 2005-08-21  Tom Tromey  <tromey@redhat.com>
286
287         * HACKING: Updated for hacking classpath in libgcj.
288
289 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
290
291         PR libgcj/21692
292         * sysdep/pa/descriptor.h: New file.
293         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
294
295 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
296
297         * Makefile.am (extra_ldflags_libjava): New variable to
298         substitute in.
299         (LIBLINK): Add extra_ldflags_libjava to it.
300         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
301         "-Wl,-single_module".
302         * Makefile.in: Regenerate.
303         * aclocal.m4: Regenerate.
304         * configure: Regenerate.
305         * gcj/Makefile.in: Regenerate.
306         * include/Makefile.in: Regenerate.
307         * testsuite/Makefile.in: Regenerate.
308
309 2005-08-17  Tom Tromey  <tromey@redhat.com>
310
311         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
312         friend.
313         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
314         * testsuite/libjava.lang/bclink.java: New file.
315         * testsuite/libjava.lang/bclink.out: New file.
316         * link.cc (print_class_loaded): Changed ABI test to look at
317         various _syms fields.
318
319 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
320
321         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
322         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
323
324 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
325
326         More testsuite adjustments for PR java/19870.
327         * testsuite/libjava.lang/PR19870_2.java: New testcase.
328         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
329         new testcase.
330         * testsuite/libjava.jacks/jacks.xfail: Remove
331         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
332
333 2005-08-16  Tom Tromey  <tromey@redhat.com>
334
335         * gnu/xml/xpath/XPathParser.y: Removed.
336
337 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
338
339         PR libgcj/23353:
340         * java/lang/natObject.cc (clone): Clear sync_info.
341
342 2005-07-26  Tom Tromey  <tromey@redhat.com>
343
344         * gnu/java/net/protocol/ftp/package.html,
345         gnu/javax/swing/text/html/package.html,
346         gnu/javax/swing/text/html/parser/package.html,
347         gnu/javax/swing/text/html/parser/models/package.html,
348         gnu/javax/swing/text/html/parser/support/package.html,
349         gnu/javax/swing/text/html/parser/support/low/package.html,
350         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
351         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
352         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
353         java/awt/geom/doc-files/CubicCurve2D-1.png,
354         java/awt/geom/doc-files/CubicCurve2D-2.png,
355         java/awt/geom/doc-files/CubicCurve2D-3.png,
356         java/awt/geom/doc-files/CubicCurve2D-4.png,
357         java/awt/geom/doc-files/CubicCurve2D-5.png,
358         java/awt/geom/doc-files/Ellipse-1.png,
359         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
360         java/awt/geom/doc-files/GeneralPath-1.png,
361         java/awt/geom/doc-files/QuadCurve2D-1.png,
362         java/awt/geom/doc-files/QuadCurve2D-2.png,
363         java/awt/geom/doc-files/QuadCurve2D-3.png,
364         java/awt/geom/doc-files/QuadCurve2D-4.png,
365         java/awt/geom/doc-files/QuadCurve2D-5.png,
366         javax/imageio/package.html, javax/imageio/event/package.html,
367         javax/imageio/metadata/package.html,
368         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
369         javax/swing/border/doc-files/BevelBorder-1.png,
370         javax/swing/border/doc-files/BevelBorder-2.png,
371         javax/swing/border/doc-files/BevelBorder-3.png,
372         javax/swing/border/doc-files/EmptyBorder-1.png,
373         javax/swing/border/doc-files/EtchedBorder-1.png,
374         javax/swing/border/doc-files/EtchedBorder-2.png,
375         javax/swing/border/doc-files/LineBorder-1.png,
376         javax/swing/border/doc-files/MatteBorder-1.png,
377         javax/swing/border/doc-files/MatteBorder-2.png,
378         javax/swing/border/doc-files/MatteBorder-3.png,
379         javax/swing/border/doc-files/MatteBorder-4.png,
380         javax/swing/border/doc-files/MatteBorder-5.png,
381         javax/swing/border/doc-files/MatteBorder-6.png,
382         javax/swing/border/doc-files/SoftBevelBorder-1.png,
383         javax/swing/border/doc-files/SoftBevelBorder-2.png,
384         javax/swing/border/doc-files/SoftBevelBorder-3.png,
385         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
386         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
387         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
388         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
389         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
390         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
391         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
392         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
393         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
394         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
395         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
396         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
397         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
398         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
399         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
400         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
401         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
402         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
403         javax/swing/plaf/doc-files/ComponentUI-1.dia,
404         javax/swing/plaf/doc-files/ComponentUI-1.png,
405         javax/swing/plaf/doc-files/TreeUI-1.png,
406         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
407         javax/xml/parsers/package.html, javax/xml/transform/package.html,
408         javax/xml/transform/dom/package.html,
409         javax/xml/transform/sax/package.html,
410         javax/xml/transform/stream/package.html,
411         javax/xml/validation/package.html, javax/xml/xpath/package.html:
412         Removed.
413
414 2005-07-22  Tom Tromey  <tromey@redhat.com>
415
416         * include/Makefile.in: Rebuilt.
417         * include/Makefile.am (tool_include__HEADERS): Include
418         classpath's jni.h.
419
420 2005-07-20  Tom Tromey  <tromey@redhat.com>
421
422         * sources.am, Makefile.in: Rebuilt.
423         * Makefile.am (all_xlib_lo_files): Removed.
424         (all_libgcj_lo_files): Likewise.
425         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
426         (xlib_java_source_files): Removed.
427         (xlib_nat_headers): Updated.
428         * configure: Rebuilt.
429         * configure.ac: Create standard.omit.
430         * standard.omit.in: New file.
431         * standard.omit: Removed.
432         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
433         'package'.
434         (emit_package_rule): Special case xlib peers.
435         (emit_source_var): Likewise.
436         Read standard.omit.in.
437         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
438
439 2005-07-18  Tom Tromey  <tromey@redhat.com>
440
441         * HACKING: Updated.
442
443 2005-07-19  Matthias Klose  <doko@debian.org>
444
445         * classpath/java/awt/im/InputContext.java (clinit): Initialize
446           line, im.
447
448 2005-07-18  Tom Tromey  <tromey@redhat.com>
449
450         PR libgj/21058:
451         * sources.am, Makefile.in: Rebuilt.
452         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
453         file.
454         (emit_source_var): Don't emit patsubst with './'.
455
456 2005-07-18  Tom Tromey  <tromey@redhat.com>
457
458         * Makefile.in: Rebuilt.
459         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
460
461 2005-07-17  Andreas Jaeger  <aj@suse.de>
462
463         * defineclass.cc (handleClassBegin): Remove unused variable.
464
465 2005-07-16  Andreas Schwab  <schwab@suse.de>
466
467         * scripts/makemake.tcl (emit_package_rule): Emit command to create
468         target directory.
469         * Makefile.am (%.lo): Don't create it here.
470         * sources.am, Makefile.in: Regenerated.
471
472 2005-07-15  Tom Tromey  <tromey@redhat.com>
473
474         Major merge with Classpath.
475         Removed many duplicate files.
476         * HACKING: Updated.x
477         * classpath: Imported new directory.
478         * standard.omit: New file.
479         * Makefile.in, aclocal.m4, configure: Rebuilt.
480         * sources.am: New file.
481         * configure.ac: Run Classpath configure script.  Moved code around
482         to support.  Disable xlib AWT peers (temporarily).
483         * Makefile.am (SUBDIRS): Added 'classpath'
484         (JAVAC): Removed.
485         (AM_CPPFLAGS): Added more -I options.
486         (BOOTCLASSPATH): Simplified.
487         Completely redid how sources are built.
488         Include sources.am.
489         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
490         * include/jni.h: Removed (in Classpath).
491         * scripts/classes.pl: Updated to look at built classes.
492         * scripts/makemake.tcl: New file.
493         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
494         -I options.
495         (gcj_jni_invocation_compile_c_to_binary): Likewise.
496
497 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
498
499         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
500         (eventMask): New field.
501         (XCanvasPeer(Component)): Use attributes field.
502         (setBackground): Implemented.
503         (setEventMask): Process mask only if changed.
504         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
505         (eventLoopThread): New field.
506         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
507         (interrupt): Removed.
508         (run): New method.
509         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
510         and Component events.
511         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
512         field.
513         (configureNotify): Set and clear processingConfigureNotify.
514         (setBounds): Process only if processingConfigureNotify is false.
515         (toBack): Implemented.
516         (toFront): Implemented.
517         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
518         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
519         color.
520         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
521         (wakeNativeQueue): Do nothing.
522         (iterateNativeQueue): Do queue.wait if blocking.
523         * gnu/gcj/xlib/Font.java (loadFont): New method.
524         (loadFontImpl): Renamed native method, was loadFont. 
525         * gnu/gcj/xlib/Window.java (toFront): New method.
526         (toBack): New method.
527         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
528         loadFont.
529         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
530         (toFront): New method. 
531         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
532
533 2005-07-14  Andrew Haley  <aph@redhat.com>
534
535         * gnu/java/net/protocol/file/Connection.java (unquote): New
536         method.
537         (connect): Unquote filename.
538         gnu/java/net/protocol/jar/Connection.java (getInputStream):
539         Likewise.  
540         (getJarFile): Likewise.
541
542         * java/net/URLConnection.java (getContentHandler): Guard cast with
543         instaceof.
544
545         * java/net/URL.java (URL): If the file part of a spec is absolute,
546         ignore the file part of its context.
547
548 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
549
550         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
551         Implemented VirtualMachine Command Set.
552
553 2005-07-14  Tom Tromey  <tromey@redhat.com>
554
555         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
556         Classpath.
557
558 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
559
560         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
561         Implemented the Field CommandSet.
562         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
563         Implemented the InterfaceType CommandSet.
564
565 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
566
567         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
568         shutdown to jdwp instead of connection.
569
570 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
571
572         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
573         New file.
574
575 2005-07-08  Colin Walters  <walters@verbum.org>
576
577         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
578         check for abstract classes or interfaces here; JVM spec
579         says it should throw an exception, so we'll do so later.
580         * interpret.cc (run): Throw an InstantiationException for
581         abstract classes and interfaces.
582
583 2005-07-08  Andrew Haley  <aph@redhat.com>
584
585         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
586         (regular, non-realtime scheduling), not SCHED_RR (realtime,
587         round-robin).
588
589 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
590
591         * gnu/classpath/jdwp/util/Signature.java
592         (computeFieldSignature): New Method.
593
594 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
595
596         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
597         file.
598
599 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
600
601         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
602         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
603
604 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
605
606         * testsuite/libjava.compile/PR21045.java: New test.
607         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
608         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
609
610 2005-07-06  Tom Tromey  <tromey@redhat.com>
611
612         * java/io/InputStreamReader.java (refill): Handle no-progress
613         case correctly.
614         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
615
616 2005-07-06  Tom Tromey  <tromey@redhat.com>
617
618         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
619
620 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
621
622         * testsuite/libjava.compile/PR19674.java: New test.
623
624 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
625
626         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
627         New file.
628
629 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
630
631         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
632         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
633         CommandSets to handle JdwpCommandPackets.
634         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
635         Constructor.
636
637 2005-07-01  Tom Tromey  <tromey@redhat.com>
638
639         * libtool-version: Updated.
640
641 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
642
643         * gnu/classpath/jdwp/util/JdwpString.java: New file.
644
645 2005-06-30  Keith Seitz  <keiths@redhat.com>
646
647         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
648         (myWrite): New abstract method.
649         (toBytes): Remove.
650         (myToBytes): Remove.
651         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
652         method.
653         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
654         method.
655         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
656         JdwpPacket.write instead of JdwpPacket.toBytes.
657
658 2005-06-30  Keith Seitz  <keiths@redhat.com>
659
660         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
661         method.
662         (_bytes): New member.
663         (_doStream): New member.
664         (JdwpConnection): Initialize new members.
665
666 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
667
668         * all files: Update for new FSF address.
669
670 2005-06-29  Tom Tromey  <tromey@redhat.com>
671
672         PR libgcj/22211:
673         * testsuite/libjava.lang/pr22211.java: New file.
674         * java/lang/natThread.cc (finish_): Synchronize when updating
675         alive_flag.
676         (_Jv_AttachCurrentThread): Likewise.
677         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
678         * java/lang/Thread.java (isAlive): Now synchronized.
679
680 2005-06-29  Tom Tromey  <tromey@redhat.com>
681
682         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
683         _Jv_CheckCast.
684
685 2005-06-28  Robin Green  <greenrd@greenrd.org>
686
687         PR java/22189
688         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
689         error.
690
691 2005-06-27  Tom Tromey  <tromey@redhat.com>
692
693         PR java/21540, PR java/13788:
694         * testsuite/libjava.compile/pr21540.java: New file.
695         * testsuite/libjava.compile/pr13788.java: New file.
696         * testsuite/libjava.jacks/jacks.xfail: Updated.
697
698 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
699
700         * testsuite/libjava.mauve/xfails: Updated to reflect current state
701         of mauve and libjava. 
702
703 2005-06-24  Tom Tromey  <tromey@redhat.com>
704
705         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
706         where class' name is NULL.
707         (_Jv_FindClass): Don't wait for class state.
708         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
709         name found.
710         * include/java-interp.h (_Jv_DefineClass): Updated.
711         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
712         (struct _Jv_ClassReader): Likewise.
713         (found_name): New field.
714         (handleClassBegin): Set *found_name.
715         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
716         (handleClassBegin): Throw error if super class not set.
717         (read_methods): Correctly call check_tag and prepare_pool_entry.
718
719 2005-06-24  Tom Tromey  <tromey@redhat.com>
720
721         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
722
723 2005-06-24  Tom Tromey  <tromey@redhat.com>
724
725         * verify.cc (verify_instructions_0): Correctly handle situation
726         where PC falls off end.
727
728 2005-06-24  Tom Tromey  <tromey@redhat.com>
729
730         * interpret.cc (compile): Handle case where table entry is
731         outside of PC range.
732
733 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
734
735         * testsuite/libjava.compile/PR20697.java: New test-case.
736
737 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
738
739         * Makefile.am (SUBDIRS): Use append for conditional.
740         (toolexeclib_LTLIBRARIES): Likewise.
741         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
742         a conditional append.
743         * Makefile.in: Regenerate.
744
745 2005-06-17  Keith Seitz  <keiths@redhat.com>
746
747         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
748         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
749         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
750         file.
751         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
752         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
753         file.
754         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
755         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
756         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
757         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
758         file.
759         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
760         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
761
762 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
763
764         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
765         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
766         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
767         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
768         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
769         * Makefile.in: Regenerate.
770
771 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
772
773         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
774         (USING_POSIX_PLATFORM): ... here.
775         * Makefile.am: Delete USING_ECOS_PLATFORM.
776         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
777         external/Makefile.in, external/sax/Makefile.in,
778         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
779
780 2005-06-15  Tom Tromey  <tromey@redhat.com>
781
782         PR libgcj/17536:
783         * testsuite/libjava.lang/pr17536.java: New file.
784         * testsuite/libjava.lang/pr17536.out: New file.
785
786 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
787
788         PR libgcj/21074:
789         * gnu/java/net/protocol/http/HTTPURLConnection.java
790         (getHeaderFieldKey): Check index.
791
792 2005-06-15  Tom Tromey  <tromey@redhat.com>
793
794         PR libgcj/21906:
795         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
796         methods.
797         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
798         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
799         static.
800         (append_partial_itable): Use it.
801         (set_vtable_entries): Likewise.
802
803 2005-06-15  Tom Tromey  <tromey@redhat.com>
804
805         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
806         last_was_sep in loop.
807
808 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
809
810         * configure.host: Handle Solaris 10/x86.
811
812 2005-06-14  Keith Seitz  <keiths@redhat.com>
813
814         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
815         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
816
817 2005-06-14  Keith Seitz  <keiths@redhat.com>
818
819         * gnu/classpath/jdwp/id/ArrayId.java: New file.
820         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
821         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
822         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
823         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
824         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
825         * gnu/classpath/jdwp/id/JdwpId.java: New file.
826         * gnu/classpath/jdwp/id/ObjectId.java: New file.
827         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
828         * gnu/classpath/jdwp/id/StringId.java: New file.
829         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
830         * gnu/classpath/jdwp/id/ThreadId.java: New file.
831
832 2005-06-14  Tom Tromey  <tromey@redhat.com>
833
834         PR libgcj/19877:
835         * configure, aclocal.m4, Makefile.in: Rebuilt.
836
837 2005-06-14  Tom Tromey  <tromey@redhat.com>
838
839         * java/lang/Class.java (getClasses): New method.
840         (internalGetClasses): Likewise.
841         (getClassLoader): Updated documentation.
842         (getDeclaredClasses): New overload; old overload no longer
843         native.
844         (_getConstructors): Removed.
845         (resourcePath): Updated.
846         * java/lang/natClass.cc (getClasses): Removed.
847         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
848         Updated.
849         (_getConstructors): Removed.
850
851 2005-06-13  Jim Huang  <jserv@kaffe.org>
852
853         PR libgcj/22036:
854         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
855         (_Jv_JNI_NewObject): Likewise.
856
857 2005-06-13  Tom Tromey  <tromey@redhat.com>
858
859         PR java/21844:
860         * testsuite/libjava.lang/pr21844.java: New file.
861         * testsuite/libjava.lang/pr21844.out: New file.
862
863 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
864
865         PR libgcj/21949
866         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
867         From Gary Benson.
868
869 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
870
871         * java/text/MessageFormat.java (parse): When parsing strings, check
872         for an empty pattern trailer.
873
874 2005-06-06  Keith Seitz  <keiths@redhat.com>
875
876         * gnu/classpath/jdwp/util/Signature.java: New file.
877         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
878
879 2005-06-05  Anthony Green  <green@redhat.com>
880
881         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
882         fall-through bug.
883
884 2005-06-04  Anthony Green  <green@redhat.com>
885
886         * java/net/URLClassLoader.java: import gnu.gcj.Core,
887         and gnu.java.net.protocol.core.CoreInputStream.
888         (CureURLLoader): New class.
889         (CoreResource): New class.
890         (addURLImpl): Add special treatment for the "core" protocol.
891         * gnu/gcj/natCore.cc (find): New method.
892         * gnu/gcj/Core.java (find): New method.
893
894 2005-06-03  Keith Seitz  <keiths@redhat.com>
895
896         * gnu/classpath/jdwp/transport/ITransport.java: New file.
897         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
898         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
899
900 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
901
902         * jawt.c: Remove malloc.h, covered by stdlib.h.
903
904         * testsuite/libjava.jni/jni.exp
905         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
906         the build process.
907
908 2005-06-02  Keith Seitz  <keiths@redhat.com>
909
910         * gnu/classpath/jdwp/transport/TransportException.java: New file.
911
912 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
913
914         * mauve-libgcj: Remove implemented classes from the fail section.
915         Add two new not implemented to it.
916
917 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
918
919         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
920         AC_SUBST definition from configure.host.
921         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
922         to -fomit-frame-pointer on 32-bit x86 targets.
923
924 2005-06-01  Tom Tromey  <tromey@redhat.com>
925
926         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
927
928 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
929
930         PR libgcj/20435:
931         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
932         (static): Add possessive matching to JAVA_1_4 syntax.
933         * gnu/regexp/RETokenRepeated.java (possessive): New field.
934         (makePossessive, isPossessive): New methods.
935         (match): Don't back off during possessive matching.
936         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
937         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
938         to JAVA_1_4.
939
940 2005-06-01  Keith Seitz  <keiths@redhat.com>
941
942         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
943         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
944         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
945
946 2005-06-01  Tom Tromey  <tromey@redhat.com>
947
948         PR libgcj/21785:
949         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
950         (currentLoader): New method.
951         * java/io/ObjectInputStream.java (resolveProxyClass): Use
952         currentLoader.
953         (currentLoader): Now native.
954         (currentClassLoader): Removed.
955         * testsuite/libjava.lang/pr21785.java: New file.
956         * testsuite/libjava.lang/pr21785.out: New file.
957
958 2005-06-01  Tom Tromey  <tromey@redhat.com>
959
960         PR libgcj/21753:
961         * java/lang/natString.cc (substring): Changed sharing heuristic.
962
963 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
964
965         PR libgcj/21821
966         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
967         MAXPATHLEN. Format exception message using a StringBuffer instead.
968
969 2005-05-29  Michael Koch  <konqueror@gmx.de>
970
971         PR libgcj/20273:
972         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
973
974 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
975
976         * ChangeLog: Fix typo.
977
978 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
979
980         Testsuite adjustments for PR java/19870.
981         * testsuite/libjava.lang/PR19870.java: New testcase.
982         * testsuite/libjava.lang/PR19870.out: Expected output for the
983         testcase.
984         * testsuite/libjava.jacks/jacks.xfail: Add
985         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
986
987
988 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
989
990         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
991         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
992         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
993         classes.
994         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
995         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
996         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
997         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
998
999 2005-05-25  Richard Henderson  <rth@redhat.com>
1000
1001         PR libgcj/21692
1002         * sysdep/descriptor-n.h: New file.
1003         * sysdep/descriptor-y.h: New file.
1004         * sysdep/powerpc/descriptor.h: New file.
1005         * configure.host: Set $descriptor_h appropriate for the host.
1006         * configure.ac: Link it.
1007         * configure: Regenerate.
1008         * stacktrace.cc: Include sysdep/descriptor.h.
1009         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
1010
1011 2005-05-25  Chris Burdess  <dog@gnu.org>
1012
1013         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
1014         end entity callbacks.
1015
1016 2005-05-24  Gary Benson  <gbenson@redhat.com>
1017
1018         PR libgcj/21736:
1019         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
1020         Handle DateFormat.DEFAULT case correctly.
1021
1022 2005-05-21  Tom Tromey  <tromey@redhat.com>
1023
1024         PR libgcj/21703:
1025         * java/lang/ref/natReference.cc (find_slot): Handle case where
1026         table has no NULL entries.
1027         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
1028         table has no NULL entries.
1029
1030 2005-05-22  Andreas Jaeger  <aj@suse.de>
1031
1032         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
1033         avoid warnings.
1034
1035 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
1036
1037         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
1038
1039 2005-05-19  Richard Henderson  <rth@redhat.com>
1040
1041         * exception.cc: Revert 05-17 gcc_unreachable change.
1042
1043 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1044
1045         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
1046         _Jv_RegisterInitiatingLoader to register array classes, not
1047         _Jv_RegisterClass.
1048         (_Jv_RegisterInitiatingLoader): Give up if called very early during
1049         bootstrapping. Add a FIXME to handle this case better.
1050
1051 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1052
1053         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
1054         convenience library.
1055         (libgcj_la_SOURCES): New. Move sources here.
1056         (libgcj.la): Remove rule.
1057
1058 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1059
1060         PR libgcj/19729
1061         * gnu/java/security/provider/DSASignature.java: Import updates
1062         from GNU Crypto.
1063
1064 2005-05-18  Anthony Green  <green@redhat.com>
1065
1066         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
1067         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1068         classpath_jawt_destroy_lock): New functions.
1069         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
1070         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1071         classpath_jawt_destroy_lock): New functions.
1072         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
1073         field.
1074         * jawt.c: #include malloc.h.
1075         (_Jv_Lock): Use lock.
1076         (_Jv_Unlock): Ditto.
1077         (_Jv_GetDrawingSurface): Initialize lock.
1078         (_Jv_FreeDrawingSurface): Destroy lock.
1079         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
1080
1081 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
1082
1083         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
1084         * Makefile.in: Regenerate.
1085
1086 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
1087
1088         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
1089         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
1090         * aclocal.m4, configure, config.h.in, include/config.h.in,
1091         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1092         external/Makefile.in, external/sax/Makefile.in,
1093         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
1094
1095 2005-05-17  David Daney  <ddaney@avtrex.com>
1096
1097         PR libgcj/18220
1098         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
1099
1100 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
1101
1102         * exception.cc (abort): Remove std::abort hack.
1103         (gcc_unreacheable): Define.
1104
1105 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1106
1107         * Makefile.am (Makefile.deps): Do not create native.list and
1108         bytecodes.list.
1109         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
1110         * Makefile.in: Regenerate.
1111
1112 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1113
1114         * configure.ac (--enable-libgcj-multifile): Remove.
1115
1116         * Makefile.am (all_native_compiled_source_files,
1117         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
1118         all_libgcj_lo_files, all_xlib_lo_files,
1119         all_java_deps_files, all_java_stamp_files,
1120         all_java_filelist_files): New variables.
1121         (EXTRA_DIST): New Automake variable.
1122         (CLEANFILES): Add .stamp, .list and .lo files.
1123         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
1124         (classes.stamp): Depend on $(all_java_stamp_files).
1125         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
1126         going through write_entries_to_file.
1127
1128         (all_java_source_files, all_property_files): Move earlier.
1129         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
1130         all_java_class_files): Remove.
1131         (gtk_awt_peer_sources): Rename to...
1132         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
1133
1134         (ONESTEP): Remove.
1135         (libgcj0_convenience_la_SOURCES): Remove Java source files.
1136         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
1137         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
1138         (libgcj_la_SOURCES): Remove.
1139         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
1140         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
1141         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
1142
1143         * configure: Regenerate.
1144         * Makefile.in: Regenerate.
1145         * external/Makefile.in: Regenerate.
1146         * external/sax/Makefile.in: Regenerate.
1147         * external/w3c_dom/Makefile.in: Regenerate.
1148         * gcj/Makefile.in: Regenerate.
1149         * include/Makefile.in: Regenerate.
1150         * libltdl/Makefile.in: Regenerate.
1151         * testsuite/Makefile.in: Regenerate.
1152
1153 2005-05-16  Tom Tromey  <tromey@redhat.com>
1154
1155         * java/nio/charset/Charset.java (encode, decode): Synchronize on
1156         'this', not the class.
1157
1158 2005-05-16  Tom Tromey  <tromey@redhat.com>
1159
1160         * gnu/java/net/protocol/http/Headers.java (parse): Include final
1161         character of line.
1162
1163 2005-05-16  Tom Tromey  <tromey@redhat.com>
1164
1165         PR libgcj/21606:
1166         * java/net/URI.java (unquote): Handle lower-case letters as well.
1167
1168 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1169
1170         PR libgcj/20504
1171         * gnu/regexp/RE.java: Add support for quoting constructs.
1172
1173 2005-05-15  Tom Tromey  <tromey@redhat.com>
1174
1175         * java/lang/String.java (startsWith): Fixed javadoc.
1176
1177 2005-05-15  Tom Tromey  <tromey@redhat.com>
1178
1179         PR java/21519:
1180         * testsuite/libjava.compile/pr21519.java: New file.
1181         * testsuite/libjava.compile/pr21519.no-link: New file.
1182
1183 2005-05-15  Tom Tromey  <tromey@redhat.com>
1184
1185         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
1186
1187 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
1188
1189         PR libgcj/21557
1190         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
1191         interrupt status flag if _Jv_CondWait is interrupted.
1192
1193 2005-05-13  Tom Tromey  <tromey@redhat.com>
1194
1195         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
1196         element in path.
1197
1198 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
1199
1200         * include/jvm.h (gcj::verifyClasses): Declare.
1201         * link.cc (gcj::verbose_class_flag): Moved.
1202         * prims.cc (gcj::verifyClasses): Define here.
1203         (gcj::verbose_class_flag): Move definition here.
1204         (_Jv_Linker::wait_for_state): Don't call verify_class
1205         if gcj::verifyClasses is not set.
1206         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
1207
1208 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
1209
1210         * gij.cc (main): Recognize '-verify', '-noverify', and
1211         '-verifyremote'
1212
1213 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1214
1215         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
1216
1217 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1218
1219         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
1220         libgcjawt.la.
1221
1222 2005-05-11  Tom Tromey  <tromey@redhat.com>
1223
1224         * external/w3c_dom/Makefile.in: Rebuilt.
1225         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
1226         -fbootstrap-classes.
1227         * external/sax/Makefile.in: Rebuilt.
1228         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
1229         -fbootstrap-classes.
1230         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
1231         friend.
1232         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1233         Call _Jv_CopyClassesToSystemLoader.
1234         * java/lang/natClassLoader.cc (system_class_list): New global.
1235         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
1236         classes differently.
1237         (_Jv_CopyClassesToSystemLoader): New function.
1238         (SYSTEM_LOADER_INITIALIZED): New define.
1239         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
1240         (_Jv_CheckABIVersion): Use it.
1241         (_Jv_ClassForBootstrapLoader): New function.
1242         * Makefile.in: Rebuilt.
1243         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
1244
1245 2005-05-10  Tom Tromey  <tromey@redhat.com>
1246
1247         * gcj/javaprims.h: Updated.
1248         * java/lang/String.java (String(StringBuilder)): New constructor.
1249         * java/lang/natStringBuilder.cc: New file.
1250         * java/lang/StringBuilder.java: New file.
1251         * Makefile.in: Rebuilt.
1252         * Makefile.am (core_java_source_files): Added StringBuilder.java.
1253         (nat_source_files): Added natStringBuilder.cc.
1254
1255 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
1256
1257         PR java/21436
1258         * testsuite/libjava.jacks/jacks.xfail: Adjust.
1259
1260 2005-05-09  Mike Stump  <mrs@apple.com>
1261
1262         * configure: Regenerate.
1263
1264 2005-05-09  David Daney  <ddaney@avtrex.com>
1265
1266         * java/util/BitSet.java (get(int, int)): Fix breakage when
1267         requested set doesn't start on a multiple of 64.
1268
1269 2005-05-07  Matthias Klose  <doko@debian.org>
1270
1271         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
1272
1273 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1274
1275         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
1276         * Makefile.in: Regenerate.
1277         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
1278         (createCompatibleVolatileImage(int,int)): Implement.
1279         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
1280         Likewise.
1281         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
1282         New fields.
1283         (createVolatileImage): Implement.
1284         (createBuffers): Likewise.
1285         (getBackBuffer): Likewise.
1286         (flip): Likewise.
1287         (destroyBuffers): Likewise.
1288         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
1289         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
1290         (CanvasFlipBufferStrategy): Likewise.
1291         (createBufferStrategy(int)): New method.
1292         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1293         * java/awt/Component.java (BltBufferStrategy): Implement and
1294         document class.
1295         (FlipBufferStrategy): Likewise.
1296         * java/awt/Window.java (WindowBltBufferStrategy): New class.
1297         (WindowFlipBufferStrategy): Likewise.
1298         (createBufferStrategy(int)): New method.
1299         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1300         (getBufferStrategy): Likewise.
1301         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
1302         front to frontCaps and back to backCaps.
1303
1304 2005-05-06  Michael Koch  <konqueror@gmx.de>
1305
1306         * java/awt/BufferCapabilities.java
1307         (BufferCapabilities): Merged javadoc.
1308
1309 2005-05-06  Michael Koch  <konqueror@gmx.de>
1310
1311         * java/util/Locale.java
1312         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
1313         (getLocale): New methods. Use it everywhere where instances of Locales
1314         are needed.
1315         (getDisplayLanguage): Merged javadoc.
1316         (getDisplayCountry): Likewise.
1317         (getDisplayVariant): Likewise.
1318
1319 2005-05-06  Archie Cobbs  <archie@dellroad.org>
1320
1321         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1322         use DeleteLocalRef() to avoid exhausting local native references.
1323
1324 2005-05-06  Mark Wielaard  <mark@klomp.org>
1325
1326         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1327         (window_delete_cb): Don't use C++ style comments.
1328
1329 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1330
1331         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
1332         copyright header.
1333
1334 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1335
1336         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1337         (window_delete_cb): Made the function return TRUE.
1338
1339 2005-05-06  Roman Kennke  <roman@kennke.org>
1340
1341         * javax/swing/text/PlainView.java
1342         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1343         offset parameter.
1344         * javax/swing/text/Utilities.java
1345         (drawTabbedText): Initilialize local variable pos correctly.
1346
1347 2005-05-06  Roman Kennke  <roman@kennke.org>
1348
1349         * javax/swing/text/AbstractDocument.java
1350         (LeafElement): Made start and end package private fields for
1351         effective reindexing.
1352         * javax/swing/text/PlainDocument.java
1353         (constructor): The field rootElement is always BranchElement,
1354         so we handle it as such.
1355         (removeUpdate): Rewritten reindexing for removeUpdate so that
1356         the actual removal is taken into account.
1357
1358 2005-05-06  Roman Kennke  <roman@kennke.org>
1359
1360         * javax/swing/text/GapContent.java:
1361         Removed debugging output stuff, which I accidentally left in.
1362
1363 2005-05-06  Roman Kennke  <roman@kennke.org>
1364
1365         * javax/swing/text/GapContent.java:
1366         Implemented a real GapContent. Only the public methods have
1367         been implemented so far and still no UndoableEdit support.
1368
1369 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1370
1371         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1372         the typo.
1373
1374 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1375
1376         * java/awt/image/BufferStrategy.java: Document.
1377
1378         * java/awt/BufferCapabilities.java: Document.
1379
1380 2005-05-04  Tom Tromey  <tromey@redhat.com>
1381
1382         * java/nio/channels/FileLock.java (toString): Entirely avoid
1383         String "+".
1384
1385 2005-05-04  Andrew Overholt  <overholt@redhat.com>
1386
1387         * java/nio/channels/FileLock.java (toString): Re-implement using
1388         StringBuffer.
1389
1390 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1391
1392         * java/awt/ImageCapabilities.java: Document.
1393
1394         * java/awt/image/VolatileImage.java: Unindent copyright header.
1395
1396 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1397
1398         * java/awt/image/VolatileImage.java: Document.
1399
1400 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1401
1402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1403         (init_glib_threads): Check if threading system is already
1404         initialized.
1405
1406 2005-05-03  Andrew Overholt  <overholt@redhat.com>
1407
1408         PR libgcj/21372:
1409         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1410         could not be acquired.
1411         * java/nio/channels/FileLock.java (toString): Re-implement to be
1412         in line with other implementations.
1413
1414 2005-05-03  Tom Tromey  <tromey@redhat.com>
1415
1416         * java/lang/VMSecurityManager.java (currentClassLoader): Use
1417         'systemClasssLoader' directly.
1418
1419 2005-05-03  Tom Tromey  <tromey@redhat.com>
1420
1421         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1422         call VMClassLoader.getSystemClassLoader.
1423
1424 2005-04-29  Michael Koch  <konqueror@gmx.de>
1425
1426         * java/net/NetworkInterface.java
1427         (static): Removed.
1428         (NetworkInterface(String,InetAddress)): Made package-private.
1429         (NetworkInterface(String,InetAddress[])): New constructor.
1430         (getRealNetworkInterfaces): Removed.
1431         (getByName): Use VMNetworkInterface.getInterfaces().
1432         (getByInetAddress): Likewise.
1433         (getNetworkInterfaces): Likewise.
1434         * java/net/VMNetworkInterface.java,
1435         java/net/natVMNetworkInterfaceNoNet.cc,
1436         java/net/natVMNetworkInterfacePosix.c,c
1437         java/net/natVMNetworkInterfaceWin32.cc: New files.
1438         * java/net/natNetworkInterfaceNoNet.cc,
1439         java/net/natNetworkInterfacePosix.cc,
1440          java/net/natNetworkInterfaceWin32.cc: Removed.
1441         * configure.ac
1442         * Makefile.am
1443         * configure, Makefile.in: Regenerated.
1444
1445 2005-04-29  Andrew Haley  <aph@redhat.com>
1446
1447         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1448
1449 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
1450
1451         * java/nio/channels/FileChannelImpl.java
1452         (FileChannelImpl(String, int)): Removed.
1453         (FileChannelImpl(File, int)): Added. Check if opened file is a
1454         directory.
1455         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1456         Call FileChannelImpl(File, int).
1457         * java/io/FileOutputStream.java (FileInputStream): Call
1458         FileChannelImpl(File, int).
1459         * java/io/RandomAccessFile.java (RandomAccessFile):
1460         Call FileChannelImpl(File, int). Switched constructors around.
1461
1462 2005-04-27  Andrew Haley  <aph@redhat.com>
1463
1464         PR java/19285
1465         * prims.cc (_Jv_ResolvePoolEntry): New function.
1466         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1467         * link.cc (_Jv_Linker::find_field): New arg: found_class.
1468         (resolve_pool_entry): Initialize the class in which a field is
1469         found.
1470         (link_symbol_table): Pass new arg to found_class.
1471
1472 2005-04-29  Michael Koch  <konqueror@gmx.de>
1473
1474         * java/nio/charset/Charset.java
1475         (provider): Reformatted.
1476
1477 2005-04-29  Michael Koch  <konqueror@gmx.de>
1478
1479         * gnu/java/net/protocol/http/HTTPConnection.java:
1480         (userAgent): Initialize from system properties.
1481         (initUserAgent): Removed.
1482
1483 2005-04-29  Mark Wielaard  <mark@klomp.org>
1484
1485         * java/util/ResourceBundle.java (getObject): Clarify
1486         MissingResourceException detailed message.
1487         (tryBundle(String,ClassLoader)): Likewise.
1488
1489 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1490
1491         * java/beans/FeatureDescriptor.java:
1492         (getShortDescription): Implemented fallback mechanism and fixed
1493         documentation (fixes bug #12637).
1494         (getDisplayName): Dito.
1495
1496 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1497
1498         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1499         will now be set correctly.
1500         (flushCaches): Now flushes all cached intermediate data.
1501
1502 2005-04-28  Michael Koch  <konqueror@gmx.de>
1503
1504         * java/net/InetAddress.java
1505         (aton): Fixed javadoc.
1506         (lookup): Likewise.
1507
1508 2005-04-28  Tom Tromey  <tromey@redhat.com>
1509
1510         * javax/swing/Timer.java
1511         (drainEvents, queueEvent): Now package-private.
1512
1513 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1514
1515         * javax/swing/Timer.java
1516         (constructor): Assigning initialDelay.
1517
1518 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1519
1520         * javax/swing/Timer.java
1521         (Waker.run): firing the first action event.
1522
1523 2005-04-28  Michael Koch  <konqueror@gmx.de>
1524
1525         * javax/swing/Timer.java: Reordered all fields and methods,
1526         Added more javadocs.
1527
1528 2005-04-28  Michael Koch  <konqueror@gmx.de>
1529
1530         * javax/swing/Timer.java: Javadocs merged
1531         from GNU classpath.
1532
1533 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
1534
1535         * gnu/java/net/protocol/file/Connection.java
1536         (StaticData): New inner class to contain statics.
1537         (connect, getHeaderField): Modified to use StaticData.
1538
1539 2005-04-28  Michael Koch  <konqueror@gmx.de>
1540
1541         * gnu/java/net/protocol/file/Connection.java
1542         (lineSeparator): Initialize with SystemProperties.getProperty().
1543
1544 2005-04-27  Chris Burdess  <dog@gnu.org>
1545
1546         * gnu/java/net/protocol/file/Connection.java: Return correct content
1547         length for directory listing.
1548         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1549         #11285: return valid URLs for directories.i
1550
1551 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1552
1553         * Makefile.am (ordinary_java_source_files): Add
1554         gnu/java/net/protocol/https/Handler.java.
1555         * Makefile.in: Regenerate.
1556         * java/net/URL.java: Remove org.metastatic.jessie from default
1557         protocol search path.
1558
1559 2005-04-27  Chris Burdess  <dog@gnu.org>
1560
1561         * gnu/java/net/protocol/https/Handler.java: New file.
1562
1563 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
1564
1565         * javax/imageio/spi/IIORegistry.java (IIORegistry):
1566         Don't assume that awt Toolkit is always ClasspathToolkit.
1567
1568 2005-04-27  Chris Burdess  <dog@gnu.org>
1569
1570         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1571         absolute and relative paths in Location header.
1572
1573 2005-04-27  Chris Burdess  <dog@gnu.org>
1574
1575         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1576         FileNotFoundException and implement getErrorStream on 404.
1577
1578 2005-04-27  Sven de Marothy <sven@physto.se>
1579
1580         * java/util/TimeZone.java,
1581         (getDefaultDisplayName): Fix previous fix.
1582
1583 2005-04-27  Sven de Marothy <sven@physto.se>
1584
1585         * java/util/TimeZone.java,
1586         (getDefaultDisplayName): Don't print zero offsets.
1587
1588 2005-04-27  Roman Kennke  <roman@kennke.org>
1589
1590         * javax/swing/plaf/basic/BasicScrollBarUI
1591         (getThumbBounds): Do not make thumb smaller than
1592         minimumThumbSize.
1593         * javax/swing/plaf/metal/MetalLookAndFeel
1594         (initComponentDefaults): Added color defaults for ScrollBar.
1595         * javax/swing/plaf/metal/MetalScrollBarUI
1596         (paintThumb): Added.
1597         (getMinimumThumbSize): Added.
1598
1599 2005-04-27  Roman Kennke  <roman@kennke.org>
1600
1601         * javax/swing/plaf/metal/MetalLookAndFeel
1602         (initComponentDefaults): Added some default colors.
1603
1604 2005-04-27  Roman Kennke  <roman@kennke.org>
1605
1606         * javax/swing/plaf/basic/BasicScrollBarUI.java
1607         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1608         to 'ScrollBar.thumbShadow'. The formes does not exist.
1609         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1610
1611 2005-04-27  Roman Kennke  <roman@kennke.org>
1612
1613         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1614         * javax/swing/BoxLayout.java: Likewise.
1615         * javax/swing/UIManager.java: Likewise.
1616         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1617         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1618         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1619         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1620         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1621         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1622         * javax/swing/text/Document.java: Likewise.
1623         * javax/swing/text/GapContent.java: Likewise.
1624         * javax/swing/text/SimpleAttributeSet.java: Likewise.
1625         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1626
1627 2005-04-27  Roman Kennke  <roman@kennke.org>
1628
1629         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1630         (getPropertyPrefix): Added.
1631
1632 2005-04-27  Roman Kennke  <roman@kennke.org>
1633
1634         * javax/swing/plaf/basic/BasicButtonUI.java
1635         (getPropertyPrefix): Added.
1636         (installDefaults): Use getPropertyPrefix instead of hard-coded
1637         prefix.
1638
1639 2005-04-27  Roman Kennke  <roman@kennke.org>
1640
1641         * javax/swing/JToggleButton.java
1642         (JToggleButton): Removed horizontalAlignment setting, this
1643         was wrong. Added setting of an actionCommand, ToggleButtons
1644         have "" as default actionCommand.
1645
1646 2005-04-27  Michael Koch  <konqueror@gmx.de>
1647
1648         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1649         to work around CNI limitation.
1650
1651 2005-04-27  Sven de Marothy  <sven@physto.se>
1652
1653         * java/nio/charset/Charset.java:
1654         (defaultCharset()): New method.
1655         Status updated to 1.5
1656
1657 2005-04-27  Sven de Marothy  <sven@physto.se>
1658
1659         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1660
1661 2005-04-27  Sven de Marothy  <sven@physto.se>
1662
1663         * java/nio/charset/Charset.java: Reset cached de/encoders.
1664
1665 2005-04-27  Robert Schuster <thebohemian@gmx.net>
1666
1667         * java/nio/charset/Charset.java (forName): Throws
1668         IllegalArgumentException when argument is null
1669         and added documentation.
1670
1671 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1672
1673         * java/nio/charset/Charset.java (providers):
1674         New method to make an array of CharsetProviders defined in
1675         META-INF/services/java.nio.charset.spi.CharsetProvider.
1676         (charsetForName, availableCharsets): Use the
1677         new method providers().
1678
1679 2005-04-26  Michael Koch  <konqueror@gmx.de>
1680
1681         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1682         Fixed typos in javadocs.
1683         (isSiteLocalAddress): Fixed handling of byte values.
1684         (isMCLinkLocal): Likewise.
1685         * java/net/Inet4Address.java
1686         (isMulticastAddress): Call super method.
1687         (isLoopbackAddress): Likewise.
1688         (isAnyLocalAddress): Likewise.
1689         (isLinkLocalAddress): Likewise.
1690         (isSiteLocalAddress): Likewise.
1691         (isMCGlobal): Likewise.
1692         (isMCNodeLocal): Likewise.
1693         (isMCLinkLocal): Likewise.
1694         (isMCSiteLocal): Likewise.
1695         (isMCOrgLocal): Likewise.
1696         (getHostAddress): Likewise.
1697
1698 2005-04-26  Sven de Marothy  <sven@physto.se>
1699
1700         * java/net/InetAddress.java
1701         (toString): Don't print empty hostnames.
1702
1703 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
1704
1705         PR libgcj/21136:
1706         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1707         'false' to native lock().
1708         (lock): Pass 'true' to native lock().
1709
1710 2005-04-26  Michael Koch  <konqueror@gmx.de>
1711
1712         * java/net/InetAddress.java:
1713         Fixed typos in javadocs.
1714
1715 2005-04-26  Andrew Haley  <aph@redhat.com>
1716
1717         PR libgcj/21020:
1718         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1719         field's type.
1720
1721 2005-04-26  Tom Tromey  <tromey@redhat.com>
1722
1723         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1724         gnu): Now package-private.
1725         * javax/swing/text/html/parser/DocumentParser.java (parser,
1726         callBack, gnu): Now package-private.
1727         * javax/swing/text/StringContent.java (content, setOffset,
1728         checkLocation): Now package-private.
1729         * javax/swing/text/JTextComponent.java (doc): Now
1730         package-private.
1731         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1732         lastGoodOrientation, origParent, borders, cachedBounds,
1733         cachedOrientation, DragWindow): Now package-private.
1734         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1735         decrButton, viewport, panel, currentScrollLocation, layoutManager,
1736         tabAreaRect, contentRect, createIncreaseButton,
1737         createDecreaseButton, findPointForIndex): Now package-private.
1738         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1739         (currentDividerLocation, moveDividerTo): Now package-private.
1740         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1741         package-private.
1742         * javax/swing/plaf/basic/BasicScrollBarUI.java
1743         (calculatePreferredSize, valueForYPosition, valueForXPosition):
1744         Now package-private.
1745         * javax/swing/plaf/basic/BasicPopupMenuUI.java
1746         (topWindowListener): Now package-private.
1747         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1748         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1749         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1750         package-private.
1751         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1752         package-private.
1753         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1754         Now package-private.
1755         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1756         package-private.
1757         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1758         borderInsets): Now package-private.
1759         (arrowButtonWidth): Likewise.  Now a constant.
1760         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1761         makeTabs, updatePreviewPanel): Now package-private.
1762         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1763         darkShadow, highlight): Now package-private.
1764         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1765         (addColorToQueue): Now package-private.
1766         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1767         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1768         GSpinner, BSpinner): Now package-private.
1769         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1770         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1771         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1772         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1773         updateTrack): Now package-private.
1774         * javax/swing/TransferHandler.java (clipboard): Now
1775         package-private.
1776         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1777         package-private.
1778         * javax/swing/Timer.java (drainEvents, queueEvent): Now
1779         package-private.
1780         * javax/swing/RepaintManager.java (globalManager): Now
1781         package-private.
1782         * javax/swing/JFormattedTextField.java (editValid): Now
1783         package-private.
1784         * javax/swing/JColorChooser.java (makeModal): Now
1785         package-private.
1786         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1787         index, path): Now package-private.
1788         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1789         lineQuadIntersect, lineCubicIntersect, linesIntersect,
1790         pointEquals): Now package-private.
1791         * java/awt/geom/Arc2D.java (type): Now package-private.
1792         * java/awt/Window.java (windowFocusOwner): Now package-private.
1793         * java/awt/TextComponent.java (editable, selectionStart,
1794         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1795         package-private.
1796         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1797         package-private.
1798         * java/awt/MenuComponent.java (focusListener): Now
1799         package-private.
1800         * java/awt/Frame.java (state): Now package-private.
1801         * java/awt/Choice.java (pItems): Now package-private.
1802         * java/awt/Checkbox.java (state): Now package-private.
1803         * java/awt/Button.java (actionCommand, label): Now
1804         package-private.
1805         * gnu/javax/swing/text/html/parser/support/Parser.java
1806         (attributes, _handleEndTag_remaining, _handleStartTag): Now
1807         package-private.
1808         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1809         package-private.
1810         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1811         clip, transform, font, comp): Now package-private.
1812
1813 2005-04-26  Tom Tromey  <tromey@redhat.com>
1814
1815         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1816         static way.
1817
1818 2005-04-26  Mark Wielaard  <mark@klomp.org>
1819
1820         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1821         to MalformedURLException.
1822
1823 2005-04-26  Michael Koch  <konqueror@gmx.de>
1824
1825         * java/security/AccessControlContext.java:
1826         Reformated.
1827         (protectedDomains): Renamed from 'protectionDomain'.
1828         * java/security/AccessController.java:
1829         Reformatted.
1830
1831 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
1832
1833         * gnu/java/security/action/GetSecurityPropertyAction.java
1834         (GetSecurityPropertyAction): Implement PrivilegedAction instead
1835         of extending GetPropertyAction.
1836         (name): New field.
1837         (value): Likewise.
1838         (setParamters): New methods.
1839         (GetSecurityPropertyAction): Use new setParameters methods.
1840
1841 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
1842
1843         * java/security/Security.java,
1844         java/security/cert/X509CRLSelector.java,
1845         java/security/cert/X509CertSelector.java:
1846         Modified to use SystemProperties.
1847
1848 2005-04-26  Michael Koch  <konqueror@gmx.de>
1849
1850         * java/lang/System.java
1851         (setSecurityManager): Fixed comment.
1852         (getSecurityManager): Removed obsolete comment.
1853
1854 2005-04-25  Tom Tromey  <tromey@redhat.com>
1855
1856         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1857
1858 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
1859
1860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1861         (connectSignals): Realize the window widget after connecting
1862         signals.
1863
1864 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
1865
1866         * java/awt/GraphicsEnvironment.java
1867         (localGraphicsEnvironment): New field.
1868         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1869         property.
1870         (isHeadless): Added support for java.awt.headless property.
1871         (isHeadlessInstance): Call headless().
1872
1873 2005-04-25  Roman Kennke  <roman@kennke.org>
1874
1875         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1876         (getDisplayMode): Added. Returns the current display mode.
1877         (isFullScreenSupported): Added.
1878         * java/awt/GraphicsDevice.java
1879         (setFullScreenWindow): Implemented a primitive fullscreen mode.
1880         This resizes and relocates the fullscreen window so that it uses
1881         the whole screen. This is not a fully accelerated fullscreen
1882         exclusive mode.
1883
1884 2005-04-25  Michael Koch  <konqueror@gmx.de>
1885
1886         * java/lang/Runtime.java,
1887         java/lang/SecurityManager.java,
1888         java/lang/System.java,
1889         java/lang/ThreadGroup.java:
1890         Replaced java.lang.Runtime.securityManager by
1891         java.lang.SecurityManager.current (as used in GNU classpath).
1892
1893 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
1894
1895         * java/awt/Transparency.java
1896         (getTransparency): fixed API docs.
1897
1898 2005-04-25  Archie Cobbs  <archie@dellroad.org>
1899
1900         * java/lang/Throwable.java: simplify initializing cause in constructor
1901
1902 2005-04-25  Michael Koch  <konqueror@gmx.de>
1903
1904         * gnu/classpath/SystemProperties.java: New file.
1905         * gnu/classpath/natSystemProperties.cc: New file.
1906         * java/lang/Runtime.java
1907         (defaultProperties): Removed.
1908         (static): Likewise.
1909         (): Made thrown exceptions more verbose.
1910         (insertSystemProperties): Removed.
1911         * java/lang/System.java
1912         (static): Likewise.
1913         (properties): Likewise.
1914         (setSecurityManager): Reordered modifiers.
1915         (getenv): Improved javadoc.
1916         (): Likewise.
1917         (isWordsBigEndian): Removed.
1918         * java/lang/natRuntime.cc
1919         (_Jv_SetDLLSearchPath): Likewise.
1920         (file_encoding): Likewise.
1921         (default_file_encoding): Likewise.
1922         (getpwuid_adaptor): Likewise.
1923         (insertSystemProperties): Likewise.
1924         * java/lang/natSystem.cc
1925         (isWordsBigEndian): Likewise.
1926         * Makefile.am
1927         (ordinary_java_source_files):
1928         Added gnu/classpath/SystemProperties.java.
1929         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1930         * Makefile.in: Regenerated.
1931
1932 2005-04-25  Roman Kennke  <roman@kennke.org>
1933
1934         * javax/swing/plaf/basic/BasicScrollBarUI.java
1935         (initDefaults): Initialize thumb*Color fields correctly.
1936
1937 2005-04-25  Roman Kennke  <roman@kennke.org>
1938
1939         * javax/swing/text/GapContent.java:
1940         Added API comments.
1941
1942 2005-04-25  Roman Kennke  <roman@kennke.org>
1943
1944         * javax/swing/plaf/metal/MetalBorders.java:
1945         Added inner class ScrollPaneBorder.
1946         * javax/swing/plaf/metal/MetalLookAndFeel.java
1947         (initComponentDefaults): Added default for "ScrollPane.border"
1948         to use the new ScrollPaneBorder.
1949
1950 2005-04-25  Roman Kennke  <roman@kennke.org>
1951
1952         * javax/swing/text/AbstractDocument.java:
1953         Added FIXME comments. This class still has to be
1954         implemented thread-safe.
1955
1956 2005-04-25  Roman Kennke  <roman@kennke.org>
1957
1958         * javax/swing/tree/DefaultTreeSelectionModel.java
1959         (DefaultTreeSelectionModel): Initialize listenerList here.
1960
1961 2005-04-25  Roman Kennke  <roman@kennke.org>
1962
1963         * javax/swing/plaf/metal/MetalTextFieldUI.java
1964         (createUI): Return one instance per Component instead of a
1965         shared instance.
1966
1967 2005-04-25  Roman Kennke  <roman@kennke.org>
1968
1969         * javax/swing/text/Document.java:
1970         Added API documentation comments.
1971
1972 2005-04-25  Roman Kennke  <roman@kennke.org>
1973
1974         * javax/swing/text/AbstractDocument.java
1975         (getDocumentProperties): Implemented.
1976         (setDocumentProperties): Implemented.
1977         (getProperty): Implemented.
1978         (putProperty): Implemented.
1979
1980 2005-04-25  Roman Kennke  <roman@kennke.org>
1981
1982         * javax/swing/BoxLayout
1983         (preferredLayoutSize): Fixed computation so that it correctly
1984         adds the top and bottom insets of the container.
1985
1986 2005-04-25  Roman Kennke  <roman@kennke.org>
1987
1988         * javax/swing/plaf/basic/BasicMenuItemUI.java
1989         (paintText): Make use of the 'selectionForeground' UI default
1990         for text painting.
1991
1992 2005-04-25  Roman Kennke  <roman@kennke.org>
1993
1994         * javax/swing/plaf/basic/BasicLookAndFeel.java
1995         (initSystemColorDefaults): Modified colors to match the
1996         BasicLookAndFeel in the reference implementation.
1997         (initComponentDefaults): Likewise.
1998
1999 2005-04-25  Tom Tromey  <tromey@redhat.com>
2000
2001         * include/jni.h (_Jv_va_list): Removed.
2002         Moved configuration code...
2003         * include/jni_md.h: ... here.  New file.
2004         * include/Makefile.in: Rebuilt.
2005         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
2006
2007 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
2008
2009         * java/io/FileInputStream.java (FileInputStream(File)),
2010         java/io/FileOutputStream.java (FileOutputStream(File)):
2011         Removed unnecessary File.isDirectory() check.
2012
2013 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
2014
2015         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
2016         gij if get_multilibs fails.
2017
2018 2005-04-22  Anthony Green  <green@redhat.com>
2019
2020         * jni.cc (natrehash): Don't bother clearing memory again.
2021         * interpret.cc (do_allocate_static_fields): Ditto.
2022         * java/lang/natString.cc (rehash): Ditto.
2023
2024 2005-04-22  Roman Kennke  <roman@kennke.org>
2025
2026         * javax/swing/plaf/basic/BasicLookAndFeel.java
2027         (initComponentDefaults): Changed Button.border to be
2028         BasicBorders.getButtonBorder as it should be.
2029
2030 2005-04-22  Roman Kennke  <roman@kennke.org>
2031
2032         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2033         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
2034         should according to a mauve testcase, instead of the preferred
2035         size.
2036
2037 2005-04-22  Roman Kennke  <roman@kennke.org>
2038
2039         * javax/swing/JMenu.java
2040         (add): add(Component) now calls PopupMenu.insert(..) instead of
2041         PopupMenu.add(..). add(..) is not implemented for Component,
2042         so JComponent.add(..) is called instead, adding the component
2043         in the wrong place.
2044
2045 2005-04-22  Roman Kennke  <roman@kennke.org>
2046
2047         * javax/swing/plaf/basic/BasicButtonListener.java
2048         (mousePressed): replaced query to getModifiersEx with getModifiers.
2049         This method relied on faulty behaviour in getModifierEx.
2050         (mouseReleased): replaced query to getModifiersEx with getModifiers.
2051         This method relied on faulty behaviour in getModifierEx.
2052
2053 2005-04-22  Roman Kennke  <roman@kennke.org>
2054
2055         * javax/swing/plaf/metal/MetalLookAndFeel.java
2056         (getDefaults): Call addCustomEntriesToTable on the theme.
2057
2058 2005-04-22  Roman Kennke  <roman@kennke.org>
2059
2060         * javax/swing/tree/DefaultTreeSelectionModel.java
2061         (constructor): Added implementation.
2062         (getRowMapper): Added implementation.
2063         (setSelectionMode): Added implementation.
2064         (getSelectionMode): Added implementation.
2065         (getSelectionPath): Added implementation.
2066         (getSelectionPaths): Added implementation.
2067         (getSelectionCount): Added implementation.
2068         (isSelectionEmpty): Added implementation.
2069         (getSelectionRows): Added implementation.
2070         (getMinSelectionRow): Added implementation.
2071         (getMaxSelectionRow): Added implementation.
2072         (getLeadSelectionRow): Added implementation.
2073         (getLeadSelectionPath): Added implementation.
2074
2075 2005-04-22  Casey Marshall <csm@gnu.org>
2076
2077         * gnu/java/security/der/DERValue.java
2078         (getValueAs): new method.
2079         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
2080         (<init>): read both dates with 'DERValue.getValueAs', with
2081         'GENERALIZED_TIME' as the argument.
2082
2083 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
2084
2085         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
2086         be null, check for that case and don't deference it.
2087
2088 2005-04-22  Sven de Marothy  <sven@physto.se>
2089
2090         * java/util/logging/LogManager.java: Reformatted.
2091         (readConfiguration): If a logger for a key is not found, create one.
2092
2093 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2094
2095         * java/rmi/Naming.java:
2096         Added class documentation.
2097         (lookup(String)): Call parseURL and getName.
2098         (bind(String,java.rmi.Remote)): Likewise.
2099         (unbind(String)): Likewise.
2100         (rebind(String, java.rmi.Remote)): Likewise.
2101         (list(String)): Call parseURL.
2102         (parseURL(String)): New method to handle parsing and defaults.
2103         (getName(java.net.URL)): New method to handle finding the service name.
2104
2105 2005-04-21  Tom Tromey  <tromey@redhat.com>
2106
2107         * java/lang/natClass.cc (initializeClass): Link class.
2108
2109 2005-04-21  Tom Tromey  <tromey@redhat.com>
2110
2111         * java/lang/AssertionError.java: Typo fix.
2112
2113 2005-04-21  Tom Tromey  <tromey@redhat.com>
2114
2115         * java/lang/VMClassLoader.java (transformException): Removed.
2116         (resolveClass): No longer native.  Now does nothing.
2117         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
2118
2119 2005-04-21  Anthony Green  <green@redhat.com>
2120
2121         PR libgcj/21115
2122         * testsuite/libjava.special/special.exp,
2123         testsuite/libjava.special/pr21115I.java,
2124         testsuite/libjava.special/pr21115.java,
2125         testsuite/libjava.special/pr21115.out: New files.
2126
2127 2005-04-21  Chris Burdess  <dog@gnu.org>
2128
2129         * gnu/java/net/CRLFInputStream.java: Rewrite to return
2130         CRLF-delimited chunks.
2131
2132 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2133
2134         * java/net/URI.java:
2135         Added class documentation.
2136         (parseURI(String)): Only handle scheme-specific parts
2137         if URI is not opaque.  Allow for parts that can't be null.
2138         (toString()): Output the scheme-specific part whole, rather
2139         than as its possibly non-existent components.
2140
2141 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2142
2143         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
2144         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
2145         Adjusted to match new regexp.
2146
2147 2005-04-20  Michael Koch  <konqueror@gmx.de>
2148
2149         * gnu/java/net/protocol/file/Connection.java,
2150         gnu/java/net/protocol/jar/Connection.java:
2151         Reorganized import statements. Fixed @author tags.
2152
2153 2005-04-20  Chris Burdess  <dog@gnu.org>
2154
2155         * java/io/DataOutputStream.java (writeUTF): Use block write for
2156         output.
2157
2158 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2159
2160         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
2161         (readLine): Changed newline handling.
2162
2163 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2164
2165         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
2166         ColorModel,byte[],int,int): Fixed byte to int conversion.
2167
2168 2005-04-20  Michael Koch  <konqueror@gmx.de>
2169
2170         * java/io/FilePermission.java
2171         (serialVersionUID): Made private.
2172         (ALL_FILES): New constant.
2173         (implies): Handle '<<ALL FILES>>' case.
2174
2175 2005-04-20  Sven de Marothy  <sven@physto.se>
2176
2177         * gnu/java/awt/peer/gtk/GdkGraphics.java:
2178         (drawImage): Don't notify the image observer for offscreen images.
2179         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
2180         (setPixels): Don't notify the image observer.
2181
2182 2005-04-20  Sven de Marothy  <sven@physto.se>
2183
2184         * java/nio/ByteBufferImpl.java:
2185         (putChar): Inlined for speed.
2186         (put, get): Bulk methods can use arraycopy.
2187         * java/nio/CharBufferImpl.java:
2188         (put, get): Bulk methods can use arraycopy.
2189
2190 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2191
2192         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
2193         and field updates.
2194         * java/nio/CharBufferImpl.java
2195         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
2196         (get(), put(char)): Inlined checks and field updates. Fixed to
2197         take array_offset into account.
2198         (get(int), put(int, char)): Fixed to take array_offset into account.
2199
2200 2005-04-20  Sven de Marothy  <sven@physto.se>
2201
2202         * java/text/SimpleDateFormat.java:
2203         (formatWithAttribute): Pad year before truncating digits.
2204
2205 2005-04-20  Michael Koch  <konqueror@gmx.de>
2206
2207         * gnu/java/net/PlainDatagramSocketImpl.java:
2208         Merged copyright header.
2209         * gnu/java/net/PlainSocketImpl.java:
2210         Reorganized import statements. Fixed @author tags.
2211
2212 2005-04-20  Michael Koch  <konqueror@gmx.de>
2213
2214         * gnu/java/lang/ClassHelper.java,
2215         gnu/java/lang/reflect/TypeSignature.java:
2216         Fixed @author tag.
2217
2218 2005-04-20  Michael Koch  <konqueror@gmx.de>
2219
2220         * gnu/java/beans/IntrospectionIncubator.java:
2221         Fixed HTML tags in javadocs.
2222
2223 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2224
2225         * gnu/java/beans/IntrospectionIncubator.java
2226         (addToPropertyHash, addToListenerHash): Don't confuse get(),
2227         set(), is(), add() and remove() with properties or events.
2228
2229 2005-04-20  Michael Koch  <konqueror@gmx.de>
2230
2231         * gnu/java/awt/image/XBMDecoder.java:
2232         Fixed modifier order.
2233
2234 2005-04-20  Roman Kennke  <roman@kennke.org>
2235
2236         * javax/swing/plaf/basic/BasicButtonUI.java
2237         (paint): This should not care about margin and insets
2238         at the same time, as insets already include the margin
2239         through the border.
2240         * javax/swing/plaf/basic/BasicGraphicsUtils.java
2241         (getPreferredButtonSize): Likewise.
2242         * javax/swing/plaf/metal/MetalBorders.java
2243         (getBorderInsets): Likewise.
2244
2245 2005-04-20  Roman Kennke  <roman@kennke.org>
2246
2247         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2248         (createMessageArea): The JPanel that holds the message area
2249         doesn't need to override getPreferredSize. This prevents some
2250         message components from rendering nicely.
2251
2252 2005-04-20  Roman Kennke  <roman@kennke.org>
2253
2254         * javax/swing/plaf/metal/MetalInternalFrameUI.java
2255         (createUI): Do not share instances between components.
2256         * javax/swing/plaf/metal/MetalSliderUI.java
2257         (createUI): Do not share instances between components.
2258
2259 2005-04-20  Roman Kennke  <roman@kennke.org>
2260
2261         * javax/swing/plaf/metal/MetalBorders:
2262         (PopupMenuBorder): Added.
2263         * javax/swing/plaf/metal/MetalLookAndFeel
2264         (initComponentDefaults): Added PopupMenuBorder.
2265
2266 2005-04-20  Roman Kennke  <roman@kennke.org>
2267
2268         * javax/swing/tree/DefaultTreeSelectionModel.java:
2269         Added API documentation all over the class.
2270
2271 2005-04-20  Roman Kennke  <roman@kennke.org>
2272
2273         * javax/swing/plaf/basic/BasicScrollPaneUI.java
2274         (installDefaults): Link managed JScrollPane in instance field.
2275         (uninstallDefaults): Unlink managed JScrollPane in instance field.
2276
2277 2005-04-20  Roman Kennke  <roman@kennke.org>
2278
2279         * javax/swing/plaf/basic/BasicScrollBarUI.java
2280         (PropertyChangeHandler.propertyChange): Add default
2281         to switch statement to avoid errors with unusual values
2282         for orientation.
2283         (installComponents): Likewise.
2284
2285 2005-04-20  Roman Kennke  <roman@kennke.org>
2286
2287         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2288         (createUI): Instances cannot be shared among JScrollPanes.
2289
2290 2005-04-20  Roman Kennke  <roman@kennke.org>
2291
2292         * javax/swing/plaf/metal/MetalLookAndFeel.java
2293         (initComponentDefaults): Added defaults for Menu, MenuBar
2294         MenuEntry fonts.
2295
2296 2005-04-20  Roman Kennke  <roman@kennke.org>
2297
2298         * javax/swing/plaf/basic/BasicScrollBarUI.java
2299         (installUI): Install listeners after everything all, otherwise
2300         we get strange NPEs in some situations, especially with
2301         custom L&Fs.
2302         (createIncreaseButton): Orientation is expected to be
2303         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2304         HORIZONTAL or VERTICAL.
2305         (createDecreaseButton): Orientation is expected to be
2306         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2307         HORIZONTAL or VERTICAL.
2308         (installComponents): Orientation for buttons is expected to be
2309         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2310         HORIZONTAL or VERTICAL.
2311
2312 2005-04-20  Roman Kennke  <roman@kennke.org>
2313
2314         * javax/swing/JToolBar.java
2315         (addImpl): Adjust added AbstractButtons to look and feel like
2316         toolbar buttons.
2317         * javax/swing/plaf/metal/MetalBorders.java:
2318         Adjusted insets of ButtonBorder.
2319         (RolloverMarginBorder): Added class for toolbar buttons.
2320         (getButtonBorder): Adjusted factory method to return a shared
2321         instance of button border.
2322         (getToolbarButtonBorder): Added factory method to return a shared
2323         instance of toolbar button border.
2324         (getMarginBorder): Added factory method to return a shared
2325         instance of margin border.
2326         * javax/swing/plaf/metal/MetalButtonUI.java
2327         (installDefauls): If button is child of a JToolBar then set
2328         special border on this button.
2329
2330 2005-04-20  Michael Koch  <konqueror@gmx.de>
2331
2332         * java/net/URLConnection.java
2333         (getContent): Fixed javadoc comment.
2334
2335 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2336
2337         * java/net/URL.java:
2338         (toURI()): Implemented.
2339
2340 2005-04-19  Michael Koch  <konqueror@gmx.de>
2341
2342         * java/net/InetAddress.java
2343         (InetAddress): Fixed javadoc comment.
2344         (aton): Likewise.
2345         (lookup): Added javadoc.
2346         (getFamily): Likewise.
2347         * java/net/ServerSocket.java
2348         (getChannel): Improved javadoc comment.
2349
2350 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2351
2352         * gnu/xml/dom/html2/DomHTMLParser.java:
2353         Changed 'enum' references to become 'enumeration'.
2354
2355 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2356
2357         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2358
2359 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2360
2361         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2362         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2363         * gnu/javax/swing/text/html/parser/htmlValidator.java:
2364         (validateParameters(TagElement,htmlAttributeSet)):
2365         Replaced 'enum' with 'enumeration'.
2366         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2367         Likewise.
2368
2369 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2370
2371         * javax/swing/text/html/parser/Entity.java (getType): New method.
2372         * javax/swing/text/html/parser/DocumentParser.java:
2373         Inherit from javax.swing.text.html.parser.Parser.
2374
2375 2005-04-19  Chris Burdess  <dog@gnu.org>
2376
2377         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2378         check for HTML/XHTML namespace.
2379
2380 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2381
2382         * javax/swing/text/html/parser/Parser.java,
2383         javax/swing/text/html/parser/Entity.java:
2384         Inheriting from DTDConstants.
2385         * javax/swing/text/html/parser/AttributeList.java
2386         (getValues): Changed return type.
2387         * javax/swing/text/html/parser/DocumentParser
2388         (parse): Adding the callback parameter that receives
2389         the parsing events.
2390
2391 2005-04-19  Chris Burdess  <dog@gnu.org>
2392
2393         * gnu/xml/dom/DomImpl.java,
2394         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2395         gnu/xml/dom/html2/DomHTMLDocument.java,
2396         gnu/xml/dom/html2/DomHTMLElement.java,
2397         gnu/xml/dom/html2/DomHTMLFormElement.java,
2398         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2399         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2400         gnu/xml/dom/html2/DomHTMLImpl.java,
2401         gnu/xml/dom/html2/DomHTMLInputElement.java,
2402         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2403         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2404         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2405         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2406         gnu/xml/dom/html2/DomHTMLTableElement.java,
2407         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2408         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2409         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2410         UI events, and tree utility functions.
2411
2412 2005-04-19  Michael Koch  <konqueror@gmx.de>
2413
2414         * gnu/javax/swing/text/html/parser/HTML_401F.java,
2415         gnu/javax/swing/text/html/parser/gnuDTD.java,
2416         gnu/javax/swing/text/html/parser/models/node.java:
2417         Reworked import statements.
2418
2419 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
2420
2421         * javax/swing/text/html/HTMLDocument.java: New file.
2422
2423 2005-04-19  Michael Koch  <konqueror@gmx.de>
2424
2425         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2426         Reformatted.
2427         * javax/swing/text/html/parser/AttributeList.java:
2428         Fixed order of modifiers.
2429         (AttributeList): Made final.
2430         * javax/swing/text/html/parser/ContentModel.java:
2431         Fixed html characters in javadocs.
2432         * javax/swing/text/html/parser/DTD.java
2433         (DTD): Don't implement java.io.Serializable directly.
2434         (getElement): Simplified.
2435         * javax/swing/text/html/parser/DTDConstants.java:
2436         Reformatted file.
2437         * javax/swing/text/html/parser/Element.java:
2438         Fixed order of modifiers.
2439         * javax/swing/text/html/parser/Parser.java:
2440         Reformatted. Don't use fully-qualified class names.
2441         * javax/swing/text/html/parser/ParserDelegator.java:
2442         Fixed order of modifiers.
2443         * javax/swing/text/rtf/RTFParser.java:
2444         Re-ordered import statements.
2445         * javax/swing/text/rtf/RTFScanner.java:
2446         Removed unused import statement.
2447
2448 2005-04-19  Chris Burdess  <dog@gnu.org>
2449
2450         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2451         gnu/xml/dom/html2/DomHTMLCollection.java,
2452         gnu/xml/dom/html2/DomHTMLDocument.java,
2453         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2454         types.
2455         * gnu/xml/dom/html2/DomHTMLDListElement.java,
2456         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2457         gnu/xml/dom/html2/DomHTMLDivElement.java,
2458         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2459         gnu/xml/dom/html2/DomHTMLFontElement.java,
2460         gnu/xml/dom/html2/DomHTMLFormElement.java,
2461         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2462         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2463         gnu/xml/dom/html2/DomHTMLHRElement.java,
2464         gnu/xml/dom/html2/DomHTMLHeadElement.java,
2465         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2466         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2467         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2468         gnu/xml/dom/html2/DomHTMLImageElement.java,
2469         gnu/xml/dom/html2/DomHTMLInputElement.java,
2470         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2471         gnu/xml/dom/html2/DomHTMLLIElement.java,
2472         gnu/xml/dom/html2/DomHTMLLabelElement.java,
2473         gnu/xml/dom/html2/DomHTMLLegendElement.java,
2474         gnu/xml/dom/html2/DomHTMLLinkElement.java,
2475         gnu/xml/dom/html2/DomHTMLMapElement.java,
2476         gnu/xml/dom/html2/DomHTMLMenuElement.java,
2477         gnu/xml/dom/html2/DomHTMLMetaElement.java,
2478         gnu/xml/dom/html2/DomHTMLModElement.java,
2479         gnu/xml/dom/html2/DomHTMLOListElement.java,
2480         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2481         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2482         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2483         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2484         gnu/xml/dom/html2/DomHTMLParamElement.java,
2485         gnu/xml/dom/html2/DomHTMLPreElement.java,
2486         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2487         gnu/xml/dom/html2/DomHTMLScriptElement.java,
2488         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2489         gnu/xml/dom/html2/DomHTMLStyleElement.java,
2490         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2491         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2492         gnu/xml/dom/html2/DomHTMLTableColElement.java,
2493         gnu/xml/dom/html2/DomHTMLTableElement.java,
2494         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2495         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2496         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2497         gnu/xml/dom/html2/DomHTMLTitleElement.java,
2498         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2499
2500 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2501
2502         * javax/swing/text/ChangedCharSetException.java,
2503         javax/swing/text/html/HTMLEditorKit.java,
2504         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2505         javax/swing/text/html/parser/AttributeList.java,
2506         javax/swing/text/html/parser/ContentModel.java,
2507         javax/swing/text/html/parser/DocumentParser.java,
2508         javax/swing/text/html/parser/DTD.java,
2509         javax/swing/text/html/parser/DTDConstants.java,
2510         javax/swing/text/html/parser/Element.java,
2511         javax/swing/text/html/parser/Entity.java,
2512         javax/swing/text/html/parser/Parser.java,
2513         javax/swing/text/html/parser/TagElement.java,
2514         gnu/javax/swing/text/html/package.html,
2515         gnu/javax/swing/text/html/parser/gnuDTD.java,
2516         gnu/javax/swing/text/html/parser/HTML_401F.java,
2517         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2518         gnu/javax/swing/text/html/parser/htmlValidator.java,
2519         gnu/javax/swing/text/html/parser/package.html,
2520         gnu/javax/swing/text/html/parser/models/list.java,
2521         gnu/javax/swing/text/html/parser/models/node.java,
2522         gnu/javax/swing/text/html/parser/models/noTagModel.java,
2523         gnu/javax/swing/text/html/parser/models/package.html,
2524         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2525         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2526         gnu/javax/swing/text/html/parser/models/transformer.java,
2527         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2528         gnu/javax/swing/text/html/parser/support/package.html,
2529         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2530         gnu/javax/swing/text/html/parser/support/Parser.java,
2531         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2532         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2533         gnu/javax/swing/text/html/parser/support/low/Constants.java,
2534         gnu/javax/swing/text/html/parser/support/low/Location.java,
2535         gnu/javax/swing/text/html/parser/support/low/node.java,
2536         gnu/javax/swing/text/html/parser/support/low/package.html,
2537         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2538         gnu/javax/swing/text/html/parser/support/low/pattern.java,
2539         gnu/javax/swing/text/html/parser/support/low/Queue.java,
2540         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2541         New files.
2542         * javax/swing/text/html/HTML.java,
2543         javax/swing/text/html/parser/ParserDelegator.java:
2544         New files (replacing).
2545         * javax/swing/text/html/package.html,
2546         javax/swing/text/html/parser/package.html: Documenting the
2547         packages.
2548
2549 2005-04-19  Chris Burdess  <dog@gnu.org>
2550
2551         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2552         gnu/xml/dom/html2/DomHTMLAppletElement.java,
2553         gnu/xml/dom/html2/DomHTMLAreaElement.java,
2554         gnu/xml/dom/html2/DomHTMLBaseElement.java,
2555         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2556         gnu/xml/dom/html2/DomHTMLBodyElement.java,
2557         gnu/xml/dom/html2/DomHTMLBRElement.java,
2558         gnu/xml/dom/html2/DomHTMLButtonElement.java,
2559         gnu/xml/dom/html2/DomHTMLCollection.java,
2560         gnu/xml/dom/html2/DomHTMLDocument.java,
2561         gnu/xml/dom/html2/DomHTMLElement.java: New files.
2562
2563 2005-04-19  Michael Koch  <konqueror@gmx.de>
2564
2565         * Makefile.am: Added new files.
2566         * Makefile.in: Regenerated.
2567
2568 2005-04-19  Roman Kennke  <roman@kennke.org>
2569
2570         * javax/swing/text/JTextComponent.java
2571         (JTextComponent): Added repaintListener which issues repaint
2572         requests when the underlying document changes.
2573         (setDocument): Adds repaintListener to document when the
2574         document is changed.
2575         * javax/swing/text/DefaultEditorKit.java:
2576         Removed repaint calls on JTextComponent. This is now handled
2577         through a DocumentListener in JTextComponent that repaints
2578         the component when needed.
2579
2580 2005-04-19  Roman Kennke  <roman@kennke.org>
2581
2582         PR libgcj/21064
2583         * javax/swing/text/StyleContext.java
2584         (NamedStyle.setResolveParent): Added null
2585         pointer check.
2586
2587 2005-04-19  Michael Koch  <konqueror@gmx.de>
2588
2589         * java/rmi/server/RemoteObject.java:
2590         Removed unused import statement.
2591
2592 2005-04-19  Michael Koch  <konqueror@gmx.de>
2593
2594         * java/net/URL.java: Formatting cleanups.
2595
2596 2005-04-19  Michael Koch  <konqueror@gmx.de>
2597
2598         * java/awt/FontMetrics.java: Reformatted.
2599         (getFontRenderContext): Handle case when java.awt.Graphics context is
2600         given.
2601
2602 2005-04-19  Michael Koch  <konqueror@gmx.de>
2603
2604         * java/awt/FontMetrics.java
2605         (getStringBounds): New methods.
2606
2607
2608 2005-04-19  Michael Koch  <konqueror@gmx.de>
2609
2610         * gnu/java/security/x509/X509Certificate.java
2611         (parse): Handle val == null case.
2612
2613 2005-04-19  Roman Kennke  <roman@kennke.org>
2614
2615         * javax/swing/plaf/metal/MetalLookAndFeel.java
2616         (initComponentDefaults): Added defaults for Menu, MenuBar
2617         MenuEntry fonts.
2618
2619 2005-04-19  Roman Kennke  <roman@kennke.org>
2620
2621         * javax/swing/plaf/metal/MetalLookAndFeel.java
2622         (initComponentDefaults): Added Label.font.
2623         (initSystemColorDefaults): Added this method and adjusted the
2624         general control color.
2625
2626 2005-04-19  Roman Kennke  <roman@kennke.org>
2627
2628         * javax/swing/plaf/metal/MetalBorders.java:
2629         Added.
2630         * javax/swing/plaf/metal/MetalButtonUI.java:
2631         (installDefaults): Install button font.
2632         * javax/swing/plaf/metal/MetalLookAndFeel.java:
2633         (initComponentDefaults): Added button border, font and margin.
2634         Changed components background color to the Metal current themes
2635         standard color.
2636
2637 2005-04-19  Roman Kennke  <roman@kennke.org>
2638
2639         * javax/swing/plaf/metal/MetalLookAndFeel.java
2640         (initComponentDefaults): Added to set Metal specific component
2641         defaults.
2642
2643 2005-04-19  Mark Wielaard  <mark@klomp.org>
2644
2645         * javax/swing/plaf/metal/MetalLookAndFeel.java
2646         (initClassDefaults): Call super.initClassDefaults().
2647
2648 2005-04-19  Roman Kennke  <roman@kennke.org>
2649
2650         * javax/swing/plaf/metal/MetalLookAndFeel.java
2651         (initClassDefaults): Added to include the *UI classes.
2652
2653 2005-04-19  Roman Kennke  <roman@kennke.org>
2654
2655         * javax/swing/plaf/metal/MetalComboBoxUI.java:
2656         Added.
2657         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2658         Added.
2659         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2660         Added.
2661         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2662         Added.
2663         * javax/swing/plaf/metal/MetalProgressBarUI.java:
2664         Added.
2665         * javax/swing/plaf/metal/MetalRootPaneUI.java:
2666         Added.
2667         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2668         Added.
2669         * javax/swing/plaf/metal/MetalSeparatorUI.java:
2670         Added.
2671         * javax/swing/plaf/metal/MetalSliderUI.java:
2672         Added.
2673         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2674         Added.
2675         * javax/swing/plaf/metal/MetalTextFieldUI.java:
2676         Added.
2677         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2678
2679 2005-04-19  Roman Kennke  <roman@kennke.org>
2680
2681         * javax/swing/plaf/metal/MetalButtonUI.java:
2682         Added skeleton class.
2683         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2684         Added skeleton class.
2685         * javax/swing/plaf/metal/MetalLabelUI.java:
2686         Added skeleton class.
2687         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2688         Added skeleton class.
2689         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2690         Added skeleton class.
2691         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2692         Added skeleton class.
2693
2694 2005-04-19  Roman Kennke  <roman@kennke.org>
2695
2696         * javax/swing/UIDefaults.java:
2697         Added API documentation for all methods.
2698
2699 2005-04-19  Roman Kennke  <roman@kennke.org>
2700
2701         * javax/swing/UIDefaults.java
2702         (put): Now uses new checkAndPut method instead of checking
2703         directly.
2704         (putDefaults): Fixed so that it accepts null-values and
2705         treats them like remove(key).
2706         (checkAndPut): Added. This checks for null-values and calls
2707         put or remove.
2708
2709 2005-04-19  Michael Koch  <konqueror@gmx.de>
2710
2711         * Makefile.am: Added new files.
2712         * Makefile.in: Regenerated.
2713
2714 2005-04-19  Mark Wielaard  <mark@klomp.org>
2715
2716         * java/lang/natRuntime.cc (insertSystemProperties): Set
2717         java.class.path to CLASSPATH only when not empty. Fall back to
2718         default path "." when java.class.path is empty.
2719
2720 2005-04-19  Michael Koch  <konqueror@gmx.de>
2721
2722         * javax/swing/text/rtf/ControlWordToken.java,
2723         javax/swing/text/rtf/RTFEditorKit.java,
2724         javax/swing/text/rtf/RTFParseException.java,
2725         javax/swing/text/rtf/RTFParser.java,
2726         javax/swing/text/rtf/RTFScanner.java,
2727         javax/swing/text/rtf/TextToken.java,
2728         javax/swing/text/rtf/Token.java: New files.
2729         * Makefile.am: Added new files.
2730         * Makefile.in: Regenerated.
2731
2732 2005-04-19  Michael Koch  <konqueror@gmx.de>
2733
2734         * java/awt/geom/QuadCurve2D.java:
2735         Fixed Brian Gough's name for real.
2736
2737 2005-04-19  Roman Kennke  <roman@kennke.org>
2738
2739         * javax/swing/UIManager.java:
2740         Make the UIManager respect the swing.defaultlaf system
2741         property.
2742
2743 2005-04-19  Tom Tromey  <tromey@redhat.com>
2744
2745         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2746         not _Jv_InitClass.
2747
2748 2005-04-19  Roman Kennke  <roman@kennke.org>
2749
2750         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2751         Fixed tabs to spaces.
2752
2753 2005-04-19  Roman Kennke  <roman@kennke.org>
2754
2755         * javax/swing/plaf/basic/BasicMenuUI.java
2756         (getMaximumSize): Now returns preferredSize because JMenu should
2757         never be bigger than that.
2758         * javax/swing/JRootPane
2759         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2760
2761 2005-04-19  Roman Kennke  <roman@kennke.org>
2762
2763         * javax/swing/JRootPane.java:
2764         Fixed various tabs to be spaces.
2765         (RootLayout.layoutContainer): Made menubar left aligned.
2766
2767 2005-04-19  Roman Kennke  <roman@ontographics.com>
2768
2769         * javax/swing/JList.java
2770         (getPreferredScrollableViewportSize):
2771         The previous implementation was merely guessing the size,
2772         now it respects layoutOrientation, visibleRowCount
2773         and preferredSize.
2774         (getScrollableTracksViewportHeight):
2775         Reimplemented so that layoutOrientation, visibleRowCount
2776         and preferred size are respected.
2777         (getScrollableTracksViewportWidth):
2778         Reimplemented so that layoutOrientation, visibleRowCount
2779         and preferred size are respected.
2780         * javax/swing/plaf/basic/BasicListUI.java
2781         (getPreferredSize):
2782         Improved calculation of preferredSize when JList is
2783         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2784         (getCellBounds):
2785         The previous implementation assumed a layoutOrientation of
2786         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2787         JList.VERTICAL_WRAP.
2788
2789 2005-04-19  Roman Kennke  <roman@ontographics.com>
2790
2791         * javax/swing/plaf/basic/BasicListUI.java
2792         (paintCell): use CellRendererPane for painting the cells.
2793
2794 2005-04-19  Roman Kennke  <roman@ontographics.com>
2795
2796         * javax/swing/plaf/basic/BasicListUI:
2797         fixed modifiers of several fields, methods and inner
2798         classes to match the 'spec'.
2799         (getMaximumSize): removed. It's not in the spec and the
2800         implementations was superfluous.
2801
2802 2005-04-19  Roman Kennke  <roman@ontographics.com>
2803
2804         * javax/swing/plaf/basic/BasicListUI:
2805         make BasicListUI capable of wrapping lists
2806         (layoutOrientation property of javax.swing.JList)
2807
2808 2005-04-19  Roman Kennke  <roman@ontographics.com>
2809
2810         * javax/swing/plaf/basic/BasicListUI
2811         (updateLayoutState,paint): make BasicListUI aware of the
2812         width of the rendered JList.
2813
2814 2005-04-19  Roman Kennke  <roman@kennke.org>
2815
2816         * javax/swing/ImageIcon.java
2817         Added API documentation.
2818
2819 2005-04-19  Roman Kennke  <roman@kennke.org>
2820
2821         * javax/swing/text/ImageIcon.java
2822         (ImageIcon): Use setImage instead of direct assignment.
2823         (setImage): Call loadImage to make sure that the image is loaded.
2824         (loadImage): Waits for the image to complete loading.
2825         (getImageLoadStatus): Added. Returns the load status of the
2826         image.
2827
2828 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2829
2830         * javax/swing/JTextArea.java (replaceRange):
2831         Fixing doc.remove(start, length) misinterpretation.
2832
2833 2005-04-19  Roman Kennke  <roman@ontographics.com>
2834
2835         * javax/swing/CellRendererPane.java:
2836         implemented all methods of this class.
2837         reformatted all wrong formatted code.
2838
2839 2005-04-19  Roman Kennke  <roman@kennke.org>
2840
2841         * javax/swing/BoxLayout.java:
2842         (layoutContainer): Made this layout manager respect the
2843         minimum, maximum and preferred size more correctly.
2844
2845 2005-04-19  Roman Kennke  <roman@ontographics.com>
2846
2847         * javax/swing/BoxLayout.java:
2848         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2849         layoutContainer): Make these methods and thereby the
2850         BoxLayout respect the insets (like borders) of the
2851         component that is laid out.
2852
2853 2005-04-19  Roman Kennke  <roman@kennke.org>
2854
2855         * javax/swing/JComponent.java:
2856         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2857         Untabified the file.
2858
2859 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2860
2861         * javax/swing/JComboBox.java (constructors): selecting the
2862         first item if the box was constructed from the provided
2863         non - empty array or vector.
2864
2865 2005-04-19  Michael Koch  <konqueror@gmx.de>
2866
2867         * gnu/java/awt/peer/gtk/GdkGraphics.java
2868         (getClipBounds): Handle clip being null.
2869         (setClip): Likewise.
2870         * java/beans/beancontext/BeanContextSupport.java
2871         (add): Implemented.
2872         (addAll): Likewise.
2873         (clear): Likewise.
2874         (removeAll): Likewise.
2875         (retainAll): Likewise.
2876
2877 2005-04-19  Michael Koch  <konqueror@gmx.de>
2878
2879         * java/beans/beancontext/BeanContextServicesSupport.java
2880         (BeanContextServicesSupport): Reimplemented.
2881         (addBeanContextServicesListener): Implemented.
2882         (initialize): Likewise.
2883         (removeBeanContextServicesListener): Likewise.
2884         * java/beans/beancontext/BeanContextSupport.java
2885         (add): Likewise.
2886         (addBeanContextMembershipListener): Likewise.
2887         (getLocale): Likewise.
2888         (initialize): Likewise.
2889         (iterator): Likewise.
2890         (remove): Likewise.
2891         (toArray): Likewise.
2892
2893 2005-04-19  Roman Kennke  <roman@kennke.org>
2894
2895         * java/awt/MediaTracker.java:
2896         Reindented tabs to spaces.
2897
2898 2005-04-19  Roman Kennke  <roman@kennke.org>
2899
2900         * java/awt/MediaTracker.java
2901         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2902         confused the media tracker and lead to lockups. The LOADING
2903         bit is handled on other places.
2904         (addImage): Removed the 'start image tracking' stuff. This
2905         is not necessary and could confuse the media tracker.
2906         (checkAll): Improved the check for image status so that
2907         images that already complete images are detected. Also now
2908         are really all images checked and if necessary loaded. Before
2909         the method bailed out after the first incomplete image.
2910         (statusAll): Detect images that are complete after the
2911         call to Component.prepareImage(..).
2912         (checkID): The same as in checkAll.
2913         (statusID): The same as in statusAll.
2914
2915 2005-04-19  Roman Kennke  <roman@kennke.org>
2916
2917         * java/awt/MediaTracker.java
2918         (addImage): Synchronized list access.
2919         (waitForAll): Fixed comparison of time (changed < to >).
2920         (waitForID): Fixed comparison of time (changed < to >).
2921         (removeImage): Synchronized list access.
2922
2923 2005-04-19  Roman Kennke  <roman@kennke.org>
2924
2925         * java/awt/MediaTracker.java
2926         Added API documentation.
2927
2928 2005-04-19  Roman Kennke  <roman@kennke.org>
2929
2930         * java/awt/MediaTracker.java
2931         (MediaEntry.imageUpdate): Fixed flags. The different flags
2932         must not be ORed together.
2933         (checkAll): Modified to handle different meaning of the flags.
2934         (waitForAll): Fixed so that it waits maximum the
2935         specified amount of milliseconds.
2936         (statusAll): Modified to handle different meaning of the flags.
2937         (waitForID): Fixed so that it waits maximum the
2938         specified amount of milliseconds.
2939
2940 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
2941
2942         * java/awt/Font.java (decode): Handle null argument and allow
2943         space as delimiter.
2944
2945 2005-04-19  Robert Schuster <thebohemian@gmx.net>
2946
2947         * java/beans/EventHandler.java: Reworked documentation.
2948         (invoke): Fixed behavior to match spec.
2949
2950 2005-04-19  Michael Koch  <konqueror@gmx.de>
2951
2952         * java/awt/print/PrinterJob.java
2953         (pageDialog): New method.
2954         (printDialog): Implemented.
2955
2956 2005-04-19  Michael Koch  <konqueror@gmx.de>
2957
2958         * java/awt/image/ConvolveOp.java:
2959         Removed comment added by eclipse.
2960
2961 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
2962
2963         * java/awt/image/IndexColorModel.java
2964         (getRGB): Check if pixel is negative.
2965
2966 2005-04-19  Michael Koch  <konqueror@gmx.de>
2967
2968         * java/awt/image/RasterOp.java:
2969         Fixed wrong formatting.
2970
2971 2005-04-18  Roman Kennke  <roman@kennke.org>
2972
2973         * java/awt/Compmonent.java
2974         (setComponentOrientation): Made this property firing a
2975         PropertyChangeEvent.
2976
2977 2005-04-18  Roman Kennke  <roman@kennke.org>
2978
2979         * java/awt/BorderLayout.java
2980         (calcSize): Check for overflow when component sizes are added.
2981
2982 2005-04-18  Robert Schuster <thebohemian@gmx.net>
2983
2984         * java/awt/AWTEvent.java (toString): Added case
2985         for source not being an AWT component.
2986
2987 2005-04-18  Chris Burdess  <dog@gnu.org>
2988
2989         * gnu/java/net/BASE64.java: Truncate encoded byte array.
2990
2991 2005-04-18  Michael Koch  <konqueror@gmx.de>
2992
2993         gnu/java/awt/EmbeddedWindowSupport.java,
2994         gnu/java/net/HeaderFieldHelper.java,
2995         gnu/java/net/URLParseError.java,
2996         gnu/java/net/protocol/file/Handler.java,
2997         gnu/java/net/protocol/jar/Handler.java:
2998         Fixed usage of @author tag.
2999
3000 2005-04-18  Michael Koch  <konqueror@gmx.de>
3001
3002         * gnu/xml/aelfred2/XmlParser.java:
3003         Reverted my typo fix.
3004
3005 2005-04-18  Michael Koch  <konqueror@gmx.de>
3006
3007         * java/awt/geom/CubicCurve2D.java,
3008         java/awt/geom/QuadCurve2D.java:
3009         Fixed mentioning of Brian Gouph.
3010
3011 2005-04-18  Michael Koch  <konqueror@gmx.de>
3012
3013         * gnu/java/awt/Buffers.java,
3014         gnu/java/awt/image/ImageDecoder.java,
3015         gnu/java/awt/image/XBMDecoder.java,
3016         gnu/java/awt/peer/ClasspathFontPeer.java,
3017         gnu/java/net/CRLFInputStream.java,
3018         gnu/java/net/EmptyX509TrustManager.java,
3019         gnu/java/net/LineInputStream.java,
3020         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3021         gnu/java/net/protocol/ftp/BlockInputStream.java,
3022         gnu/java/net/protocol/ftp/CompressedInputStream.java,
3023         gnu/java/net/protocol/ftp/DTP.java,
3024         gnu/java/net/protocol/ftp/DTPInputStream.java,
3025         gnu/java/net/protocol/ftp/FTPConnection.java,
3026         gnu/java/net/protocol/ftp/FTPURLConnection.java,
3027         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3028         gnu/java/net/protocol/ftp/StreamInputStream.java,
3029         gnu/java/net/protocol/http/ChunkedInputStream.java,
3030         gnu/java/net/protocol/http/HTTPConnection.java,
3031         gnu/java/net/protocol/http/HTTPURLConnection.java,
3032         gnu/java/net/protocol/http/Headers.java,
3033         gnu/java/net/protocol/http/Request.java,
3034         gnu/java/nio/ChannelInputStream.java,
3035         gnu/java/nio/ChannelOutputStream.java,
3036         gnu/java/nio/InputStreamChannel.java,
3037         gnu/java/nio/OutputStreamChannel.java,
3038         gnu/java/nio/SelectorProviderImpl.java,
3039         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
3040         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
3041         gnu/java/rmi/dgc/DGCImpl.java,
3042         gnu/java/rmi/registry/RegistryImpl.java,
3043         gnu/java/rmi/server/ProtocolConstants.java,
3044         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
3045         gnu/java/rmi/server/RMIIncomingThread.java,
3046         gnu/java/rmi/server/RMIObjectInputStream.java,
3047         gnu/java/rmi/server/RMIObjectOutputStream.java,
3048         gnu/java/rmi/server/RMIVoidValue.java,
3049         gnu/java/rmi/server/UnicastConnectionManager.java,
3050         gnu/java/rmi/server/UnicastRef.java,
3051         gnu/java/rmi/server/UnicastRemoteCall.java,
3052         gnu/java/rmi/server/UnicastRemoteStub.java,
3053         gnu/java/rmi/server/UnicastServerRef.java,
3054         gnu/java/security/OID.java,
3055         gnu/java/security/der/DERReader.java,
3056         gnu/java/security/provider/CollectionCertStoreImpl.java,
3057         gnu/java/security/provider/DSAParameterGenerator.java,
3058         gnu/java/security/provider/DefaultPolicy.java,
3059         gnu/java/security/provider/EncodedKeyFactory.java,
3060         gnu/java/security/provider/GnuDHPublicKey.java,
3061         gnu/java/security/provider/GnuDSAPrivateKey.java,
3062         gnu/java/security/provider/GnuDSAPublicKey.java,
3063         gnu/java/security/provider/GnuRSAPrivateKey.java,
3064         gnu/java/security/provider/GnuRSAPublicKey.java,
3065         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3066         gnu/java/security/provider/RSA.java,
3067         gnu/java/security/provider/SHA1PRNG.java,
3068         gnu/java/security/provider/SHA1withRSA.java,
3069         gnu/java/security/provider/X509CertificateFactory.java,
3070         gnu/java/security/x509/GnuPKIExtension.java,
3071         gnu/java/security/x509/X500DistinguishedName.java,
3072         gnu/java/security/x509/X509CRL.java,
3073         gnu/java/security/x509/X509CRLEntry.java,
3074         gnu/java/security/x509/X509CertPath.java,
3075         gnu/java/security/x509/X509CertSelectorImpl.java,
3076         gnu/java/security/x509/X509Certificate.java,
3077         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3078         gnu/java/security/x509/ext/BasicConstraints.java,
3079         gnu/java/security/x509/ext/CRLNumber.java,
3080         gnu/java/security/x509/ext/CertificatePolicies.java,
3081         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3082         gnu/java/security/x509/ext/Extension.java,
3083         gnu/java/security/x509/ext/GeneralNames.java,
3084         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3085         gnu/java/security/x509/ext/KeyUsage.java,
3086         gnu/java/security/x509/ext/PolicyConstraint.java,
3087         gnu/java/security/x509/ext/PolicyMappings.java,
3088         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3089         gnu/java/security/x509/ext/ReasonCode.java,
3090         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3091         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
3092         Reorganized import statements.
3093
3094 2005-04-18  Michael Koch  <konqueror@gmx.de>
3095
3096         * gnu/java/awt/color/CieXyzConverter.java,
3097         gnu/java/awt/color/ClutProfileConverter.java,
3098         gnu/java/awt/color/ColorLookUpTable.java,
3099         gnu/java/awt/color/ColorSpaceConverter.java,
3100         gnu/java/awt/color/GrayProfileConverter.java,
3101         gnu/java/awt/color/GrayScaleConverter.java,
3102         gnu/java/awt/color/LinearRGBConverter.java,
3103         gnu/java/awt/color/ProfileHeader.java,
3104         gnu/java/awt/color/PyccConverter.java,
3105         gnu/java/awt/color/RgbProfileConverter.java,
3106         gnu/java/awt/color/SrgbConverter.java,
3107         gnu/java/awt/color/TagEntry.java,
3108         gnu/java/awt/color/ToneReproductionCurve.java:
3109         Standardized file headers.
3110
3111 2005-04-16  Tom Tromey  <tromey@redhat.com>
3112
3113         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
3114         'ANY' package-private.
3115
3116 2005-04-15  Tom Tromey  <tromey@redhat.com>
3117
3118         * Makefile.in: Rebuilt.
3119         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
3120         (libgcj0_convenience_la_LIBADD): ... here.
3121
3122 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
3123
3124         * gij.cc (version): Properly quote java version.
3125         (main): Fix typo in comment.
3126
3127 2005-04-13  Mark Wielaard  <mark@klomp.org>
3128
3129         * java/lang/natRuntime.cc (insertSystemProperties): Set
3130         java.class.path to CLASSPATH if not already set.
3131
3132 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3133
3134         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
3135
3136 2005-04-12  Mike Stump  <mrs@apple.com>
3137
3138         * configure: Regenerate.
3139
3140 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3141
3142         PR libgcj/20958
3143         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
3144         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
3145
3146 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3147
3148         PR libgcj/20975
3149         * scripts/TexinfoDoclet.java: Removed.
3150         * Makefile.am (texinfo): Removed.
3151         * Makefile.in: Regenerated.
3152
3153 2005-04-11  Michael Koch  <konqueror@gmx.de>
3154
3155         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
3156         Fixed wrong casting.
3157
3158 2005-04-06  Andrew Haley  <aph@redhat.com>
3159
3160         * testsuite/libjava.lang/bytearray.java: New file.
3161         * testsuite/libjava.lang/bytearray.out: New file.
3162         * java/lang/ClassLoader.java (loadClassFromSig): Declare
3163         (loadClass): Use it.
3164         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
3165
3166 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
3167
3168         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
3169         gcj-dbtool dependency
3170         * Makefile.in: Regenerated
3171
3172 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
3173
3174         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
3175         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
3176
3177 2005-04-05  Andrew Haley  <aph@redhat.com>
3178
3179         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
3180         (Tokenizer): New class.
3181         (getFiles): New method.
3182         (main): Add "-" argument.
3183         Add "-0" argument.
3184         Read list of files from stdin when merging map databases.
3185         (usage):  Add "-" argument.
3186         Add "-0" argument.
3187         Minor corrections.
3188
3189 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3190
3191         PR libgcj/20750
3192         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
3193         * Makefile.in: Regenerate.
3194         * configure.ac: Add --with-java-home option.
3195         * configure: Regenerate.
3196         * external/Makefile.in: Regenerate.
3197         * external/sax/Makefile.in: Regenerate.
3198         * external/w3c_dom/Makefile.in: Regenerate.
3199         * gcj/Makefile.in: Regenerate.
3200         * include/Makefile.in: Regenerate.
3201         * testsuite/Makefile.in: Regenerate.
3202         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
3203         to JAVA_HOME macro.
3204
3205 2005-04-05  Tom Tromey  <tromey@redhat.com>
3206
3207         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
3208         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
3209         Rewrote to use _Jv_FindClassFromSignature.
3210         * verify.cc (resolve): throw NoClassDefFoundError.
3211         * link.cc (resolve_field): Throw NoClassDefFoundError.
3212         (find_field): Likewise.
3213         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
3214         Handle error cases.  Added 'endp' argument.
3215         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
3216
3217 2005-04-05  Tom Tromey  <tromey@redhat.com>
3218
3219         * Makefile.in: Rebuilt.
3220         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
3221         gtk_awt_peer_sources.
3222         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
3223         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
3224         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
3225         (gtk-awt-peer.lo): New target.
3226
3227 2005-04-04  Steve Pribyl <steve@netfuel.com>
3228
3229         PR libgcj/20761
3230         * configure.ac: Fix fastjar definition for cross builds.
3231         * configure: Rebuilt.
3232
3233 2005-04-04  Tom Tromey  <tromey@redhat.com>
3234
3235         * java/lang/ClassLoader.java (loadClass): Resolve class even if
3236         it was already found.
3237
3238 2005-04-04  Tom Tromey  <tromey@redhat.com>
3239
3240         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
3241         org.metastatic.jessie.
3242
3243 2005-04-02  Anthony Green  <green@redhat.com>
3244
3245         PR libgcj/20727
3246         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
3247
3248 2005-04-02  Mark Wielaard  <mark@klomp.org>
3249
3250         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
3251         Attributes and attribute order doesn't matter.
3252         (BasicAttributesEnumeration.where): Initialize to zero.
3253         (BasicAttributesEnumeration.nextElement): Update and compare where
3254         appropriately (zero based).
3255
3256 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
3257
3258         PR libgcj/20090, PR libgcj/20526
3259         * gij.cc (nonstandard_opts_help): New function.
3260         (add_option): New function.
3261         (main): Support java options.  Set java.class.path.  Don't set
3262         _Jv_Jar_Class_Path.
3263         * prims.cc (parse_x_arg): New function.
3264         (parse_init_args): Call parse_x_arg for -X and _ options, when
3265         ignoreUnrecognized is true.
3266         (new _Jv_RunMain): New vm_args variant.
3267         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
3268         (_Jv_Jar_Class_Path): Remove variable.
3269         * include/java-props.h: Likewise.
3270         * include/cni.h (JvRealloc): New function.
3271         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
3272         * java/lang/natRuntime.cc (insertSystemProperties): Remove
3273         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
3274         macros.
3275         * configure.ac (JV_VERSION): Define.
3276         (JV_API_VERSION): Likewise.
3277         * configure: Regenerate.
3278         * include/config.h.in: Regenerate.
3279
3280 2005-04-01 Mark Anderson <mark@panonet.net>
3281
3282         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
3283         -Infinity as parameters.
3284
3285 2005-04-01  Michael Koch  <konqueror@gmx.de>
3286
3287         * java/io/PipedInputStream.java
3288         (read): Make sure a positive byte value is returned. Revised javadoc.
3289         Thanks to Olafur Bragason for reporting these bugs.
3290
3291 2005-04-01  Tom Tromey  <tromey@redhat.com>
3292
3293         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3294         Updated for name change.
3295         (nativeFindClass): New method.
3296         (loadClass): Use nativeFindClass.
3297         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
3298         form of loadClass.
3299         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
3300         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
3301         VMClassLoader.
3302         (initialize): New method.
3303         (nativeFindClass): Declare.
3304         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
3305         * gnu/gcj/runtime/VMClassLoader.java: Removed.
3306         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
3307         VMClassLoader.java.
3308         (definePackageForNative): Removed.
3309         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
3310         Moved to VMClassLoader.java.
3311         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
3312         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
3313         (ordinary_java_source_files): Added ExtensionClassLoader.java,
3314         removed VMClassLoader.java.
3315         (nat_source_files): Removed natVMClassLoader.cc.
3316
3317 2005-04-01  Tom Tromey  <tromey@redhat.com>
3318
3319         * Makefile.in: Rebuilt.
3320         * Makefile.am (db_pathtail): Use $(gcc_version), not
3321         @gcc_version@.
3322
3323 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
3324
3325         * java/util/Timer.java
3326         (run): Stop the queue if a task throws an exception.
3327
3328 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3329
3330         * javax/swing/text/JTextComponent.java (viewToModel): New method.
3331
3332 2005-03-29  Ian Lance Taylor  <ian@airs.com>
3333
3334         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
3335         * external/sax/Makefile.in: Rebuild.
3336         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
3337         "-fclasspath=".
3338         * external/w3c_dom/Makefile.in: Rebuild.
3339
3340 2005-03-29  Tom Tromey  <tromey@redhat.com>
3341
3342         * java/lang/natRuntime.cc (insertSystemProperties): Set
3343         gnu.gcj.runtime.endorsed.dirs.
3344         * Makefile.in: Rebuilt.
3345         * Makefile.am (ordinary_java_source_files): Added
3346         HelperClassLoader.java.
3347         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3348         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3349         HelperClassLoader.
3350         (init): Use addDirectoriesFromProperty.
3351         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3352         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
3353         gnu.gcj.runtime.endorsed.dirs.
3354         * gnu/gcj/runtime/HelperClassLoader.java: New file.
3355
3356 2005-03-26  Chris Burdess  <dog@gnu.org>
3357
3358         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3359         required.
3360
3361 2005-03-13  Michael Koch  <konqueror@gmx.de>
3362
3363         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3364
3365 2005-03-11  Chris Burdess  <dog@gnu.org>
3366
3367         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3368         warnings.
3369
3370 2005-02-27  Chris Burdess  <dog@gnu.org>
3371
3372         * gnu/xml/aelfred2/JAXPFactory.java,
3373         gnu/xml/aelfred2/SAXDriver.java,
3374         gnu/xml/aelfred2/XmlParser.java,
3375         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3376         formatting conventions. Replaced arrays of Object with struct-like
3377         classes for easier maintainability. Made SAXDriver.stringInterning
3378         package private to allow access from XmlParser inside the loop without
3379         a method call overhead.
3380
3381 2005-03-11  Chris Burdess  <dog@gnu.org>
3382
3383         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3384         warnings.
3385
3386 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
3387
3388         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
3389         settings to sub Makefiles.
3390         (GCJH, ZIP): Prefix with top_builddir.
3391         * configure: Rebuild.
3392         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3393         * external/w3c_dom/Makefile.in: Rebuild.
3394         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3395         * external/sax/Makefile.in: Rebuild.
3396
3397 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3398
3399         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3400         libsocket to the libraries to link for Solaris.
3401
3402 2005-03-28  Per Bothner  <per@bothner.com>
3403
3404         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3405         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3406
3407 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
3408
3409         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3410         to fix a ONESTEP fallout.
3411         * Makefile.in: Regenerate.
3412
3413 2005-03-25  Mike Stump  <mrs@apple.com>
3414
3415         * configure.ac: Fix ZIP and GCJH at configure time to absolute
3416         paths like we do for the compiler, as we use it in external/sax
3417         and it doesn't get MULTIBUILDTOP right when multilibing.
3418
3419 2005-03-24  Anthony Green  <green@redhat.com>
3420
3421         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3422         -p option.
3423         (usage): Add [LIBDIR] to help output.
3424         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3425         * Makefile.am (AM_CXXFLAGS): Define
3426         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3427         (db_pathtail): New macro.
3428
3429 2005-03-24  Tom Tromey  <tromey@redhat.com>
3430
3431         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3432         add sax and w3c libraries.
3433         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3434         libw3c-gcj.la.
3435         * external/w3c_dom/Makefile.in: Rebuilt.
3436         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3437         AM_GCJFLAGS.
3438         (libw3c_gcj_la_LDFLAGS): New variable.
3439         (noinst_LTLIBRARIES): Renamed.
3440         * external/sax/Makefile.in: Rebuilt.
3441         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3442         AM_GCJFLAGS.
3443         (libsax_gcj_la_LDFLAGS): New variable.
3444         (noinst_LTLIBRARIES): Renamed.
3445
3446 2005-03-23  Tom Tromey  <tromey@redhat.com>
3447
3448         * Makefile.in: Rebuilt.
3449         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3450         (libgcj0_convenience_la_SOURCES): Don't include
3451         gnu_xml_source_files.
3452         (libgcj0_convenience_la_LIBADD): New variable.
3453         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3454         (all_java_source_files): javax_imageio_source_files,
3455         javax_xml_source_files, and gnu_java_beans_source_files.
3456         ($(gnu_xml_source_files:.java=.lo)): Removed target.
3457         (gnu-xml.lo): New target.
3458         (javax-imageio.lo): Likewise.
3459         (javax-xml.lo): Likewise.
3460         (gnu-java-beans.lo): Likewise.
3461         (gnu_java_beans_source_files): New variable.
3462         (javax_imageio_source_files): Likewise.
3463         (javax_xml_source_files): Likewise.
3464         (javax_source_files): Moved files to other variable.
3465         (awt_java_source_files): Likewise.
3466         (ordinary_java_source_files): Added BootClassLoader.java.
3467         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3468         not system class loader.
3469         (initBootLoader): New method.
3470         (loadClass): Search bootLoader.
3471         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3472         boot loader, not system class loader.
3473         (_Jv_UnregisterInitiatingLoader): Likewise.
3474         (_Jv_FindClass): Likewise.  Ensure entries in
3475         bootstrap_class_list are unique.
3476         * java/lang/natClass.cc (getClassLoader): Don't special case
3477         system class loader.
3478         * java/lang/VMClassLoader.java (bootLoader): New field.
3479         (getResource): Use bootLoader.
3480         (getResources): Likewise.
3481         (initBootLoader): Declare.
3482         * gnu/gcj/runtime/BootClassLoader.java: New file.
3483         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3484         (EMPTY_ENUMERATION): Now package-private.
3485         * external/w3c_com/Makefile.in: Rebuilt.
3486         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3487         (w3c.jar): New target.
3488         (classes.stamp): Updated.
3489         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3490         Changed name of library.
3491         (libw3c_gcj_la_SOURCES): New variable.
3492         (libw3c_gcj_la_GCJFLAGS): Likewise.
3493         (source_files): Renamed from lib3c_convenience_la_SOURCES.
3494         * external/sax/Makefile.in: Rebuilt.
3495         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3496         (sax.jar): New target.
3497         (classes.stamp): Updated.
3498         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3499         Changed name of library.
3500         (libsax_gcj_la_SOURCES): New variable.
3501         (libsax_gcj_la_GCJFLAGS): Likewise.
3502         (source_files): Renamed from libsax_convenience_la_SOURCES.
3503         * stacktrace.cc (non_system_trace_fn): Don't look at system class
3504         loader.
3505         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3506         loader.
3507         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.