OSDN Git Service

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