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