OSDN Git Service

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