OSDN Git Service

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