OSDN Git Service

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