OSDN Git Service

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