1 2007-07-20 Keith Seitz <keiths@redhat.com>
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
14 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
15 (executeInvokeMethod): Method IDs come from VMMethod, not
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.
27 (MethodResult): New constructor.
28 (setReturnedValue): Remove.
29 (SetThrownException): Remove.
30 (getResultType): Remove.
31 (setResultType): Remove.
32 * gnu/classpath/jdwp/value/ObjectValue.java (getValue):
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.
40 2007-05-19 Andreas Tobler <a.tobler@schweiz.org>
43 * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
44 * configure: Regenerate.
46 2007-05-07 Keith Seitz <keiths@redhat.com>
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...
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.
64 2007-05-03 Andrew Haley <aph@redhat.com>
66 * gnu/javax/management/Server.java (Server): Record the delegate.
67 (registerMBean): Notify the delegate.
68 (unregisterMBean): Likewise.
71 2007-04-23 Mark Wielaard <mark@klomp.org>
73 * configure.ac (VERSION): Set to 0.95.
75 2007-04-23 Mark Wielaard <mark@klomp.org>
77 * NEWS: Add new 0.95 features.
79 2007-04-23 Jeroen Frijters <jeroen@frijters.net>
82 * java/util/Arrays.java (qsort): Corrected initial median calculation.
84 2007-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
87 (CLASSPATH_FIND_JAVAC): Allow detected JAVAC.
89 2007-04-19 Casey Marshall <csm@gnu.org>
92 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
93 (createSocket): New method.
95 2007-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
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:
103 2007-04-16 Dalibor Topic <robilad@kaffe.org>
105 * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10
108 2007-04-16 Dalibor Topic <robilad@kaffe.org>
110 * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS):
111 Added AM_LDFLAGS for automake 1.10.
113 2007-04-15 Dalibor Topic <robilad@kaffe.org>
115 * depcomp, install-sh, missing, mkinstalldirs,
116 doc/texinfo.tex: Removed files generated by autogen.sh.
118 * .cvsignore: Ignore generated files depcomp, install-sh,
119 missing, mkinstalldirs.
121 * doc/.cvsignore: Ignore generated file doc/texinfo.tex.
123 2007-04-15 Dalibor Topic <robilad@kaffe.org>
125 * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD):
126 Fix portability warnings from automake 1.10.
128 2007-04-15 Dalibor Topic <robilad@kaffe.org>
130 * Makefile.am (EXTRA_DIST): Add ChangeLog-2006.
132 2007-04-15 Dalibor Topic <robilad@kaffe.org>
134 * native/target/.cvsignore: Removed.
136 2007-04-15 Roman Kennke <roman@kennke.org>
138 * native/target/Linux/.cvsignore,
139 * native/target/generic/.cvsignore: Removed.
141 2007-04-15 Dalibor Topic <robilad@kaffe.org>
143 * doc/Makefile.am: Fix portability warnings from
146 2007-04-15 Dalibor Topic <robilad@kaffe.org>
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.
154 2007-04-15 Dalibor Topic <robilad@kaffe.org>
156 * configure.ac: Added support for Iceape libraries as
157 a substitute for Mozilla for Debian.
159 2007-04-17 Tom Tromey <tromey@redhat.com>
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.
165 2007-04-17 Casey Marshall <csm@gnu.org>
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
181 2007-04-16 Mark Wielaard <mark@klomp.org>
184 * java/net/URI.java (parseServerAuthority): Allow empty portStr.
186 2007-04-16 Chris Burdess <dog@gnu.org>
188 * gnu/xml/stream/XMLParser.java: Work around a problem with
189 incorrectly formatted file URLs.
191 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
193 * configure.ac: Added AC_C_INLINE.
195 2007-04-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
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.
203 2007-04-11 Francis Kung <fkung@redhat.com>
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
213 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
215 * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
216 warning on some compilers, e.g. MIPSpro.
218 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
220 * native/jni/java-nio/javanio.c: Include fcntl.h instead of
223 2007-04-12 Mark Wielaard <mark@klomp.org>
225 * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static
227 (transCache): New static LRUChache field.
228 (copyTransformToAttrs): Check whether a TransformAttribute already
229 exists in the transCache for the given AffineTransform.
231 2007-04-12 Mark Wielaard <mark@klomp.org>
233 * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8.
235 2007-04-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
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
242 (checkComponents()): Catch newlines.
243 (quote(String)): Handle newlines and quotes
246 2007-04-10 Mark Wielaard <mark@klomp.org>
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.
252 2007-04-09 Francis Kung <fkung@redhat.com>
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
263 after it is used to create a cairo context.
266 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
268 * javax/management/ObjectName.java:
269 (parse(String)): Fix result of getKeyPropertyListString().
271 2007-04-07 Mark Wielaard <mark@klomp.org>
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.
280 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
282 * javax/management/ObjectName.java
283 (parse(String)): Fix parsing where the wildcard
284 is juxtaposed between other pairs.
286 2007-04-06 Mark Wielaard <mark@klomp.org>
288 * configure.ac (VERSION): Set to 0.95-rc.
290 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
292 * javax/management/MBeanAttributeInfo.java:
293 (serialVersionUID): Added.
294 * javax/management/MBeanFeatureInfo.java:
295 (writeObject(ObjectOutputStream)): Added for
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
306 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
308 * java/util/Hashtable.java:
309 (putAllInternal(Map)): Remove redundant semi-colon.
311 2007-04-06 Mark Wielaard <mark@klomp.org>
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.
319 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
321 * gnu/javax/management/Translator.java:
322 (getTypeName(type)): Move type name creation to its own method.
323 * javax/management/ObjectName.java:
326 2007-04-04 Andrew Haley <aph@redhat.com>
328 * javax/management/ObjectName.java:
329 (serialVersionUID): Declare.
330 Make all fields transient.
331 (parse): Break out from constructor.
332 (writeObject, readObject): New methods.
334 2007-04-05 Francis Kung <fkung@redhat.com>
336 * include/Makefile.am: Remove old entry.
338 2007-04-05 Francis Kung <fkung@redhat.com>
340 * gnu/java/awt/peer/gtk/GtkToolkit.java
341 (createDragGestureRecognizer): Remove failing subClass call.
343 2007-04-05 Gary Benson <gbenson@redhat.com>
345 * java/util/GregorianCalendar.java
346 (computeFields): Fix WEEK_OF_MONTH calculation.
348 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
351 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
352 (doubleToRawLongBits, longBitsToDouble): Swap the byte
353 ordering for little-endian arms without VFP.
355 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
357 * native/jni/java-net/java_net_VMNetworkInterface.c
358 [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
360 (getVMInterfaces): Added UNUSED argument attribute.
362 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
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
368 (openIconv): Added UNUSED argument attribute, so we can build with
371 (closeIconv): Likewise.
373 2007-04-05 Mark Wielaard <mark@klomp.org>
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.
384 2007-04-04 Mark Wielaard <mark@klomp.org>
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.
393 2007-04-04 Francis Kung <fkung@redhat.com>
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
405 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
406 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
408 2007-04-04 Gary Benson <gbenson@redhat.com>
410 * java/util/GregorianCalendar.java
411 (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
413 2007-04-04 Roman Kennke <roman@kennke.org>
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.
421 2007-04-04 Roman Kennke <roman@kennke.org>
423 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
424 (init_glib_threads): Create global reference on lock object.
426 2007-04-04 Roman Kennke <roman@kennke.org>
428 * java/awt/Frame.java
429 (weakFrames): Make private.
430 (weakFramesQueue): New field. A reference queue to collect
432 (getFrames): Only do one iterations to avoid collecting null
434 (hasDisplayableFrames): New helper method. Checks if there
435 are any displayable frames. This is used by the event queue
437 (noteFrame): Clean up GCed frames in the list.
438 * java/awt/EventQueue.java
439 (isShutdown): Move frame checking code into Frame.
441 2007-04-03 Roman Kennke <roman@kennke.org>
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.
451 2007-04-03 Roman Kennke <roman@kennke.org>
453 * java/nio/ByteOrder.java
454 (nativeByteOrder): Let this fail when the corresponding
455 property is not set properly.
457 2007-04-03 Roman Kennke <roman@kennke.org>
459 * javax/swing/plaf/basic/BasicTreeUI.java
460 (getPathBounds): Consider the tree's insets. Added a bunch of
463 2007-04-03 Roman Kennke <roman@kennke.org>
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
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.
475 2007-04-03 Roman Kennke <roman@kennke.org>
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.
485 2007-04-03 Roman Kennke <roman@kennke.org>
487 * native/target/.cvsignore,
488 * native/target/Linux/.cvsignore,
489 * native/target/generic/.cvsignore: Some new ignores.
491 2007-04-03 Roman Kennke <roman@kennke.org>
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
501 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
502 Removed unused bits from gthread-jni.c.
504 2007-04-03 Francis Kung <fkung@redhat.com>
506 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
507 (getGlyphs(int[], int[], long[])): Return void.
509 2007-04-03 Kyle Galloway <kgallowa@redhat.com>
511 * gnu/classpath/jdwp/value/ArrayValue.java: New file.
513 2007-04-03 Roman Kennke <roman@kennke.org>
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
528 * gnu/java/awt/peer/gtk/GtkToolkit.java
529 (GTK_LOCK): New static field. This is used as the global lock for
531 (gtkInit): Add lock parameter.
532 (static_init): Initialize global lock and call gtkInit() with
535 2007-04-02 Francis Kung <fkung@redhat.com>
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):
548 2007-04-02 Francis Kung <fkung@redhat.com>
550 * INSTALL: Document known bug in at-spi, atk, and gail packages prior to
553 2007-04-02 Francis Kung <fkung@redhat.com>
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
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.
598 2007-04-02 Andrew Haley <aph@redhat.com>
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".
604 2007-04-01 Mark Wielaard <mark@klomp.org>
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.
622 2007-04-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
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
635 2007-03-31 Jeroen Frijters <jeroen@frijters.net>
638 * java/util/concurrent/CopyOnWriteArrayList.java
639 (remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
641 2007-03-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
643 * javax/management/openmbean/CompositeDataInvocationHandler.java:
646 2007-03-30 Kyle Galloway <kgallowa@redhat.com>
648 * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
649 (write): Replace writeLong with writeInt for above.
651 2007-03-30 Tom Tromey <tromey@redhat.com>
654 * gnu/java/util/jar/JarUtils.java (log): Commented out.
655 (readSFManifest): Don't log.
657 2007-03-29 Tom Tromey <tromey@redhat.com>
660 * java/util/logging/LogManager.java (readConfiguration): Handle
661 comma-separated 'handlers'. Don't try to add a non-existing
664 2007-03-29 Keith Seitz <keiths@redhat.com>
666 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
667 Event type is "THREAD_START" not "THERAD_END".
669 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
670 Handle configure strings ":port" and "port".
672 2007-03-29 Francis Kung <fkung@redhat.com>
674 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
675 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch.
677 2007-03-29 Mark Wielaard <mark@klomp.org>
679 * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative.
681 2007-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
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
689 2007-03-28 Roman Kennke <roman@kennke.org>
691 * java/io/OutputStreamWriter.java,
692 * java/io/InputStreamReader.java: Revert big stream patch due to
695 2007-03-28 Tom Tromey <tromey@redhat.com>
698 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
699 (createXMLReader): Code in Classpath default.
701 2007-03-28 Tom Tromey <tromey@redhat.com>
704 * native/jni/java-lang/java_lang_VMDouble.c
705 (parseDoubleFromChars): Use %p, not %i.
707 2007-03-28 Mark Wielaard <mark@klomp.org>
709 * native/jni/java-nio/Makefile.am (LIBADD): Don't add
711 * native/jni/java-nio/gnu_java_nio_VMChannel.c
712 (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask.
714 2007-03-27 Francis Kung <fkung@redhat.com>
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.
720 2007-03-27 Kyle Galloway <kgallowa@redhat.com>
722 * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java
723 (executeResume): Change to call VMVirtualMachine.resumeThread.
725 2007-03-27 Roman Kennke <roman@kennke.org>
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
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
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
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
769 (initEncoderAndBuffer): New helper method for initialization.
770 (write(char[],int,int)): Reworked to make better use of the NIO
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.
781 2007-03-27 Roman Kennke <kennke@aicas.com>
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
793 2007-03-27 Roman Kennke <kennke@aicas.com>
795 * javax/swing/JScrollBar.java
796 (getUnitIncrement(int)): Don't multiply direction parameter.
797 (getBlockIncrement(int)): Don't multiply direction parameter.
799 2007-03-26 Tom Tromey <tromey@redhat.com>
801 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
802 (rmid Tool): Likewise.
804 2007-03-26 Stepan Kasal <skasal@redhat.com>
806 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
808 (getParser): Use new field.
810 2007-03-25 Dalibor Topic <robilad@kaffe.org>
812 * doc/cp-tools.texinfo: Fix node ordering.
814 2007-03-19 Matthias Klose <doko@ubuntu.com>
816 * doc/Makefile.am: Build a gcjh(1) man page.
817 * doc/cp-tools.texinfo: Add documentation for gcjh.
819 2007-03-23 Jeroen Frijters <jeroen@frijters.net>
821 * java/net/ServerSocket.java (implAccept): set implCreated flag on
823 * java/net/Socket.java (implCreated): Make package accessible for
826 2007-03-22 Casey Marshall <csm@gnu.org>
828 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
829 check keyEncipherment bit of the certificate, and just pass the public
832 2007-03-20 Mario Torre <neugens@limasoftware.net>
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).
837 2007-03-19 Mario Torre <neugens@limasoftware.net>
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.
845 2007-03-19 Jeroen Frijters <jeroen@frijters.net>
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.
852 2007-03-18 Mark Wielaard <mark@klomp.org>
854 * javax/crypto/CipherOutputStream.java (write): Use out.write()
857 2007-03-18 Mark Wielaard <mark@klomp.org>
859 * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8
860 gthread-2.0 >= 2.2 and gdk-pixbuf-2.0
862 2007-03-16 Tom Tromey <tromey@redhat.com>
864 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
867 2007-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
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.
873 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
874 * tools/Makefile.am: Build com.sun.tools.javac package
877 2007-03-16 Mark Wielaard <mark@klomp.org>
879 * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found.
880 Also check for gtk+ dependency.
882 2007-03-16 Tom Tromey <tromey@redhat.com>
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
894 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
896 (writeHeaders): Use a HashMap.
897 (run): Put class name into HashMap for writeHeaders.
899 2007-03-16 Francis Kung <fkung@redhat.com>
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.
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.
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.
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.
985 2007-03-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
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
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.
1013 2007-03-09 Andreas Tobler <a.tobler@schweiz.org>
1015 Port change from gcc:
1017 2007-03-06 Matthias Klose <doko@ubuntu.com>
1019 * doc/Makefile.am(gkeytool.pod): Don't use sed -i.
1021 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
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
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.
1059 2007-03-09 Roman Kennke <kennke@aicas.com>
1061 * java/awt/image/SinglePixelPackageSampleModel.java
1062 (createDataBuffer): Avoid use of Buffers class and create
1063 DataBuffer directly in place.
1065 2007-03-09 Roman Kennke <kennke@aicas.com>
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.
1080 2007-03-08 Tom Tromey <tromey@redhat.com>
1083 * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
1085 2007-03-08 Gary Benson <gbenson@redhat.com>
1088 * gnu/xml/dom/ls/DomLSParser.java (getInputSource):
1089 Do not use the entity resolver to resolve the top-level document.
1091 2007-03-07 Tom Tromey <tromey@redhat.com>
1094 * java/util/regex/Pattern.java (toString): New method.
1096 2007-03-07 Gary Benson <gbenson@redhat.com>
1099 * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
1102 2007-03-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
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:
1111 * javax/management/openmbean/OpenMBeanOperationInfo.java:
1113 * javax/management/openmbean/OpenMBeanParameterInfo.java:
1116 2007-03-06 Francis Kung <fkung@redhat.com>
1118 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1119 (getGlyphOutline): Apply glyph position translation.
1120 (getOutline): Do not apply glyph position translation.
1122 2007-03-06 Tom Tromey <tromey@redhat.com>
1124 * tools/gnu/classpath/tools/javah/Main.java (getName): New
1126 (getParser): Now protected. Use getName. Add '-v' alias for
1128 (postParse): New method.
1129 (run): Now protected. Use postParse.
1130 * tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
1132 2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
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:
1141 * javax/management/openmbean/CompositeDataSupport.java:
1143 * javax/management/openmbean/CompositeType.java:
1145 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
1147 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
1149 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
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:
1157 * javax/management/openmbean/TabularDataSupport.java:
1159 * javax/management/openmbean/TabularType.java:
1162 2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
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:
1169 * javax/management/JMX.java:
1171 * javax/management/MBeanServerInvocationHandler.java:
1173 * javax/management/MXBean.java:
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:
1186 (ALLOWED_CLASSNAMES_LIST): New field.
1188 2007-03-02 Mario Torre <neugens@limasoftware.net>
1191 committed for Petteri Räty <betelgeuse@gentoo.org>
1192 * configure.ac: fix broken build for gcj browser plugin
1194 2007-03-02 Mario Torre <neugens@limasoftware.net>
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
1205 * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
1207 2007-02-28 Keith Seitz <keiths@redhat.com>
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
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
1227 (executeRedefineClasses): Check if VM has capability and
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.
1256 2007-03-01 Roman Kennke <kennke@aicas.com>
1258 * java/awt/Canvas.java
1259 (graphicsConfiguration): Removed duplicate (from Component) field.
1260 (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig
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
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.
1279 2007-02-28 Thomas Fitzsimmons <fitzsim@redhat.com>
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:
1315 2007-02-28 Keith Seitz <keiths@redhat.com>
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.
1331 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
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.
1339 2007-02-26 Francis Kung <fkung@redhat.com>
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.
1345 2007-02-26 Francis Kung <fkung@redhat.com>
1347 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1348 (drawCairoSurface): Do not reset clip.
1349 (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise.
1351 2007-02-23 Francis Kung <fkung@redhat.com>
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.
1365 2007-02-23 Gary Benson <gbenson@redhat.com>
1366 Jakub Jelinek <jakub@redhat.com>
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
1381 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
1383 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
1384 If non-null, set up aliases0 and don't put anything into
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.
1408 2007-02-23 Francis Kung <fkung@redhat.com>
1410 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
1411 (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line.
1413 2007-02-22 Keith Seitz <keiths@redhat.ecom>
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.
1425 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
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.
1432 2007-02-22 Francis Kung <fkung@redhat.com>
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().
1440 2007-02-21 Francis Kung <fkung@redhat.com>
1442 * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java
1443 (constructor): Add pre-multiplied colour model to types available for
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,
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
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.
1495 2007-02-20 Gary Benson <gbenson@redhat.com>
1497 * javax/management/ObjectName.java
1498 (domainMatches): New method.
1499 (apply): Rearranged to use the above.
1501 2007-02-19 Mark Wielaard <mark@klomp.org>
1503 * doc/.cvsignore: Add *.1.
1504 * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES.
1506 2007-02-19 Dalibor Topic <robilad@kaffe.org>
1508 * cp-hacking.texinfo, cp-tools.texinfo,
1509 cp-vmintegration.texinfo: Prefix output file name
1512 2007-02-19 Gary Benson <gbenson@redhat.com>
1514 * javax/management/ObjectName.java
1515 (properties): Initialize when declared.
1516 (ObjectName(String)): Don't initialize properties here.
1517 (ObjectName(String, String, String): Likewise.
1519 2007-02-19 Chris Burdess <dog@gnu.org>
1522 * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
1523 properties when reader is available.
1525 2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
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>):
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.
1547 2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1549 * javax/management/Descriptor.java:
1551 * javax/management/DescriptorRead.java:
1553 * javax/management/DescriptorAccess.java:
1556 2007-02-16 Matthias Klose <doko@ubuntu.com>
1558 * doc/Makefile.am: Add rules to build and install man pages
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.
1567 2007-02-16 Francis Kung <fkung@redhat.com>
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
1600 (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
1602 2007-02-16 Francis Kung <fkung@redhat.com>
1604 * javax/management/NotificationBroadcasterSupport.java: Update imports.
1606 2007-02-16 Andrew Haley <aph@redhat.com>
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.
1615 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
1618 * javax/management/MBeanInfo.java (MBeanInfo):
1619 Use clone to duplicate the arrays in order to
1620 preserve the array type.
1622 2007-02-15 Gary Benson <gbenson@redhat.com>
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.
1629 2007-02-15 Roman Kennke <kennke@aicas.com>
1631 * java/nio/ByteOrder.java
1632 (nativeOrder): Avoid NPE when comparing a system property.
1634 2007-02-13 Gary Benson <gbenson@redhat.com>
1636 * javax/management/ObjectName.java
1637 (toString): Return this item's canonical name.
1639 2007-02-12 Francis Kung <fkung@redhat.com>
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.
1678 2007-02-12 Tom Tromey <tromey@redhat.com>
1680 * java/net/Socket.java (bind): Typo fix.
1682 2007-02-12 Tom Tromey <tromey@redhat.com>
1684 * vm/reference/java/lang/reflect/Method.java (getDefaultValue):
1686 * sun/reflect/annotation/AnnotationInvocationHandler.java (create):
1688 (arrayClone): New method.
1689 (invoke): Clone array return results.
1691 2007-02-12 Jakub Jelinek <jakub@redhat.com>
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
1698 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
1700 2007-02-12 Jakub Jelinek <jakub@redhat.com>
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
1707 2007-02-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
1709 * javax/management/Query.java:
1711 * javax/management/StandardMBean.java:
1712 Use the implementation's class loader.
1714 2007-02-10 Mark Wielaard <mark@klomp.org>
1716 * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from
1717 java.util, not from java.sql.
1719 2007-02-10 Roman Kennke <kennke@aicas.com>
1721 * javax/imageio/stream/ImageOutputStreamImpl.java
1722 (flushBits): Implemented.
1723 (writeBit): Implemented.
1724 (writeBits): Implemented.
1726 2007-02-10 Roman Kennke <kennke@aicas.com>
1728 * javax/swing/TransferHandler.java
1729 (SwingDragGestureRecognizer): New inner class.
1730 (SwingDragHandler): New inner class.
1731 (recognizer): New field.
1732 (exportAsDrag): Implemented missing method.
1734 2007-02-10 Roman Kennke <kennke@aicas.com>
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).
1744 2007-02-09 Tom Tromey <tromey@redhat.com>
1747 * configure.ac: Also check for jack/jack.h.
1749 2007-02-09 Mario Torre <neugens@limasoftware.net>
1751 * java/io/File.java: remove import for
1752 gnu.classpath.NotImplementedException.
1753 (getUsableSpace): removed stub.
1754 (getFreeSpace): likewise.
1755 (getTotalSpace): likewise.
1757 2007-02-09 Mario Torre <neugens@limasoftware.net>
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
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.
1789 2007-02-09 Gary Benson <gbenson@redhat.com>
1791 * javax/management/ObjectName.java
1792 (quote): Initialize StringBuilder correctly.
1794 2007-02-09 Francis Kung <fkung@redhat.com>
1796 * java/awt/image/BufferedImage: Reformatted.
1798 2007-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
1801 * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next
1802 token has a next token.
1804 2007-02-08 Roman Kennke <kennke@aicas.com>
1807 * javax/swing/JViewport.java
1808 (scrollRectToVisible): Use correct X/Y offset for calculations.
1809 (paintBackingStore): Update backbuffer when we are not the paint
1812 2007-02-08 Roman Kennke <kennke@aicas.com>
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.
1823 2007-02-07 Tom Tromey <tromey@redhat.com>
1825 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
1826 (PathOptionGroup): Allow '-cp' as well.
1828 2007-02-07 Chris Burdess <dog@gnu.org>
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.
1835 2007-02-06 Tom Tromey <tromey@redhat.com>
1838 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
1839 (printClass): Always print a header.
1841 2007-02-06 Chris Burdess <dog@gnu.org>
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.
1851 2007-02-05 Andrew Haley <aph@redhat.com>
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.
1859 2007-02-05 Tom Tromey <tromey@redhat.com>
1861 * java/net/Proxy.java (equals): Handle case where address==null.
1862 (hashCode): Likewise.
1863 (toString): Likewise.
1865 2007-02-04 Jeroen Frijters <jeroen@frijters.net>
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.
1876 2007-02-04 Jeroen Frijters <jeroen@frijters.net>
1879 * gnu/java/nio/charset/ByteCharset.java
1880 (ByteCharset.Decoder.decodeLoop): Reset input buffer position if
1881 the byte read was unmappable.
1883 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
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.
1895 2007-02-01 Tom Tromey <tromey@redhat.com>
1897 * java/util/logging/LogManager.java (reset): Remove bogus
1900 2007-01-31 Casey Marshall <csm@gnu.org>
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):
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):
1913 * gnu/java/net/Base64.java: removed.
1914 * gnu/java/security/util/Base64.java: removed.
1916 2007-01-31 Casey Marshall <csm@gnu.org>
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.
1923 2007-01-31 Tom Tromey <tromey@redhat.com>
1925 * resource/gnu/classpath/tools/jar/messages.properties
1926 (Main.Stdin): New message.
1927 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
1929 (readNames): New method.
1932 2007-01-30 Roman Kennke <kennke@aicas.com>
1935 * javax/swing/DefaultDesktopManager.java
1936 (activateFrame): Added a bunch of null checks. Don't call
1937 JInternalFrame.setSelected() to avoid recursion.
1939 2007-01-29 Andrew Haley <aph@redhat.com>
1941 * java/lang/SecurityManager.java (SecurityManager): Load and
1942 initialize java.security.Security.
1944 2007-01-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
1946 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1947 (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException
1949 * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if
1952 2007-01-26 Tom Tromey <tromey@redhat.com>
1954 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
1955 'volatile' after field type.
1957 2007-01-26 Chris Burdess <dog@gnu.org>
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.
1966 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1968 * javax/management/PersistentMBean.java:
1971 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1973 * javax/management/AttributeChangeNotificationFilter.java:
1975 * javax/management/NotificationFilterSupport.java:
1978 2007-01-21 Mark Wielaard <mark@klomp.org>
1980 * java/security/SecureClassLoader.java (defineClass): Method returns
1982 * java/security/SignatureSpi.java (engineUpdate(ByteBuffer):
1983 Does not throw SignatureException. Chain SignatureException inside
1984 IllegalStateException.
1986 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1988 * javax/management/NotificationBroadcasterSupport.java:
1991 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
1993 * java/text/DecimalFormat.java(parse): Corrected the ParsePosition
1996 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
1998 * java/text/SimpleDateFormat(parse): Corrected the usage of
2001 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
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().
2009 2007-01-19 Marco Trudel <mtrudel@gmx.ch>
2011 * java/util/Arrays.java (binarySearch): Change comparison order.
2013 2007-01-17 Keith Seitz <keiths@redhat.com>
2015 * gnu/classpath/jdwp/events/filters/StepFilter.java:
2017 (matches): Implement.
2019 * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor
2020 agent startup suspension for VM_INIT.
2022 2007-01-17 Tom Tromey <tromey@redhat.com>
2024 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
2025 (PathOptionGroup): Set default boot class path.
2027 2007-01-17 Mark Wielaard <mark@klomp.org>
2029 * javax/activity/ActivityCompletedException.java: Make constructors
2031 * javax/activity/ActivityRequiredException.java: Likewise.
2032 * javax/activity/InvalidActivityException.java: Likewise.
2034 2007-01-17 Roman Kennke <kennke@aicas.com>
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
2042 2007-01-17 Mark Wielaard <mark@klomp.org>
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.
2049 2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2051 * javax/management/DefaultLoaderRepository.java:
2052 (loadClass(String)): Made static.
2053 (loadClassWithout(String,ClassLoader)): Likewise.
2055 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
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.
2061 2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2063 * javax/management/AttributeValueExp.java:
2064 Corrected serialVersionUID typo.
2065 * javax/management/DefaultLoaderRepository.java:
2067 * javax/management/MBeanServerFactory.java:
2070 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
2072 * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file.
2074 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
2076 * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
2078 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
2080 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
2082 2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
2084 * javax/management/AttributeValueExp.java: New file.
2085 * javax/management/QueryEval.java: Likewise.
2086 * javax/management/StringValueExp.java: Likewise.
2088 2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
2090 * javax/management/AttributeChangeNotificationFilter.java:
2093 2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
2095 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
2096 (AicasGraphicsBenchmark): Load images from ../icons.
2097 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init):
2099 * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files
2101 * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons.
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.
2109 2007-01-09 Tania Bento <tbento@redhat.com>
2111 * java/security/Permission.java:
2112 (toString): If there are no actions, then there should not
2113 be a space between its name and ')'.
2115 2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
2117 * javax/management/AttributeChangeNotification.java:
2120 2007-01-08 Cameron McCormack <cam@mcc.id.au>
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.
2134 2007-01-08 Tom Tromey <tromey@redhat.com>
2136 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run):
2137 Fix length check. PR classpath/30346.
2139 2007-01-09 Raif S. Naffah <classpath@naffah-raif.name>
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().
2160 2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
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.
2186 2007-01-07 Ito Kazumitsu <kaz@maczuka.gcd.org>
2189 * native/jni/native-lib/cpnet.h: Add some include files.
2191 2007-01-07 Roman Kennke <roman@kennke.org>
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
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.
2209 2007-01-06 Roman Kennke <roman@kennke.org>
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.
2236 2007-01-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
2238 * java/text/Collator.java:
2239 (getInstance(Locale)): Check providers.
2240 * java/text/spi/CollatorProvider.java:
2243 2007-01-04 Roman Kennke <roman@kennke.org>
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().
2250 2007-01-04 Roman Kennke <roman@kennke.org>
2252 * java/awt/AWTEvent.java
2253 (toString): Don't include the whole component in the output,
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
2266 2007-01-04 Roman Kennke <roman@kennke.org>
2268 * gnu/java/awt/font/autofit/GlyphHints.java
2269 (alignStrongPoints): Don't special case the vertical dimension.
2270 (computeInflectionPoints): Corrected computation of inflection
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.
2279 2007-01-03 Cameron McCormack <cam@mcc.id.au>
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
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.
2292 2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
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:
2301 * java/text/spi/DateFormatSymbolsProvider.java:
2303 * java/util/ServiceConfigurationError.java:
2304 Add serialVersionUID.
2306 2007-01-03 Francis Kung <fkung@redhat.com>
2308 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
2309 (copy): Copy and set antialias value.
2311 2007-01-03 Tania Bento <tbento@redhat.com>
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
2318 2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
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
2328 * java/text/spi/DateFormatSymbolsProvider.java:
2330 * java/text/spi/package.html: New file.
2332 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
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
2340 (getDisplayCountry(Locale)): Likewise.
2341 (getDisplayVariant(Locale)): Likewise.
2342 * java/util/spi/LocaleNameProvider.java:
2344 * java/util/spi/TimeZoneNameProvider.java:
2347 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
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:
2359 * java/util/spi/CurrencyNameProvider.java:
2361 * java/util/spi/LocaleServiceProvider.java:
2363 * java/util/spi/package.html: Likewise.
2365 2007-01-02 Roman Kennke <roman@kennke.org>
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
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
2386 (getScanlineConverter): New method. Returns the scanline converter
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.
2407 2007-01-02 Roman Kennke <roman@kennke.org>
2409 * gnu/java/math/Fixed.java: New class. Fixed point arithmetics
2412 2007-01-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
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.
2424 coding: iso-latin-1-unix