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