OSDN Git Service

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