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