OSDN Git Service

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