OSDN Git Service

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