OSDN Git Service

Update from classpath trunk:
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-07-20  Keith Seitz  <keiths@redhat.com>
2
3         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
4         (executeInvokeMethod): No need to use ValueFactory any more;
5         MethodResult.getReturnedValue now returns a Value.
6         (executeNewInstance): Double-check that return result is
7         an ObjectValue; throw JdwpInternalErrorException if it is not.
8         (invokeMethod): Method IDs come from VMMethod, not VMIdManager.
9         Arguments are Values not Objects.
10         Use ValueFactory to create arguments.
11         Pass invocation options to VMVirtualMachine.executeMethod.
12         Don't do any thread suspend/resume work: VMVM.executeMethod
13         will take care of it.
14         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
15         (executeInvokeMethod): Method IDs come from VMMethod, not
16         VMIdManager.
17         Arguments should be Values instead of Objects.
18         Use ValueFactory to create Values.
19         Remove specific option handling and pass options to
20         VMVirtualMachine.executeMethod.
21         Remove thread suspension.
22         Use MethodResult.getReturnedValue to get method's result.
23         * gnu/classpath/jdwp/util/MethodResult.java
24         (returnedValue): Change type to Value.
25         (thrownException): Change type to Throwable.
26         (resType): Remove.
27         (MethodResult): New constructor.
28         (setReturnedValue): Remove.
29         (SetThrownException): Remove.
30         (getResultType): Remove.
31         (setResultType): Remove.
32         * gnu/classpath/jdwp/value/ObjectValue.java (getValue):
33         New method.
34         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
35         (executeMethod): Replace "nonVirtual" parameter with more
36         generic "options" parameter.
37         Replace java.lang.reflect.Method parameter with VMMethod.
38         Replace Object[] parameter with Value[] parameter.
39
40 2007-05-19  Andreas Tobler  <a.tobler@schweiz.org>
41
42         PR libgcj/31659
43         * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
44         * configure: Regenerate.
45
46 2007-05-07 Keith Seitz  <keiths@redhat.com>
47
48         * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
49         new array-based method.
50         (notify): New function.
51         (sendEvent): Rewrite to use sendEvents.
52         (sendEvents): New method.
53         * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
54         Change parameters to use arrays for events and requests.
55         Add suspendPolicy parameter.
56         Move per-event data transformation to...
57         (_toData): ... here.
58         * gnu/classpath/jdwp/transport/JdwpConnection.java
59         (sendEvent): Renamed to ...
60         (sendEvents): ... this.
61         Change parameters to use arrays for events and requests.
62         Add suspendPolicy parameter.
63
64 2007-05-03  Andrew Haley  <aph@redhat.com>
65
66         * gnu/javax/management/Server.java (Server): Record the delegate.
67         (registerMBean): Notify the delegate.
68         (unregisterMBean): Likewise.
69         (notify): New method.
70
71 2007-04-23  Mark Wielaard  <mark@klomp.org>
72
73         * configure.ac (VERSION): Set to 0.95.
74
75 2007-04-23  Mark Wielaard  <mark@klomp.org>
76
77         * NEWS: Add new 0.95 features.
78
79 2007-04-23  Jeroen Frijters  <jeroen@frijters.net>
80
81         PR classpath/31646:
82         * java/util/Arrays.java (qsort): Corrected initial median calculation.
83
84 2007-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
85
86         * m4/acinclude.m4
87         (CLASSPATH_FIND_JAVAC): Allow detected JAVAC.
88
89 2007-04-19  Casey Marshall  <csm@gnu.org>
90
91         PR classpath/31626:
92         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
93         (createSocket): New method.
94
95 2007-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
96
97         * native/jni/java-net/local.c:
98         Fix import of FIONREAD.
99         * native/jni/java-nio/gnu_java_nio_VMChannel.c,
100         * native/jni/native-lib/cpnet.c:
101         Likewise.
102
103 2007-04-16  Dalibor Topic  <robilad@kaffe.org>
104
105         * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10
106         warning.
107
108 2007-04-16  Dalibor Topic  <robilad@kaffe.org>
109
110         * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS):
111         Added AM_LDFLAGS for automake 1.10.
112
113 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
114
115         * depcomp, install-sh, missing, mkinstalldirs,
116         doc/texinfo.tex: Removed files generated by autogen.sh.
117
118         * .cvsignore: Ignore generated files depcomp, install-sh,
119         missing, mkinstalldirs.
120
121         * doc/.cvsignore: Ignore generated file doc/texinfo.tex.
122
123 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
124
125         * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD):
126         Fix portability warnings from automake 1.10.
127
128 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
129
130         * Makefile.am (EXTRA_DIST): Add ChangeLog-2006.
131
132 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
133
134         * native/target/.cvsignore: Removed.
135
136 2007-04-15  Roman Kennke  <roman@kennke.org>
137
138         * native/target/Linux/.cvsignore,
139         * native/target/generic/.cvsignore: Removed.
140
141 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
142
143         * doc/Makefile.am: Fix portability warnings from
144         automake 1.10.
145
146 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
147
148         * doc/cp-hacking.texinfo: Updated with information from
149         INSTALL file. Removed duplicate and outdated information.
150         Updated compiler information. Fixed versioning information
151         where entries diverged. Turned command, option, file and
152         URL strings into proper texinfo elements.
153
154 2007-04-15  Dalibor Topic  <robilad@kaffe.org>
155
156         * configure.ac: Added support for Iceape libraries as
157         a substitute for Mozilla for Debian.
158
159 2007-04-17  Tom Tromey  <tromey@redhat.com>
160
161         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
162         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
163         (createSocket): Change order of delegation.
164
165 2007-04-17  Casey Marshall  <csm@gnu.org>
166
167         PR classpath/31302:
168         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
169         Always make a new socket.
170         (bind, connect, getInetAddress, getLocalAddress, getPort,
171         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
172         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
173         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
174         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
175         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
176         getTrafficClass, setReuseAddress, getReuseAddress, close,
177         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
178         isInputShutdown, isOutputShutdown): Always use
179         'underlyingSocket'.
180
181 2007-04-16  Mark Wielaard  <mark@klomp.org>
182
183         Fixes bug #31590
184         * java/net/URI.java (parseServerAuthority): Allow empty portStr.
185
186 2007-04-16  Chris Burdess  <dog@gnu.org>
187
188         * gnu/xml/stream/XMLParser.java: Work around a problem with  
189         incorrectly formatted file URLs.
190
191 2007-04-11  Christian Thalinger  <twisti@complang.tuwien.ac.at>
192
193         * configure.ac: Added AC_C_INLINE.
194
195 2007-04-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
196
197         * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license.
198         * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check.
199         * m4/ax_func_which_gethostbyname_r.m4: New file.
200         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for
201         different number of arguments of gethostbyname_r.
202
203 2007-04-11  Francis Kung  <fkung@redhat.com>
204
205         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
206         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid
207         unneeded object reference.
208         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
209         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font.
210         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant
211         checks.
212
213 2007-04-11  Christian Thalinger  <twisti@complang.tuwien.ac.at>
214
215         * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
216         warning on some compilers, e.g. MIPSpro.
217
218 2007-04-11  Christian Thalinger  <twisti@complang.tuwien.ac.at>
219
220         * native/jni/java-nio/javanio.c: Include fcntl.h instead of
221         sys/fcntl.h.
222
223 2007-04-12  Mark Wielaard  <mark@klomp.org>
224
225         * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static
226         inner class.
227         (transCache): New static LRUChache field.
228         (copyTransformToAttrs): Check whether a TransformAttribute already
229         exists in the transCache for the given AffineTransform.
230
231 2007-04-12  Mark Wielaard  <mark@klomp.org>
232
233         * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8.
234
235 2007-04-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
236
237         * javax/management/ObjectName.java:
238         (parse(String)): Catch multiple wildcards,
239         initialise with an empty string (so null isn't
240         appended), and emit comma even when wildcard
241         ends the list.
242         (checkComponents()): Catch newlines.
243         (quote(String)): Handle newlines and quotes
244         correctly.
245
246 2007-04-10  Mark Wielaard  <mark@klomp.org>
247
248         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
249         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile):
250         Destroy surface after it is used to create a cairo context.
251
252 2007-04-09  Francis Kung  <fkung@redhat.com>
253
254         PR 31311
255         * gnu/java/awt/peer/gtk/ComponentGraphics.java
256         (dispose): Removed method.
257         (disposeSurface): Removed method.
258         * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
259         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
260         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
261         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surfac
262 e
263         after it is used to create a cairo context.
264
265
266 2007-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
267
268         * javax/management/ObjectName.java:
269         (parse(String)): Fix result of getKeyPropertyListString().
270
271 2007-04-07  Mark Wielaard  <mark@klomp.org>
272
273         * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor,
274         resource/META-INF/services/javax.xml.parsers.SAXParserFactory,
275         resource/META-INF/services/javax.xml.parsers.TransformerFactory,
276         resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory,
277         resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList,
278         resource/META-INF/services/org.xml.sax.driver: Removed.
279
280 2007-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
281
282         * javax/management/ObjectName.java
283         (parse(String)): Fix parsing where the wildcard
284         is juxtaposed between other pairs.
285
286 2007-04-06  Mark Wielaard  <mark@klomp.org>
287
288         * configure.ac (VERSION): Set to 0.95-rc.
289
290 2007-04-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
291
292         * javax/management/MBeanAttributeInfo.java:
293         (serialVersionUID):  Added.
294         * javax/management/MBeanFeatureInfo.java:
295         (writeObject(ObjectOutputStream)): Added for
296         later 1.6 support.
297         * javax/management/Notification.java:
298         (serialVersionUID): Added.
299         (Notification(String,Object,long,long)): Make
300         default message the empty string not null.
301         (Notification(String,Object,long,long,String)):
302         Set source explicitly.
303         (writeObject(ObjectOutputStream)): Added to match
304         Sun.
305         
306 2007-04-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
307
308         * java/util/Hashtable.java:
309         (putAllInternal(Map)): Remove redundant semi-colon.
310         
311 2007-04-06  Mark Wielaard  <mark@klomp.org>
312
313         * lib/mkcollections.pl.in: Add externalclasses.
314         * java/util/Collections.java: Unroll enhanced for loops.
315         * java/util/HashMap.java: Likewise.
316         * java/util/Hashtable.java: Likewise.
317         * java/util/TreeMap.java: Likewise.
318
319 2007-04-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
320
321         * gnu/javax/management/Translator.java:
322         (getTypeName(type)): Move type name creation to its own method.
323         * javax/management/ObjectName.java:
324         (WILDCARD): Added.
325         
326 2007-04-04  Andrew Haley  <aph@redhat.com>
327
328         * javax/management/ObjectName.java:
329         (serialVersionUID): Declare.
330         Make all fields transient.
331         (parse): Break out from constructor.
332         (writeObject, readObject): New methods.
333         
334 2007-04-05  Francis Kung  <fkung@redhat.com>
335
336         * include/Makefile.am: Remove old entry.
337
338 2007-04-05  Francis Kung  <fkung@redhat.com>
339
340         * gnu/java/awt/peer/gtk/GtkToolkit.java
341         (createDragGestureRecognizer): Remove failing subClass call.
342
343 2007-04-05  Gary Benson  <gbenson@redhat.com>
344
345         * java/util/GregorianCalendar.java
346         (computeFields): Fix WEEK_OF_MONTH calculation.
347
348 2007-04-05  Christian Thalinger  <twisti@complang.tuwien.ac.at>
349
350         PR classpath/22800:
351         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
352         (doubleToRawLongBits, longBitsToDouble): Swap the byte
353         ordering for little-endian arms without VFP.
354
355 2007-04-05  Christian Thalinger  <twisti@complang.tuwien.ac.at>
356
357         * native/jni/java-net/java_net_VMNetworkInterface.c
358         [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
359         #ifdef.
360         (getVMInterfaces): Added UNUSED argument attribute.
361
362 2007-04-05  Christian Thalinger  <twisti@complang.tuwien.ac.at>
363
364         * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
365         native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c
366         [HAVE_ICONV] (createRawData, getData, infid, outfid): Added
367         #ifdef.
368         (openIconv): Added UNUSED argument attribute, so we can build with
369         -Werror.
370         (decode): Likewise.
371         (closeIconv): Likewise.
372
373 2007-04-05  Mark Wielaard  <mark@klomp.org>
374
375         * autogen.sh: Recognize automake 1.10.
376         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability.
377         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS.
378         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise.
379         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise.
380         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise.
381         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise.
382         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise.
383
384 2007-04-04  Mark Wielaard  <mark@klomp.org>
385
386         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
387         (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL.
388         * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and
389         call deliver() after pixels have been set.
390         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only
391         set icon when image has been properly loaded.
392
393 2007-04-04  Francis Kung  <fkung@redhat.com>
394
395         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
396         (drawCairoSurface): Made protected.
397         * gnu/java/awt/peer/gtk/ComponentGraphics.java
398         (cairoDrawGlyphVector): Removed method.
399         (cairoSetFont): Removed method.
400         (disposeNative): Removed method.
401         (drawCairoSurface): New method.
402         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
403         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
404         locking.
405         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
406         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
407
408 2007-04-04  Gary Benson  <gbenson@redhat.com>
409
410         * java/util/GregorianCalendar.java
411         (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
412
413 2007-04-04  Roman Kennke  <roman@kennke.org>
414
415         * java/nio/channels/spi/SelectorProvider.java
416         (inheritedChannel): Make method concrete and move default impl
417         to here. Perform security checks as mandated by the spec.
418         * gnu/java/nio/SelectorProviderImpl.java
419         (inheritedChannel): Removed. Default impl is in SelectorProvider.
420
421 2007-04-04  Roman Kennke  <roman@kennke.org>
422
423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
424         (init_glib_threads): Create global reference on lock object.
425
426 2007-04-04  Roman Kennke  <roman@kennke.org>
427
428         * java/awt/Frame.java
429         (weakFrames): Make private.
430         (weakFramesQueue): New field. A reference queue to collect
431         GCed references.
432         (getFrames): Only do one iterations to avoid collecting null
433         references.
434         (hasDisplayableFrames): New helper method. Checks if there
435         are any displayable frames. This is used by the event queue
436         shutdown check.
437         (noteFrame): Clean up GCed frames in the list.
438         * java/awt/EventQueue.java
439         (isShutdown): Move frame checking code into Frame.
440
441 2007-04-03  Roman Kennke  <roman@kennke.org>
442
443         * java/lang/System.java
444         (inheritedChannel): New method, wraps
445         SelectorProvider.inheritedChannel().
446         * java/nio/channels/spi/SelectorProvider.java
447         (inheritedChannel): New abstract method.
448         * gnu/java/nio/SelectorProviderImpl.java
449         (inheritedChannel): New method, return null as default.
450
451 2007-04-03  Roman Kennke  <roman@kennke.org>
452
453         * java/nio/ByteOrder.java
454         (nativeByteOrder): Let this fail when the corresponding
455         property is not set properly.
456
457 2007-04-03  Roman Kennke  <roman@kennke.org>
458
459         * javax/swing/plaf/basic/BasicTreeUI.java
460         (getPathBounds): Consider the tree's insets. Added a bunch of
461         null checks.
462
463 2007-04-03  Roman Kennke  <roman@kennke.org>
464
465         * javax/swing/plaf/basic/BasicLabelUI.java
466         (cachedInsets): New field. Used for reusing the insets instance.
467         (getFontMetrics): New helper method for fetching a suitable
468         FontMetrics object.
469         (getPreferredSize): Use new helper method for font metrics.
470         (paint): Only do something if we have an icon or text.
471         Use cached Insets instance and new font metrics helper.
472         (paintDisabledText): Don't restore the graphics' color.
473         (paintEnabledText): Don't restore the graphics' color.
474
475 2007-04-03  Roman Kennke  <roman@kennke.org>
476
477         * javax/swing/plaf/metal/MetalButtonUI.java
478         (paintButtonPressed): Fill the whole button not only visibleRect.
479         * javax/swing/plaf/metal/MetalLookAndFeel.java
480         (LAF_defaults): Removed.
481         (getDefaults): Always fetch super's defaults.
482         * javax/swing/plaf/metal/MetalMenuBarUI.java
483         (update): Don't leave 2 pixel gap.
484
485 2007-04-03  Roman Kennke  <roman@kennke.org>
486
487         * native/target/.cvsignore,
488         * native/target/Linux/.cvsignore,
489         * native/target/generic/.cvsignore: Some new ignores.
490
491 2007-04-03  Roman Kennke  <roman@kennke.org>
492
493         * gnu/java/awt/peer/gtk/GThreadMutex.java,
494         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
495         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
496         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
497         * native/jni/gtk-peer/gthread-jni.c,
498         * native/jni/gtk-peer/gthread-jni.h: Removed.
499         * native/jni/gtk-peer/Makefile.am: Removed obsolete entries
500         for removed files.
501         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
502         Removed unused bits from gthread-jni.c.
503
504 2007-04-03  Francis Kung  <fkung@redhat.com>
505
506         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
507         (getGlyphs(int[], int[], long[])): Return void.
508
509 2007-04-03  Kyle Galloway  <kgallowa@redhat.com>
510
511         * gnu/classpath/jdwp/value/ArrayValue.java: New file. 
512
513 2007-04-03  Roman Kennke  <roman@kennke.org>
514
515         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
516         (global_lock): New global variable that holds the object reference
517         to the global GTK lock.
518         (init_glib_threads): Add lock argument. Use
519         gdk_threads_set_lock_functions to replace GTK's locking function
520         with two callbacks that allow reentrant locking, based on
521         JNI's MonitorEnter() and MonitorExit().
522         (jni_lock_cb): New callback function for GTK locking.
523         (jni_unlock_cb): New callback function for GTK unlocking.
524         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument.
525         Call init_glib_threads() with lock object.
526         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
527         Regenerated.
528         * gnu/java/awt/peer/gtk/GtkToolkit.java
529         (GTK_LOCK): New static field. This is used as the global lock for
530         GTK.
531         (gtkInit): Add lock parameter.
532         (static_init): Initialize global lock and call gtkInit() with
533         that lock.
534
535 2007-04-02  Francis Kung  <fkung@redhat.com>
536
537         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
538         (fontSet): Initialize to null.
539         (FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet
540         array with default font if needed.
541         (FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields.
542         (getNativeFontPointer): New native method.
543         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated.
544         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
545         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer):
546         New function.
547
548 2007-04-02  Francis Kung  <fkung@redhat.com>
549
550         * INSTALL: Document known bug in at-spi, atk, and gail packages prior to
551         version 1.18.0.
552
553 2007-04-02  Francis Kung  <fkung@redhat.com>
554
555         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
556         (cairoDrawGlyphVector): Added parameter.
557         (drawGlyphVector): Retrieve and pass fontset parameter.
558         * gnu/java/awt/peer/gtk/ComponentGraphics.java
559         (cairoDrawGlyphVector): Added parameter.
560         (lock): Removed unnecessary cast.
561         (unlock): Removed unnecessary cast and explicitly set to ONE variable.
562         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
563         (fontSet): New field.
564         (dispose): New native method.
565         (finalize): New method.
566         (getGlyphFonts): New method.
567         (getGlyphOutline): Pass fontSet parameter to native method.
568         (getGlyphOutlineNative): Added parameter.
569         (getGlyphs): Pass extra parameters to native method.
570         (getGlyphsNative): Added parameters.
571         (getKerning): Added fontSet parameter.
572         (getMetricsNative): Added fontSet parameter.
573         (performDefaultLayout): Only check kerning if glyphs use the same font.
574         (setupGlyphMetrics): Pass extra parameters to native methods.
575         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
576         * include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated.
577         * native/jni/gtk-peer/gdkfont.h: Enable pango engine.
578         (peerfont): Add variable for fontset.
579         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
580         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept
581         array of font pointers to use when drawing glyphs.
582         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
583         (getFontSet): New function.
584         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function.
585         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative):
586         Added and use new fontSet parameter.
587         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango
588         to retrieve glyphs and estimate font, if the current font does not contain
589         a requested glyph.
590         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use
591         new fontSet parameter.
592         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added
593         and use new fontSet parameter.
594         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
595         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset.
596         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset.
597
598 2007-04-02  Andrew Haley  <aph@redhat.com>
599
600         * javax/management/ObjectName.java: Handle 0-length names.
601         * javax/management/MBeanServerFactory.java: Use the domain that
602         we've been passed, not the fixed string "DefaultDomain".
603
604 2007-04-01  Mark Wielaard  <mark@klomp.org>
605
606         * org/omg/CORBA/DynAny.java: Mark as deprecated.
607         * org/omg/CORBA/DynArray.java: Likewise.
608         * org/omg/CORBA/DynEnum.java: Likewise.
609         * org/omg/CORBA/DynFixed.java: Likewise.
610         * org/omg/CORBA/DynSequence.java: Likewise.
611         * org/omg/CORBA/DynStruct.java: Likewise.
612         * org/omg/CORBA/DynUnion.java: Likewise.
613         * org/omg/CORBA/DynValue.java: Likewise.
614         * org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise.
615         (create_dyn_any): Likewise.
616         (create_dyn_array): likewise.
617         (create_dyn_enum): Likewise.
618         (create_dyn_sequence): Likewise.
619         (create_dyn_struct): Likewise.
620         (create_dyn_union): Likewise.
621
622 2007-04-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
623
624         * gnu/javax/management/Translator.java:
625         (fromJava(Object[],Method)): Use the array from the
626         parameter not the newly created one...
627         (fromJava(Object, Type)): Support MXBeans.
628         * javax/management/JMX.java:
629         (newMXBeanProxy(MBeanServerConnection,ObjectName,Class)):
630         Call newMXBeanProxy rather than newMBeanProxy.
631         * javax/management/StandardMBean.java:
632         (setAttribute(Attribute)): Use InvocationTargetException
633         as cause.
634         
635 2007-03-31  Jeroen Frijters  <jeroen@frijters.net>
636
637         PR classpath/31402:
638         * java/util/concurrent/CopyOnWriteArrayList.java
639         (remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
640
641 2007-03-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
642
643         * javax/management/openmbean/CompositeDataInvocationHandler.java:
644         New file.
645         
646 2007-03-30  Kyle Galloway  <kgallowa@redhat.com>
647
648         * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
649         (write): Replace writeLong with writeInt for above.
650
651 2007-03-30  Tom Tromey  <tromey@redhat.com>
652
653         PR libgcj/29869:
654         * gnu/java/util/jar/JarUtils.java (log): Commented out.
655         (readSFManifest): Don't log.
656
657 2007-03-29  Tom Tromey  <tromey@redhat.com>
658
659         PR libgcj/29869:
660         * java/util/logging/LogManager.java (readConfiguration): Handle
661         comma-separated 'handlers'.  Don't try to add a non-existing
662         handler.
663
664 2007-03-29  Keith Seitz  <keiths@redhat.com>
665
666         * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
667         Event type is "THREAD_START" not "THERAD_END".
668
669         * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
670         Handle configure strings ":port" and "port".
671
672 2007-03-29  Francis Kung  <fkung@redhat.com>
673
674         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
675         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch.
676
677 2007-03-29  Mark Wielaard  <mark@klomp.org>
678
679         * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative.
680
681 2007-03-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
682
683         * javax/management/StandardMBean.java:
684         (setAttribute(Attribute)): Add handling of primitive
685         types and subtype parameters.
686         (getMutator(String,Class<?>)): New helper method to
687         return the mutator.
688         
689 2007-03-28  Roman Kennke  <roman@kennke.org>
690
691         * java/io/OutputStreamWriter.java,
692         * java/io/InputStreamReader.java: Revert big stream patch due to
693         problems.
694
695 2007-03-28  Tom Tromey  <tromey@redhat.com>
696
697         PR classpath/31303:
698         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
699         (createXMLReader): Code in Classpath default.
700
701 2007-03-28  Tom Tromey  <tromey@redhat.com>
702
703         PR classpath/31276:
704         * native/jni/java-lang/java_lang_VMDouble.c
705         (parseDoubleFromChars): Use %p, not %i.
706
707 2007-03-28  Mark Wielaard  <mark@klomp.org>
708
709         * native/jni/java-nio/Makefile.am (LIBADD): Don't add
710         libclasspathnative.
711         * native/jni/java-nio/gnu_java_nio_VMChannel.c
712         (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask.
713
714 2007-03-27  Francis Kung  <fkung@redhat.com>
715
716         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
717         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of
718         accessibility modules as temporary workaround for Gnome bug.
719
720 2007-03-27  Kyle Galloway  <kgallowa@redhat.com>
721
722         * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java
723         (executeResume): Change to call VMVirtualMachine.resumeThread. 
724
725 2007-03-27  Roman Kennke  <roman@kennke.org>
726
727         * java/io/InputStreamReader.java
728         (BUFFER_SIZE): New constant.
729         (bytesCache): Removed.
730         (cacheLock): Removed.
731         (hasSavedSurrogate): Removed.
732         (lastArray): New field. Used for caching CharBuffers.
733         (lastBuffer): New field. Used for caching CharBuffers.
734         (maxBytesPerChar): Removed.
735         (oneChar): New field. Caches a char array for read().
736         (savedSurrogate): New field.
737         (InputStreamReader): (all constructors) Cleaned up.
738         Use initDecoderAndBuffer() method. Check for null parameters.
739         Use new EncodingHelper.getDefaultCharset() for fetching the
740         default charset.
741         (decode): New helper method. Decodes using the NIO decoder or
742         using a raw Latin1 decoding.
743         (getCharBuffer): New helper method. Implements caching of
744         CharBuffers for output arrays.
745         (initDecoderAndBuffer): New helper method. Initializes the decoder
746         and input buffer.
747         (read): Use cached array.
748         (read(char[],int,int)): Reworked using a cleaner NIO based
749         implementation. This decodes the incoming data in bigger chunks
750         rather then calling the decoder for each character.
751         (ready): Also check the input buffer.
752         (refillInputBuffer): New helper methods. Refills the input buffer
753         when it runs out of data.
754         * java/io/OutputStreamWriter.java
755         (lastArray): Implements caching of the output array buffer.
756         (lastBuffer): Implements caching of the output array buffer.
757         (oneChar): New field. Caches a char array for write().
758         (outputBuffer): Make this a ByteBuffer.
759         (OutputStreamWriter): (all constructors) Cleaned up.
760         Use initEncoderAndBuffer() method. Check for null parameters.
761         Use new EncodingHelper.getDefaultCharset() for fetching the
762         default charset.
763         (encode): New helper method. Encodes the input buffer to the output
764         buffer using either the NIO encoder or a raw Latin1 encoding.
765         (encodeChars): New helper method. The encoding loop.
766         (flush): Directly use the array of the output buffer.
767         (getCharBuffer): New helper method. Implements caching of the
768         output buffer.
769         (initEncoderAndBuffer): New helper method for initialization.
770         (write(char[],int,int)): Reworked to make better use of the NIO
771         encoders.
772         (write): Use cached array.
773         (write(String,int,int)): Don't copy the string but rather wrap it
774         and handle it the same as the wrapped char array.
775         (writeConvert): Removed.
776         * gnu/java/nio/charset/EncodingHelper.java
777         (getDefaultCharset): New method. Returns the default charset for
778         the case when the file.encoding charset is not valid. This
779         always returns an UTF8 codec.
780
781 2007-03-27  Roman Kennke  <kennke@aicas.com>
782
783         * java/awt/Frame.java
784         (weakFrames): Make this generic and package private.
785         (noteFrame): Use generic WeakReference.
786         * java/awt/EventQueue.java
787         (isShutdown): Iterate over the weakFrames directly, rather than
788         using Frame.getFrames(). The latter iterates several times over
789         weakFrames completely and creates a new array on each call. The
790         former iterates only once and aborts when it finds a frame which
791         is displayable.
792
793 2007-03-27  Roman Kennke  <kennke@aicas.com>
794
795         * javax/swing/JScrollBar.java
796         (getUnitIncrement(int)): Don't multiply direction parameter.
797         (getBlockIncrement(int)): Don't multiply direction parameter.
798
799 2007-03-26  Tom Tromey  <tromey@redhat.com>
800
801         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
802         (rmid Tool): Likewise.
803
804 2007-03-26  Stepan Kasal  <skasal@redhat.com>
805
806         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
807         field.
808         (getParser): Use new field.
809
810 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
811
812         * doc/cp-tools.texinfo: Fix node ordering.
813
814 2007-03-19  Matthias Klose  <doko@ubuntu.com>
815
816         * doc/Makefile.am: Build a gcjh(1) man page.
817         * doc/cp-tools.texinfo: Add documentation for gcjh.
818
819 2007-03-23  Jeroen Frijters  <jeroen@frijters.net>
820
821         * java/net/ServerSocket.java (implAccept): set implCreated flag on
822         socket.
823         * java/net/Socket.java (implCreated): Make package accessible for
824         ServerSocket.
825
826 2007-03-22  Casey Marshall  <csm@gnu.org>
827
828         * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
829         check keyEncipherment bit of the certificate, and just pass the public
830         key to the cipher.
831
832 2007-03-20  Mario Torre  <neugens@limasoftware.net>
833
834         * configure.ac: GConf requirement for building the java.util.prefs backend
835         are relaxed down to version 2.6.0 (instead of 2.11.2).
836
837 2007-03-19  Mario Torre  <neugens@limasoftware.net>
838
839         * gnu/java/awt/peer/KDEDesktopPeer.java: 
840         (mail): Fixed error dialog in KDE when the mail method is called without
841         argument; now opens the default mailer with a blank window.
842         (getCommand): Handle the use of kprinter as default print command for KDE.
843         (supportCommand): Enable the print command when a KDE desktop is detected.
844
845 2007-03-19  Jeroen Frijters  <jeroen@frijters.net>
846
847         * java/net/Socket.java
848         (implCreated): New field.
849         (getImpl): Call impl.create() if it hasn't been called yet.
850         (bind): Removed explicit impl.create() call.
851
852 2007-03-18  Mark Wielaard  <mark@klomp.org>
853
854         * javax/crypto/CipherOutputStream.java (write): Use out.write()
855         not super.write().
856
857 2007-03-18  Mark Wielaard  <mark@klomp.org>
858
859         * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8
860         gthread-2.0 >= 2.2 and gdk-pixbuf-2.0
861
862 2007-03-16  Tom Tromey  <tromey@redhat.com>
863
864         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
865         name in File case.
866
867 2007-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
868
869         * resource/com/sun/tools/javac/messages.properties
870         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
871         messages for when --with-ecj-jar is not specified.
872
873         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
874         * tools/Makefile.am: Build com.sun.tools.javac package
875         unconditionally.
876
877 2007-03-16  Mark Wielaard  <mark@klomp.org>
878
879         * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found.
880         Also check for gtk+ dependency.
881
882 2007-03-16  Tom Tromey  <tromey@redhat.com>
883
884         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
885         (printClass): Added filename argument.
886         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
887         (printClass): Added filename argument.
888         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
889         (printClass): Use user's file name.
890         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
891         (printClass): Use user's file name.
892         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
893         filename argument.
894         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
895         argument order.
896         (writeHeaders): Use a HashMap.
897         (run): Put class name into HashMap for writeHeaders.
898
899 2007-03-16  Francis Kung  <fkung@redhat.com>
900
901         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
902         (cairoArc): Make protected rather than private so it can be over-ridden.
903         (cairoClip): Likewise.
904         (cairoClosePath): Likewise.
905         (cairoCurveTo): Likewise.
906         (cairoDrawGlyphVector): Likewise.
907         (cairoFill): Likewise.
908         (cairoLineTo): Likewise.
909         (cairoMoveTo): Likewise.
910         (cairoNewPath): Likewise.
911         (cairoRectangle): Likewise.
912         (cairoResetClip): Likewise.
913         (cairoRestore): Likewise.
914         (cairoSave): Likewise.
915         (cairoScale): Likewise.
916         (cairoSetAntialias): Likewise.
917         (cairoSetDash): Likewise.
918         (cairoSetFillRule): Likewise.
919         (cairoSetFont): Likewise.
920         (cairoSetLine): Likewise.
921         (cairoSetMatrix): Likewise.
922         (cairoSetOperator): Likewise.
923         (cairoSetRGBAColor): Likewise.
924         (cairoStroke): Likewise.
925         (drawPixels): Likewise.
926         (init): Likewise.
927         (setGradient): Likewise.
928         (setPaintPixels): Likewise.
929         (cairoDrawLine): Removed.
930         (cairoDrawRect): Removed.
931         (cairoFillRect): Removed.
932         (cairoPreserveClip): Removed.
933         (cairoRelCurveTo): Removed.
934         (cairoRelLineTo): Removed.
935         (cairoRelMoveTo): Removed.
936         * gnu/java/awt/peer/gtk/ComponentGraphics.java
937         (cairoArc): New method wrapping superclass method in locks.
938         (cairoClip): Likewise.
939         (cairoClosePath): Likewise.
940         (cairoCurveTo): Likewise.
941         (cairoDrawGlyphVector): Likewise.
942         (cairoFill): Likewise.
943         (cairoLineTo): Likewise.
944         (cairoMoveTo): Likewise.
945         (cairoNewPath): Likewise.
946         (cairoRectangle): Likewise.
947         (cairoResetClip): Likewise.
948         (cairoRestore): Likewise.
949         (cairoSave): Likewise.
950         (cairoScale): Likewise.
951         (cairoSetAntialias): Likewise.
952         (cairoSetDash): Likewise.
953         (cairoSetFillRule): Likewise.
954         (cairoSetFont): Likewise.
955         (cairoSetLine): Likewise.
956         (cairoSetMatrix): Likewise.
957         (cairoSetOperator): Likewise.
958         (cairoSetRGBAColor): Likewise.
959         (cairoStroke): Likewise.
960         (disposeNative): Likewise.
961         (drawPixels): Likewise.
962         (init): Likewise.
963         (setGradient): Likewise.
964         (setPaintPixels): Likewise.
965         (draw): Do not lock, as locking is now done in the wrapped native methods.
966         (drawComposite): Likewise.
967         (drawGlyphVector): Likewise.
968         (drawImage): Likewise.
969         (drawRenderedImage): Likewise.
970         (fill): Likewise.
971         (setClip): Removed.
972         (lock): Added documentation.
973         (unlock): Added documentation.
974         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
975         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
976         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
977         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
978         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
979         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
980         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
981         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
982         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
983         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
984
985 2007-03-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
986
987         * javax/management/openmbean/ArrayType.java:
988         (getArrayClassName(String, int)): Replaced by...
989         (getArrayClassName(OpenType, int, boolean)):
990         Returns appropriate class name for the array.
991         (getDimensions(OpenType, int)): New method.
992         (getPrimitiveType(Class<?>)): Likewise.
993         (getPrimitiveTypeClass(OpenType<?>)): Likewise.
994         (getElementType(OpenType<?>)): Likewise.
995         (getElementTypeName(OpenType<?>)): Likewise.
996         (ArrayType(int, OpenType<?>)): Rewritten
997         to handle ArrayTypes as input.
998         (ArrayType(SimpleType<?>, boolean)): New constructor.
999         (equals(Object)): Handle primitiveArray flag.
1000         (hashCode()): Likewise.
1001         (getArrayType(OpenType<E>)): New method.
1002         (getPrimitiveArrayType(Class<T>)): Likewise.
1003         (isPrimitiveArray()): Likewise.
1004         (toString()): Updated to list primitiveArray
1005         flag.
1006         * javax/management/openmbean/OpenType.java:
1007         (OpenType(String,String,String)): Use Class.forName()
1008         and methods of Class to validate arrays.
1009         * javax/management/openmbean/SimpleType.java:
1010         Include causal exception when creating pre-defined types
1011         throws an exception.
1012         
1013 2007-03-09  Andreas Tobler  <a.tobler@schweiz.org>
1014
1015         Port change from gcc:
1016
1017         2007-03-06  Matthias Klose  <doko@ubuntu.com>
1018
1019         * doc/Makefile.am(gkeytool.pod): Don't use sed -i.
1020
1021 2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
1022
1023         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
1024         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
1025         (executeGetValues): Use Value type.
1026         (exectureSetValues): Ditto.  
1027         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
1028         (executeGetValues): Use Value type.
1029         (executeSetValues): Ditto.
1030         (invokeMethod): Record method return type.
1031         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
1032         (executeGetValues): Use Value type.
1033         (executeSetValues): Ditto.
1034         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
1035         (executeGetValues): Use Value type.
1036         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
1037         (executeGetValues): Use Value type.
1038         (executeSetValues): Ditto.
1039         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return
1040         type.
1041         (getResultType): New Method.
1042         (setResultType): Ditto.
1043         * gnu/classpath/jdwp/util/Value.java: Remove.
1044         * gnu/classpath/jdwp/value: New Package.
1045         * gnu/classpath/jdwp/value/Value.java: New file.
1046         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
1047         * gnu/classpath/jdwp/value/ByteValue.java: New file.
1048         * gnu/classpath/jdwp/value/CharValue.java: New file.
1049         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
1050         * gnu/classpath/jdwp/value/FloatValue.java: New file.
1051         * gnu/classpath/jdwp/value/IntValue.java: New file.
1052         * gnu/classpath/jdwp/value/LongValue.java: New file.
1053         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
1054         * gnu/classpath/jdwp/value/ShortValue.java: New file.
1055         * gnu/classpath/jdwp/value/StringValue.java: New file.
1056         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
1057         * gnu/classpath/jdwp/value/VoidValue.java: New file.
1058
1059 2007-03-09  Roman Kennke  <kennke@aicas.com>
1060
1061         * java/awt/image/SinglePixelPackageSampleModel.java
1062         (createDataBuffer): Avoid use of Buffers class and create
1063         DataBuffer directly in place.
1064
1065 2007-03-09  Roman Kennke  <kennke@aicas.com>
1066
1067         * java/awt/image/ComponentSampleModel.java
1068         (tightPixelPacking): Removed.
1069         (ComponentSampleModel): Removed unnecessary 'optimization' code.
1070         (createDataBuffer): Avoid use of Buffers helper class.
1071         (getDataElements(int,int,int,int,Object,DataBuffer): Removed.
1072         (getDataElements(int,int,Object,DataBuffer): Do not use Buffers
1073         helper class and instead fetch the values directly. Don't expect
1074         any specific DataBuffer subclass.
1075         (setDataElements(int,int,int,int,Object,DataBuffer): Removed.
1076         (setDataElements(int,int,Object,DataBuffer): Do not use Buffers
1077         helper class and instead set the values directly. Don't expect
1078         any specific DataBuffer subclass.
1079
1080 2007-03-08  Tom Tromey  <tromey@redhat.com>
1081
1082         PR libgcj/31093:
1083         * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
1084
1085 2007-03-08  Gary Benson  <gbenson@redhat.com>
1086
1087         PR classpath/30983:
1088         * gnu/xml/dom/ls/DomLSParser.java (getInputSource):
1089         Do not use the entity resolver to resolve the top-level document.
1090
1091 2007-03-07  Tom Tromey  <tromey@redhat.com>
1092
1093         PR classpath/31057:
1094         * java/util/regex/Pattern.java (toString): New method.
1095
1096 2007-03-07  Gary Benson  <gbenson@redhat.com>
1097
1098         PR classpath/30906:
1099         * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
1100         New file.
1101
1102 2007-03-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1103
1104         * gnu/java/lang/management/BeanImpl.java:
1105         (translate(String)): Add horrible generics hacks
1106         to make things work with the new type signatures.
1107         * javax/management/loading/ClassLoaderRepository.java:
1108         Added generic types.
1109         * javax/management/openmbean/CompositeDataSupport.java:
1110         Likewise.
1111         * javax/management/openmbean/OpenMBeanOperationInfo.java:
1112         Likewise.
1113         * javax/management/openmbean/OpenMBeanParameterInfo.java:
1114         Likewise.
1115
1116 2007-03-06  Francis Kung  <fkung@redhat.com>
1117
1118         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1119         (getGlyphOutline): Apply glyph position translation.
1120         (getOutline): Do not apply glyph position translation.
1121
1122 2007-03-06  Tom Tromey  <tromey@redhat.com>
1123
1124         * tools/gnu/classpath/tools/javah/Main.java (getName): New
1125         method.
1126         (getParser): Now protected.  Use getName.  Add '-v' alias for
1127         --verbose.
1128         (postParse): New method.
1129         (run): Now protected.  Use postParse.
1130         * tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
1131
1132 2007-03-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1133
1134         * gnu/javax/management/Translator.java:
1135         (translate(String)): Use a Boolean array to
1136         comply with the new typing.
1137         * javax/management/openmbean/ArrayType.java:
1138         Added generic types and updated copyright headers.
1139         * javax/management/openmbean/CompositeData.java:
1140         Likewise.
1141         * javax/management/openmbean/CompositeDataSupport.java:
1142         Likewise.       
1143         * javax/management/openmbean/CompositeType.java:
1144         Likewise.       
1145         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
1146         Likewise.       
1147         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
1148         Likewise.       
1149         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
1150         Likewise.       
1151         * javax/management/openmbean/OpenType.java:
1152         Updated copyright header.       
1153         * javax/management/openmbean/SimpleType.java:
1154         Added generic types and updated copyright headers.
1155         * javax/management/openmbean/TabularData.java:
1156         Likewise.
1157         * javax/management/openmbean/TabularDataSupport.java:
1158         Likewise.
1159         * javax/management/openmbean/TabularType.java:
1160         Likewise.
1161         
1162 2007-03-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1163
1164         * gnu/java/lang/management/BeanImpl.java:
1165         Reference the new Translator class.
1166         (translate(String)): Moved to Translator.
1167         * gnu/javax/management/Translator.java:
1168         New file.
1169         * javax/management/JMX.java:
1170         Likewise.
1171         * javax/management/MBeanServerInvocationHandler.java:
1172         Likewise.
1173         * javax/management/MXBean.java:
1174         Likewise.
1175         * javax/management/ObjectName.java:
1176         (ObjectName(String)): Catch a key without a value.
1177         * javax/management/StandardMBean.java:
1178         (StandardMBean(Class<?>)): Handle MXBeans.
1179         (StandardMBean(Object, Class<?>)): Likewise.
1180         (invoke(String,Object[],String[])): Disallow
1181         calling attribute methods and handle null signatures.
1182         (setAttribute(Attribute)): Search for mutators
1183         with the appropriate signature.
1184         * javax/management/openmbean/OpenType.java:
1185         Add generic typing.
1186         (ALLOWED_CLASSNAMES_LIST): New field.
1187         
1188 2007-03-02  Mario Torre  <neugens@limasoftware.net>
1189
1190         PR classpath/31017:
1191         committed for Petteri Räty <betelgeuse@gentoo.org>
1192         * configure.ac: fix broken build for gcj browser plugin
1193         
1194 2007-03-02  Mario Torre  <neugens@limasoftware.net>
1195
1196         * java/awt/Desktop.java: new java 1.6 class.
1197         * java/awt/peer/DesktopPeer.java: new inteface.
1198         * gnu/java/awt/peer/GnomeDesktopPeer.java: new class.
1199         * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class.
1200         * gnu/java/awt/peer/KDEDesktopPeer.java: new class.
1201         * java/awt/Toolkit.java (createDesktopPeer): new method to support the
1202         creation of DesktopPeer instances.
1203         * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and
1204         organize import.
1205         * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
1206
1207 2007-02-28  Keith Seitz  <keiths@redhat.com>
1208
1209         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
1210         (executeSet): Check if VM has capability for field access
1211         or modification events.
1212         * gnu/classpath/jdwp/processor/MethodCommandSet.java
1213         (executeByteCodes): Check if VM has capability and
1214         implement.
1215         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
1216         (executeMonitorInfo): Likewise.
1217         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
1218         (executeSourceDebugExtension): Likewise.
1219         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
1220         (executePopFrames): Likewise.
1221         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
1222         (executeOwnedMonitors): Likewise.
1223         (executeCurrentContendedMonitor): Likewise.
1224         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
1225         (executeCapabilities): Rewrite using new VMVirtualMachine
1226         capabilities.
1227         (executeRedefineClasses): Check if VM has capability and
1228         implement.
1229         (executeSetDefaultStratum): Likewise.
1230         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
1231         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
1232         (canWatchFieldModification): New class constant.
1233         (canWatchFieldAccess): Likewise.
1234         (canGetBytecodes): Likewise.
1235         (canGetSyntheticAttribute): Likewise.
1236         (canGetOwnedMonitorInfo): Likewise.
1237         (canGetCurrentContendedMonitor): Likewise.
1238         (canGetMonitorInfo): Likewise.
1239         (canRedefineClasses): Likewise.
1240         (canAddMethod): Likewise.
1241         (canUnrestrictedlyRedefineClasses): Likewise.
1242         (canPopFrames): Likewise.
1243         (canUseInstanceFilters): Likewise.
1244         (canGetSourceDebugExtension): Likewise.
1245         (canRequestVMDeathEvent): Likewise.
1246         (canSetDefaultStratum): Likewise.
1247         (redefineClasses): New method.
1248         (setDefaultStratum): Likewise.
1249         (getSourceDebugExtension): Likewise.
1250         (getBytecodes): Likewise.
1251         (getMonitorInfo): Likewise.
1252         (getOwnedMonitors): Likewise.
1253         (getCurrentContendedMonitor): Likewise.
1254         (popFrames): Likewise.
1255
1256 2007-03-01  Roman Kennke  <kennke@aicas.com>
1257
1258         * java/awt/Canvas.java
1259         (graphicsConfiguration): Removed duplicate (from Component) field.
1260         (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig
1261         field.
1262         (getGraphicsConfigurationImpl): Removed.
1263         * java/awt/Component.java
1264         (getGraphicsConfiguration): Moved implementation here. Synchronize
1265         on tree lock to prevent threading nastiness. Don't query peer
1266         and instead return the setting of the graphicsConfig field.
1267         (getGraphicsConfigurationImpl): Removed.
1268         * java/awt/Window.java
1269         (graphicsConfiguration): Removed duplicate (from Component) field.
1270         (Window): Set the Component's graphicsConfig field.
1271         (Window(GraphicsConfiguration)): Set the Component's graphicsConfig
1272         field.
1273         (Window(Window,GraphicsConfiguration)): Set the Component's 
1274         graphicsConfig field.
1275         (getGraphicsConfigurationImpl): Removed.
1276         (getGraphicsConfiguration): Fetch the local graphics env here
1277         if not already done and return that.
1278
1279 2007-02-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1280
1281         * INSTALL: Document --with-ecj-jar configure option and ecj jar
1282         requirement for com.sun.tools.javac support.
1283         * configure.ac: Add --with-ecj-jar configure option.
1284         * gnu/classpath/Configuration.java.in (ECJ_JAR): New field.
1285         * tools/Makefile.am: Build decendents of com and sun directories.
1286         * resource/com/sun/tools/javac/messages.properties,
1287         resource/sun/rmi/rmic/messages.properties,
1288         tools/com/sun/javadoc/ClassDoc.java,
1289         tools/com/sun/javadoc/ConstructorDoc.java,
1290         tools/com/sun/javadoc/Doc.java,
1291         tools/com/sun/javadoc/DocErrorReporter.java,
1292         tools/com/sun/javadoc/Doclet.java,
1293         tools/com/sun/javadoc/ExecutableMemberDoc.java,
1294         tools/com/sun/javadoc/FieldDoc.java,
1295         tools/com/sun/javadoc/MemberDoc.java,
1296         tools/com/sun/javadoc/MethodDoc.java,
1297         tools/com/sun/javadoc/PackageDoc.java,
1298         tools/com/sun/javadoc/ParamTag.java,
1299         tools/com/sun/javadoc/Parameter.java,
1300         tools/com/sun/javadoc/ProgramElementDoc.java,
1301         tools/com/sun/javadoc/RootDoc.java,
1302         tools/com/sun/javadoc/SeeTag.java,
1303         tools/com/sun/javadoc/SerialFieldTag.java,
1304         tools/com/sun/javadoc/SourcePosition.java,
1305         tools/com/sun/javadoc/Tag.java,
1306         tools/com/sun/javadoc/ThrowsTag.java,
1307         tools/com/sun/javadoc/Type.java,
1308         tools/com/sun/javadoc/TypeVariable.java,
1309         tools/com/sun/tools/doclets/Taglet.java,
1310         tools/com/sun/tools/javac/Main.java,
1311         tools/com/sun/tools/javac/Messages.java,
1312         tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java:
1313         New files.
1314
1315 2007-02-28  Keith Seitz  <keiths@redhat.com>
1316
1317         * gnu/classpath/jdwp/processor/MethodCommandSet.java
1318         (executeLineTable): Use ReferenceTypeId instead of
1319         ClassReferenceTypeId.
1320         (executeVariableTable): Likewise.
1321         (executeVariableTableWithGeneric): Fix error message.
1322         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
1323         (executeSignatureWithGeneric): Fix error message.
1324         (executeFieldWithGeneric): Likewise.
1325         (executeMethodsWithGeneric): Likewise.
1326         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
1327         (executeGetValues): Use ThreadId instead of ObjectId.
1328         (executeSetValues): Likewise.
1329         (executeThisObject): Likewise.
1330
1331 2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
1332
1333         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
1334         * gnu/classpath/jdwp/util/NullObject.java: New class.
1335         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
1336         (getObjectId): Handle null object.
1337         (get): Handle objectId of 0. 
1338
1339 2007-02-26  Francis Kung  <fkung@redhat.com>
1340
1341         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1342         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated
1343         function for creating new font map.
1344
1345 2007-02-26  Francis Kung  <fkung@redhat.com>
1346
1347         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1348         (drawCairoSurface): Do not reset clip.
1349         (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise.
1350
1351 2007-02-23  Francis Kung  <fkung@redhat.com>
1352
1353         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1354         (drawCairoSurface): New method.
1355         (drawImage(Image,AffineTransform,Color,ImageObserver)): Use new
1356         drawCairoSurface() method.
1357         * gnu/java/awt/peer/gtk/CairoSurface.java
1358         (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct
1359         width/height values, and copy sharedBuffer value.
1360         (createWritableChild): Remove debug line.
1361         (drawSurface): Removed method.
1362         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
1363         (drawComposite): Translate image when drawing.
1364
1365 2007-02-23  Gary Benson  <gbenson@redhat.com>
1366             Jakub Jelinek  <jakub@redhat.com>
1367
1368         PR libgcj/17002
1369         PR classpath/28550
1370         * java/util/Date.java (parse): Properly parse 09:01:02 as
1371         hours/minutes/seconds, not as hours/minutes/year.
1372         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
1373         {start,end}TimeMode constructor by calling shorter constructor,
1374         set {start,end}TimeMode fields after it returns.
1375         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
1376         startTimeMode to WALL_TIME.
1377         (endStartRule): Similarly.
1378         (getOffset): Handle properly millis + dstOffset overflowing into the
1379         next day.  Adjust startTime resp. endTime based on startTimeMode
1380         resp. endTimeMode.
1381         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
1382         static fields.
1383         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
1384         If non-null, set up aliases0 and don't put anything into
1385         timezones0.
1386         (defaultZone): Call getTimeZone instead of timezones().get.
1387         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
1388         getTimeZoneInternal instead of timezones().get.
1389         (parseTime): Parse correctly hour:minute.
1390         (getTimeZoneInternal): New private method.
1391         (getTimeZone): Do the custom ID checking first, canonicalize
1392         ID for custom IDs as required by documentation.  Call
1393         getTimeZoneInternal to handle the rest.
1394         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
1395         (getAvailableIDs(File,String,ArrayList)): New private method.
1396         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
1397         * vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
1398         To read /etc/localtime, use ZoneInfo.readTZFile instead of
1399         VMTimeZone.readtzFile.  Get better timezone name for
1400         /etc/localtime, either if it is a symlink or through
1401         /etc/sysconfig/clock.
1402         (readSysconfigClockFile): New static method.
1403         (readtzFile): Removed.
1404         * gnu/java/util/ZoneInfo.java: New file.        
1405         * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1406         * NEWS: Documented TimeZone interface changes.
1407
1408 2007-02-23  Francis Kung  <fkung@redhat.com>
1409
1410         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
1411         (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line.
1412
1413 2007-02-22  Keith Seitz  <keiths@redhat.ecom>
1414
1415         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
1416         (getAllLoadedClassesCount): Remove.
1417         (getAllLoadedClasses): Return a Collection.
1418         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
1419         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
1420         now returns Collection.
1421         (executeAllClasses): Likewise.
1422         Get size of return from Colleciton instead of calling
1423         getAllLoadedClassesCount.
1424
1425 2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
1426
1427         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
1428         (executeGetValues): Pass a signature byte to VMFrame.getValue.
1429         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
1430         signature parameter.
1431
1432 2007-02-22  Francis Kung  <fkung@redhat.com>
1433
1434         * gnu/java/awt/peer/gtk/CairoSurface.java
1435         (copyAreaNative): Pass surface pointer into copyAreaNative2().
1436         (copyAreaNative2): Add parameter for surface pointer.
1437         (getFlippedBuffer): Add parameter for surface pointer.
1438         (getGtkImage): Pass surface pointer into getFlippedBuffer().
1439
1440 2007-02-21  Francis Kung  <fkung@redhat.com>
1441
1442         * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java
1443         (constructor): Add pre-multiplied colour model to types available for
1444         optimization.
1445         (updateBufferedImage): Change surface.getPixels() call to surface.getData().
1446         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1447         (drawImage): Add checks before using CairoSurface optimization.
1448         * gnu/java/awt/peer/gtk/CairoSurface.java
1449         (bufferPointer): Removed field.
1450         (sharedBuffer): New field.
1451         (CairoSurface(GtkImage)): Copy array rather than using setPixels() call.
1452         (CairoSurface(int,int,int)): Use getData() convenience method.
1453         (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference
1454         to deleted bufferPointer field.
1455         (copyAreaNative): Update documentation, remove reference to bufferPointer.
1456         (copyAreaNative2): Remove reference to deleted bufferPointer field.
1457         (destroy): Remove reference to deleted bufferPointer field.
1458         (dispose): Updated to reflect new method signature for destroy().
1459         (drawSurface): Added documentation.
1460         (getData): New convience method.
1461         (getFlippedBuffer): Removed method parameters.
1462         (getGtkImage): Updated to reflect new method signature.
1463         (getPixels): Removed method.
1464         (nativeGetElem): Removed method.
1465         (netiveGetPixels): Removed method.
1466         (nativeSetElem): Removed method.
1467         (nativeSetPixels): Removed method.
1468         (setPixels): Removed method.
1469         (syncJavaToNative): New method.
1470         (syncNativeToJava): New method.
1471         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
1472         (draw): Sync buffers if necessary.
1473         (drawGlyphVector): Likewise.
1474         (drawImage): Likewise.
1475         (drawRenderedImage): Likewise,
1476         (fill): Likewise.
1477         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
1478         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
1479         (Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to
1480         surface rather than pointer to buffer.
1481         (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for
1482         copied arrays.
1483         (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays.
1484         (Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve
1485         information on size using JNI calls.
1486         (Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed.
1487         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed.
1488         (Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed.
1489         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed.
1490         (Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function.
1491         (Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function.
1492         (BUFFER): Removed constant.
1493         (SHARED): New constant.
1494
1495 2007-02-20  Gary Benson  <gbenson@redhat.com>
1496
1497         * javax/management/ObjectName.java
1498         (domainMatches): New method.
1499         (apply): Rearranged to use the above.
1500
1501 2007-02-19  Mark Wielaard  <mark@klomp.org>
1502
1503         * doc/.cvsignore: Add *.1.
1504         * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES.
1505
1506 2007-02-19  Dalibor Topic  <robilad@kaffe.org>
1507
1508         * cp-hacking.texinfo, cp-tools.texinfo, 
1509         cp-vmintegration.texinfo: Prefix output file name
1510         with cp.
1511
1512 2007-02-19  Gary Benson  <gbenson@redhat.com>
1513
1514         * javax/management/ObjectName.java
1515         (properties): Initialize when declared.
1516         (ObjectName(String)): Don't initialize properties here.
1517         (ObjectName(String, String, String): Likewise.
1518
1519 2007-02-19  Chris Burdess  <dog@gnu.org>
1520
1521         Fixes #30831
1522         * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
1523           properties when reader is available.
1524
1525 2007-02-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1526
1527         * javax/management/MBeanServer.java:
1528         (queryMBeans(ObjectName,QueryExp)): Returned
1529         generically-typed Set.
1530         (queryNames(ObjectName,QueryExp)): Likewise.
1531         * javax/management/MBeanServerConnection.java:
1532         (queryMBeans(ObjectName,QueryExp)): Returned
1533         generically-typed Set.
1534         (queryNames(ObjectName,QueryExp)): Likewise.
1535         * javax/management/ObjectName.java:
1536         Use a generically-typed TreeMap.
1537         (ObjectName(String,Hashtable<String,String>):
1538         Genericized.
1539         (getKeyPropertyList()): Likewise.
1540         * javax/management/StandardMBean.java:
1541         Use a generically-typed interface class.
1542         (StandardMBean(Class<?>)): Genericized.
1543         (StandardMBean(T, Class<T>)): Likewise.
1544         (getImplementationClass()): Likewise.
1545         (getMBeanInterface()): Likewise.
1546         
1547 2007-02-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1548
1549         * javax/management/Descriptor.java:
1550         New file.
1551         * javax/management/DescriptorRead.java:
1552         Likewise.
1553         * javax/management/DescriptorAccess.java:
1554         Likewise.
1555         
1556 2007-02-16  Matthias Klose  <doko@ubuntu.com>
1557
1558         * doc/Makefile.am: Add rules to build and install man pages
1559         from texinfo docs.
1560         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
1561         Rename, prefix files with "cp-".
1562         * doc/cp-tools.texinfo: Add markup for man page generation,
1563         add documentation for command line options for gjar, gjavah,
1564         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
1565         doc/texi2pod.pl: New, taken from the GCC sources.
1566
1567 2007-02-16  Francis Kung  <fkung@redhat.com>
1568
1569         * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file.
1570         * gnu/java/awt/peer/gtk/CairoSurface.java
1571         (CairoDataBuffer): Removed inner class.
1572         (CairoSurface(int,int,int,int)): New constructor.
1573         (CairoSurface(int,int)): Delegate to new constructor.
1574         (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor
1575         for creating child rasters.
1576         (create): Added int[] parameter.
1577         (createChild): New method.
1578         (createCompatibleWritableRaster): New methods.
1579         (createTranslatedChild): New method.
1580         (createWritableChild): New method.
1581         (createWritableTranslatedChild): New method.
1582         (destroy): Added int[] parameter.
1583         (dispose): Only free native resources if this Surface has no parents.
1584         (isCompatibleColorModel): New method.
1585         (isCompatibleSampleModel): New method.
1586         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
1587         (draw): Set transform, smarter bounds generation.
1588         (drawComposite): Improved clipping.
1589         (drawImage): Fixed bounds translation.
1590         (drawRenderedImage): Set transform in buffer.
1591         (fill): Set transform in buffer.
1592         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1593         (createRaster): New method.
1594         * java/awt/image/BufferedImage.java
1595         (BufferedImage(int,int,int)): Use optimized raster if possible.
1596         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
1597         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
1598         (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between
1599         Cairo and Java.
1600         (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
1601
1602 2007-02-16  Francis Kung  <fkung@redhat.com>
1603
1604         * javax/management/NotificationBroadcasterSupport.java: Update imports.
1605
1606 2007-02-16  Andrew Haley  <aph@redhat.com>
1607
1608         * gnu/java/lang/management/MemoryMXBeanImpl.java,
1609         javax/management/MBeanServerDelegate.java: Use
1610         gnu.javax.management.ListenerData rather than
1611         gnu.classpath.ListenerData.
1612         * gnu/javax/management/ListenerData.java: Move here from
1613         gnu/classpath/ListenerData.java.
1614
1615 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
1616
1617         PR classpath/28652:
1618         * javax/management/MBeanInfo.java (MBeanInfo): 
1619         Use clone to duplicate the arrays in order to
1620         preserve the array type.
1621         
1622 2007-02-15  Gary Benson  <gbenson@redhat.com>
1623
1624         * gnu/javax/management/Server.java
1625         (registerMBean): Always register objects that implement the
1626         MBeanRegistration interface, and check the name returned by
1627         preRegister before using it.
1628
1629 2007-02-15  Roman Kennke  <kennke@aicas.com>
1630
1631         * java/nio/ByteOrder.java
1632         (nativeOrder): Avoid NPE when comparing a system property.
1633
1634 2007-02-13  Gary Benson  <gbenson@redhat.com>
1635
1636         * javax/management/ObjectName.java
1637         (toString): Return this item's canonical name.
1638
1639 2007-02-12  Francis Kung  <fkung@redhat.com>
1640
1641         * gnu/java/awt/ClasspathToolkit.java: 
1642         * gnu/java/awt/peer/gtk/AsyncImage.java,
1643         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
1644         * gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1645         * gnu/java/awt/peer/gtk/CairoSurface.java,
1646         * gnu/java/awt/peer/gtk/ComponentGraphics.java,
1647         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1648         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
1649         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1650         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1651         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1652         * gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1653         * gnu/java/awt/peer/gtk/GtkClipboard.java,
1654         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java,
1655         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1656         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1657         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
1658         * gnu/java/awt/peer/gtk/GtkImage.java,
1659         * gnu/java/awt/peer/gtk/GtkImageConsumer.java,
1660         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1661         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1662         * gnu/java/awt/peer/gtk/GtkMainThread.java,
1663         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1664         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
1665         * gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1666         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
1667         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1668         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1669         * gnu/java/awt/peer/gtk/GtkSelection.java,
1670         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1671         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1672         * gnu/java/awt/peer/gtk/GtkToolkit.java,
1673         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1674         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1675         * java/awt/RenderingHints.java,
1676         * java/awt/image/BufferedImage.java: Reformatted and added generics.
1677
1678 2007-02-12  Tom Tromey  <tromey@redhat.com>
1679
1680         * java/net/Socket.java (bind): Typo fix.
1681
1682 2007-02-12  Tom Tromey  <tromey@redhat.com>
1683
1684         * vm/reference/java/lang/reflect/Method.java (getDefaultValue):
1685         New method.
1686         * sun/reflect/annotation/AnnotationInvocationHandler.java (create):
1687         New method.
1688         (arrayClone): New method.
1689         (invoke): Clone array return results.
1690
1691 2007-02-12  Jakub Jelinek  <jakub@redhat.com>
1692
1693         PR 23566
1694         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
1695         just Rule lines, in the other everything else.  Pass 0 instead of
1696         $savings as second argument to parseRule when parsing the start
1697         rule.
1698         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
1699
1700 2007-02-12  Jakub Jelinek  <jakub@redhat.com>
1701
1702         * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both
1703         the old 'TZif\0' format and the new one.
1704         * java/util/TimeZone.java: Handle default (one hour) daylight
1705         savings.
1706
1707 2007-02-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1708
1709         * javax/management/Query.java:
1710         New file.
1711         * javax/management/StandardMBean.java:
1712         Use the implementation's class loader.
1713         
1714 2007-02-10  Mark Wielaard  <mark@klomp.org>
1715
1716         * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from
1717         java.util, not from java.sql.
1718
1719 2007-02-10  Roman Kennke  <kennke@aicas.com>
1720
1721         * javax/imageio/stream/ImageOutputStreamImpl.java
1722         (flushBits): Implemented.
1723         (writeBit): Implemented.
1724         (writeBits): Implemented.
1725
1726 2007-02-10  Roman Kennke  <kennke@aicas.com>
1727
1728         * javax/swing/TransferHandler.java
1729         (SwingDragGestureRecognizer): New inner class.
1730         (SwingDragHandler): New inner class.
1731         (recognizer): New field.
1732         (exportAsDrag): Implemented missing method.
1733
1734 2007-02-10  Roman Kennke  <kennke@aicas.com>
1735
1736         * java/awt/GraphicsConfiguration.java
1737         (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide
1738         default implementation that delegates to
1739         createCompatibleVolatileImage(int,int).
1740         (createCompatibleVolatileImage(int,int,ImageCapabilities,int):
1741         New method from JDK5 spec. Default implementation by delegating to
1742         (createCompatibleVolatileImage(int,int,int).
1743
1744 2007-02-09  Tom Tromey  <tromey@redhat.com>
1745
1746         PR libgcj/30647:
1747         * configure.ac: Also check for jack/jack.h.
1748
1749 2007-02-09  Mario Torre  <neugens@limasoftware.net>
1750
1751         * java/io/File.java: remove import for
1752         gnu.classpath.NotImplementedException.
1753         (getUsableSpace): removed stub.
1754         (getFreeSpace): likewise.
1755         (getTotalSpace): likewise.
1756
1757 2007-02-09  Mario Torre  <neugens@limasoftware.net>
1758
1759         * vm/reference/java/io/VMFile.java: 
1760         (canExecute): new 1.6 native method.
1761         (setReadable): likewise.
1762         (setWritable): likewise.
1763         (setExecutable): likewise.
1764         * java/io/File.java: added import for gnu.classpath.NotImplementedException.
1765         (setReadOnly): new 1.6 method.
1766         (canExecute): likewise. 
1767         (setReadable): likewise. 
1768         (setWritable): likewise.
1769         (setExecutable): likewise.
1770         (getUsableSpace): added stub for new 1.6 method.
1771         (getFreeSpace): likewise.
1772         (getTotalSpace): likewise.
1773         (checkExec): new private method to support new 1.6 additions.
1774         * native/jni/java-io/java_io_VMFile.c:
1775         set_file_permissions: new helper function.
1776         Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods
1777         in VMFile.java.
1778         Java_java_io_VMFile_setWritable: likewise. 
1779         Java_java_io_VMFile_setExecutable: likewise. 
1780         Java_java_io_VMFile_canExecute: likewise. 
1781         * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC,
1782         CPFILE_FLAG_USR and CPFILE_FLAG_OFF.
1783         cpio_chmod: new function declaration.
1784         cpio_checkAccess: likewise.
1785         * native/jni/native-lib/cpio.c:
1786         cpio_chmod: new function definition.
1787         cpio_checkAccess: likewise.
1788
1789 2007-02-09  Gary Benson  <gbenson@redhat.com>
1790
1791         * javax/management/ObjectName.java
1792         (quote): Initialize StringBuilder correctly.
1793
1794 2007-02-09  Francis Kung  <fkung@redhat.com>
1795
1796         * java/awt/image/BufferedImage: Reformatted.
1797
1798 2007-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1799
1800         Fixes bug #30732
1801         * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next
1802         token has a next token.
1803
1804 2007-02-08  Roman Kennke  <kennke@aicas.com>
1805
1806         PR 30347
1807         * javax/swing/JViewport.java
1808         (scrollRectToVisible): Use correct X/Y offset for calculations.
1809         (paintBackingStore): Update backbuffer when we are not the paint
1810         root.
1811
1812 2007-02-08  Roman Kennke  <kennke@aicas.com>
1813
1814         * java/awt/image/SinglePixelPackedSampleModel.java
1815         (getDataElements(int,int,Object,DataBuffer)):
1816         Replace DataBuffer using method with simple
1817         switch. This does not check for the exact type (class) of the
1818         DataBuffer but instead checks the transfer type.
1819         (getDataElements(int,int,int,intObject,DataBuffer)): Removed.
1820         (setDataElements): Fixed indentation.
1821         (setPixels): Removed unused statement.
1822
1823 2007-02-07  Tom Tromey  <tromey@redhat.com>
1824
1825         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
1826         (PathOptionGroup): Allow '-cp' as well.
1827
1828 2007-02-07  Chris Burdess  <dog@gnu.org>
1829
1830         Fixes PR 30718.
1831         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
1832         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
1833           SAXSources without a backing URL or stream.
1834
1835 2007-02-06  Tom Tromey  <tromey@redhat.com>
1836
1837         PR libgcj/30707:
1838         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
1839         (printClass): Always print a header.
1840
1841 2007-02-06  Chris Burdess  <dog@gnu.org>
1842
1843         Fixes PR 27710.
1844         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
1845           LSParser if implementation does not support asynchronous.
1846         * gnu/xml/stream/XMLParser.java,
1847           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
1848           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
1849           protocol handler problems.
1850
1851 2007-02-05  Andrew Haley  <aph@redhat.com>
1852
1853         PR cp-tools/30706
1854         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
1855         (printClass): Replace '/' in filenames with '_'.
1856         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
1857         (printClass): Likewise.
1858
1859 2007-02-05  Tom Tromey  <tromey@redhat.com>
1860
1861         * java/net/Proxy.java (equals): Handle case where address==null.
1862         (hashCode): Likewise.
1863         (toString): Likewise.
1864
1865 2007-02-04  Jeroen Frijters  <jeroen@frijters.net>
1866
1867         * java/lang/Class.java
1868         (newInstance): Moved setAccessible call to helper method.
1869         (getEnumConstants): Call new helper method to allow values method to be
1870         called on non-public enum classes.
1871         (setAccessible): New helper method.
1872         * java/lang/Enum.java
1873         (valueOf): Call new helper method in class to allow field value to
1874         be read on non-public enum classes.
1875
1876 2007-02-04  Jeroen Frijters  <jeroen@frijters.net>
1877
1878         Fix for #30693
1879         * gnu/java/nio/charset/ByteCharset.java
1880         (ByteCharset.Decoder.decodeLoop): Reset input buffer position if
1881         the byte read was unmappable.
1882
1883 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
1884
1885         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
1886         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
1887         (executeSetValues): Ditto.
1888         (executeThisObject): Ditto.
1889         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a
1890         constructor used to create VMFrames.
1891         (getThread): New method.
1892         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed
1893         to take a long instead of a ByteBuffer to pass the frameID.
1894
1895 2007-02-01  Tom Tromey  <tromey@redhat.com>
1896
1897         * java/util/logging/LogManager.java (reset): Remove bogus
1898         'while'.
1899
1900 2007-01-31  Casey Marshall  <csm@gnu.org>
1901
1902         * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.' 
1903         * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports.
1904         (add): use `gnu.java.util.Base64.'
1905         * gnu/java/net/protocol/http/Request.java (authenticate): use
1906         `gnu.java.util.Base64.'
1907         * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream):
1908         likewise.
1909         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise.
1910         * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise.
1911         * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421):
1912         likewise.
1913         * gnu/java/net/Base64.java: removed.
1914         * gnu/java/security/util/Base64.java: removed.
1915
1916 2007-01-31  Casey Marshall  <csm@gnu.org>
1917
1918         Fixes PR classpath/24191.
1919         Fix suggested by Rafael Teixeira <monoman@gmail.com>.
1920         * javax/crypto/CipherOutputStream.java (write): check return value
1921         of `update' for null.
1922
1923 2007-01-31  Tom Tromey  <tromey@redhat.com>
1924
1925         * resource/gnu/classpath/tools/jar/messages.properties
1926         (Main.Stdin): New message.
1927         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
1928         '-@' option.
1929         (readNames): New method.
1930         (run): Use it.
1931
1932 2007-01-30  Roman Kennke  <kennke@aicas.com>
1933
1934         PR 20577
1935         * javax/swing/DefaultDesktopManager.java
1936         (activateFrame): Added a bunch of null checks. Don't call
1937         JInternalFrame.setSelected() to avoid recursion.
1938
1939 2007-01-29  Andrew Haley  <aph@redhat.com>
1940
1941         * java/lang/SecurityManager.java (SecurityManager): Load and
1942         initialize java.security.Security.
1943
1944 2007-01-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1945
1946         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1947         (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException
1948         in case of timeout.
1949         * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if
1950         SO_RCVTIMEO is set.
1951
1952 2007-01-26  Tom Tromey  <tromey@redhat.com>
1953
1954         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
1955         'volatile' after field type.
1956
1957 2007-01-26  Chris Burdess  <dog@gnu.org>
1958
1959         Fixes #30597
1960         * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause
1961           of LSException is an IOException.
1962         * gnu/xml/dom/ls/DomLSParser.java,
1963           gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set
1964           correctly during LS parsing.
1965
1966 2007-01-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1967
1968         * javax/management/PersistentMBean.java:
1969         New file.
1970         
1971 2007-01-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1972
1973         * javax/management/AttributeChangeNotificationFilter.java:
1974         Correct typo.
1975         * javax/management/NotificationFilterSupport.java:
1976         New file.
1977         
1978 2007-01-21  Mark Wielaard  <mark@klomp.org>
1979
1980         * java/security/SecureClassLoader.java (defineClass): Method returns
1981         Class<?>.
1982         * java/security/SignatureSpi.java (engineUpdate(ByteBuffer):
1983         Does not throw SignatureException. Chain SignatureException inside
1984         IllegalStateException.
1985
1986 2007-01-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1987
1988         * javax/management/NotificationBroadcasterSupport.java:
1989         New file.
1990         
1991 2007-01-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1992
1993         * java/text/DecimalFormat.java(parse): Corrected the ParsePosition
1994         settings.
1995
1996 2007-01-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1997
1998         * java/text/SimpleDateFormat(parse): Corrected the usage of
1999                 NumberFormat.
2000
2001 2007-01-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2002
2003         Fixes bug #30488
2004         * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted,
2005         (setsockopt_NOSIGPIPE): New function,
2006         (cpnet_send): Corrected the option setting to send(),
2007         (cpnet_sendTo): Corrected the option setting to sendto(). 
2008
2009 2007-01-19  Marco Trudel  <mtrudel@gmx.ch>
2010
2011         * java/util/Arrays.java (binarySearch): Change comparison order.
2012
2013 2007-01-17  Keith Seitz  <keiths@redhat.com>
2014
2015         * gnu/classpath/jdwp/events/filters/StepFilter.java:
2016         Update javadoc. 
2017         (matches): Implement.
2018
2019         * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor
2020         agent startup suspension for VM_INIT.
2021
2022 2007-01-17  Tom Tromey  <tromey@redhat.com>
2023
2024         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
2025         (PathOptionGroup): Set default boot class path.
2026
2027 2007-01-17  Mark Wielaard  <mark@klomp.org>
2028
2029         * javax/activity/ActivityCompletedException.java: Make constructors
2030         public.
2031         * javax/activity/ActivityRequiredException.java: Likewise.
2032         * javax/activity/InvalidActivityException.java: Likewise.
2033
2034 2007-01-17  Roman Kennke  <kennke@aicas.com>
2035
2036         * javax/swing/plaf/basic/BasicRadioButtonUI.java
2037         (paint): Use helper method to figure out icon. Don't override
2038         the icon field in that class. Check for null icons.
2039         (getCurrentIcon): New helper function to determine icon to be
2040         painted.
2041
2042 2007-01-17  Mark Wielaard  <mark@klomp.org>
2043
2044         * javax/activity/ActivityCompletedException.java: New file.
2045         * javax/activity/ActivityRequiredException.java: Likewise.
2046         * javax/activity/InvalidActivityException.java: Likewise.
2047         * javax/activity/package.html: Likewise.
2048
2049 2007-01-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2050
2051         * javax/management/DefaultLoaderRepository.java:
2052         (loadClass(String)): Made static.
2053         (loadClassWithout(String,ClassLoader)): Likewise.
2054
2055 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
2056
2057         * gnu/classpath/jdwp/exception/TypeMismatchException.java: New file.
2058         * gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation.
2059         * gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation.
2060         
2061 2007-01-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2062
2063         * javax/management/AttributeValueExp.java:
2064         Corrected serialVersionUID typo.
2065         * javax/management/DefaultLoaderRepository.java:
2066         New file.
2067         * javax/management/MBeanServerFactory.java:
2068         Add generic typing.
2069         
2070 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
2071
2072         * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file.
2073
2074 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
2075
2076         * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
2077
2078 2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
2079
2080         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
2081
2082 2007-01-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2083
2084         * javax/management/AttributeValueExp.java: New file.
2085         * javax/management/QueryEval.java: Likewise.
2086         * javax/management/StringValueExp.java: Likewise.
2087         
2088 2007-01-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2089
2090         * javax/management/AttributeChangeNotificationFilter.java:
2091         New file.
2092         
2093 2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>
2094
2095         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
2096         (AicasGraphicsBenchmark): Load images from ../icons.
2097         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init):
2098         Likewise.
2099         * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files
2100         to icons.
2101         * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons.
2102         Delete here.
2103         * examples/gnu/classpath/examples/awt/palme.gif: Likewise.
2104         * examples/gnu/classpath/examples/java2d/aicas.png: Likewise.
2105         * examples/gnu/classpath/examples/java2d/palme.gif: Likewise.
2106         * examples/gnu/classpath/examples/icons/aicas.png: Moved.
2107         * examples/gnu/classpath/examples/icons/palme.gif: Likewise.
2108
2109 2007-01-09  Tania Bento  <tbento@redhat.com>
2110
2111         * java/security/Permission.java:
2112         (toString): If there are no actions, then there should not 
2113         be a space between its name and ')'.
2114
2115 2007-01-08  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2116
2117         * javax/management/AttributeChangeNotification.java:
2118         New file.
2119         
2120 2007-01-08  Cameron McCormack  <cam@mcc.id.au>
2121
2122         PR 30355
2123         * java/util/Arrays.java:
2124         (binarySearch(byte[],byte)): Added check for zero-length array.
2125         (binarySearch(short[],short)): Likewise.
2126         (binarySearch(int[],int)): Likewise.
2127         (binarySearch(long[],long)): Likewise.
2128         (binarySearch(char[],char)): Likewise.
2129         (binarySearch(float[],float)): Likewise.
2130         (binarySearch(double[],double)): Likewise.
2131         (binarySearch(Object[],Object)): Likewise.
2132         (binarySearch(T[],T,Comparator)): Likewise.
2133
2134 2007-01-08  Tom Tromey  <tromey@redhat.com>
2135
2136         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run):
2137         Fix length check.  PR classpath/30346.
2138
2139 2007-01-09  Raif S. Naffah  <classpath@naffah-raif.name>
2140
2141         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year.
2142         (sfEntries): Use generics.
2143         (writeDSA()): Likewise.
2144         (startSigning()): Likewise.
2145         (updateEntry()): Likewise.
2146         * tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year.
2147         (CACHED_FORMATS): Use generics.
2148         (getFormattedString()): Likewise.
2149         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year.
2150         (fileAndAlias): Use generics.
2151         (ToolParser.validate()): Likewise.
2152         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java:
2153         Updated copyright year.
2154         Re-ordered imports and removed unused entries.
2155         (entryHashes): Use generics.
2156         (start()): Likewise.
2157         (verifySFEntries()): Likewise.
2158         Use map's entrySet() instead of its keySet().
2159
2160 2007-01-08  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2161
2162         * java/text/DateFormat.java:
2163         (computeInstance(int,int,Locale,boolean,boolean)):
2164         Throw an exception when locale info. is unavailable.
2165         (computeDefault(int,int,boolean,boolean)): New method.
2166         (getDateInstance(int,Locale)): Check providers.
2167         (getDateTimeInstance(int,int,Locale)): Likewise.
2168         (getTimeInstance(int,Locale)): Likewise.
2169         * java/text/DateFormatSymbols.java:
2170         Update documentation to match DecimalFormatSymbols.
2171         * java/text/DecimalFormatSymbols.java:
2172         (DecimalFormatSymbols(Locale)): Reordered.
2173         (getInstance()): Implemented.
2174         (getInstance(Locale)): Implemented.
2175         * java/text/NumberFormat.java:
2176         (computeInstance(Locale,String,String)):
2177         Throw an exception when locale info is unavailable.
2178         (getCurrencyInstance(Locale)): Check providers.
2179         (getIntegerInstance(Locale)): Likewise.
2180         (getNumberInstance(Locale)): Likewise.
2181         (getPercentInstance(Locale)): Likewise.
2182         * java/text/spi/DateFormatProvider.java: New file.
2183         * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise.
2184         * java/text/spi/NumberFormatProvider.java: Likewise.
2185         
2186 2007-01-07  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2187
2188         Fixes bug #30377
2189         * native/jni/native-lib/cpnet.h: Add some include files.
2190
2191 2007-01-07  Roman Kennke  <roman@kennke.org>
2192
2193         PR 30337
2194         * java/awt/Component.java
2195         (getFontImpl): Return null when the component has no font set
2196         and also has no parent yet.
2197         * javax/swing/plaf/basic/BasicComboBoxUI.java
2198         (PropertyChangeHandler.propertyChange): Only add editor when combo
2199         box is editable. Avoid fetching the property name repeatedly.
2200         Invalidate when renderer or prototypeDisplayValue change.
2201         (uninstallComponents): Unconfigure everything and then remove all
2202         components.
2203         * javax/swing/plaf/basic/BasicComboPopup.java
2204         (uninstallingUI): Don't nullify list model.
2205         * javax/swing/plaf/metal/MetalComboBoxUI.java
2206         (createArrowButton): Pass currentValuePane to the MetalComboBoxButton
2207         constructor rather than a new (unconnected) CellRendererPane.
2208
2209 2007-01-06  Roman Kennke  <roman@kennke.org>
2210
2211         PR 30337
2212         * javax/swing/plaf/basic/BasicComboBoxUI.java
2213         (installUI): Install popup and list here.
2214         Don't configure the arrow button and editor here.
2215         (installComponents): Don't install popup and list here. (Moved
2216         to installUI). Configure arrow button here and check for null.
2217         (addEditor): Configure editor here.
2218         (configureArrowButton): Directly fetch listeners from popup.
2219         (paintCurrentValue): Removed unused local variables.
2220         (layoutContainer): Removed unused local variables.
2221         (PropertyChangeHandler.propertyChange): Don't invalidate minimumSize
2222         on each property change. Avoid calling getPropertyName() repeatedly.
2223         Clean up. Call addEditor() when editor changes. Configure and
2224         unconfigure editor when editable changes. Use 'model' instead
2225         of non-existing 'dataModel' property.
2226         * javax/swing/plaf/basic/BasicComboPopup.java
2227         (uninstallingUI): Remove property change listener and item listener
2228         here. Uninstall list listeners. Set model to null to prevent leakage.
2229         (configureList): Don't sync list selection there.
2230         (uninstallComboBoxListeners): Moved to uninstallingUI.
2231         (uninstallListeners): Moved to uninstallingUI.
2232         * javax/swing/plaf/metal/MetalComboBoxUI.java
2233         (createPopup): Call super.
2234         (getMinimumSize): Removed unused statement.
2235
2236 2007-01-06  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2237
2238         * java/text/Collator.java:
2239         (getInstance(Locale)): Check providers.
2240         * java/text/spi/CollatorProvider.java:
2241         New file.
2242         
2243 2007-01-04  Roman Kennke  <roman@kennke.org>
2244
2245         PR 30122
2246         * java/awt/Component.java
2247         (getFont): Don't synchronize on tree lock here. The method is
2248         thread-safe 'enough' by fetching local variables in getFontImpl().
2249
2250 2007-01-04  Roman Kennke  <roman@kennke.org>
2251
2252         * java/awt/AWTEvent.java
2253         (toString): Don't include the whole component in the output,
2254         only its name.
2255         * java/awt/Component.java
2256         (isShowing): Create local copy of parent field for better
2257         thread safety and efficiency.
2258         * java/awt/EventDispatchThread.java
2259         (EventDispatchThread): Make sure the event thread is not a daemon
2260         thread in case it gets started by a daemon thread.
2261         * java/awt/image/IndexColorModel.java
2262         (createColorMap): New helper method for creating the color map.
2263         (IndexColorModel): (all constructors) use createColorMap() helper
2264         method.
2265
2266 2007-01-04  Roman Kennke  <roman@kennke.org>
2267
2268         * gnu/java/awt/font/autofit/GlyphHints.java
2269         (alignStrongPoints): Don't special case the vertical dimension.
2270         (computeInflectionPoints): Corrected computation of inflection
2271         points.
2272         * gnu/java/awt/font/autofit/Utils.java
2273         (ANGLE_4PI): Removed.
2274         (ANGLE_PI2): New constant for PI/2.
2275         (ANGLE_PI4): New constant for PI/4.
2276         (angleDiff): Fixed.
2277         (atan): Fixed.
2278
2279 2007-01-03  Cameron McCormack  <cam@mcc.id.au>
2280
2281         Fixes bug #29246
2282         * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities
2283         isValidKey method. Throw UnsupportedOperationException on a valid
2284         key (for which no locking state can be given).
2285         * gnu/java/awt/AWTUtilities.java (isValidKey): New method.
2286         * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New
2287         method.
2288         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2289         (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method.
2290         * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
2291
2292 2007-01-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2293
2294         * java/text/BreakIterator.java:
2295         (getCharacterInstance(Locale)): Check providers.
2296         (getLineInstance(Locale)): Likewise.
2297         (getSentenceInstance(Locale)): Likewise.
2298         (getWordInstance(Locale)): Likewise.
2299         * java/text/spi/BreakIteratorProvider.java:
2300         New file.
2301         * java/text/spi/DateFormatSymbolsProvider.java:
2302         Update header text.
2303         * java/util/ServiceConfigurationError.java:
2304         Add serialVersionUID.
2305         
2306 2007-01-03  Francis Kung  <fkung@redhat.com>
2307
2308         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
2309         (copy): Copy and set antialias value.
2310
2311 2007-01-03  Tania Bento  <tbento@redhat.com>
2312
2313         * java/awt/CardLayout.java:
2314         (maximumLayoutSize): Return a new Dimension with a width of value
2315         Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component
2316         has no components.
2317
2318 2007-01-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2319
2320         * java/text/DateFormatSymbols.java:
2321         (getZoneStrings(ResourceBundle)): Changed to...
2322         (getZoneStrings(ResourceBundle,Locale)): Added
2323         use of TimeZoneNamesProvider.
2324         (getZoneStrings()): Return either mutated zone
2325         strings or initial ones.
2326         (getInstance(Locale)): Check DateFormatSymbolsProvider
2327         instances.
2328         * java/text/spi/DateFormatSymbolsProvider.java:
2329         New file.
2330         * java/text/spi/package.html: New file.
2331         
2332 2007-01-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2333
2334         * java/util/Currency.java:
2335         (getSymbol(Locale)): Removed unneeded variable
2336         and terminate loop early.
2337         * java/util/Locale.java:
2338         (getDisplayLanguage(Locale)): Fixed to use
2339         LocaleNameProvider.
2340         (getDisplayCountry(Locale)): Likewise.
2341         (getDisplayVariant(Locale)): Likewise.
2342         * java/util/spi/LocaleNameProvider.java:
2343         New file.
2344         * java/util/spi/TimeZoneNameProvider.java:
2345         Likewise.
2346         
2347 2007-01-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2348
2349         * gnu/java/locale/LocaleHelper.java:
2350         (getLocalizedString(Locale,String,String,boolean,
2351         boolean)): Removed, no longer needed.
2352         (getFallbackLocale(Locale)): Implemented.
2353         * java/lang/String.java:
2354         (isEmpty()): Implemented.
2355         * java/util/Currency.java:
2356         (getSymbol(Locale)): Reimplemented to use SPI.
2357         * java/util/Locale.java:
2358         (ROOT): Added.
2359         * java/util/spi/CurrencyNameProvider.java:
2360         New file.
2361         * java/util/spi/LocaleServiceProvider.java:
2362         Likewise.
2363         * java/util/spi/package.html: Likewise.
2364         
2365 2007-01-02  Roman Kennke  <roman@kennke.org>
2366
2367         * gnu/java/awt/java2d/AbstractGraphics2D.java
2368         (FONT): New constant field. This is the default font to use as long
2369         as nothing else is set.
2370         (paintContext): New field. Temporarily stores the paint context.
2371         (scanlineConverters): New field. Stores the scanline converters
2372         for each thread.
2373         (shapeCache): Genericified.
2374         (STANDARD_HINTS): New constant field. The standard rendering hints
2375         as long as nothing else is set.
2376         (STANDARD_STROKE): New constant field. The standard stroke as long
2377         as nothing else is set.
2378         (static_initializer): Initialize standard hints.
2379         (AbstractGraphics2D): Use constant fields for hints and stroke.
2380         (drawGlyphVector): Use simpler method to draw the outline.
2381         (fillScanline): Use paintContext field.
2382         (fillShape): Use new ScanlineConverter to fill shapes.
2383         (fillShapeAntialias): Removed. This will be done in fillShape.
2384         (fillShapeImpl): Removed. This is done now in the ScanlineConverter
2385         class.
2386         (getScanlineConverter): New method. Returns the scanline converter
2387         for each thread.
2388         (getSegments): Removed. This is now implemented in ScanlineConverter.
2389         (getShapeCache): Use genericified shapeCache field.
2390         (init): Use fixed default font. Don't fetch destination raster here.
2391         * gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set
2392         of active edges for scanline conversion.
2393         * gnu/java/awt/java2d/PolyEdge.java
2394         (poolNext): Implements linked list for edge pool.
2395         (scanlineNext): Implements linked list for scanline edge lists.
2396         (slope): Use fixed point decimal.
2397         (slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal.
2398         (PolyEdge()): New constructor.
2399         (PolyEdge): Use fixed point decimals.
2400         (init): Use fixed point decimals.
2401         (intersect): New method. Intersects this edge with a scanline.
2402         * gnu/java/awt/java2d/Scanline.java: New class. A list of edges
2403         for a scanline plus utilities.
2404         * gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements
2405         an efficient scanline converter for rendering Shape objects.
2406
2407 2007-01-02  Roman Kennke  <roman@kennke.org>
2408
2409         * gnu/java/math/Fixed.java: New class. Fixed point arithmetics
2410         utilities.
2411
2412 2007-01-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2413
2414         * ChangeLog-2006: New file.
2415         * gnu/classpath/ServiceFactory.java:
2416         Add option of throwing a ServiceConfigurationError.
2417         (lookupProviders(Class,ClassLoader,boolean)): Implemented.
2418         * java/util/ServiceConfigurationError.java: New file.
2419         * java/util/ServiceLoader.java: Likewise.
2420         
2421
2422 \f
2423 Local Variables:
2424 coding: iso-latin-1-unix        
2425 End: