Update concepts branch to revision 131834
[official-gcc.git] / libjava / classpath / ChangeLog
blobcc0d63fc475270086158f9bc61312be7ae960c58
1 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
3         PR bootstrap/35457
4         * aclocal.m4: Regenerate.
5         * configure: Regenerate.
7 2008-04-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9         * lib/gen-classlist.sh.in: Avoid grepping each omission, by
10         building an awk script with a hash for literal files, and
11         awk regular expressions for the rest.
12         * configure.ac: Call AC_PROG_AWK.
13         * configure: Regenerate.
15         * m4/gcc_attribute.m4 (GCC_ATTRIBUTE): Fix cache variable name.
16         * tools/Makefile.am (gappletviewer, gjarsigner, gkeytool, gjar)
17         (gnative2ascii, gserialver, gjavah, grmiregistry, gtnameserv)
18         (gorbd, grmid, grmic) [!CREATE_WRAPPERS]: Add stub dependencies
19         for these scripts, to trick automake into hiding the respective
20         rules for the programs below the CREATE_WRAPPERS conditional.
21         * aclocal.m4: Regenerate.
22         * configure: Likewise.
23         * Makefile.in: Likewise.
24         * native/jni/Makefile.in: Likewise.
25         * native/jni/classpath/Makefile.in: Likewise.
26         * native/jni/gstreamer-peer/Makefile.in: Likewise.
27         * native/jni/midi-dssi/Makefile.in: Likewise.
28         * native/jni/gconf-peer/Makefile.in: Likewise.
29         * native/jni/java-io/Makefile.in: Likewise.
30         * native/jni/native-lib/Makefile.in: Likewise.
31         * native/jni/java-util/Makefile.in: Likewise.
32         * native/jni/java-lang/Makefile.in: Likewise.
33         * native/jni/midi-alsa/Makefile.in: Likewise.
34         * native/jni/java-nio/Makefile.in: Likewise.
35         * native/jni/java-net/Makefile.in: Likewise.
36         * native/jni/xmlj/Makefile.in: Likewise.
37         * native/jni/qt-peer/Makefile.in: Likewise.
38         * native/jni/gtk-peer/Makefile.in: Likewise.
39         * native/Makefile.in: Likewise.
40         * native/jawt/Makefile.in: Likewise.
41         * native/fdlibm/Makefile.in: Likewise.
42         * native/plugin/Makefile.in: Likewise.
43         * resource/Makefile.in: Likewise.
44         * scripts/Makefile.in: Likewise.
45         * tools/Makefile.in: Likewise.
46         * doc/Makefile.in: Likewise.
47         * doc/api/Makefile.in: Likewise.
48         * lib/Makefile.in: Likewise.
49         * external/Makefile.in: Likewise.
50         * external/jsr166/Makefile.in: Likewise.
51         * external/sax/Makefile.in: Likewise.
52         * external/w3c_dom/Makefile.in: Likewise.
53         * external/relaxngDatatype/Makefile.in: Likewise.
54         * include/Makefile.in: Likewise.
55         * examples/Makefile.in: Likewise.
57 2008-03-10  Jim Meyering  <meyering@redhat.com>
59         Don't leak upon failed realloc.
60         * native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc,
61         free the original buffer before throwing the exception.
63 2008-03-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
65         * doc/cp-hacking.texinfo: Fix spacing after periods.
66         * doc/cp-tools.texinfo: Likewise.
67         * doc/cp-vmintegration.texinfo: Likewise.
69         * doc/cp-hacking.texinfo: Fix some typos.
70         * doc/cp-tools.texinfo: Likewise.
71         * doc/cp-vmintegration.texinfo: Likewise.
73 2008-01-27  Bernhard Fischer  <rep.dot.nop@gmail.com>
75         * java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
76         * gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in
77         exception message.
79 2008-01-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
81         * doc/README.jaxp: Fix typos.
83 2008-01-24  Tom Tromey  <tromey@redhat.com>
85         * resource/gnu/classpath/tools/native2ascii/messages.properties
86         (Native2ASCII.ReversedHelpCompat): New.
87         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
88         (createParser): Add -reverse.  Update -reversed.
90 2008-01-21  Luciano Chavez  <lnx1138@us.ibm.com>
92         PR libgcj/34369:
93         * java/net/URI.java (relativize): Check initial segment for
94         trailing "/".
96 2007-12-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
98         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
99         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c
100         (isWindowUnderMouse): New method.
101         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h:
102         Regenerate.
103         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
104         (getLocationOnScreen): Move WindowPeer section to...
105         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen):
106         New method.
107         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java
108         (isWindowUnderMouse): Implement.
109         * java/awt/Component.java (getMousePosition): New method.
110         (getMousePositionHelper): Likewise.
111         (mouseOverComponent): Likewise.
112         * java/awt/Container.java (getMousePosition): New method.
113         (mouseOverComponent): Likewise.
114         * classpath/lib/java/awt/Component.class,
115         classpath/lib/java/awt/Component$BltBufferStrategy.class,
116         classpath/lib/java/awt/Container$GfxPaintAllVisitor.class,
117         classpath/lib/java/awt/Component$AccessibleAWTComponent
118         $AccessibleAWTFocusHandler.class,
119         classpath/lib/java/awt/Component$FlipBufferStrategy.class,
120         classpath/lib/java/awt/Container$GfxVisitor.class,
121         classpath/lib/java/awt/Component$AccessibleAWTComponent
122         $AccessibleAWTComponentHandler.class,
123         classpath/lib/java/awt/Container$AccessibleAWTContainer
124         $AccessibleContainerHandler.class,
125         classpath/lib/java/awt/Container.class,
126         classpath/lib/java/awt/Container$AccessibleAWTContainer.class,
127         classpath/lib/java/awt/Container$GfxPrintAllVisitor.class,
128         classpath/lib/java/awt/Component$AccessibleAWTComponent.class,
129         classpath/lib/java/awt/Container$GfxPaintVisitor.class,
130         classpath/lib/java/awt/Container$GfxPrintVisitor.class,
131         classpath/lib/java/awt/Component$HeavyweightInLightweightListener.class,
132         classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer.class,
133         classpath/lib/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.class,
134         classpath/lib/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.class,
135         classpath/lib/gnu/java/awt/peer/gtk/GtkWindowPeer.class,
136         classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer
137         $RepaintTimerTask.class:
138         Regenerate.
140 2007-10-01  Alexandre Oliva  <aoliva@redhat.com>
142         * scripts/check_jni_methods.sh: Don't depend on diff -b ignoring
143         a single trailing whitespace.
145 2007-08-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
147         * java/util/EnumSet.java:
148         Documented.
149         (complementOf(EnumSet)): Fixed to flip only
150         the bits used by the enumset.
152 2007-07-31  Dalibor Topic  <robilad@kaffe.org>
154         PR 32844
155         * java/util/EnumSet.java:
156         Made class abstract per API spec.
157         (size, iterator, add, addAll, clear, contains,
158         containsAll, remove, removeAll, retainAll) Moved 
159         into an anonymous inner class in of(T).
160         (allOf, noneOf, copyOf, of, range) Made more 
161         implementation independent.
162         (of(T)) return an instance of an anonymous class
163         implementing EmptySet.
165 2007-07-28  Matthias Klose  <doko@ubuntu.com>
167         * include/jvmti.h(jniNativeInterface): Rename type.
169 2007-07-24  Tom Tromey  <tromey@redhat.com>
171         PR java/32862:
172         * java/util/EnumMap.java (get): Special case emptySlot.
173         (clone): Rewrote.
175 2007-07-23  Christian Thalinger  <twisti@complang.tuwien.ac.at>
177         * gnu/java/nio/charset/ISO_8859_1.java: Added ISO8859-1 to
178         aliases.
180 2007-07-23  Christian Thalinger  <twisti@complang.tuwien.ac.at>
182         * vm/reference/sun/misc/Unsafe.java (unpark): Changed signature to
183         be compatible with OpenJDK.
185 2007-07-13  Roman Kennke  <roman@kennke.org>
187         * gnu/java/awt/java2d/AbstractGraphics2D.java
188         (clip(Shape)): Call setClip when the clip changes.
189         (drawImage): Add translation.
190         (drawLine): Add translation.
191         * gnu/java/awt/peer/x/PixmapVolatileImage.java
192         (getPixmap): New method.
193         * gnu/java/awt/peer/x/XEventPump.java
194         (XEventPump): Name thread. Start as daemon thread.
195         * gnu/java/awt/peer/x/XGraphics2D.java
196         (rawDrawImage): Special handling for PixmapVolatileImage.
197         (rawDrawLine): Don't add translation here. This is done in
198         the superclass.
199         (rawFillRect): Don't add translation here. This is done in
200         the superclass.
201         (renderScanline): Added null check.
203 2007-07-13  Roman Kennke  <roman@kennke.org>
205         * gnu/java/awt/peer/x/PixmapVolatileImage.java: New class.
206         * gnu/java/awt/peer/x/XGraphicsConfiguration.java
207         (createCompatibleImage(int,int)): Delegate to the 3-int overload.
208         (createCompatibleImage(int,int,int)): Implemented. Using
209         the ZPixmapDataBuffer for OPAQUE images.
210         (createCompatibleVolatileImage(int,int)): Delegate to the 3-int
211         overload.
212         (createCompatibleVolatileImage(int,int,int)): Implemented. Using
213         PixmapVolatileImage.
214         * gnu/java/awt/peer/x/XWindowPeer.java
215         (createImage): Return a PixmapVolatileImage (for now).
216         (createVolatileImage): Implemented, using PixmapVolatileImage.
217         * gnu/java/awt/peer/x/ZPixmapDataBuffer.java
218         New class.
220 2007-07-10  Roman Kennke  <roman@kennke.org>
222         PR 32645
223         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
224         (copyPixbuf): Swap asserts.
226 2007-07-09  Chris Burdess  <dog@gnu.org>
228         Fixes #32672
229         * gnu/xml/dom/DomElement.java,
230         * gnu/xml/dom/DomNamedNodeMap.java: don't check owner in
231           setNamedNode when cloning.
233 2007-07-08  Mario Torre  <neugens@limasoftware.net>
235         * gnu/javax/sound/sampled/gstreamer: new package hierarchy.
236         * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: new file.
237         * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
238         likewise.
239         * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: likewise.
240         * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: likewise.
241         * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java: likewise.
242         * gnu/javax/sound/AudioSecurityManager.java: likewise. 
243         * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: likewise.
244         * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: likewise.
245         * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: likewise.
246         * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise. 
247         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader.in:
248         likewise.
249         * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider.in:
250         likewise.
251         * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
252         likewise.
253         * native/jni/gstreamer-peer/gstclasspathsrc.c: likewise.
254         * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
255         * native/jni/gstreamer-peer/gstinputstream.c: likewise.
256         * native/jni/gstreamer-peer/gstinputstream.h: likewise.
257         * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
258         * native/jni/gstreamer-peer/Makefile.am: likewise.
259         * native/jni/gstreamer-peer/.cvsignore: likewise.
260         * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
261         likewise.
262         * include/Makefile.am: add gstreamer generated headers.
263         * configure.ac: add gstreamer sound backend configuration.
264         The backend is currently disabled by default.
265         * native/jni/Makefile.am: code to allow compilation of the gstreamer
266         sound backend.
267         * javax/sound/sampled/spi/MixerProvider.java (isMixerSupported):
268         indentation fixes.
269         * javax/sound/sampled/AudioFormat.java (toString): fix method to display
270         informations only when available.
271         * javax/sound/sampled/DataLine.java:
272         (Info.isFormatSupported):  indentation fixes.
273         (Info):  indentation fixes.
274         (Info.toString):  indentation fixes.
275         (Info.matches):  indentation fixes.
277 2007-07-03  Tania Bento  <tbento@redhat.com>
279         * java/lang/Integer.java:
280         (parseInt(String,int,boolean)): Throw NumberFormatException if 
281         String is just "+".
283 2007-07-01  Chris Burdess  <dog@gnu.org>
285         * gnu/xml/transform/WithParam.java: Handle case where content is
286           empty.
288 2007-06-28  Tom Tromey  <tromey@redhat.com>
290         * include/jni.h: Fixed local variables.
292 2007-06-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
294         * ChangeLog: Correction of a bug fix number.
296 2007-06-25  Roman Kennke  <roman@kennke.org>
298         * gnu/java/awt/peer/ClasspathFontPeer.java
299         (canDisplay): Take character as integer codepoint.
300         * gnu/java/awt/peer/gtk/GdkFontPeer.java
301         (canDisplay): Take character as integer codepoint.
302         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
303         (postMouseEvent): Use MouseEvent constructor with absolute coordinates
304         to avoid deadlock (over getLocationOnScreen()).
305         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
306         (getDeviceConfiguration): Fall back to the default configuration
307         if the component is not set.
308         * gnu/java/awt/peer/qt/QtFontMetrics.java
309         (canDisplay): Take character as integer codepoint.
310         * gnu/java/awt/peer/qt/QtFontPeer.java
311         (canDisplay): Take character as integer codepoint.
312         * gnu/java/awt/peer/x/XFontPeer2.java
313         (canDisplay): Take character as integer codepoint.
314         * include/gnu_java_awt_peer_qt_QtFontMetrics.h
315         (canDisplay): Take character as integer codepoint.
316         * java/awt/Font.java
317         (DIALOG): New constant.
318         (DIALOG_INPUT): New constant.
319         (MONOSPACED): New constant.
320         (SANS_SERIF): New constant.
321         (SERIF): New constant.
322         (Font(Font)): New constructor.
323         (canDisplay(char)): Use new canDisplay(int) method.
324         (canDisplay(int)): New method.
325         (hasLayoutAttributes): New method.
326         * java/awt/event/MouseEvent.java
327         (absX,absY): New fields.
328         (MouseEvent): New constructor with absolute coordinates.
329         (getLocationOnScreen): New method.
330         (getXOnScreen): New method.
331         (getYOnScreen): New method.
332         * native/jni/qt-peer/qtfontmetrics.cpp
333         (canDisplay): Take character as integer codepoint.
335 2007-06-25  Mark Wielaard  <mark@klomp.org>
337         * native/jni/native-lib/cpnet.c
338         (cpnet_aton) Moved variable declaration of inet6_addr so it is
339         actually in the scope of its use.
341 2007-06-25  Dalibor Topic  <robilad@kaffe.org>
343         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
344         (THROW_NO_IPV6): New macro.
345         (Java_gnu_java_net_VMPlainSocketImpl_bind6) Conditionally
346         build code if IPv6 facilities are available, otherwise
347         throw an error.
348         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6, 
349         Java_gnu_java_net_VMPlainSocketImpl_join6,
350         Java_gnu_java_net_VMPlainSocketImpl_leave6,
351         Java_gnu_java_net_VMPlainSocketImpl_joinGroup6,
352         Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6)
353         Use THROW_NO_IPV6.
355         * native/jni/java-net/java_net_VMInetAddress.c
356         (Java_java_net_VMInetAddress_getHostByAddr,
357         Java_java_net_VMInetAddress_getHostByName,
358         Java_java_net_VMInetAddress_aton) Build IPv6 dependant
359         code conditionally on IPv6 facilities being available.
360         Switched if-else blocks where necessary to allow that.
362         * native/jni/java-net/javanet.c
363         (_javanet_get_ip_netaddr) Build IPv6 dependant code conditionally 
364         on IPv6 facilities being available.
366         * native/jni/native-lib/cpnet.c
367         (cpnet_getHostByName, cpnet_getHostByAddr) Build IPv6 dependant 
368         code conditionally on IPv6 facilities being available.
369         (cpnet_aton) Moved variable declaration of inet6_addr to the scope
370         of its use. Build IPv6 dependant code conditionally 
371         on IPv6 facilities being available.
373         * native/jni/native-lib/cpnet.h (cpnet_newIPV6Address, 
374         cpnet_isIPV6Address, cpnet_IPV6AddressToBytes, 
375         cpnet_bytesToIPV6Address): Make IPv6 dependant utility functions 
376         available conditionally on IPv6 facilities being available.
378 2007-06-25  Dalibor Topic  <robilad@kaffe.org>
380         * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): If the user passes an
381         explicit argument to configure, just use it, and don't attempt to
382         run AC_CHECK_PROG. This makes --with-javac="javac -J-Xmx512M" work.
384 2007-06-25  Dalibor Topic  <robilad@kaffe.org>
386         * configure.ac: Check for MSG_WAITALL, since it does not exist on
387         Cygwin.
389         * native/jni/java-nio/gnu_java_nio_VMChannel.c 
390         (Java_gnu_java_nio_VMChannel_receive): Define MSG_WAITALL as 0 if 
391         it does not exist.
393 2007-06-24  Ito Kazumitsu  <kaz@maczuka.gcd.org>
395         Fixes bug #31927
396         * native/jni/java-nio/gnu_java_nio_VMChannel.c
397         (Java_gnu_java_nio_VMChannel_available): Retry using fstat if ioctl
398         fails with ENOTTY.
400 2007-06-22  Tania Bento  <tbento@redhat.com>
402         * java/util/Currency.java:  
403         (getInstance (Locale)): Check that the country of the
404         locale given is valid.  If it is not, throw an
405         IllegalArgumentException.
407 2007-06-22  Roman Kennke  <roman@kennke.org>
409         * gnu/java/awt/peer/GLightweightPeer.java
410         * gnu/java/awt/peer/gtk/GdkRobotPeer.java
411         * gnu/java/awt/peer/gtk/GtkCompoonentPeer.java
412         * gnu/java/awt/peer/gtk/GtkFramePeer.java
413         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
414         * gnu/java/awt/peer/qt/QtComponentPeer.java
415         * gnu/java/awt/peer/qt/QtFramePeer.java
416         * gnu/java/awt/peer/qt/QtWindowPeer.java
417         * gnu/java/awt/peer/swing/SwingComponentPeer.java
418         * gnu/java/awt/peer/swing/SwingWindowPeer.java
419         * gnu/java/awt/peer/x/XFramePeer.java:
420         Removed @Override annotations from some interface implementation
421         methods to ensure 1.5 compatibility.
423 2007-06-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
425         * include/jni.h (JNINativeInterface): Renamed to
426         JNINativeInterface_, added const to arguments where necessary.
427         (JNIInvokeInterface): Renamed to JNIInvokeInterface_.
429 2007-06-22  Roman Kennke  <roman@kennke.org>
431         * sun/awt/CausedFocusEvent.java: New class. Needed for compatibility
432         in java.awt.peer.
433         * java/awt/Dialog.java
434         (ModalExclusionType): New enum.
435         (ModalityType): New enum.
436         * java/awt/Toolkit.java
437         (isModalExclusionTypeSupported): New abstract method.
438         (isModalityTypeSupported): New abstract method.
439         * java/awt/peer/ComponentPeer.java
440         (requestFocus): New method.
441         * java/awt/peer/FramePeer.java
442         (getBoundsPrivate): New method.
443         * java/awt/peer/RobotPeer.java
444         (dispose): New method.
445         * java/awt/peer/WindowPeer.java
446         (setAlwaysOnTop): New method.
447         (updateFocusableWindowState): New method.
448         (setModalBlocked): New method.
449         (updateMinimumSize): New method.
450         (updateIconImages): New method.
451         * gnu/java/awt/peer/GLightweightPeer.java
452         (requestFocus): New method.
453         * gnu/java/awt/peer/gtk/GdkRobotPeer.java
454         (dispose): New method.
455         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
456         (requestFocus): New method.
457         * gnu/java/awt/peer/gtk/GtkFramePeer.java
458         (getBoundsPrivate): New method.
459         * gnu/java/awt/peer/gtk/GtkToolkit.java
460         (isModalExclusionTypeSupported): New method.
461         (isModalityTypeSupported): New method.
462         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
463         (updateIconImages): New method.
464         (updateMinimumSize): New method.
465         (setModalBlocked): New method.
466         (updateFocusableWindowState): New method.
467         (setAlwaysOnTop): New method.
468         * gnu/java/awt/peer/headless/HeadlessToolkit.java
469         (isModalExclusionTypeSupported): New method.
470         (isModalityTypeSupported): New method.
471         * gnu/java/awt/peer/qt/QtComponentPeer.java
472         (requestFocus): New method.
473         * gnu/java/awt/peer/qt/QtFramePeer.java
474         (getBoundsPrivate): New method.
475         * gnu/java/awt/peer/qt/QtToolkit.java
476         (isModalExclusionTypeSupported): New method.
477         (isModalityTypeSupported): New method.
478         * gnu/java/awt/peer/qt/QtWindowPeer.java
479         (updateIconImages): New method.
480         (updateMinimumSize): New method.
481         (setModalBlocked): New method.
482         (updateFocusableWindowState): New method.
483         (setAlwaysOnTop): New method.
484         * gnu/java/awt/peer/swing/SwingComponentPeer.java
485         (requestFocus): New method.
486         * gnu/java/awt/peer/swing/SwingToolkit.java
487         (isModalExclusionTypeSupported): New method.
488         (isModalityTypeSupported): New method.
489         * gnu/java/awt/peer/swing/SwingWindowPeer.java
490         (updateIconImages): New method.
491         (updateMinimumSize): New method.
492         (setModalBlocked): New method.
493         (updateFocusableWindowState): New method.
494         (setAlwaysOnTop): New method.
495         * gnu/java/awt/peer/x/XFramePeer.java
496         (getBoundsPrivate): New method.
497         * gnu/java/awt/peer/x/XToolkit.java
498         (isModalExclusionTypeSupported): New method.
499         (isModalityTypeSupported): New method.
501 2007-06-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
503         * tools/Makefile.am:
504         Compile in com.sun.tools.javah
505         * tools/com/sun/tools/javah/Main.java:
506         Javah Sun-->Classpath wrapper.
507         
508 2007-06-21  Christian Thalinger  <twisti@complang.tuwien.ac.at>
510         * javax/swing/text/html/parser/AttributeList.java (getValues):
511         Check if values is null.
513 2007-06-21  Roman Kennke  <roman@kennke.org>
515         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
516         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
517         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
518         Fix some type signatures.
519         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
520         Fix intendation.
522 2007-06-21  Jeroen Frijters  <jeroen@frijters.net>
524         * java/io/ObjectStreamClass.java (getClassUID): Return 0L for
525         enums and proxies.
527 2007-06-21  Jeroen Frijters  <jeroen@frijters.net>
529         * java/net/URLClassLoader.java
530         (URLClassLoader(URL[],ClassLoader,URLStreamHandlerFactory):
531         Add factory to cache before calling addURLS.
532         (run): Don't call initCause() on ClassNotFoundException.
534 2007-06-21  Jeroen Frijters  <jeroen@frijters.net>
536         Fixes #32356
537         * java/lang/reflect/Array.java
538         (newInstance(Class,int[])): Call createMultiArray correctly.
539         (createMultiArray): Fixed dimensions processing order.
541 2007-06-21  Jeroen Frijters  <jeroen@frijters.net>
543         * gnu/java/net/loader/URLLoader.java
544         (URLLoader(URLClassLoader,URLStreamHandlerCache,
545         URLStreamHandlerFactory,URL,URL)): Disabiguate CodeSource constructor
546         invocation.
547         * java/awt/AWTKeyStroke.java
548         (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
549         error when compiled against OpenJDK java.util package.
550         * java/awt/AlphaComposite.java
551         (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
552         error when compiled against OpenJDK java.util package.
554 2007-06-21  Jeroen Frijters  <jeroen@frijters.net>
556         * gnu/java/security/Engine.java
557         (getInstance(String,String,Provider,Object[]): Use correctly cased
558         property name.
560 2007-07-19  Keith Seitz  <keiths@redhat.com>
562         * classpath/gnu/classpath/jdwp/value/StringValue.java
563         (StringValue): Tag of StringValue is STRING not OBJECT.
564         (write): String values are written to the wire as tag byte
565         and object ID, not JdwpString.
567 2007-07-19  Keith Seitz  <keiths@redhat.com>
569         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
570         (executeInvokeMethod): No need to use ValueFactory any more;
571         MethodResult.getReturnedValue now returns a Value.
572         (executeNewInstance): Double-check that return result is 
573         an ObjectValue; throw JdwpInternalErrorException if it is not.
574         (invokeMethod): Method IDs come from VMMethod, not VMIdManager.
575         Arguments are Values not Objects.
576         Use ValueFactory to create arguments.
577         Pass invocation options to VMVirtualMachine.executeMethod.
578         Don't do any thread suspend/resume work: VMVM.executeMethod
579         will take care of it.
580         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
581         (executeInvokeMethod): Method IDs come from VMMethod, not
582         VMIdManager.
583         Arguments should be Values instead of Objects.
584         Use ValueFactory to create Values.
585         Remove specific option handling and pass options to
586         VMVirtualMachine.executeMethod.
587         Remove thread suspension.
588         Use MethodResult.getReturnedValue to get method's result.
589         * gnu/classpath/jdwp/util/MethodResult.java
590         (returnedValue): Change type to Value.
591         (thrownException): Change type to Throwable.
592         (resType): Remove.
593         (MethodResult): New constructor.
594         (setReturnedValue): Remove.
595         (SetThrownException): Remove.
596         (getResultType): Remove.
597         (setResultType): Remove.
598         * gnu/classpath/jdwp/value/ObjectValue.java (getValue): 
599         New method.
600         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
601         (executeMethod): Replace "nonVirtual" parameter with more
602         generic "options" parameter.
603         Replace java.lang.reflect.Method parameter with VMMethod.
604         Replace Objet[] parameter with Value[] parameter.
606 2007-07-10  Dalibor Topic  <robilad@kaffe.org>
608         * configure.ac (FOUND_CACAO): Removed.
610 2007-06-01  Robin Garner  <robin.garner@anu.edu.au>
612         Fixes #32162
613         * gnu/xml/dom/DomNode.java: Correct concurrency problem when deep
614           cloning nodes.
616 2007-05-30  Mark Wielaard  <mark@klomp.org>
618         Fixes bug #32030 reported by Steve.Blackburn@anu.edu.au
619         * native/jni/java-nio/gnu_java_nio_VMChannel.c
620         (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC when
621         CPNIO_APPEND is not, but O_WRONLY is set.
623 2007-05-25  Robert Schuster  <robertschuster@fsfe.org>
625         * gnu/java/awt/peer/x/XGraphics2D.java:
626         (rawDrawLine): Added addition of translation.
627         (rawFillRect): Dito.
629 2007-05-25  Robert Schuster  <robertschuster@fsfe.org>
631         * gnu/java/awt/font/opentype/OpenTypeFont.java:
632         (getGlyphIndex): Call getGlyphCharMap() instead of
633         accessing cmap field directly.
635 2007-05-24  Ito Kazumitsu  <kaz@maczuka.gcd.org>
637         * native/jni/java-nio/gnu_java_nio_VMChannel.c
638         (Java_gnu_java_nio_VMChannel_available): Use fstat or select as an
639         alternative to ioctl.
640         * native/jni/native-lib/cpio.c(cpio_availableBytes): Corrected typo.
642 2007-05-24  Roman Kennke  <roman@kennke.org>
644         * gnu/java/math/Fixed.java
645         (trunc): New method.
647 2007-05-24  Roman Kennke  <roman@kennke.org>
649         * gnu/java/awt/java2d/AbstractGraphics2D.java
650         (fillShape): Pass rendering hints to scanline converter.
651         * gnu/java/awt/java2d/ScanlineConverter.java
652         (ONE): New constant for the number 1 as fixed point number.
653         (Y_RESOLUTION): New constant for the Y resolution.
654         (doScanline): Handle the Y resolution.
655         (renderShape): Accept rendering hints.
656         (setResolution): Adjust maximum resolution with Y resolution.
657         * gnu/java/awt/java2d/ScanlineCoverage.java
658         (Iterator.handledPixelCoverage): New field.
659         (Iterator.next): Handle single pixel coverage.
660         (Iterator.hasNext): Handle single pixel coverage.
661         (Iterator.reset): Reset single pixel coverage.
662         (Range.toString): New method.
663         (Coverage.pixelCoverage): New field.
664         (add): Include Y (pixel) coverage.
665         (findOrInsert): Reset Y coverage in reused entries.
667 2007-05-24  Roman Kennke  <roman@kennke.org>
669         * gnu/java/awt/java2d/ScanlineCoverage.java
670         (Iterator): New class.
671         (Range): New class.
672         (Coverage.covDelta): Made field package private.
673         (Coverage.xPos): Made field package private.
674         (iterator): New field. Stores the iterator that is reused.
675         (ScanlineCoverage): Initialize iterator.
676         (assertion): Removed.
677         (isEmpty): Refined conditions.
678         (iterate): Return Iterator instance.
679         (next): Removed. This is done by the Iterator class now.
680         (test): Removed.
681         * gnu/java/awt/java2d/ScanlineConverter.java
682         (main): Removed.
683         * gnu/java/awt/peer/x/XGraphics2D.java
684         (renderScanline): Adjust to new coverage iterator stuff.
685         * gnu/java/awt/java2d/AbstractGraphics2D.java
686         (renderScanline): Adjust to new coverage iterator stuff.
688 2007-05-23  Jeroen Frijters  <jeroen@frijters.net>
690         * java/util/Arrays.java
691         (copyOfRange(T,int,int)): Fixed to instantiate right array type.
693 2007-05-22  Robert Schuster  <robertschuster@fsfe.org>
695         * gnu/java/awt/peer/x/XEventQueue.java:
696         (handleEvent): Calculate modifier value for mouse presse
697         and release events, clip button values.
698         (buttonToModifier): New method.
699         * gnu/java/awt/peer/x/KeyboardMapping.java:
700         (mapModifiers): Added cases for alt gr and the meta key.
702 2007-05-22  Robert Schuster  <robertschuster@fsfe.org>
704         * gnu/java/awt/peer/x/XEventQueue.java:
705         (handleEvent): Use Input.event_window_id for 
706         key presses/releases.
708 2007-05-22  Robert Schuster  <robertschuster@fsfe.org>
710         * gnu/java/awt/peer/x/XEventQueue.java:
711         (handleEvent): Use Input.event_window_id instead of
712         Input.child_window_id for mouse presses/releases &
713         movement.
715 2007-05-22  Roman Kennke  <roman@kennke.org>
717         * gnu/java/awt/peer/x/XFontPeer2.java
718         (XFontMetrics.charWidth): Use cached Point2D instance.
719         * gnu/java/awt/peer/x/XGraphics2D.java
720         (renderScanline): New method. Renders a scanline according to
721         the coverage information.
722         (setPaint): Call super, so that the state is updated correctly.
724 2007-05-19  Andreas Tobler  <a.tobler@schweiz.org>
726         PR libgcj/31659
727         * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
729 2007-05-18  Andreas Tobler  <a.tobler@schweiz.org>
731         * autogen.sh (have_libtool): Update comments for Darwin.
733 2007-05-18  Roman Kennke  <roman@kennke.org>
735         * gnu/java/awt/java2d/AbstractGraphics2D.java
736         (fillScanlineAA): Removed. Replaced by renderScanline().
737         (fillScanline): Dito.
738         (renderScanline): New method. Renders a scanline according to
739         the coverage information from the scanline converter.
740         * gnu/java/awt/java2d/Pixelizer.java: New interface. Describes
741         the targets of the rasterizer.
742         * gnu/java/awt/java2d/ScanlineConverter.java
743         (alphaRes): Removed.
744         (ONE): Removed.
745         (scanlineCoverage): New field. Manages the coverage information.
746         (scanlinesPerPixel): Removed.
747         (scanlineXCov): Removed.
748         (scanlineYCov): Removed.
749         (slPix0): Removed.
750         (ScanlineConverter): Initialize scanline coverage data structure.
751         (clear): Also clear the scanline coverage.
752         (doScanline): Work with Pixelizer objects.
753         Use the ScanlineCoverage datastructure.
754         (main): New method. Performs some tests.
755         (renderShape): Work with pixelizer objects rather than directly
756         on AbstractGraphic2D. Adjust to use ScanlineCoverage datastructure.
757         (setResolution): Set resolution on ScanlineCoverage data too.
758         * gnu/java/awt/java2d/ScanlineCoverage.java: New class. Stores
759         and manages scanline coverage information.
761 2007-05-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
763         * java/rmi/MarshelledObject.java,
764         * java/rmi/activation/Activatable.java,
765         * java/rmi/activation/ActivationDesc.java,
766         * java/rmi/activation/ActivationGroup.java,
767         * java/rmi/activation/ActivationGroupDesc.java,
768         * java/rmi/activation/ActivationInstantiator.java,
769         * java/rmi/activation/ActivationMonitor.java,
770         * java/rmi/activation/Activator.java:
771         Genericized.
773 2007-05-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
775         * configure.ac:
776         Check if nsl library is needed for inet_pton.
777         * tools/gappletviewer.in,
778         * tools/gjar.in,
779         * tools/gjarsigner.in,
780         * tools/gjavah.in,
781         * tools/gkeytool.in,
782         * tools/gnative2ascii.in,
783         * tools/gorbd.in,
784         * tools/grmic.in,
785         * tools/grmid.in,
786         * tools/grmiregistry.in,
787         * tools/gserialver.in,
788         * tools/gtnameserv.in:
789         Remove spaces around '=' in setting of datarootdir.
790         
791 2007-05-11  Kyle Galloway  <kgallowa@redhat.com>
793         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
794         (executeMethods): Remove cast to ClassReferenceTypeId.
796 2007-05-11  Jeroen Frijters  <jeroen@frijters.net>
798         * java/lang/Float.java
799         (toString(float)): Call VMFloat instead of VMDouble.
800         (parseFloat): Call VMFloat. Fixed comment.
801         * vm/reference/java/lang/VMFloat.java
802         (toString, parseFloat): New methods.
803         NEWS: added note about these changes.
805 2007-05-08  Kyle Galloway  <kgallowa@redhat.com>
807         * vm/reference/VMFrame.java (<init>): Add a parameter for the "this"
808         pointer of the frame.
810 2007-05-08  Roman Kennke  <roman@kennke.org>
812         * gnu/java/awt/peer/x/XFontPeer.java: Removed.
813         * gnu/java/awt/peer/x/XGraphics.java: Removed
814         * gnu/java/awt/peer/x/XFontPeer2.java
815         (XLineMetrics.getDescent): Use cached idendity transform.
816         (XFontMetrics.cachedPoint): New field. Caches a Point2D instance
817         for reuse.
818         (XFontMetrics.getAscent): Use cached idendity transform.
819         (XFontMetrics.getDescent): Use cached idendity transform.
820         (XFontMetrics.getHeight): Use cached idendity transform.
821         (XFontMetrics.charWidth): Map character to glyph index first.
822         (XFontMetrics.stringWidth): Use cached idendity transform.
823         (IDENDITY): New static field. A reused AffineTransform instance.
825 2007-05-08  Roman Kennke  <roman@kennke.org>
827         * gnu/java/awt/font/FontDelegate.java
828         (getGlyphIndex): New method. Maps characters to their
829         glyph index in the font.
830         M gnu/java/awt/font/opentype/OpenTypeFont.java
831         (getGlyphIndex): New method. Maps characters to their
832         glyph index in the font.
834 2007-05-08  Roman Kennke  <roman@kennke.org>
836         * gnu/java/awt/java2d/AbstractGraphics2D.java
837         (AA_SAMPLING): Removed.
838         (alpha): Removed field.
839         (edgeTable): Removed field.
840         (fillScanlineAA): Removed obsolete method.
841         (drawPolyline): Implemented by using a GeneralPath.
842         (drawPolygon): Reset the cached polygon.
843         (fillPolygon): Reset the cached polygon.
844         (fillShape): Default to antialias on for text.
845         (rawDrawLine): Use ShapeCache.
846         (rawDrawRect): Use ShapeCache.
847         (rawFillRect): Use ShapeCache.
848         (fillScanlineAA): New method for antialiased rendering. 
849         * gnu/java/awt/java2d/ScanlineConverter.java
850         (scanlinesPerPixel): New field.
851         (minX,maxX): New fields.
852         (scanlineYCov,scanlineXCov): New fields.
853         (slPix0): New field.
854         (alphaRes): New field.
855         (renderShape): Add antialiasing functionality.
856         (doScanline): Add antialiasing functionality.
857         (setResolution): Add antialiasing functionality.
858         (addShape): Determine span in X direction.
859         (fit): Fix thinko.
860         * gnu/java/awt/java2d/ShapeCache.java
861         (polyline): New field for caching polylines.
863 2007-05-08  Roman Kennke  <roman@kennke.org>
865         * examples/gnu/classpath/examples/awt/HintingDemo.java
866         Add support for showing the original vs the hinted glyphs plus
867         a grid.
869 2007-05-08  Andrew John Hughes  <gnu_andrew@member.fsf.org>
871         * lib/Makefile.am: Print property files as well.
873 2007-05-08  Andrew John Hughes  <gnu_andrew@member.fsf.org>
875         * native/jni/gtk-peer/gtkpeer.c:
876         Added support for 64-bit architectures.
877         
878 2007-05-04  Chris Burdess  <dog@gnu.org>
880         Fixes PR #31814
881         * gnu/xml/dom/DomDocument.java,
882           gnu/xml/dom/ls/SAXEventSink.java: Don't default attribute when mode is
883           #IMPLIED and value is not specified.
884         * gnu/xml/stream/XMLParser.java: Add debugging info.
886 2007-05-03  Keith Seitz  <keiths@redhat.com>
888         * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
889         new array-based method.
890         (notify): New function.
891         (sendEvent): Rewrite to use sendEvents.
892         (sendEvents): New method.
893         * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
894         Change parameters to use arrays for events and requests.
895         Add suspendPolicy parameter.
896         Move per-event data transformation to...
897         (_toData): ... here.
898         * gnu/classpath/jdwp/transport/JdwpConnection.java
899         (sendEvent): Renamed to ...
900         (sendEvents): ... this.
901         Change parameters to use arrays for events and requests.
902         Add suspendPolicy parameter.
904 2007-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
906         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
907         * javax/swing/text/html/HTMLEditorKit.java
908         (getStyleSheet): Throw RuntimeException when style loading fails.
909         * lib/Makefile.am: Treat css files as a property files.
910         * javax/swing/text/html/default.css: Move to...
911         * resource/javax/swing/text/html/default.css: New file.
913 2007-05-03  Andrew Haley  <aph@redhat.com>
915         * gnu/javax/management/Server.java (Server): Record the delegate.
916         (registerMBean): Notify the delegate.
917         (unregisterMBean): Likewise.
918         (notify): New method.
920 2007-04-30  Roman Kennke  <roman@kennke.org>
922         * gnu/java/awt/peer/x/XLightweightPeer.java: Removed.
923         * gnu/java/awt/peer/x/XEventPump.java
924         (handleEvent): Improved handling of event ids to window mapping.
925         * gnu/java/awt/peer/x/XFontPeer2.java:
926         Load font.properties at startup.
927         (XLineMetrics.glyphVector): New field.
928         (XLineMetrics.XLineMetrics): Get glyphVector from font delegate.
929         (XLineMetrics.getHeight): Implemented using glyph vector.
930         (XLineMetrics.getLeading): Implemented.
931         (XFontPeer2): Change hardwired font to something more common.
932         (encodeFont): New methods, encodes a font to the font.properties
933         format.
934         (validName): New method. Checks and returns a valid font name.
935         * gnu/java/awt/peer/x/XGraphics2D.java
936         (foreground): New field.
937         (rawSetPixel): Removed.
938         (rawDrawLine): Draw a segment.
939         (rawSetForeground): Removed.
940         (fillScanline): New method.
941         (fillScanlineAA): New method.
942         (setPaint): Set the foreground color.
943         (fillShape): Synchronize super behaviour.
944         (rawDrawImage): Optimize XImage.
945         * gnu/java/awt/peer/x/XGraphicsDevice.java
946         (getDisplay): Improve creation of socket.
947         (createLocalSocket): New helper method to create a local socket.
948         * gnu/java/awt/peer/x/XImage.java
949         (getGraphics): Return an XGraphics2D.
950         * gnu/java/awt/peer/x/XToolkit.java
951         (getClasspathFontPeer): Use XFontPeer2.
952         (createComponent): Removed.
953         * gnu/java/awt/peer/x/XWindowPeer.java
954         (getGraphics): Return an XGraphics2D.
955         (show): Clear the window.
956         (getFontMetrics): Use XFontPeer2.
958 2007-04-30  Roman Kennke  <roman@kennke.org>
960         * gnu/java/awt/peer/swing/SwingButtonPeer.java
961         (SwingButton.handleFocusEvent): New method. Handles focus events.
962         (SwingButton.requestFocus): Overridden to avoid loop into peer
963         and back.
964         (SwingButton.requestFocus(boolean)): Overridden to avoid loop
965         into peer and back.
966         * gnu/java/awt/peer/swing/SwingCheckboxPeer.java: New class.
967         Implements CheckboxPeer for Swing toolkit.
968         * gnu/java/awt/peer/swing/SwingComponent.java
969         (handleFocusEvent): New method. Handles focus events.
970         * gnu/java/awt/peer/swing/SwingComponentPeer.java
971         (getMinimumSize): Delegate to minimumSize().
972         (getPreferredSize): Delegate to preferredSize().
973         (handleEvent): Only paint when component is showing. Coalesce
974         paint event in any case. Reformat. Handle focus events.
975         (requestFocus): Post FOCUS_GAINED event.
976         (handleFocusEvent): New method. Delegate to SwingComponent
977         object.
978         * gnu/java/awt/peer/swing/SwingContainerPeer.java
979         (addHeavyweightDescendent): Make this protected.
980         (removeHeavyweightDescendent): Make this protected.
981         (getHeavyweightDescendents): New method. Returns all registered
982         heavyweights.
983         (handleKeyEvent): Delegate to peer's handleEvent() method.
984         * gnu/java/awt/peer/swing/SwingLabelPeer.java
985         (SwingLabel.handleFocusEvent): New method.
986         * gnu/java/awt/peer/swing/SwingListPeer.java
987         (SwingList.handleFocusEvent): New method.
988         * gnu/java/awt/peer/swing/SwingPanelPeer.java
989         Fix typo and import.
990         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java
991         Wrap up text area in viewport.
992         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
993         (SwingTextField.handleFocusEvent): New method.
994         (SwingTextField.requestFocus): New method.
995         (SwingTextField.requestFocus(boolean)): New method.
997 2007-04-27  Keith Seitz  <keiths@redhat.com>
999         * gnu/classpath/jdwp/event/EventManager.java
1000         (getEventRequest): Rename to...
1001         (getEventRequests): ...this.
1002         Change return type to array of requests.
1003         Construct a list of all matching events and return
1004         them all.
1005         * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
1006         and send event notifications for all matching requests.
1008 2007-04-27  Keith Seitz  <keiths@redhat.com>
1010         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
1011         (matches): Use Location.equals to determine equality.
1012         * vm/reference/gnu/classpath/jdwp/VMMethod.java (equals): 
1013         New method.
1014         * gnu/classpath/jdwp/util/Location.java (equals):
1015         New method.     
1017 2007-04-27  Roman Kennke  <roman@kennke.org>
1019         * java/nio/CharViewBufferImpl.java
1020         (slice): Fixed offset for slice buffer.
1021         * java/nio/DoubleViewBufferImpl.java
1022         (slice): Fixed offset for slice buffer.
1023         * java/nio/FloatViewBufferImpl.java
1024         (slice): Fixed offset for slice buffer.
1025         * java/nio/IntViewBufferImpl.java
1026         (slice): Fixed offset for slice buffer.
1027         * java/nio/LongViewBufferImpl.java
1028         (slice): Fixed offset for slice buffer.
1029         * java/nio/ShortViewBufferImpl.java
1030         (slice): Fixed offset for slice buffer.
1032 2007-04-25  Roman Kennke  <roman@kennke.org>
1034         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
1035         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1036         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1037         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1038         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
1039         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1040         Added fields to hold the native state. Added class initialization
1041         things to fetch the JNI field IDs.
1042         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1043         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h,
1044         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
1045         * include/gnu_java_awt_peer_gtk_GtkToolkit.h:
1046         Added / changed class init methods for field ID initialization.
1047         * native/jni/classpath/Makefile.am: Removed native_state stuff.
1048         * native/jni/classpath/native_state.c,
1049         * native/jni/classpath/native_state.h: Removed.
1050         * native/jni/gconf-peer/Makefile.am: Removed native_state stuff.
1051         * native/jni/gtk-peer/Makefile.am: Removed native_state stuff.
1052         * native/jni/gtk-peer/cairographics2d.h,
1053         * native/jni/gtk-peer/gdkdisplay.h,
1054         * native/jni/gtk-peer/gdkfont.h,
1055         * native/jni/gtk-peer/GtkDragSourceContextPeer.c,
1056         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1057         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1058         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1059         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1060         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1061         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1062         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1063         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
1064         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1065         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1066         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
1067         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
1068         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
1069         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1070         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c,
1071         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
1072         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
1073         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
1074         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
1075         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1076         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
1077         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c,
1078         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1079         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1080         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
1081         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
1082         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
1083         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c,
1084         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1085         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1086         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1088         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1089         * native/jni/gtk-peer/gtk_jawt.c:
1090         Removed native state stuff and replaced that with an approach
1091         to store the native state of an object directly in that object.
1092         * native/jni/gtk-peer/gtkpeer.c: New file. Implements the new native
1093         state management.
1094         * native/jni/gtk-peer/gtkpeer.h: Remove NSA stuff and added
1095         prototypes for new native state handling.
1097 2007-04-23  Mark Wielaard  <mark@klomp.org>
1099         * doc/www.gnu.org/newsitems.txt: Add 0.95.
1100         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
1101         * doc/www.gnu.org/announce/20070423.wml: New file.
1103 2007-04-23  Mark Wielaard  <mark@klomp.org>
1105         * NEWS: Add new 0.95 features.
1107 2007-04-23  Jeroen Frijters  <jeroen@frijters.net>
1109         PR classpath/31646:
1110         * java/util/Arrays.java (qsort): Corrected initial median calculation.
1112 2007-04-22  Dalibor Topic  <robilad@kaffe.org>
1114         * Makefile.am (ACLOCAL_AMFLAGS): Add contents of env var 
1115         LOCAL_AUTORECONF_AMFLAGS to allow for systems where the user
1116         has a mix of system & hacked-up autotools.
1118 2007-04-22  Dalibor Topic  <robilad@kaffe.org>
1120         * autogen.sh: Removed unnecessary -I m4 flag.
1122 2007-04-19  Casey Marshall  <csm@gnu.org>
1124         PR classpath/31626:
1125         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
1126         (createSocket): New method.
1128 2007-04-19  Dalibor Topic  <robilad@kaffe.org>
1130         * tools/gappletviewer.in,
1131         tools/gjar.in,
1132         tools/gjarsigner.in,
1133         tools/gjavah.in,
1134         tools/gkeytool.in,
1135         tools/gnative2ascii.in,
1136         tools/gorbd.in,
1137         tools/grmic.in,
1138         tools/grmid.in,
1139         tools/grmiregistry.in,
1140         tools/gserialver.in,
1141         tools/gtnameserv.in: Set datarootdir to fix a warning from 
1142         configure.
1144 2007-04-19  Dalibor Topic  <robilad@kaffe.org>
1146         * INSTALL: Removed file generated by autogen.sh.
1148         * .cvsignore: Added INSTALL.
1150 2007-04-19  Dalibor Topic  <robilad@kaffe.org>
1152         * INSTALL: Replaced by generic install file.
1154         * autogen.sh: Removed redundant and no longer necessary 
1155         sections. Use autoreconf.
1157 2007-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1159         * m4/acinclude.m4
1160         (CLASSPATH_FIND_JAVAC): Allow detected JAVAC.
1162 2007-04-19  Dalibor Topic  <robilad@kaffe.org>
1164         * lib/Makefile.am (propertyfiles, cssfiles, metafiles, 
1165         iconfiles) Removed variables, inlined them into resource
1166         target to avoid use of shell construct and fix portability
1167         warning from automake 1.10.
1169 2007-04-18  Tom Tromey  <tromey@redhat.com>
1171         * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
1172         Changed arguments.  Directly print method name.
1173         * tools/gnu/classpath/tools/javah/ClassWrapper.java
1174         (methodNameMap): New field.
1175         (makeVtable): Initialize it.
1176         (printMethods): Compute name for bridge targets.
1178 2007-04-18  Andrew Haley  <aph@redhat.com>
1180         * gnu/java/rmi/server/UnicastConnectionManager.java
1181         (UnicastConnectionManager(int port, RMIServerSocketFactory)):
1182         Listen on "localhost", not localhost.
1184 2007-04-18  Dalibor Topic  <robilad@kaffe.org>
1186         * include/GtkDragSourceContextPeer.h: Removed, renamed to ..
1188         * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h:
1189         New file.
1191         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Include 
1192         gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h.
1194         * include/Makefile.am (GTKPEER_H_FILES): Renamed
1195         GtkDragSourceContextPeer.h to 
1196         gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h
1197         per current convention. Use portable construct to create
1198         gtk and libxmlj peer headers. Depend on the java source code, 
1199         rather then the class files in order to avoid spurious 
1200         regeneration.
1202 2007-04-18  Dalibor Topic  <robilad@kaffe.org>
1204         * include/Makefile.am: Use portable construct to create
1205         qt peer headers. Depend on the java source code, 
1206         rather then the class files in order to avoid spurious 
1207         regeneration.
1209 2007-04-18  Dalibor Topic  <robilad@kaffe.org>
1211         * include/Makefile.am: Use portable construct to create
1212         alsa and dssi peer headers. Depend on the java source code, 
1213         rather then the class files in order to avoid spurious 
1214         regeneration.
1215         
1216 2007-04-18  Dalibor Topic  <robilad@kaffe.org>
1218         * include/Makefile.am: Use portable construct to create
1219         gconf peer header. Depend on the java source code, rather
1220         the class file to avoid spurious regeneration.
1222 2007-04-18  Dalibor Topic  <robilad@kaffe.org>
1224         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h:
1225         Removed empty header file.
1227         * include/Makefile.am (QTPEER_H_FILES):
1228         Removed gnu_java_awt_peer_qt_QtGraphicsEnvironment.h.
1230 2007-04-18  Dalibor Topic  <robilad@kaffe.org>
1232         * native/jni/xmlj/xmlj_xpath.c: Don't include 
1233         gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
1235         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h:
1236         Removed empty header file.
1238         * include/Makefile.am (XMLJ_H_FILES): Removed
1239         gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
1241 2007-04-18  Dalibor Topic  <robilad@kaffe.org>
1243         * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Removed
1244         empty header file.
1246         * include/Makefile.am (QTPEER_H_FILES): Removed 
1247         gnu_java_awt_peer_qt_QtContainerPeer.h.
1249 2007-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1251         * native/jni/java-net/local.c:
1252         Fix import of FIONREAD.
1253         * native/jni/java-nio/gnu_java_nio_VMChannel.c,
1254         * native/jni/native-lib/cpnet.c:
1255         Likewise.
1256         
1257 2007-04-17  Dalibor Topic  <robilad@kaffe.org>
1259         * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH):
1260         Use AC_CHECK_PROGS and AC_MSG_ERROR. Check for
1261         gjavah, gcjh-wrapper-4.1 and gcjh-4.1. Error out
1262         when no javah implementation can be found.
1264 2007-04-17  Dalibor Topic  <robilad@kaffe.org>
1266         * configure.ac (CLASSPATH_WITH_JAVAH): Only check if
1267         the JNI headers need to be regenerated.
1269         * m4/acinclude.m4 (USER_SPECIFIED_JAVAH): Removed unused
1270         conditional.
1272 2007-04-17  Dalibor Topic  <robilad@kaffe.org>
1274         * lib/Makefile.am (JAVAH): Removed unused variable.
1276 2007-04-17  Casey Marshall  <csm@gnu.org>
1278         PR classpath/31302:
1279         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
1280         Always make a new socket.
1281         (bind, connect, getInetAddress, getLocalAddress, getPort,
1282         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
1283         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
1284         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
1285         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
1286         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
1287         getTrafficClass, setReuseAddress, getReuseAddress, close,
1288         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
1289         isInputShutdown, isOutputShutdown): Always use
1290         'underlyingSocket'.
1292 2007-04-16  Dalibor Topic  <robilad@kaffe.org>
1294         * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10
1295         warning.
1297 2007-04-16  Dalibor Topic  <robilad@kaffe.org>
1299         * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS):
1300         Added AM_LDFLAGS for automake 1.10.
1302 2007-04-16  Tom Tromey  <tromey@redhat.com>
1304         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
1305         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
1306         (createSocket): Change order of delegation.
1308 2007-04-16  Andrew Haley  <aph@redhat.com>
1310         * java/io/ObjectInputStream.java: (parseContent):  Call (String,
1311         Object) version of dumpElementln.
1312         (dumpElementln(String, Object)): New method.
1313         * java/io/ObjectOutputStream.java (writeObject): Call (String,
1314         Object) version of dumpElementln.
1315         (dumpElementln(String, Object)): New method.
1317 2007-04-16  Mark Wielaard  <mark@klomp.org>
1319         Fixes bug #31590
1320         * java/net/URI.java (parseServerAuthority): Allow empty portStr.
1322 2007-04-16  Andrew Haley  <aph@redhat.com>
1324         * org/omg/IOP/TaggedComponentHelper.java (read): Use
1325         read_octet_array(), not read().
1326         (write): Use write_octet_array(), not write().
1328         * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
1329         delegate has been set.
1331 2007-04-16  Chris Burdess  <dog@gnu.org>
1333         * gnu/xml/stream/XMLParser.java: Work around a problem with incorrectly
1334           formatted file URLs.
1336 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
1338         * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD):
1339         Fix portability warnings from automake 1.10.
1341 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
1343         * Makefile.am (EXTRA_DIST): Add ChangeLog-2006.
1345 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
1347         * native/target/.cvsignore: Removed.
1349 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
1351         * doc/Makefile.am: Fix portability warnings from
1352         automake 1.10.
1354 2007-04-15  Roman Kennke  <roman@kennke.org>
1356         * native/target/Linux/.cvsignore,
1357         * native/target/generic/.cvsignore: Removed.
1359 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
1361         * depcomp, install-sh, missing, mkinstalldirs,
1362         doc/texinfo.tex: Removed files generated by autogen.sh.
1364         * .cvsignore: Ignore generated files depcomp, install-sh, 
1365         missing, mkinstalldirs.
1367         * doc/.cvsignore: Ignore generated file doc/texinfo.tex.
1369 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
1371         * doc/cp-hacking.texinfo: Updated with information from
1372         INSTALL file. Removed duplicate and outdated information.
1373         Updated compiler information. Fixed versioning information
1374         where entries diverged. Turned command, option, file and
1375         URL strings into proper texinfo elements.
1377 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
1379         * configure.ac: Added support for Iceape libraries as 
1380         a substitute for Mozilla for Debian.
1382 2007-04-12  Roman Kennke  <roman@kennke.org>
1384         * java/nio/Buffer.java
1385         (array): New abstract method.
1386         (hasArray): New abstract method.
1387         (arrayOffset): New abstract method.
1388         (isDirect): New abstract method.
1390 2007-04-12  Roman Kennke  <roman@kennke.org>
1392         * java/nio/CharBuffer.java
1393         (wrap(CharSequence,int,int)): Reimplemented using specialized
1394         subclass.
1395         * java/nio/CharSequenceBuffer.java: New class. Implements char
1396         buffers that wrap CharSequences.
1398 2007-04-12  Francis Kung  <fkung@redhat.com>
1400         PR 23887
1401         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1402         (drawGlyphVector): Check for transforms before using optimized path.
1403         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1404         (FreetypeGlyphVector(FreetypeGlyphVector)): Initialize glyphTransforms array
1405         to null and check for nulls in copied array.
1406         (hasTransforms): New method.
1407         (performDefaultLayout): Check for identity transform.
1408         (setGlyphTransform): Check for equality before making changes.
1410 2007-04-12  Francis Kung  <fkung@redhat.com>
1412         PR 23887
1413         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1414         (getGlyphLogicalBounds): Fix number of coordinates in transform call.
1415         (performDefaultLayout): Respect transformation in font attributes.
1416         * javax/swing/plaf/basic/BasicProgressBarUI.java
1417         (getStringPlacement): Handle vertical orientations.
1418         (paintString): Space vertical text properly.
1420 2007-04-12  Francis Kung  <fkung@redhat.com>
1422         PR 31539
1423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1424         (ft2_map): New static variable.
1425         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState): Set up ft2_map.
1426         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Use cached ft2_map.
1428 2007-04-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1430         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1431         (clipboard_get_func): Call DeleteLocalRef.
1432         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
1433         (clipboard_targets_received): Likewise.
1434         (clipboard_uris_received): Likewise.
1436 2007-04-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1438         * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license.
1439         * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check.
1440         * m4/ax_func_which_gethostbyname_r.m4: New file.
1441         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for
1442         different number of arguments of gethostbyname_r.
1444 2007-04-12  Mark Wielaard  <mark@klomp.org>
1446         * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static
1447         inner class.
1448         (transCache): New static LRUChache field.
1449         (copyTransformToAttrs): Check whether a TransformAttribute already
1450         exists in the transCache for the given AffineTransform.
1452 2007-04-12  Mark Wielaard  <mark@klomp.org>
1454         * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8.
1456 2007-04-11  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1458         * native/jni/java-nio/javanio.c: Include fcntl.h instead of
1459         sys/fcntl.h.
1461 2007-04-11  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1463         * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
1464         warning on some compilers, e.g. MIPSpro.
1466 2007-04-11  Francis Kung  <fkung@redhat.com>
1468         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
1469         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded
1470         object reference.
1471         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1472         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font.
1473         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks.
1475 2007-04-11  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1477         * configure.ac: Added AC_C_INLINE.
1479 2007-04-10  Mark Wielaard  <mark@klomp.org>
1481         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
1482         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile):
1483         Destroy surface after it is used to create a cairo context.
1485 2007-04-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1487         * javax/management/ObjectName.java:
1488         (parse(String)): Catch multiple wildcards,
1489         initialise with an empty string (so null isn't
1490         appended), and emit comma even when wildcard
1491         ends the list.
1492         (checkComponents()): Catch newlines.
1493         (quote(String)): Handle newlines and quotes
1494         correctly.
1496 2007-04-09  Francis Kung  <fkung@redhat.com>
1498         PR 31311
1499         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1500         (dispose): Removed method.
1501         (disposeSurface): Removed method.
1502         * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
1503         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
1504         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
1505         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
1506         after it is used to create a cairo context.
1508 2007-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1510         * javax/management/ObjectName.java:
1511         (propertyValuePattern): New cache variable.
1512         (parse(String)): Record in propertyListPattern
1513         not propertyPattern and set propertyValuePattern.
1514         (isPropertyPattern()): Semantics altered to be the
1515         OR of isPropertyListPattern() and isPropertyValuePattern().
1516         (isPropertyListPattern()): Implemented.
1517         (isPropertyValuePattern()): Implemented.
1518         (isPropertyValuePattern(String)): Implemented.
1519         
1520 2007-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1522         * javax/management/ObjectName.java:
1523         (parse(String)): Fix result of getKeyPropertyListString().
1524         
1525 2007-04-07  Mark Wielaard  <mark@klomp.org>
1527         * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor,
1528         resource/META-INF/services/javax.xml.parsers.SAXParserFactory,
1529         resource/META-INF/services/javax.xml.parsers.TransformerFactory,
1530         resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory,
1531         resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList,
1532         resource/META-INF/services/org.xml.sax.driver: Removed.
1534 2007-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1536         * javax/management/ObjectName.java:
1537         (checkComponents()): Separate value and
1538         key illegal characters to allow value wildcards.
1539         
1540 2007-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1542         * javax/management/ObjectName.java
1543         (parse(String)): Fix parsing where the wildcard
1544         is juxtaposed between other pairs.
1545         
1546 2007-04-06  Mark Wielaard  <mark@klomp.org>
1548         * configure.ac (VERSION): Set to 0.96-pre.
1550 2007-04-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1552         * javax/management/MBeanAttributeInfo.java:
1553         (serialVersionUID):  Added.
1554         * javax/management/MBeanFeatureInfo.java:
1555         (writeObject(ObjectOutputStream)): Added for
1556         later 1.6 support.
1557         * javax/management/Notification.java:
1558         (serialVersionUID): Added.
1559         (Notification(String,Object,long,long)): Make
1560         default message the empty string not null.
1561         (Notification(String,Object,long,long,String)):
1562         Set source explicitly.
1563         (writeObject(ObjectOutputStream)): Added to match
1564         Sun.
1565         
1566 2007-04-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1568         * java/util/Hashtable.java:
1569         (putAllInternal(Map)): Remove redundant semi-colon.
1570         
1571 2007-04-06  Mark Wielaard  <mark@klomp.org>
1573         * lib/mkcollections.pl.in: Add externalclasses.
1574         * java/util/Collections.java: Unroll enhanced for loops.
1575         * java/util/HashMap.java: Likewise.
1576         * java/util/Hashtable.java: Likewise.
1577         * java/util/TreeMap.java: Likewise.
1579 2007-04-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1581         * gnu/javax/management/Translator.java:
1582         (getTypeName(type)): Move type name creation to its own method.
1583         * javax/management/ObjectName.java:
1584         (WILDCARD): Added.
1585         
1586 2007-04-04  Andrew Haley  <aph@redhat.com>
1588         * javax/management/ObjectName.java:
1589         (serialVersionUID): Declare.
1590         Make all fields transient.
1591         (parse): Break out from constructor.
1592         (writeObject, readObject): New methods.
1593         
1594 2007-04-05  Francis Kung  <fkung@redhat.com>
1596         * include/Makefile.am: Remove old entry.
1598 2007-04-05  Francis Kung  <fkung@redhat.com>
1600         * gnu/java/awt/peer/gtk/GtkToolkit.java
1601         (createDragGestureRecognizer): Remove failing subClass call.
1603 2007-04-05  Gary Benson  <gbenson@redhat.com>
1605         * java/util/GregorianCalendar.java
1606         (computeFields): Fix WEEK_OF_MONTH calculation.
1608 2007-04-05  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1610         PR classpath/22800:
1611         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
1612         (doubleToRawLongBits, longBitsToDouble): Swap the byte
1613         ordering for little-endian arms without VFP.
1615 2007-04-05  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1617         * native/jni/java-net/java_net_VMNetworkInterface.c
1618         [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
1619         #ifdef.
1620         (getVMInterfaces): Added UNUSED argument attribute.
1622 2007-04-05  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1624         * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
1625         native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c
1626         [HAVE_ICONV] (createRawData, getData, infid, outfid): Added
1627         #ifdef.
1628         (openIconv): Added UNUSED argument attribute, so we can build with
1629         -Werror.
1630         (decode): Likewise.
1631         (closeIconv): Likewise.
1633 2007-04-05  Mark Wielaard  <mark@klomp.org>
1635         * autogen.sh: Recognize automake 1.10.
1636         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability.
1637         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS.
1638         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise.
1639         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise.
1640         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise.
1641         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise.
1642         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise.
1644 2007-04-04  Mark Wielaard  <mark@klomp.org>
1646         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
1647         (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL.
1648         * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and
1649         call deliver() after pixels have been set.
1650         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only
1651         set icon when image has been properly loaded.
1653 2007-04-04  Francis Kung  <fkung@redhat.com>
1655         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1656         (drawCairoSurface): Made protected.
1657         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1658         (cairoDrawGlyphVector): Removed method.
1659         (cairoSetFont): Removed method.
1660         (disposeNative): Removed method.
1661         (drawCairoSurface): New method.
1662         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1663         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
1664         locking.
1665         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
1666         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
1668 2007-04-04  Gary Benson  <gbenson@redhat.com>
1670         * java/util/GregorianCalendar.java
1671         (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
1673 2007-04-04  Roman Kennke  <roman@kennke.org>
1675         * java/nio/channels/spi/SelectorProvider.java
1676         (inheritedChannel): Make method concrete and move default impl
1677         to here. Perform security checks as mandated by the spec.
1678         * gnu/java/nio/SelectorProviderImpl.java
1679         (inheritedChannel): Removed. Default impl is in SelectorProvider.
1681 2007-04-04  Roman Kennke  <roman@kennke.org>
1683         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1684         (init_glib_threads): Create global reference on lock object.
1686 2007-04-04  Roman Kennke  <roman@kennke.org>
1688         * java/awt/Frame.java
1689         (weakFrames): Make private.
1690         (weakFramesQueue): New field. A reference queue to collect
1691         GCed references.
1692         (getFrames): Only do one iterations to avoid collecting null
1693         references.
1694         (hasDisplayableFrames): New helper method. Checks if there
1695         are any displayable frames. This is used by the event queue
1696         shutdown check.
1697         (noteFrame): Clean up GCed frames in the list.
1698         * java/awt/EventQueue.java
1699         (isShutdown): Move frame checking code into Frame.
1701 2007-04-03  Roman Kennke  <roman@kennke.org>
1703         * java/lang/System.java
1704         (inheritedChannel): New method, wraps
1705         SelectorProvider.inheritedChannel().
1706         * java/nio/channels/spi/SelectorProvider.java
1707         (inheritedChannel): New abstract method.
1708         * gnu/java/nio/SelectorProviderImpl.java
1709         (inheritedChannel): New method, return null as default.
1711 2007-04-03  Roman Kennke  <roman@kennke.org>
1713         * java/nio/ByteOrder.java
1714         (nativeByteOrder): Let this fail when the corresponding
1715         property is not set properly.
1717 2007-04-03  Roman Kennke  <roman@kennke.org>
1719         * javax/swing/plaf/basic/BasicTreeUI.java
1720         (getPathBounds): Consider the tree's insets. Added a bunch of
1721         null checks.
1723 2007-04-03  Roman Kennke  <roman@kennke.org>
1725         * javax/swing/plaf/basic/BasicLabelUI.java
1726         (cachedInsets): New field. Used for reusing the insets instance.
1727         (getFontMetrics): New helper method for fetching a suitable
1728         FontMetrics object.
1729         (getPreferredSize): Use new helper method for font metrics.
1730         (paint): Only do something if we have an icon or text.
1731         Use cached Insets instance and new font metrics helper.
1732         (paintDisabledText): Don't restore the graphics' color.
1733         (paintEnabledText): Don't restore the graphics' color.
1735 2007-04-03  Roman Kennke  <roman@kennke.org>
1737         * javax/swing/plaf/metal/MetalButtonUI.java
1738         (paintButtonPressed): Fill the whole button not only visibleRect.
1739         * javax/swing/plaf/metal/MetalLookAndFeel.java
1740         (LAF_defaults): Removed.
1741         (getDefaults): Always fetch super's defaults.
1742         * javax/swing/plaf/metal/MetalMenuBarUI.java
1743         (update): Don't leave 2 pixel gap.
1745 2007-04-03  Roman Kennke  <roman@kennke.org>
1747         * native/target/.cvsignore,
1748         * native/target/Linux/.cvsignore,
1749         * native/target/generic/.cvsignore: Some new ignores.
1751 2007-04-03  Roman Kennke  <roman@kennke.org>
1753         * gnu/java/awt/peer/gtk/GThreadMutex.java,
1754         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1755         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1756         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1757         * native/jni/gtk-peer/gthread-jni.c,
1758         * native/jni/gtk-peer/gthread-jni.h: Removed.
1759         * native/jni/gtk-peer/Makefile.am: Removed obsolete entries
1760         for removed files.
1761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1762         Removed unused bits from gthread-jni.c.
1764 2007-04-03  Francis Kung  <fkung@redhat.com>
1766         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1767         (getGlyphs(int[], int[], long[])): Return void.
1769 2007-04-03  Kyle Galloway  <kgallowa@redhat.com>
1771         * gnu/classpath/jdwp/value/ArrayValue.java: New file. 
1773 2007-04-03  Roman Kennke  <roman@kennke.org>
1775         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1776         (global_lock): New global variable that holds the object reference
1777         to the global GTK lock.
1778         (init_glib_threads): Add lock argument. Use
1779         gdk_threads_set_lock_functions to replace GTK's locking function
1780         with two callbacks that allow reentrant locking, based on
1781         JNI's MonitorEnter() and MonitorExit().
1782         (jni_lock_cb): New callback function for GTK locking.
1783         (jni_unlock_cb): New callback function for GTK unlocking.
1784         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument.
1785         Call init_glib_threads() with lock object.
1786         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
1787         Regenerated.
1788         * gnu/java/awt/peer/gtk/GtkToolkit.java
1789         (GTK_LOCK): New static field. This is used as the global lock for
1790         GTK.
1791         (gtkInit): Add lock parameter.
1792         (static_init): Initialize global lock and call gtkInit() with
1793         that lock.
1795 2007-04-02  Francis Kung  <fkung@redhat.com>
1797         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1798         (fontSet): Initialize to null.
1799         (FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet
1800         array with default font if needed.
1801         (FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields.
1802         (getNativeFontPointer): New native method.
1803         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated.
1804         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
1805         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer):
1806         New function.
1808 2007-04-02  Francis Kung  <fkung@redhat.com>
1810         * INSTALL: Document known bug in at-spi, atk, and gail packages prior to
1811         version 1.18.0.
1813 2007-04-02  Francis Kung  <fkung@redhat.com>
1815         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1816         (cairoDrawGlyphVector): Added parameter.
1817         (drawGlyphVector): Retrieve and pass fontset parameter.
1818         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1819         (cairoDrawGlyphVector): Added parameter.
1820         (lock): Removed unnecessary cast.
1821         (unlock): Removed unnecessary cast and explicitly set to ONE variable.
1822         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1823         (fontSet): New field.
1824         (dispose): New native method.
1825         (finalize): New method.
1826         (getGlyphFonts): New method.
1827         (getGlyphOutline): Pass fontSet parameter to native method.
1828         (getGlyphOutlineNative): Added parameter.
1829         (getGlyphs): Pass extra parameters to native method.
1830         (getGlyphsNative): Added parameters.
1831         (getKerning): Added fontSet parameter.
1832         (getMetricsNative): Added fontSet parameter.
1833         (performDefaultLayout): Only check kerning if glyphs use the same font.
1834         (setupGlyphMetrics): Pass extra parameters to native methods.
1835         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1836         * include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated.
1837         * native/jni/gtk-peer/gdkfont.h: Enable pango engine.
1838         (peerfont): Add variable for fontset.
1839         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1840         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept
1841         array of font pointers to use when drawing glyphs.
1842         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
1843         (getFontSet): New function.
1844         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function.
1845         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative):
1846         Added and use new fontSet parameter.
1847         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango
1848         to retrieve glyphs and estimate font, if the current font does not contain
1849         a requested glyph.
1850         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use
1851         new fontSet parameter.
1852         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added
1853         and use new fontSet parameter.
1854         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1855         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset.
1856         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset.
1858 2007-04-02  Andrew Haley  <aph@redhat.com>
1860         * javax/management/ObjectName.java: Handle 0-length names.
1861         * javax/management/MBeanServerFactory.java: Use the domain that
1862         we've been passed, not the fixed string "DefaultDomain".
1864 2007-04-01  Mark Wielaard  <mark@klomp.org>
1866         * org/omg/CORBA/DynAny.java: Mark as deprecated.
1867         * org/omg/CORBA/DynArray.java: Likewise.
1868         * org/omg/CORBA/DynEnum.java: Likewise.
1869         * org/omg/CORBA/DynFixed.java: Likewise.
1870         * org/omg/CORBA/DynSequence.java: Likewise.
1871         * org/omg/CORBA/DynStruct.java: Likewise.
1872         * org/omg/CORBA/DynUnion.java: Likewise.
1873         * org/omg/CORBA/DynValue.java: Likewise.
1874         * org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise.
1875         (create_dyn_any): Likewise.
1876         (create_dyn_array): likewise.
1877         (create_dyn_enum): Likewise.
1878         (create_dyn_sequence): Likewise.
1879         (create_dyn_struct): Likewise.
1880         (create_dyn_union): Likewise.
1882 2007-04-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1884         * gnu/javax/management/Translator.java:
1885         (fromJava(Object[],Method)): Use the array from the
1886         parameter not the newly created one...
1887         (fromJava(Object, Type)): Support MXBeans.
1888         * javax/management/JMX.java:
1889         (newMXBeanProxy(MBeanServerConnection,ObjectName,Class)):
1890         Call newMXBeanProxy rather than newMBeanProxy.
1891         * javax/management/StandardMBean.java:
1892         (setAttribute(Attribute)): Use InvocationTargetException
1893         as cause.
1894         
1895 2007-03-31  Jeroen Frijters  <jeroen@frijters.net>
1897         PR classpath/31402:
1898         * java/util/concurrent/CopyOnWriteArrayList.java
1899         (remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
1901 2007-03-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1903         * javax/management/openmbean/CompositeDataInvocationHandler.java:
1904         New file.
1905         
1906 2007-03-30  Kyle Galloway  <kgallowa@redhat.com>
1908         * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
1909         (write): Replace writeLong with writeInt for above.
1911 2007-03-30  Tom Tromey  <tromey@redhat.com>
1913         PR libgcj/29869:
1914         * gnu/java/util/jar/JarUtils.java (log): Commented out.
1915         (readSFManifest): Don't log.
1917 2007-03-29  Tom Tromey  <tromey@redhat.com>
1919         PR libgcj/29869:
1920         * java/util/logging/LogManager.java (readConfiguration): Handle
1921         comma-separated 'handlers'.  Don't try to add a non-existing
1922         handler.
1924 2007-03-29  Keith Seitz  <keiths@redhat.com>
1926         * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
1927         Event type is "THREAD_START" not "THERAD_END".
1929         * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
1930         Handle configure strings ":port" and "port".
1932 2007-03-29  Francis Kung  <fkung@redhat.com>
1934         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1935         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch.
1937 2007-03-29  Mark Wielaard  <mark@klomp.org>
1939         * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative.
1941 2007-03-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1943         * javax/management/StandardMBean.java:
1944         (setAttribute(Attribute)): Add handling of primitive
1945         types and subtype parameters.
1946         (getMutator(String,Class<?>)): New helper method to
1947         return the mutator.
1948         
1949 2007-03-28  Roman Kennke  <roman@kennke.org>
1951         * java/io/OutputStreamWriter.java,
1952         * java/io/InputStreamReader.java: Revert big stream patch due to
1953         problems.
1955 2007-03-28  Tom Tromey  <tromey@redhat.com>
1957         PR classpath/31303:
1958         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
1959         (createXMLReader): Code in Classpath default.
1961 2007-03-28  Tom Tromey  <tromey@redhat.com>
1963         PR classpath/31276:
1964         * native/jni/java-lang/java_lang_VMDouble.c
1965         (parseDoubleFromChars): Use %p, not %i.
1967 2007-03-28  Mark Wielaard  <mark@klomp.org>
1969         * native/jni/java-nio/Makefile.am (LIBADD): Don't add
1970         libclasspathnative.
1971         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1972         (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask.
1974 2007-03-27  Francis Kung  <fkung@redhat.com>
1976         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1977         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of
1978         accessibility modules as temporary workaround for Gnome bug.
1980 2007-03-27  Kyle Galloway  <kgallowa@redhat.com>
1982         * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java
1983         (executeResume): Change to call VMVirtualMachine.resumeThread. 
1985 2007-03-27  Roman Kennke  <roman@kennke.org>
1987         * java/io/InputStreamReader.java
1988         (BUFFER_SIZE): New constant.
1989         (bytesCache): Removed.
1990         (cacheLock): Removed.
1991         (hasSavedSurrogate): Removed.
1992         (lastArray): New field. Used for caching CharBuffers.
1993         (lastBuffer): New field. Used for caching CharBuffers.
1994         (maxBytesPerChar): Removed.
1995         (oneChar): New field. Caches a char array for read().
1996         (savedSurrogate): New field.
1997         (InputStreamReader): (all constructors) Cleaned up.
1998         Use initDecoderAndBuffer() method. Check for null parameters.
1999         Use new EncodingHelper.getDefaultCharset() for fetching the
2000         default charset.
2001         (decode): New helper method. Decodes using the NIO decoder or
2002         using a raw Latin1 decoding.
2003         (getCharBuffer): New helper method. Implements caching of
2004         CharBuffers for output arrays.
2005         (initDecoderAndBuffer): New helper method. Initializes the decoder
2006         and input buffer.
2007         (read): Use cached array.
2008         (read(char[],int,int)): Reworked using a cleaner NIO based
2009         implementation. This decodes the incoming data in bigger chunks
2010         rather then calling the decoder for each character.
2011         (ready): Also check the input buffer.
2012         (refillInputBuffer): New helper methods. Refills the input buffer
2013         when it runs out of data.
2014         * java/io/OutputStreamWriter.java
2015         (lastArray): Implements caching of the output array buffer.
2016         (lastBuffer): Implements caching of the output array buffer.
2017         (oneChar): New field. Caches a char array for write().
2018         (outputBuffer): Make this a ByteBuffer.
2019         (OutputStreamWriter): (all constructors) Cleaned up.
2020         Use initEncoderAndBuffer() method. Check for null parameters.
2021         Use new EncodingHelper.getDefaultCharset() for fetching the
2022         default charset.
2023         (encode): New helper method. Encodes the input buffer to the output
2024         buffer using either the NIO encoder or a raw Latin1 encoding.
2025         (encodeChars): New helper method. The encoding loop.
2026         (flush): Directly use the array of the output buffer.
2027         (getCharBuffer): New helper method. Implements caching of the
2028         output buffer.
2029         (initEncoderAndBuffer): New helper method for initialization.
2030         (write(char[],int,int)): Reworked to make better use of the NIO
2031         encoders.
2032         (write): Use cached array.
2033         (write(String,int,int)): Don't copy the string but rather wrap it
2034         and handle it the same as the wrapped char array.
2035         (writeConvert): Removed.
2036         * gnu/java/nio/charset/EncodingHelper.java
2037         (getDefaultCharset): New method. Returns the default charset for
2038         the case when the file.encoding charset is not valid. This
2039         always returns an UTF8 codec.
2041 2007-03-27  Roman Kennke  <kennke@aicas.com>
2043         * java/awt/Frame.java
2044         (weakFrames): Make this generic and package private.
2045         (noteFrame): Use generic WeakReference.
2046         * java/awt/EventQueue.java
2047         (isShutdown): Iterate over the weakFrames directly, rather than
2048         using Frame.getFrames(). The latter iterates several times over
2049         weakFrames completely and creates a new array on each call. The
2050         former iterates only once and aborts when it finds a frame which
2051         is displayable.
2053 2007-03-27  Roman Kennke  <kennke@aicas.com>
2055         * javax/swing/JScrollBar.java
2056         (getUnitIncrement(int)): Don't multiply direction parameter.
2057         (getBlockIncrement(int)): Don't multiply direction parameter.
2059 2007-03-26  Tom Tromey  <tromey@redhat.com>
2061         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
2062         (rmid Tool): Likewise.
2064 2007-03-26  Stepan Kasal  <skasal@redhat.com>
2066         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
2067         field.
2068         (getParser): Use new field.
2070 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
2072         * doc/cp-tools.texinfo: Fix node ordering.
2074 2007-03-19  Matthias Klose  <doko@ubuntu.com>
2076         * doc/Makefile.am: Build a gcjh(1) man page.
2077         * doc/cp-tools.texinfo: Add documentation for gcjh.
2079 2007-03-23  Jeroen Frijters  <jeroen@frijters.net>
2081         * java/net/ServerSocket.java (implAccept): set implCreated flag on
2082         socket.
2083         * java/net/Socket.java (implCreated): Make package accessible for
2084         ServerSocket.
2086 2007-03-22  Casey Marshall  <csm@gnu.org>
2088         * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
2089         check keyEncipherment bit of the certificate, and just pass the public
2090         key to the cipher.
2092 2007-03-20  Mario Torre  <neugens@limasoftware.net>
2094         * configure.ac: GConf requirement for building the java.util.prefs backend
2095         are relaxed down to version 2.6.0 (instead of 2.11.2).
2097 2007-03-19  Mario Torre  <neugens@limasoftware.net>
2099         * gnu/java/awt/peer/KDEDesktopPeer.java: 
2100         (mail): Fixed error dialog in KDE when the mail method is called without
2101         argument; now opens the default mailer with a blank window.
2102         (getCommand): Handle the use of kprinter as default print command for KDE.
2103         (supportCommand): Enable the print command when a KDE desktop is detected.
2105 2007-03-19  Jeroen Frijters  <jeroen@frijters.net>
2107         * java/net/Socket.java
2108         (implCreated): New field.
2109         (getImpl): Call impl.create() if it hasn't been called yet.
2110         (bind): Removed explicit impl.create() call.
2112 2007-03-18  Mark Wielaard  <mark@klomp.org>
2114         * javax/crypto/CipherOutputStream.java (write): Use out.write()
2115         not super.write().
2117 2007-03-18  Mark Wielaard  <mark@klomp.org>
2119         * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8
2120         gthread-2.0 >= 2.2 and gdk-pixbuf-2.0
2122 2007-03-16  Tom Tromey  <tromey@redhat.com>
2124         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
2125         name in File case.
2127 2007-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
2129         * resource/com/sun/tools/javac/messages.properties
2130         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
2131         messages for when --with-ecj-jar is not specified.
2133         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
2134         * tools/Makefile.am: Build com.sun.tools.javac package
2135         unconditionally.
2137 2007-03-16  Mark Wielaard  <mark@klomp.org>
2139         * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found.
2140         Also check for gtk+ dependency.
2142 2007-03-16  Tom Tromey  <tromey@redhat.com>
2144         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
2145         (printClass): Added filename argument.
2146         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
2147         (printClass): Added filename argument.
2148         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
2149         (printClass): Use user's file name.
2150         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
2151         (printClass): Use user's file name.
2152         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
2153         filename argument.
2154         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
2155         argument order.
2156         (writeHeaders): Use a HashMap.
2157         (run): Put class name into HashMap for writeHeaders.
2159 2007-03-16  Francis Kung  <fkung@redhat.com>
2161         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2162         (cairoArc): Make protected rather than private so it can be over-ridden.
2163         (cairoClip): Likewise.
2164         (cairoClosePath): Likewise.
2165         (cairoCurveTo): Likewise.
2166         (cairoDrawGlyphVector): Likewise.
2167         (cairoFill): Likewise.
2168         (cairoLineTo): Likewise.
2169         (cairoMoveTo): Likewise.
2170         (cairoNewPath): Likewise.
2171         (cairoRectangle): Likewise.
2172         (cairoResetClip): Likewise.
2173         (cairoRestore): Likewise.
2174         (cairoSave): Likewise.
2175         (cairoScale): Likewise.
2176         (cairoSetAntialias): Likewise.
2177         (cairoSetDash): Likewise.
2178         (cairoSetFillRule): Likewise.
2179         (cairoSetFont): Likewise.
2180         (cairoSetLine): Likewise.
2181         (cairoSetMatrix): Likewise.
2182         (cairoSetOperator): Likewise.
2183         (cairoSetRGBAColor): Likewise.
2184         (cairoStroke): Likewise.
2185         (drawPixels): Likewise.
2186         (init): Likewise.
2187         (setGradient): Likewise.
2188         (setPaintPixels): Likewise.
2189         (cairoDrawLine): Removed.
2190         (cairoDrawRect): Removed.
2191         (cairoFillRect): Removed.
2192         (cairoPreserveClip): Removed.
2193         (cairoRelCurveTo): Removed.
2194         (cairoRelLineTo): Removed.
2195         (cairoRelMoveTo): Removed.
2196         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2197         (cairoArc): New method wrapping superclass method in locks.
2198         (cairoClip): Likewise.
2199         (cairoClosePath): Likewise.
2200         (cairoCurveTo): Likewise.
2201         (cairoDrawGlyphVector): Likewise.
2202         (cairoFill): Likewise.
2203         (cairoLineTo): Likewise.
2204         (cairoMoveTo): Likewise.
2205         (cairoNewPath): Likewise.
2206         (cairoRectangle): Likewise.
2207         (cairoResetClip): Likewise.
2208         (cairoRestore): Likewise.
2209         (cairoSave): Likewise.
2210         (cairoScale): Likewise.
2211         (cairoSetAntialias): Likewise.
2212         (cairoSetDash): Likewise.
2213         (cairoSetFillRule): Likewise.
2214         (cairoSetFont): Likewise.
2215         (cairoSetLine): Likewise.
2216         (cairoSetMatrix): Likewise.
2217         (cairoSetOperator): Likewise.
2218         (cairoSetRGBAColor): Likewise.
2219         (cairoStroke): Likewise.
2220         (disposeNative): Likewise.
2221         (drawPixels): Likewise.
2222         (init): Likewise.
2223         (setGradient): Likewise.
2224         (setPaintPixels): Likewise.
2225         (draw): Do not lock, as locking is now done in the wrapped native methods.
2226         (drawComposite): Likewise.
2227         (drawGlyphVector): Likewise.
2228         (drawImage): Likewise.
2229         (drawRenderedImage): Likewise.
2230         (fill): Likewise.
2231         (setClip): Removed.
2232         (lock): Added documentation.
2233         (unlock): Added documentation.
2234         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
2235         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
2236         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2237         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
2238         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
2239         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
2240         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
2241         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
2242         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
2243         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
2245 2007-03-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2247         * javax/management/openmbean/ArrayType.java:
2248         (getArrayClassName(String, int)): Replaced by...
2249         (getArrayClassName(OpenType, int, boolean)):
2250         Returns appropriate class name for the array.
2251         (getDimensions(OpenType, int)): New method.
2252         (getPrimitiveType(Class<?>)): Likewise.
2253         (getPrimitiveTypeClass(OpenType<?>)): Likewise.
2254         (getElementType(OpenType<?>)): Likewise.
2255         (getElementTypeName(OpenType<?>)): Likewise.
2256         (ArrayType(int, OpenType<?>)): Rewritten
2257         to handle ArrayTypes as input.
2258         (ArrayType(SimpleType<?>, boolean)): New constructor.
2259         (equals(Object)): Handle primitiveArray flag.
2260         (hashCode()): Likewise.
2261         (getArrayType(OpenType<E>)): New method.
2262         (getPrimitiveArrayType(Class<T>)): Likewise.
2263         (isPrimitiveArray()): Likewise.
2264         (toString()): Updated to list primitiveArray
2265         flag.
2266         * javax/management/openmbean/OpenType.java:
2267         (OpenType(String,String,String)): Use Class.forName()
2268         and methods of Class to validate arrays.
2269         * javax/management/openmbean/SimpleType.java:
2270         Include causal exception when creating pre-defined types
2271         throws an exception.
2272         
2273 2007-03-09  Andreas Tobler  <a.tobler@schweiz.org>
2275         Port change from gcc:
2277         2007-03-06  Matthias Klose  <doko@ubuntu.com>
2279         * doc/Makefile.am(gkeytool.pod): Don't use sed -i.
2281 2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
2283         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
2284         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
2285         (executeGetValues): Use Value type.
2286         (exectureSetValues): Ditto.  
2287         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
2288         (executeGetValues): Use Value type.
2289         (executeSetValues): Ditto.
2290         (invokeMethod): Record method return type.
2291         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
2292         (executeGetValues): Use Value type.
2293         (executeSetValues): Ditto.
2294         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
2295         (executeGetValues): Use Value type.
2296         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
2297         (executeGetValues): Use Value type.
2298         (executeSetValues): Ditto.
2299         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return
2300         type.
2301         (getResultType): New Method.
2302         (setResultType): Ditto.
2303         * gnu/classpath/jdwp/util/Value.java: Remove.
2304         * gnu/classpath/jdwp/value: New Package.
2305         * gnu/classpath/jdwp/value/Value.java: New file.
2306         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
2307         * gnu/classpath/jdwp/value/ByteValue.java: New file.
2308         * gnu/classpath/jdwp/value/CharValue.java: New file.
2309         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
2310         * gnu/classpath/jdwp/value/FloatValue.java: New file.
2311         * gnu/classpath/jdwp/value/IntValue.java: New file.
2312         * gnu/classpath/jdwp/value/LongValue.java: New file.
2313         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
2314         * gnu/classpath/jdwp/value/ShortValue.java: New file.
2315         * gnu/classpath/jdwp/value/StringValue.java: New file.
2316         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
2317         * gnu/classpath/jdwp/value/VoidValue.java: New file.
2319 2007-03-09  Roman Kennke  <kennke@aicas.com>
2321         * java/awt/image/SinglePixelPackageSampleModel.java
2322         (createDataBuffer): Avoid use of Buffers class and create
2323         DataBuffer directly in place.
2325 2007-03-09  Roman Kennke  <kennke@aicas.com>
2327         * java/awt/image/ComponentSampleModel.java
2328         (tightPixelPacking): Removed.
2329         (ComponentSampleModel): Removed unnecessary 'optimization' code.
2330         (createDataBuffer): Avoid use of Buffers helper class.
2331         (getDataElements(int,int,int,int,Object,DataBuffer): Removed.
2332         (getDataElements(int,int,Object,DataBuffer): Do not use Buffers
2333         helper class and instead fetch the values directly. Don't expect
2334         any specific DataBuffer subclass.
2335         (setDataElements(int,int,int,int,Object,DataBuffer): Removed.
2336         (setDataElements(int,int,Object,DataBuffer): Do not use Buffers
2337         helper class and instead set the values directly. Don't expect
2338         any specific DataBuffer subclass.
2340 2007-03-08  Tom Tromey  <tromey@redhat.com>
2342         PR libgcj/31093:
2343         * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
2345 2007-03-08  Gary Benson  <gbenson@redhat.com>
2347         PR classpath/30983:
2348         * gnu/xml/dom/ls/DomLSParser.java (getInputSource):
2349         Do not use the entity resolver to resolve the top-level document.
2351 2007-03-07  Tom Tromey  <tromey@redhat.com>
2353         PR classpath/31057:
2354         * java/util/regex/Pattern.java (toString): New method.
2356 2007-03-07  Gary Benson  <gbenson@redhat.com>
2358         PR classpath/30906:
2359         * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
2360         New file.
2362 2007-03-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2364         * gnu/java/lang/management/BeanImpl.java:
2365         (translate(String)): Add horrible generics hacks
2366         to make things work with the new type signatures.
2367         * javax/management/loading/ClassLoaderRepository.java:
2368         Added generic types.
2369         * javax/management/openmbean/CompositeDataSupport.java:
2370         Likewise.
2371         * javax/management/openmbean/OpenMBeanOperationInfo.java:
2372         Likewise.
2373         * javax/management/openmbean/OpenMBeanParameterInfo.java:
2374         Likewise.
2376 2007-03-06  Francis Kung  <fkung@redhat.com>
2378         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2379         (getGlyphOutline): Apply glyph position translation.
2380         (getOutline): Do not apply glyph position translation.
2382 2007-03-06  Tom Tromey  <tromey@redhat.com>
2384         * tools/gnu/classpath/tools/javah/Main.java (getName): New
2385         method.
2386         (getParser): Now protected.  Use getName.  Add '-v' alias for
2387         --verbose.
2388         (postParse): New method.
2389         (run): Now protected.  Use postParse.
2390         * tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
2392 2007-03-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2394         * gnu/javax/management/Translator.java:
2395         (translate(String)): Use a Boolean array to
2396         comply with the new typing.
2397         * javax/management/openmbean/ArrayType.java:
2398         Added generic types and updated copyright headers.
2399         * javax/management/openmbean/CompositeData.java:
2400         Likewise.
2401         * javax/management/openmbean/CompositeDataSupport.java:
2402         Likewise.       
2403         * javax/management/openmbean/CompositeType.java:
2404         Likewise.       
2405         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
2406         Likewise.       
2407         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
2408         Likewise.       
2409         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
2410         Likewise.       
2411         * javax/management/openmbean/OpenType.java:
2412         Updated copyright header.       
2413         * javax/management/openmbean/SimpleType.java:
2414         Added generic types and updated copyright headers.
2415         * javax/management/openmbean/TabularData.java:
2416         Likewise.
2417         * javax/management/openmbean/TabularDataSupport.java:
2418         Likewise.
2419         * javax/management/openmbean/TabularType.java:
2420         Likewise.
2421         
2422 2007-03-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2424         * gnu/java/lang/management/BeanImpl.java:
2425         Reference the new Translator class.
2426         (translate(String)): Moved to Translator.
2427         * gnu/javax/management/Translator.java:
2428         New file.
2429         * javax/management/JMX.java:
2430         Likewise.
2431         * javax/management/MBeanServerInvocationHandler.java:
2432         Likewise.
2433         * javax/management/MXBean.java:
2434         Likewise.
2435         * javax/management/ObjectName.java:
2436         (ObjectName(String)): Catch a key without a value.
2437         * javax/management/StandardMBean.java:
2438         (StandardMBean(Class<?>)): Handle MXBeans.
2439         (StandardMBean(Object, Class<?>)): Likewise.
2440         (invoke(String,Object[],String[])): Disallow
2441         calling attribute methods and handle null signatures.
2442         (setAttribute(Attribute)): Search for mutators
2443         with the appropriate signature.
2444         * javax/management/openmbean/OpenType.java:
2445         Add generic typing.
2446         (ALLOWED_CLASSNAMES_LIST): New field.
2447         
2448 2007-03-02  Mario Torre  <neugens@limasoftware.net>
2450         PR classpath/31017:
2451         committed for Petteri Räty <betelgeuse@gentoo.org>
2452         * configure.ac: fix broken build for gcj browser plugin
2453         
2454 2007-03-02  Mario Torre  <neugens@limasoftware.net>
2456         * java/awt/Desktop.java: new java 1.6 class.
2457         * java/awt/peer/DesktopPeer.java: new inteface.
2458         * gnu/java/awt/peer/GnomeDesktopPeer.java: new class.
2459         * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class.
2460         * gnu/java/awt/peer/KDEDesktopPeer.java: new class.
2461         * java/awt/Toolkit.java (createDesktopPeer): new method to support the
2462         creation of DesktopPeer instances.
2463         * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and
2464         organize import.
2465         * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
2467 2007-02-28  Keith Seitz  <keiths@redhat.com>
2469         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
2470         (executeSet): Check if VM has capability for field access
2471         or modification events.
2472         * gnu/classpath/jdwp/processor/MethodCommandSet.java
2473         (executeByteCodes): Check if VM has capability and
2474         implement.
2475         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
2476         (executeMonitorInfo): Likewise.
2477         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
2478         (executeSourceDebugExtension): Likewise.
2479         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
2480         (executePopFrames): Likewise.
2481         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
2482         (executeOwnedMonitors): Likewise.
2483         (executeCurrentContendedMonitor): Likewise.
2484         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
2485         (executeCapabilities): Rewrite using new VMVirtualMachine
2486         capabilities.
2487         (executeRedefineClasses): Check if VM has capability and
2488         implement.
2489         (executeSetDefaultStratum): Likewise.
2490         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
2491         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
2492         (canWatchFieldModification): New class constant.
2493         (canWatchFieldAccess): Likewise.
2494         (canGetBytecodes): Likewise.
2495         (canGetSyntheticAttribute): Likewise.
2496         (canGetOwnedMonitorInfo): Likewise.
2497         (canGetCurrentContendedMonitor): Likewise.
2498         (canGetMonitorInfo): Likewise.
2499         (canRedefineClasses): Likewise.
2500         (canAddMethod): Likewise.
2501         (canUnrestrictedlyRedefineClasses): Likewise.
2502         (canPopFrames): Likewise.
2503         (canUseInstanceFilters): Likewise.
2504         (canGetSourceDebugExtension): Likewise.
2505         (canRequestVMDeathEvent): Likewise.
2506         (canSetDefaultStratum): Likewise.
2507         (redefineClasses): New method.
2508         (setDefaultStratum): Likewise.
2509         (getSourceDebugExtension): Likewise.
2510         (getBytecodes): Likewise.
2511         (getMonitorInfo): Likewise.
2512         (getOwnedMonitors): Likewise.
2513         (getCurrentContendedMonitor): Likewise.
2514         (popFrames): Likewise.
2516 2007-03-01  Roman Kennke  <kennke@aicas.com>
2518         * java/awt/Canvas.java
2519         (graphicsConfiguration): Removed duplicate (from Component) field.
2520         (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig
2521         field.
2522         (getGraphicsConfigurationImpl): Removed.
2523         * java/awt/Component.java
2524         (getGraphicsConfiguration): Moved implementation here. Synchronize
2525         on tree lock to prevent threading nastiness. Don't query peer
2526         and instead return the setting of the graphicsConfig field.
2527         (getGraphicsConfigurationImpl): Removed.
2528         * java/awt/Window.java
2529         (graphicsConfiguration): Removed duplicate (from Component) field.
2530         (Window): Set the Component's graphicsConfig field.
2531         (Window(GraphicsConfiguration)): Set the Component's graphicsConfig
2532         field.
2533         (Window(Window,GraphicsConfiguration)): Set the Component's 
2534         graphicsConfig field.
2535         (getGraphicsConfigurationImpl): Removed.
2536         (getGraphicsConfiguration): Fetch the local graphics env here
2537         if not already done and return that.
2539 2007-02-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
2541         * INSTALL: Document --with-ecj-jar configure option and ecj jar
2542         requirement for com.sun.tools.javac support.
2543         * configure.ac: Add --with-ecj-jar configure option.
2544         * gnu/classpath/Configuration.java.in (ECJ_JAR): New field.
2545         * tools/Makefile.am: Build decendents of com and sun directories.
2546         * resource/com/sun/tools/javac/messages.properties,
2547         resource/sun/rmi/rmic/messages.properties,
2548         tools/com/sun/javadoc/ClassDoc.java,
2549         tools/com/sun/javadoc/ConstructorDoc.java,
2550         tools/com/sun/javadoc/Doc.java,
2551         tools/com/sun/javadoc/DocErrorReporter.java,
2552         tools/com/sun/javadoc/Doclet.java,
2553         tools/com/sun/javadoc/ExecutableMemberDoc.java,
2554         tools/com/sun/javadoc/FieldDoc.java,
2555         tools/com/sun/javadoc/MemberDoc.java,
2556         tools/com/sun/javadoc/MethodDoc.java,
2557         tools/com/sun/javadoc/PackageDoc.java,
2558         tools/com/sun/javadoc/ParamTag.java,
2559         tools/com/sun/javadoc/Parameter.java,
2560         tools/com/sun/javadoc/ProgramElementDoc.java,
2561         tools/com/sun/javadoc/RootDoc.java,
2562         tools/com/sun/javadoc/SeeTag.java,
2563         tools/com/sun/javadoc/SerialFieldTag.java,
2564         tools/com/sun/javadoc/SourcePosition.java,
2565         tools/com/sun/javadoc/Tag.java,
2566         tools/com/sun/javadoc/ThrowsTag.java,
2567         tools/com/sun/javadoc/Type.java,
2568         tools/com/sun/javadoc/TypeVariable.java,
2569         tools/com/sun/tools/doclets/Taglet.java,
2570         tools/com/sun/tools/javac/Main.java,
2571         tools/com/sun/tools/javac/Messages.java,
2572         tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java:
2573         New files.
2575 2007-02-28  Keith Seitz  <keiths@redhat.com>
2577         * gnu/classpath/jdwp/processor/MethodCommandSet.java
2578         (executeLineTable): Use ReferenceTypeId instead of
2579         ClassReferenceTypeId.
2580         (executeVariableTable): Likewise.
2581         (executeVariableTableWithGeneric): Fix error message.
2582         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
2583         (executeSignatureWithGeneric): Fix error message.
2584         (executeFieldWithGeneric): Likewise.
2585         (executeMethodsWithGeneric): Likewise.
2586         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
2587         (executeGetValues): Use ThreadId instead of ObjectId.
2588         (executeSetValues): Likewise.
2589         (executeThisObject): Likewise.
2591 2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
2593         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
2594         * gnu/classpath/jdwp/util/NullObject.java: New class.
2595         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
2596         (getObjectId): Handle null object.
2597         (get): Handle objectId of 0. 
2599 2007-02-26  Francis Kung  <fkung@redhat.com>
2601         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2602         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated
2603         function for creating new font map.
2605 2007-02-26  Francis Kung  <fkung@redhat.com>
2607         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2608         (drawCairoSurface): Do not reset clip.
2609         (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise.
2611 2007-02-23  Francis Kung  <fkung@redhat.com>
2613         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2614         (drawCairoSurface): New method.
2615         (drawImage(Image,AffineTransform,Color,ImageObserver)): Use new
2616         drawCairoSurface() method.
2617         * gnu/java/awt/peer/gtk/CairoSurface.java
2618         (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct
2619         width/height values, and copy sharedBuffer value.
2620         (createWritableChild): Remove debug line.
2621         (drawSurface): Removed method.
2622         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
2623         (drawComposite): Translate image when drawing.
2625 2007-02-23  Gary Benson  <gbenson@redhat.com>
2626             Jakub Jelinek  <jakub@redhat.com>
2628         PR libgcj/17002
2629         PR classpath/28550
2630         * java/util/Date.java (parse): Properly parse 09:01:02 as
2631         hours/minutes/seconds, not as hours/minutes/year.
2632         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
2633         {start,end}TimeMode constructor by calling shorter constructor,
2634         set {start,end}TimeMode fields after it returns.
2635         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
2636         startTimeMode to WALL_TIME.
2637         (endStartRule): Similarly.
2638         (getOffset): Handle properly millis + dstOffset overflowing into the
2639         next day.  Adjust startTime resp. endTime based on startTimeMode
2640         resp. endTimeMode.
2641         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
2642         static fields.
2643         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
2644         If non-null, set up aliases0 and don't put anything into
2645         timezones0.
2646         (defaultZone): Call getTimeZone instead of timezones().get.
2647         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
2648         getTimeZoneInternal instead of timezones().get.
2649         (parseTime): Parse correctly hour:minute.
2650         (getTimeZoneInternal): New private method.
2651         (getTimeZone): Do the custom ID checking first, canonicalize
2652         ID for custom IDs as required by documentation.  Call
2653         getTimeZoneInternal to handle the rest.
2654         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
2655         (getAvailableIDs(File,String,ArrayList)): New private method.
2656         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
2657         * vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
2658         To read /etc/localtime, use ZoneInfo.readTZFile instead of
2659         VMTimeZone.readtzFile.  Get better timezone name for
2660         /etc/localtime, either if it is a symlink or through
2661         /etc/sysconfig/clock.
2662         (readSysconfigClockFile): New static method.
2663         (readtzFile): Removed.
2664         * gnu/java/util/ZoneInfo.java: New file.        
2665         * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
2666         * NEWS: Documented TimeZone interface changes.
2668 2007-02-23  Francis Kung  <fkung@redhat.com>
2670         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
2671         (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line.
2673 2007-02-22  Keith Seitz  <keiths@redhat.ecom>
2675         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
2676         (getAllLoadedClassesCount): Remove.
2677         (getAllLoadedClasses): Return a Collection.
2678         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
2679         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
2680         now returns Collection.
2681         (executeAllClasses): Likewise.
2682         Get size of return from Colleciton instead of calling
2683         getAllLoadedClassesCount.
2685 2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
2687         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
2688         (executeGetValues): Pass a signature byte to VMFrame.getValue.
2689         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
2690         signature parameter.
2692 2007-02-22  Francis Kung  <fkung@redhat.com>
2694         * gnu/java/awt/peer/gtk/CairoSurface.java
2695         (copyAreaNative): Pass surface pointer into copyAreaNative2().
2696         (copyAreaNative2): Add parameter for surface pointer.
2697         (getFlippedBuffer): Add parameter for surface pointer.
2698         (getGtkImage): Pass surface pointer into getFlippedBuffer().
2700 2007-02-21  Francis Kung  <fkung@redhat.com>
2702         * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java
2703         (constructor): Add pre-multiplied colour model to types available for
2704         optimization.
2705         (updateBufferedImage): Change surface.getPixels() call to surface.getData().
2706         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2707         (drawImage): Add checks before using CairoSurface optimization.
2708         * gnu/java/awt/peer/gtk/CairoSurface.java
2709         (bufferPointer): Removed field.
2710         (sharedBuffer): New field.
2711         (CairoSurface(GtkImage)): Copy array rather than using setPixels() call.
2712         (CairoSurface(int,int,int)): Use getData() convenience method.
2713         (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference
2714         to deleted bufferPointer field.
2715         (copyAreaNative): Update documentation, remove reference to bufferPointer.
2716         (copyAreaNative2): Remove reference to deleted bufferPointer field.
2717         (destroy): Remove reference to deleted bufferPointer field.
2718         (dispose): Updated to reflect new method signature for destroy().
2719         (drawSurface): Added documentation.
2720         (getData): New convience method.
2721         (getFlippedBuffer): Removed method parameters.
2722         (getGtkImage): Updated to reflect new method signature.
2723         (getPixels): Removed method.
2724         (nativeGetElem): Removed method.
2725         (netiveGetPixels): Removed method.
2726         (nativeSetElem): Removed method.
2727         (nativeSetPixels): Removed method.
2728         (setPixels): Removed method.
2729         (syncJavaToNative): New method.
2730         (syncNativeToJava): New method.
2731         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
2732         (draw): Sync buffers if necessary.
2733         (drawGlyphVector): Likewise.
2734         (drawImage): Likewise.
2735         (drawRenderedImage): Likewise,
2736         (fill): Likewise.
2737         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
2738         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
2739         (Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to
2740         surface rather than pointer to buffer.
2741         (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for
2742         copied arrays.
2743         (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays.
2744         (Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve
2745         information on size using JNI calls.
2746         (Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed.
2747         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed.
2748         (Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed.
2749         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed.
2750         (Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function.
2751         (Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function.
2752         (BUFFER): Removed constant.
2753         (SHARED): New constant.
2755 2007-02-20  Gary Benson  <gbenson@redhat.com>
2757         * javax/management/ObjectName.java
2758         (domainMatches): New method.
2759         (apply): Rearranged to use the above.
2761 2007-02-19  Mark Wielaard  <mark@klomp.org>
2763         * doc/.cvsignore: Add *.1.
2764         * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES.
2766 2007-02-19  Dalibor Topic  <robilad@kaffe.org>
2768         * cp-hacking.texinfo, cp-tools.texinfo, 
2769         cp-vmintegration.texinfo: Prefix output file name
2770         with cp.
2772 2007-02-19  Gary Benson  <gbenson@redhat.com>
2774         * javax/management/ObjectName.java
2775         (properties): Initialize when declared.
2776         (ObjectName(String)): Don't initialize properties here.
2777         (ObjectName(String, String, String): Likewise.
2779 2007-02-19  Chris Burdess  <dog@gnu.org>
2781         Fixes #30831
2782         * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
2783           properties when reader is available.
2785 2007-02-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2787         * javax/management/MBeanServer.java:
2788         (queryMBeans(ObjectName,QueryExp)): Returned
2789         generically-typed Set.
2790         (queryNames(ObjectName,QueryExp)): Likewise.
2791         * javax/management/MBeanServerConnection.java:
2792         (queryMBeans(ObjectName,QueryExp)): Returned
2793         generically-typed Set.
2794         (queryNames(ObjectName,QueryExp)): Likewise.
2795         * javax/management/ObjectName.java:
2796         Use a generically-typed TreeMap.
2797         (ObjectName(String,Hashtable<String,String>):
2798         Genericized.
2799         (getKeyPropertyList()): Likewise.
2800         * javax/management/StandardMBean.java:
2801         Use a generically-typed interface class.
2802         (StandardMBean(Class<?>)): Genericized.
2803         (StandardMBean(T, Class<T>)): Likewise.
2804         (getImplementationClass()): Likewise.
2805         (getMBeanInterface()): Likewise.
2806         
2807 2007-02-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2809         * javax/management/Descriptor.java:
2810         New file.
2811         * javax/management/DescriptorRead.java:
2812         Likewise.
2813         * javax/management/DescriptorAccess.java:
2814         Likewise.
2815         
2816 2007-02-16  Matthias Klose  <doko@ubuntu.com>
2818         * doc/Makefile.am: Add rules to build and install man pages
2819         from texinfo docs.
2820         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
2821         Rename, prefix files with "cp-".
2822         * doc/cp-tools.texinfo: Add markup for man page generation,
2823         add documentation for command line options for gjar, gjavah,
2824         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
2825         doc/texi2pod.pl: New, taken from the GCC sources.
2827 2007-02-16  Francis Kung  <fkung@redhat.com>
2829         * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file.
2830         * gnu/java/awt/peer/gtk/CairoSurface.java
2831         (CairoDataBuffer): Removed inner class.
2832         (CairoSurface(int,int,int,int)): New constructor.
2833         (CairoSurface(int,int)): Delegate to new constructor.
2834         (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor
2835         for creating child rasters.
2836         (create): Added int[] parameter.
2837         (createChild): New method.
2838         (createCompatibleWritableRaster): New methods.
2839         (createTranslatedChild): New method.
2840         (createWritableChild): New method.
2841         (createWritableTranslatedChild): New method.
2842         (destroy): Added int[] parameter.
2843         (dispose): Only free native resources if this Surface has no parents.
2844         (isCompatibleColorModel): New method.
2845         (isCompatibleSampleModel): New method.
2846         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
2847         (draw): Set transform, smarter bounds generation.
2848         (drawComposite): Improved clipping.
2849         (drawImage): Fixed bounds translation.
2850         (drawRenderedImage): Set transform in buffer.
2851         (fill): Set transform in buffer.
2852         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
2853         (createRaster): New method.
2854         * java/awt/image/BufferedImage.java
2855         (BufferedImage(int,int,int)): Use optimized raster if possible.
2856         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
2857         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
2858         (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between
2859         Cairo and Java.
2860         (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
2862 2007-02-16  Francis Kung  <fkung@redhat.com>
2864         * javax/management/NotificationBroadcasterSupport.java: Update imports.
2866 2007-02-16  Andrew Haley  <aph@redhat.com>
2868         * gnu/java/lang/management/MemoryMXBeanImpl.java,
2869         javax/management/MBeanServerDelegate.java: Use
2870         gnu.javax.management.ListenerData rather than
2871         gnu.classpath.ListenerData.
2872         * gnu/javax/management/ListenerData.java: Move here from
2873         gnu/classpath/ListenerData.java.
2875 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
2877         PR classpath/28652:
2878         * javax/management/MBeanInfo.java (MBeanInfo): 
2879         Use clone to duplicate the arrays in order to
2880         preserve the array type.
2881         
2882 2007-02-15  Gary Benson  <gbenson@redhat.com>
2884         * gnu/javax/management/Server.java
2885         (registerMBean): Always register objects that implement the
2886         MBeanRegistration interface, and check the name returned by
2887         preRegister before using it.
2889 2007-02-15  Roman Kennke  <kennke@aicas.com>
2891         * java/nio/ByteOrder.java
2892         (nativeOrder): Avoid NPE when comparing a system property.
2894 2007-02-13  Gary Benson  <gbenson@redhat.com>
2896         * javax/management/ObjectName.java
2897         (toString): Return this item's canonical name.
2899 2007-02-12  Francis Kung  <fkung@redhat.com>
2901         * gnu/java/awt/ClasspathToolkit.java: 
2902         * gnu/java/awt/peer/gtk/AsyncImage.java,
2903         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
2904         * gnu/java/awt/peer/gtk/CairoGraphics2D.java,
2905         * gnu/java/awt/peer/gtk/CairoSurface.java,
2906         * gnu/java/awt/peer/gtk/ComponentGraphics.java,
2907         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
2908         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
2909         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2910         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
2911         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2912         * gnu/java/awt/peer/gtk/GtkChoicePeer.java,
2913         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2914         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java,
2915         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2916         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2917         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2918         * gnu/java/awt/peer/gtk/GtkImage.java,
2919         * gnu/java/awt/peer/gtk/GtkImageConsumer.java,
2920         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2921         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2922         * gnu/java/awt/peer/gtk/GtkMainThread.java,
2923         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
2924         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
2925         * gnu/java/awt/peer/gtk/GtkMenuPeer.java,
2926         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
2927         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
2928         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
2929         * gnu/java/awt/peer/gtk/GtkSelection.java,
2930         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2931         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2932         * gnu/java/awt/peer/gtk/GtkToolkit.java,
2933         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2934         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
2935         * java/awt/RenderingHints.java,
2936         * java/awt/image/BufferedImage.java: Reformatted and added generics.
2938 2007-02-12  Tom Tromey  <tromey@redhat.com>
2940         * java/net/Socket.java (bind): Typo fix.
2942 2007-02-12  Tom Tromey  <tromey@redhat.com>
2944         * vm/reference/java/lang/reflect/Method.java (getDefaultValue):
2945         New method.
2946         * sun/reflect/annotation/AnnotationInvocationHandler.java (create):
2947         New method.
2948         (arrayClone): New method.
2949         (invoke): Clone array return results.
2951 2007-02-12  Jakub Jelinek  <jakub@redhat.com>
2953         PR 23566
2954         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
2955         just Rule lines, in the other everything else.  Pass 0 instead of
2956         $savings as second argument to parseRule when parsing the start
2957         rule.
2958         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
2960 2007-02-12  Jakub Jelinek  <jakub@redhat.com>
2962         * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both
2963         the old 'TZif\0' format and the new one.
2964         * java/util/TimeZone.java: Handle default (one hour) daylight
2965         savings.
2967 2007-02-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2969         * javax/management/Query.java:
2970         New file.
2971         * javax/management/StandardMBean.java:
2972         Use the implementation's class loader.
2973         
2974 2007-02-10  Mark Wielaard  <mark@klomp.org>
2976         * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from
2977         java.util, not from java.sql.
2979 2007-02-10  Roman Kennke  <kennke@aicas.com>
2981         * javax/imageio/stream/ImageOutputStreamImpl.java
2982         (flushBits): Implemented.
2983         (writeBit): Implemented.
2984         (writeBits): Implemented.
2986 2007-02-10  Roman Kennke  <kennke@aicas.com>
2988         * javax/swing/TransferHandler.java
2989         (SwingDragGestureRecognizer): New inner class.
2990         (SwingDragHandler): New inner class.
2991         (recognizer): New field.
2992         (exportAsDrag): Implemented missing method.
2994 2007-02-10  Roman Kennke  <kennke@aicas.com>
2996         * java/awt/GraphicsConfiguration.java
2997         (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide
2998         default implementation that delegates to
2999         createCompatibleVolatileImage(int,int).
3000         (createCompatibleVolatileImage(int,int,ImageCapabilities,int):
3001         New method from JDK5 spec. Default implementation by delegating to
3002         (createCompatibleVolatileImage(int,int,int).
3004 2007-02-09  Tom Tromey  <tromey@redhat.com>
3006         PR libgcj/30647:
3007         * configure.ac: Also check for jack/jack.h.
3009 2007-02-09  Mario Torre  <neugens@limasoftware.net>
3011         * java/io/File.java: remove import for
3012         gnu.classpath.NotImplementedException.
3013         (getUsableSpace): removed stub.
3014         (getFreeSpace): likewise.
3015         (getTotalSpace): likewise.
3017 2007-02-09  Mario Torre  <neugens@limasoftware.net>
3019         * vm/reference/java/io/VMFile.java: 
3020         (canExecute): new 1.6 native method.
3021         (setReadable): likewise.
3022         (setWritable): likewise.
3023         (setExecutable): likewise.
3024         * java/io/File.java: added import for gnu.classpath.NotImplementedException.
3025         (setReadOnly): new 1.6 method.
3026         (canExecute): likewise. 
3027         (setReadable): likewise. 
3028         (setWritable): likewise.
3029         (setExecutable): likewise.
3030         (getUsableSpace): added stub for new 1.6 method.
3031         (getFreeSpace): likewise.
3032         (getTotalSpace): likewise.
3033         (checkExec): new private method to support new 1.6 additions.
3034         * native/jni/java-io/java_io_VMFile.c:
3035         set_file_permissions: new helper function.
3036         Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods
3037         in VMFile.java.
3038         Java_java_io_VMFile_setWritable: likewise. 
3039         Java_java_io_VMFile_setExecutable: likewise. 
3040         Java_java_io_VMFile_canExecute: likewise. 
3041         * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC,
3042         CPFILE_FLAG_USR and CPFILE_FLAG_OFF.
3043         cpio_chmod: new function declaration.
3044         cpio_checkAccess: likewise.
3045         * native/jni/native-lib/cpio.c:
3046         cpio_chmod: new function definition.
3047         cpio_checkAccess: likewise.
3049 2007-02-09  Gary Benson  <gbenson@redhat.com>
3051         * javax/management/ObjectName.java
3052         (quote): Initialize StringBuilder correctly.
3054 2007-02-09  Francis Kung  <fkung@redhat.com>
3056         * java/awt/image/BufferedImage: Reformatted.
3058 2007-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3060         Fixes bug #30732
3061         * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next
3062         token has a next token.
3064 2007-02-08  Roman Kennke  <kennke@aicas.com>
3066         PR 30347
3067         * javax/swing/JViewport.java
3068         (scrollRectToVisible): Use correct X/Y offset for calculations.
3069         (paintBackingStore): Update backbuffer when we are not the paint
3070         root.
3072 2007-02-08  Roman Kennke  <kennke@aicas.com>
3074         * java/awt/image/SinglePixelPackedSampleModel.java
3075         (getDataElements(int,int,Object,DataBuffer)):
3076         Replace DataBuffer using method with simple
3077         switch. This does not check for the exact type (class) of the
3078         DataBuffer but instead checks the transfer type.
3079         (getDataElements(int,int,int,intObject,DataBuffer)): Removed.
3080         (setDataElements): Fixed indentation.
3081         (setPixels): Removed unused statement.
3083 2007-02-07  Tom Tromey  <tromey@redhat.com>
3085         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
3086         (PathOptionGroup): Allow '-cp' as well.
3088 2007-02-07  Chris Burdess  <dog@gnu.org>
3090         Fixes PR 30718.
3091         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
3092         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
3093           SAXSources without a backing URL or stream.
3095 2007-02-06  Tom Tromey  <tromey@redhat.com>
3097         PR libgcj/30707:
3098         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
3099         (printClass): Always print a header.
3101 2007-02-06  Chris Burdess  <dog@gnu.org>
3103         Fixes PR 27710.
3104         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
3105           LSParser if implementation does not support asynchronous.
3106         * gnu/xml/stream/XMLParser.java,
3107           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
3108           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
3109           protocol handler problems.
3111 2007-02-05  Andrew Haley  <aph@redhat.com>
3113         PR cp-tools/30706
3114         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
3115         (printClass): Replace '/' in filenames with '_'.
3116         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
3117         (printClass): Likewise.
3119 2007-02-05  Tom Tromey  <tromey@redhat.com>
3121         * java/net/Proxy.java (equals): Handle case where address==null.
3122         (hashCode): Likewise.
3123         (toString): Likewise.
3125 2007-02-04  Jeroen Frijters  <jeroen@frijters.net>
3127         * java/lang/Class.java
3128         (newInstance): Moved setAccessible call to helper method.
3129         (getEnumConstants): Call new helper method to allow values method to be
3130         called on non-public enum classes.
3131         (setAccessible): New helper method.
3132         * java/lang/Enum.java
3133         (valueOf): Call new helper method in class to allow field value to
3134         be read on non-public enum classes.
3136 2007-02-04  Jeroen Frijters  <jeroen@frijters.net>
3138         Fix for #30693
3139         * gnu/java/nio/charset/ByteCharset.java
3140         (ByteCharset.Decoder.decodeLoop): Reset input buffer position if
3141         the byte read was unmappable.
3143 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
3145         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3146         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
3147         (executeSetValues): Ditto.
3148         (executeThisObject): Ditto.
3149         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a
3150         constructor used to create VMFrames.
3151         (getThread): New method.
3152         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed
3153         to take a long instead of a ByteBuffer to pass the frameID.
3155 2007-02-01  Tom Tromey  <tromey@redhat.com>
3157         * java/util/logging/LogManager.java (reset): Remove bogus
3158         'while'.
3160 2007-01-31  Casey Marshall  <csm@gnu.org>
3162         * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.' 
3163         * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports.
3164         (add): use `gnu.java.util.Base64.'
3165         * gnu/java/net/protocol/http/Request.java (authenticate): use
3166         `gnu.java.util.Base64.'
3167         * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream):
3168         likewise.
3169         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise.
3170         * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise.
3171         * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421):
3172         likewise.
3173         * gnu/java/net/Base64.java: removed.
3174         * gnu/java/security/util/Base64.java: removed.
3176 2007-01-31  Casey Marshall  <csm@gnu.org>
3178         Fixes PR classpath/24191.
3179         Fix suggested by Rafael Teixeira <monoman@gmail.com>.
3180         * javax/crypto/CipherOutputStream.java (write): check return value
3181         of `update' for null.
3183 2007-01-31  Tom Tromey  <tromey@redhat.com>
3185         * resource/gnu/classpath/tools/jar/messages.properties
3186         (Main.Stdin): New message.
3187         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
3188         '-@' option.
3189         (readNames): New method.
3190         (run): Use it.
3192 2007-01-30  Roman Kennke  <kennke@aicas.com>
3194         PR 20577
3195         * javax/swing/DefaultDesktopManager.java
3196         (activateFrame): Added a bunch of null checks. Don't call
3197         JInternalFrame.setSelected() to avoid recursion.
3199 2007-01-29  Andrew Haley  <aph@redhat.com>
3201         * java/lang/SecurityManager.java (SecurityManager): Load and
3202         initialize java.security.Security.
3204 2007-01-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3206         * native/jni/java-nio/gnu_java_nio_VMChannel.c
3207         (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException
3208         in case of timeout.
3209         * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if
3210         SO_RCVTIMEO is set.
3212 2007-01-26  Tom Tromey  <tromey@redhat.com>
3214         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
3215         'volatile' after field type.
3217 2007-01-26  Chris Burdess  <dog@gnu.org>
3219         Fixes #30597
3220         * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause
3221           of LSException is an IOException.
3222         * gnu/xml/dom/ls/DomLSParser.java,
3223           gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set
3224           correctly during LS parsing.
3226 2007-01-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3228         * javax/management/PersistentMBean.java:
3229         New file.
3230         
3231 2007-01-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3233         * javax/management/AttributeChangeNotificationFilter.java:
3234         Correct typo.
3235         * javax/management/NotificationFilterSupport.java:
3236         New file.
3237         
3238 2007-01-21  Mark Wielaard  <mark@klomp.org>
3240         * java/security/SecureClassLoader.java (defineClass): Method returns
3241         Class<?>.
3242         * java/security/SignatureSpi.java (engineUpdate(ByteBuffer):
3243         Does not throw SignatureException. Chain SignatureException inside
3244         IllegalStateException.
3246 2007-01-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3248         * javax/management/NotificationBroadcasterSupport.java:
3249         New file.
3250         
3251 2007-01-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3253         * java/text/DecimalFormat.java(parse): Corrected the ParsePosition
3254         settings.
3256 2007-01-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3258         * java/text/SimpleDateFormat(parse): Corrected the usage of
3259                 NumberFormat.
3261 2007-01-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3263         Fixes bug #30488
3264         * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted,
3265         (setsockopt_NOSIGPIPE): New function,
3266         (cpnet_send): Corrected the option setting to send(),
3267         (cpnet_sendTo): Corrected the option setting to sendto(). 
3269 2007-01-19  Marco Trudel  <mtrudel@gmx.ch>
3271         * java/util/Arrays.java (binarySearch): Change comparison order.
3273 2007-01-17  Keith Seitz  <keiths@redhat.com>
3275         * gnu/classpath/jdwp/events/filters/StepFilter.java:
3276         Update javadoc. 
3277         (matches): Implement.
3279         * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor
3280         agent startup suspension for VM_INIT.
3282 2007-01-17  Tom Tromey  <tromey@redhat.com>
3284         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
3285         (PathOptionGroup): Set default boot class path.
3287 2007-01-17  Mark Wielaard  <mark@klomp.org>
3289         * javax/activity/ActivityCompletedException.java: Make constructors
3290         public.
3291         * javax/activity/ActivityRequiredException.java: Likewise.
3292         * javax/activity/InvalidActivityException.java: Likewise.
3294 2007-01-17  Roman Kennke  <kennke@aicas.com>
3296         * javax/swing/plaf/basic/BasicRadioButtonUI.java
3297         (paint): Use helper method to figure out icon. Don't override
3298         the icon field in that class. Check for null icons.
3299         (getCurrentIcon): New helper function to determine icon to be
3300         painted.
3302 2007-01-17  Mark Wielaard  <mark@klomp.org>
3304         * javax/activity/ActivityCompletedException.java: New file.
3305         * javax/activity/ActivityRequiredException.java: Likewise.
3306         * javax/activity/InvalidActivityException.java: Likewise.
3307         * javax/activity/package.html: Likewise.
3309 2007-01-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3311         * javax/management/DefaultLoaderRepository.java:
3312         (loadClass(String)): Made static.
3313         (loadClassWithout(String,ClassLoader)): Likewise.
3315 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
3317         * gnu/classpath/jdwp/exception/TypeMismatchException.java: New file.
3318         * gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation.
3319         * gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation.
3320         
3321 2007-01-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3323         * javax/management/AttributeValueExp.java:
3324         Corrected serialVersionUID typo.
3325         * javax/management/DefaultLoaderRepository.java:
3326         New file.
3327         * javax/management/MBeanServerFactory.java:
3328         Add generic typing.
3329         
3330 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
3332         * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file.
3334 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
3336         * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
3338 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
3340         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
3342 2007-01-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3344         * javax/management/AttributeValueExp.java: New file.
3345         * javax/management/QueryEval.java: Likewise.
3346         * javax/management/StringValueExp.java: Likewise.
3347         
3348 2007-01-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3350         * javax/management/AttributeChangeNotificationFilter.java:
3351         New file.
3352         
3353 2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>
3355         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
3356         (AicasGraphicsBenchmark): Load images from ../icons.
3357         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init):
3358         Likewise.
3359         * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files
3360         to icons.
3361         * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons.
3362         Delete here.
3363         * examples/gnu/classpath/examples/awt/palme.gif: Likewise.
3364         * examples/gnu/classpath/examples/java2d/aicas.png: Likewise.
3365         * examples/gnu/classpath/examples/java2d/palme.gif: Likewise.
3366         * examples/gnu/classpath/examples/icons/aicas.png: Moved.
3367         * examples/gnu/classpath/examples/icons/palme.gif: Likewise.
3369 2007-01-09  Tania Bento  <tbento@redhat.com>
3371         * java/security/Permission.java:
3372         (toString): If there are no actions, then there should not 
3373         be a space between its name and ')'.
3375 2007-01-08  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3377         * javax/management/AttributeChangeNotification.java:
3378         New file.
3379         
3380 2007-01-08  Cameron McCormack  <cam@mcc.id.au>
3382         PR 30355
3383         * java/util/Arrays.java:
3384         (binarySearch(byte[],byte)): Added check for zero-length array.
3385         (binarySearch(short[],short)): Likewise.
3386         (binarySearch(int[],int)): Likewise.
3387         (binarySearch(long[],long)): Likewise.
3388         (binarySearch(char[],char)): Likewise.
3389         (binarySearch(float[],float)): Likewise.
3390         (binarySearch(double[],double)): Likewise.
3391         (binarySearch(Object[],Object)): Likewise.
3392         (binarySearch(T[],T,Comparator)): Likewise.
3394 2007-01-08  Tom Tromey  <tromey@redhat.com>
3396         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run):
3397         Fix length check.  PR classpath/30346.
3399 2007-01-09  Raif S. Naffah  <classpath@naffah-raif.name>
3401         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year.
3402         (sfEntries): Use generics.
3403         (writeDSA()): Likewise.
3404         (startSigning()): Likewise.
3405         (updateEntry()): Likewise.
3406         * tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year.
3407         (CACHED_FORMATS): Use generics.
3408         (getFormattedString()): Likewise.
3409         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year.
3410         (fileAndAlias): Use generics.
3411         (ToolParser.validate()): Likewise.
3412         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java:
3413         Updated copyright year.
3414         Re-ordered imports and removed unused entries.
3415         (entryHashes): Use generics.
3416         (start()): Likewise.
3417         (verifySFEntries()): Likewise.
3418         Use map's entrySet() instead of its keySet().
3420 2007-01-08  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3422         * java/text/DateFormat.java:
3423         (computeInstance(int,int,Locale,boolean,boolean)):
3424         Throw an exception when locale info. is unavailable.
3425         (computeDefault(int,int,boolean,boolean)): New method.
3426         (getDateInstance(int,Locale)): Check providers.
3427         (getDateTimeInstance(int,int,Locale)): Likewise.
3428         (getTimeInstance(int,Locale)): Likewise.
3429         * java/text/DateFormatSymbols.java:
3430         Update documentation to match DecimalFormatSymbols.
3431         * java/text/DecimalFormatSymbols.java:
3432         (DecimalFormatSymbols(Locale)): Reordered.
3433         (getInstance()): Implemented.
3434         (getInstance(Locale)): Implemented.
3435         * java/text/NumberFormat.java:
3436         (computeInstance(Locale,String,String)):
3437         Throw an exception when locale info is unavailable.
3438         (getCurrencyInstance(Locale)): Check providers.
3439         (getIntegerInstance(Locale)): Likewise.
3440         (getNumberInstance(Locale)): Likewise.
3441         (getPercentInstance(Locale)): Likewise.
3442         * java/text/spi/DateFormatProvider.java: New file.
3443         * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise.
3444         * java/text/spi/NumberFormatProvider.java: Likewise.
3445         
3446 2007-01-07  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3448         Fixes bug #30377
3449         * native/jni/native-lib/cpnet.h: Add some include files.
3451 2007-01-07  Roman Kennke  <roman@kennke.org>
3453         PR 30337
3454         * java/awt/Component.java
3455         (getFontImpl): Return null when the component has no font set
3456         and also has no parent yet.
3457         * javax/swing/plaf/basic/BasicComboBoxUI.java
3458         (PropertyChangeHandler.propertyChange): Only add editor when combo
3459         box is editable. Avoid fetching the property name repeatedly.
3460         Invalidate when renderer or prototypeDisplayValue change.
3461         (uninstallComponents): Unconfigure everything and then remove all
3462         components.
3463         * javax/swing/plaf/basic/BasicComboPopup.java
3464         (uninstallingUI): Don't nullify list model.
3465         * javax/swing/plaf/metal/MetalComboBoxUI.java
3466         (createArrowButton): Pass currentValuePane to the MetalComboBoxButton
3467         constructor rather than a new (unconnected) CellRendererPane.
3469 2007-01-06  Roman Kennke  <roman@kennke.org>
3471         PR 30337
3472         * javax/swing/plaf/basic/BasicComboBoxUI.java
3473         (installUI): Install popup and list here.
3474         Don't configure the arrow button and editor here.
3475         (installComponents): Don't install popup and list here. (Moved
3476         to installUI). Configure arrow button here and check for null.
3477         (addEditor): Configure editor here.
3478         (configureArrowButton): Directly fetch listeners from popup.
3479         (paintCurrentValue): Removed unused local variables.
3480         (layoutContainer): Removed unused local variables.
3481         (PropertyChangeHandler.propertyChange): Don't invalidate minimumSize
3482         on each property change. Avoid calling getPropertyName() repeatedly.
3483         Clean up. Call addEditor() when editor changes. Configure and
3484         unconfigure editor when editable changes. Use 'model' instead
3485         of non-existing 'dataModel' property.
3486         * javax/swing/plaf/basic/BasicComboPopup.java
3487         (uninstallingUI): Remove property change listener and item listener
3488         here. Uninstall list listeners. Set model to null to prevent leakage.
3489         (configureList): Don't sync list selection there.
3490         (uninstallComboBoxListeners): Moved to uninstallingUI.
3491         (uninstallListeners): Moved to uninstallingUI.
3492         * javax/swing/plaf/metal/MetalComboBoxUI.java
3493         (createPopup): Call super.
3494         (getMinimumSize): Removed unused statement.
3496 2007-01-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3498         * java/text/Collator.java:
3499         (getInstance(Locale)): Check providers.
3500         * java/text/spi/CollatorProvider.java:
3501         New file.
3502         
3503 2007-01-04  Roman Kennke  <roman@kennke.org>
3505         PR 30122
3506         * java/awt/Component.java
3507         (getFont): Don't synchronize on tree lock here. The method is
3508         thread-safe 'enough' by fetching local variables in getFontImpl().
3510 2007-01-04  Roman Kennke  <roman@kennke.org>
3512         * java/awt/AWTEvent.java
3513         (toString): Don't include the whole component in the output,
3514         only its name.
3515         * java/awt/Component.java
3516         (isShowing): Create local copy of parent field for better
3517         thread safety and efficiency.
3518         * java/awt/EventDispatchThread.java
3519         (EventDispatchThread): Make sure the event thread is not a daemon
3520         thread in case it gets started by a daemon thread.
3521         * java/awt/image/IndexColorModel.java
3522         (createColorMap): New helper method for creating the color map.
3523         (IndexColorModel): (all constructors) use createColorMap() helper
3524         method.
3526 2007-01-04  Roman Kennke  <roman@kennke.org>
3528         * gnu/java/awt/font/autofit/GlyphHints.java
3529         (alignStrongPoints): Don't special case the vertical dimension.
3530         (computeInflectionPoints): Corrected computation of inflection
3531         points.
3532         * gnu/java/awt/font/autofit/Utils.java
3533         (ANGLE_4PI): Removed.
3534         (ANGLE_PI2): New constant for PI/2.
3535         (ANGLE_PI4): New constant for PI/4.
3536         (angleDiff): Fixed.
3537         (atan): Fixed.
3539 2007-01-03  Cameron McCormack  <cam@mcc.id.au>
3541         Fixes bug #29246
3542         * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities
3543         isValidKey method. Throw UnsupportedOperationException on a valid
3544         key (for which no locking state can be given).
3545         * gnu/java/awt/AWTUtilities.java (isValidKey): New method.
3546         * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New
3547         method.
3548         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3549         (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method.
3550         * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
3552 2007-01-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3554         * java/text/BreakIterator.java:
3555         (getCharacterInstance(Locale)): Check providers.
3556         (getLineInstance(Locale)): Likewise.
3557         (getSentenceInstance(Locale)): Likewise.
3558         (getWordInstance(Locale)): Likewise.
3559         * java/text/spi/BreakIteratorProvider.java:
3560         New file.
3561         * java/text/spi/DateFormatSymbolsProvider.java:
3562         Update header text.
3563         * java/util/ServiceConfigurationError.java:
3564         Add serialVersionUID.
3565         
3566 2007-01-03  Francis Kung  <fkung@redhat.com>
3568         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
3569         (copy): Copy and set antialias value.
3571 2007-01-03  Tania Bento  <tbento@redhat.com>
3573         * java/awt/CardLayout.java:
3574         (maximumLayoutSize): Return a new Dimension with a width of value
3575         Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component
3576         has no components.
3578 2007-01-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3580         * java/text/DateFormatSymbols.java:
3581         (getZoneStrings(ResourceBundle)): Changed to...
3582         (getZoneStrings(ResourceBundle,Locale)): Added
3583         use of TimeZoneNamesProvider.
3584         (getZoneStrings()): Return either mutated zone
3585         strings or initial ones.
3586         (getInstance(Locale)): Check DateFormatSymbolsProvider
3587         instances.
3588         * java/text/spi/DateFormatSymbolsProvider.java:
3589         New file.
3590         * java/text/spi/package.html: New file.
3591         
3592 2007-01-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3594         * java/util/Currency.java:
3595         (getSymbol(Locale)): Removed unneeded variable
3596         and terminate loop early.
3597         * java/util/Locale.java:
3598         (getDisplayLanguage(Locale)): Fixed to use
3599         LocaleNameProvider.
3600         (getDisplayCountry(Locale)): Likewise.
3601         (getDisplayVariant(Locale)): Likewise.
3602         * java/util/spi/LocaleNameProvider.java:
3603         New file.
3604         * java/util/spi/TimeZoneNameProvider.java:
3605         Likewise.
3606         
3607 2007-01-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3609         * gnu/java/locale/LocaleHelper.java:
3610         (getLocalizedString(Locale,String,String,boolean,
3611         boolean)): Removed, no longer needed.
3612         (getFallbackLocale(Locale)): Implemented.
3613         * java/lang/String.java:
3614         (isEmpty()): Implemented.
3615         * java/util/Currency.java:
3616         (getSymbol(Locale)): Reimplemented to use SPI.
3617         * java/util/Locale.java:
3618         (ROOT): Added.
3619         * java/util/spi/CurrencyNameProvider.java:
3620         New file.
3621         * java/util/spi/LocaleServiceProvider.java:
3622         Likewise.
3623         * java/util/spi/package.html: Likewise.
3624         
3625 2007-01-02  Roman Kennke  <roman@kennke.org>
3627         * gnu/java/awt/java2d/AbstractGraphics2D.java
3628         (FONT): New constant field. This is the default font to use as long
3629         as nothing else is set.
3630         (paintContext): New field. Temporarily stores the paint context.
3631         (scanlineConverters): New field. Stores the scanline converters
3632         for each thread.
3633         (shapeCache): Genericified.
3634         (STANDARD_HINTS): New constant field. The standard rendering hints
3635         as long as nothing else is set.
3636         (STANDARD_STROKE): New constant field. The standard stroke as long
3637         as nothing else is set.
3638         (static_initializer): Initialize standard hints.
3639         (AbstractGraphics2D): Use constant fields for hints and stroke.
3640         (drawGlyphVector): Use simpler method to draw the outline.
3641         (fillScanline): Use paintContext field.
3642         (fillShape): Use new ScanlineConverter to fill shapes.
3643         (fillShapeAntialias): Removed. This will be done in fillShape.
3644         (fillShapeImpl): Removed. This is done now in the ScanlineConverter
3645         class.
3646         (getScanlineConverter): New method. Returns the scanline converter
3647         for each thread.
3648         (getSegments): Removed. This is now implemented in ScanlineConverter.
3649         (getShapeCache): Use genericified shapeCache field.
3650         (init): Use fixed default font. Don't fetch destination raster here.
3651         * gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set
3652         of active edges for scanline conversion.
3653         * gnu/java/awt/java2d/PolyEdge.java
3654         (poolNext): Implements linked list for edge pool.
3655         (scanlineNext): Implements linked list for scanline edge lists.
3656         (slope): Use fixed point decimal.
3657         (slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal.
3658         (PolyEdge()): New constructor.
3659         (PolyEdge): Use fixed point decimals.
3660         (init): Use fixed point decimals.
3661         (intersect): New method. Intersects this edge with a scanline.
3662         * gnu/java/awt/java2d/Scanline.java: New class. A list of edges
3663         for a scanline plus utilities.
3664         * gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements
3665         an efficient scanline converter for rendering Shape objects.
3667 2007-01-02  Roman Kennke  <roman@kennke.org>
3669         * gnu/java/math/Fixed.java: New class. Fixed point arithmetics
3670         utilities.
3672 2007-01-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3674         * ChangeLog-2006: New file.
3675         * gnu/classpath/ServiceFactory.java:
3676         Add option of throwing a ServiceConfigurationError.
3677         (lookupProviders(Class,ClassLoader,boolean)): Implemented.
3678         * java/util/ServiceConfigurationError.java: New file.
3679         * java/util/ServiceLoader.java: Likewise.
3680         
3683 Local Variables:
3684 coding: iso-latin-1-unix        
3685 End: