OSDN Git Service

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