OSDN Git Service

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