Replace use of deprecated gdk_pixbuf_unref.

2012-04-24  Andrew John Hughes  <ahughes@redhat.com>

	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
	(Java_gnu_java_awt_peer_gtk_GtkImage_freePixbuf):
	Use g_object_unref rather than deprecated gdk_pixbuf_unref
	to avoid warning.
Update warning suppression for newer compilers (unchecked->rawtypes).

2012-04-25  Andrew John Hughes  <ahughes@redhat.com>

	Update warning suppression so it still works
	with newer compilers.
	* javax/activation/ActivationDataFlavor.java:
	(ActivationDataFlavor(Class,String,String)): Suppress
	rawtypes not unchecked.
	(ActivationDataFlavor(Class,String)): Likewise.
	(getRepresentationClass()): Likewise.
	* javax/activation/MimeTypeParameterList.java:
	(getNames()): Likewise.
	* javax/management/DefaultLoaderRepository.java:
	(loadClass(String)): Likewise.
	(loadClassWithout(ClassLoader,String)): Likewise.
	* javax/management/MBeanConstructorInfo.java:
	(MBeanConstructorInof(String,Constructor)): Likewise.
	* javax/management/remote/rmi/RMIConnection.java:
	(addNotificationListener(ObjectName,ObjectName,MarshelledObject,
	MarshelledObject,Subject)): Likewise.
	(addNotificationListeners(ObjectName[],MarshelledObject[], Subject[])):
	Likewise.
	(createMBean(String,ObjectName,MarshalledObject,String,Subject)): Likewise.
	(createMBean(String,ObjectName,ObjectName,MarshalledObject,String[],Subject)):
	Likewise.
	(invoke(ObjectName,String,MarshalledObject,String[],Subject)): Likewise.
	(queryMBeans(ObjectName,MarshalledObject,Subject)): Likewise.
	(queryNames(ObjectName,MarshalledObject,Subject)): Likewise.
	(removeNotificationListener(ObjectName,ObjectName,MarshalledObject,
	MarshalledObject,Subject)): Likewise.
	(setAttribute(ObjectName,MarshalledObject,Subject)): Likewise.
	(setAttributes(ObjectName,MarshalledObject,Subject)): Likewise.
	* javax/swing/tree/DefaultMutableTreeNode.java:
	(children()): Likewise.
	(preorderEnumeration()): Likewise.
	(postorderEnumeration()): Likewise.
	(breadthFirstEnumeration()): Likewise.
	(depthFirstEnumeration()): Likewise.
	(pathFromAncestorEnumeration(TreeNode)): Likewise.
	(BreadthFirstEnumeration.nextElement()): Move annotation down to assignment level.
	(PreorderEnumeration.PreorderEnumeration(TreeNode)): Likewise.
	(PreorderEnumeration.traverse(Enumeration)): Likewise.
	(PostorderEnumeration.PostorderEnumeration(TreeNode)): Likewise.
	(PostorderEnumeration.traverse(Enumeration()): Likewise.
	* javax/swing/tree/TreeNode.java:
	(children()): Suppress rawtypes not unchecked.
	* javax/xml/namespace/NamespaceContext.java:
	(getPrefixes(String)): Likewise.
	* javax/xml/stream/XMLEventFactory.java:
	(createStartElement(QName,Iterator,Iterator)): Likewise.
	(createStartElement(String,String,String,Iterator,Iterator)): Likewise.
	(createStartElement(String,String,String,Iterator,Iterator,NamespaceContext)):
	Likewise.
	(createEndElement(QName,Iterator)): Likewise.
	(createEndElement(String,String,String,Iterator)): Likewise.
	* javax/xml/stream/XMLEventReader.java: Likewise (at class level
	due to inheritance).
	* javax/xml/stream/events/DTD.java:
	(getNotations()): Likewise.
	(getEntities()): Likewise.
	* javax/xml/stream/events/EndElement.java:
	(getNamespaces()): Likewise.
	* javax/xml/stream/events/StartElement.java:
	(getAttributes()): Likewise.
	(getNamespaces()): Likewise.
	* javax/xml/xpath/XPathFunction.java:
	(evaluate(List)): Likewise.
	* org/omg/CORBA/LocalObject.java:
	(_servant_preinvoke(String,Class)): Likewise.
	* org/omg/CORBA/portable/Delegate.java:
	(servant_preinvoke(org.omg.CORBA.Object,String,Class)): Likewise.
	* org/omg/CORBA/portable/InputStream.java:
	(read_Object(Class)): Likewise.
	* org/omg/CORBA/portable/ObjectImpl.java:
	(_servant_preinvoke(String,Class)): Likewise.
	* org/omg/CORBA_2_3/portable/InputStream.java:
	(read_abstract_interface(Class)): Likewise.
	(read_value(Class)): Likewise.
	* org/omg/CORBA_2_3/portable/OutputStream.java:
	(write_value(Serializable,Class)): Likewise.
	* org/omg/DynamicAny/_DynAnyFactoryStub.java:
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynAnyStub.java:
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynArrayStub.java,
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynEnumStub.java,
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynFixedStub.java,
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynSequenceStub.java,
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynStructStub.java,
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynUnionStub.java,
	(_opsClass): Likewise.
	* org/omg/DynamicAny/_DynValueStub.java,
	(_opsClass): Likewise.
	* org/omg/PortableServer/_ServantActivatorStub.java,
	(_opsClass): Likewise.
	* org/omg/PortableServer/_ServantLocatorStub.java,
	(_opsClass): Likewise.

Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
Cache the compiled regular expressions for splitting locale data fields.

2012-05-01  Andrew John Hughes  <ahughes@redhat.com>

	* java/text/DateFormatSymbols.java:
	Rename U00AE and U000A9 as the more memorable
	FIELD_SPLIT and ZONE_SPLIT respectively.
	* THANKYOU: Add Andreas Sewe.

2012-04-30  Andreas Sewe  <sewe@st.informatik.tu-darmstadt.de>

	* java/text/DateFormatSymbols.java:
	(U00A9): Pre-compile pattern for zone separation.
	(U00AE): Likewise for fields.
	(getStringArray(List,String,int,String)): Use U00AE.split
	in place of String.split.
	(getZoneStrings(ResourceBundle,Locale)): Use U00AE.split
	and U00A9.split in place of String.split.

Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
PR classpath/53171: Cache the compiled regular expressions for splitting locale data fields.

2012-05-01  Andrew John Hughes  <ahughes@redhat.com>

	* java/text/DateFormatSymbols.java:
	Rename U00AE and U000A9 as the more memorable
	FIELD_SPLIT and ZONE_SPLIT respectively.
	* THANKYOU: Add Andreas Sewe.

2012-04-30  Andreas Sewe  <sewe@st.informatik.tu-darmstadt.de>

	* java/text/DateFormatSymbols.java:
	(U00A9): Pre-compile pattern for zone separation.
	(U00AE): Likewise for fields.
	(getStringArray(List,String,int,String)): Use U00AE.split
	in place of String.split.
	(getZoneStrings(ResourceBundle,Locale)): Use U00AE.split
	and U00A9.split in place of String.split.

Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
Remove use of deprecated pango_ft2_font_map_create_context which breaks -Werror build.

2012-05-04  Andrew John Hughes  <ahughes@redhat.com>

	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
	(font_map): Renamed from ft2_map.
	(Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState(JNIEnv,
	jclass)): Remove cast to pango_ft2_font_map_new.
	(Java_gnu_java_awt_peer_gtk_GdKFontPeer_setFont(JNIEnv,
	jobject,jstring,jint,jint)): Call pango_font_map_create_context
	rather than deprecated pango_ft2_font_map_create_context.

Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
Refactor DateFormatSymbols to use list of ResourceBundle objects for all lookups.
Fix bug whereby we were using the least-specific bundle for time & date formats.

2012-05-30  Andrew John Hughes  <ahughes@redhat.com>

	* java/text/DateFormatSymbols.java:
	(getZoneStrings(List<ResourceBundle>, Locale)):
	Refactor to use existing list of resource bundles.
	(formatsForKey(List<ResourceBundle>, String)):
	Likewise and use new local getString method.
	(getString(List<ResourceBundle>, String)):
	Use first available String from most-specific locale
	rather than the least-specific.
	(DateFormatSymbols(Locale)): Use bundles for resolving
	localPatternChars, dateFormats, timeFormats and runtimeZoneStrings
	as well.

Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
PR44052: Cache parsed property data for DateFormatSymbols.

2012-07-01  Andrew John Hughes  <ahughes@redhat.com>

	PR classpath/44052
	* java/text/DateFormatSymbols.java:
	(DFSData): Inner immutable class for storing parsed
	locale data.
	(DFSData.DFSData(String[],String[],String,String[],
	String[],String[],String[],String[],String[],
	String[][])): Constructor to initialise a new instance
	with property data.
	(DFSData.getAMPMs()): Return a clone of the ampms array.
	(DFSData.getEras()): Likewise for eras.
	(DFSData.getLocalPatternChars()): Return the local pattern
	characters.
	(DFSData.getMonths()): Return a clone of the (long) months
	array.
	(DFSData.getShortMonths()): Likewise for the short months array.
	(DFSData.getWeekdays()): Likewise for (long) weekdays.
	(DFSData.getShortWeekdays()): Likewise for short weekdays.
	(DFSData.getDateFormats()): Likewise for date formats.
	(DFSData.getTimeFormats()): Likewise for time formats.
	(DFSData.getZoneStrings()): Likewise for zone strings.
	(dataCache): Cache of parsed locale data.
	(getZoneStrings(List<ResourceBundle>,Locale)):
	Make static so it can be called by retrieveData.
	(formatsForKey(List<ResourceBundle>,String)):
	Likewise.
	(getString(List<ResourceBundle>, String)): Likewise.
	(retrieveData(Locale)): Separate out retrieval of
	locale data from constructor and store it in the cache.
	(DateFormatSymbols(Locale)): Modify to call retrieveData
	and set fields from the returned DFSData instance.

Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
Merge branch 'master' of git.sv.gnu.org:/srv/git/classpath

Conflicts:
	ChangeLog
	java/text/DateFormatSymbols.java