Fix the build with the latest GStreamer git sources.

	* gstreamer/src/gst_enums.defs:
	* gstreamer/src/gst_signals.defs: Regenerate these files so that the
	new plug-in enums, properties and signals are found when they are
	wrapped by the generator.
	* gstreamer/src/gst_enums.defs.patch: Update the gst_enums.defs patch
	file for easy regeneration.

	* examples/media_player_gtkmm/player_window.cc (on_button_forward):
	Cast the playbin to a Gst::Element to disambiguate the send_event()
	method.  Gst::PlayBin2 derives from both Gst::Navigation and
	Gst::Element which both implement a send_event() method.
BaseAudioSink: Wrap new properties.

	* gstreamer/src/baseaudiosink.hg: Wrap the "alignment-threshold" and
	"discont-wait" new properties.
ElementFactory: Add register_element() wrapping gst_element_register().

	* gstreamer/src/elementfactory.hg: Add the register_element() static
	method.
	* gstreamer/src/plugin.hg (register_static): Correct the staticity of
	this method (it should be a static method).
Object: Add getter methods for the GMutex lock member.

	* gstreamer/src/object.hg: Use _MEMBER_GET_PTR() to provide getter
	methods for the GMutex lock member.
	* gstreamer/src/object.ccg: Adapt the callbacks to use the new Thread
	classes in Glib::Threads and not Glib::Thread which have been
	deprecated.
	* gstreamer/src/task.{ccg,hg}: Also use the new thread classes in
	these files where possible.
Examples: Fix the media player example for MinGW.

	* examples/media_player_gtkmm/main.cc:
	* examples/media_player_gtkmm/player_window.cc:
	* examples/media_player_gtkmm/player_window.h: Modify the code to not
	use the XImageSink plugin (which is is specific to the Linux
	Platform).  Also include gdk/gdkwin32.h instead of gdk/gdkx.h when
	compiling for the Windows platform.
Query: Correct the docs usage example so that its lines compile.

	* gstreamer/src/query.hg: The example was not translated correctly
	from the C code thus lines from the example would not compile
	correctly.  The error was discovered on the GStreamer mailing list.
MiniObject derived classes: Correct wrapper memory leak.

	* gstreamer/src/buffer.{ccg,hg}:
	* gstreamer/src/bufferlist.{ccg,hg}:
	* gstreamer/src/discovererinfo.{ccg,hg}: Add custom wrap_new()
	functions to the Gst::MiniObject derived classes in these files so
	that when the C objects are wrapped, a weak reference is added to the
	miniobject and the newly created wrapper can be destroyed in the
	specified callbacks.  Also add the callbacks that destroy the wrappers
	on weak referencing notification.  Use the _CUSTOM_WRAP_NEW macro in
	the class declarations to ensure that gmmproc knows that these classes
	have custom wrap_new() functions.

	* gstreamer/src/event.ccg:
	* gstreamer/src/message.ccg:
	* gstreamer/src/query.ccg: Modify the custom class wrap() methods to
	add weak reference notification on the newly given GstMiniObject.  Add
	the callbacks which destroy the wrapper on weak reference
	notification.

	* gstreamer/gstreamermm/miniobject.cc (~MiniObject): Ensure that the
	destructor does not try to unreference an object that is being
	destroyed because of a weak reference (when the reference is already
	zero).

	Bug #608702 (Massimiliano).
Event, Message, Query: Have create() methods return derived types.

	* gstreamer/src/event.{ccg,hg}:
	* gstreamer/src/message.{ccg,hg}:
	* gstreamer/src/query.{ccg,hg}: Modify the create() methods of all the
	Event, Message and Query derived classes so that the methods return
	a reference pointer to the derived type and not to the base type.  Add
	protected templated inline wrap() methods to the base types (Event,
	Message and Query) which convert a derived type wrapped as a reference
	pointer to the  base type to a reference pointer to the derived type
	using a reference pointer dynamic cast and use the methods in the
	derived classes create() methods for the conversions.

	* tests/test-event-wrap.cc:
	* tests/test-message-wrap.cc:
	* tests/test-query-wrap.cc: Modify the event, message and query
	wrapping tests to create an Event, Message and Query to ensure that
	the new create() methods work.

	Bug #683580 (kangaba@yandex.ru)
Plug-ins: Speed up initialization by avoiding their loading on startup.

	* tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
	(generate_hg_file): Use the new _NO_WRAP_INIT_REGISTRATION macro to
	signal that the plug-ins should not be registered on startup by the
	wrap_init() function.  Also use the new _CUSTOM_WRAP_FUNCTION in order
	to implement a custom Glib::wrap() function for plug-ins that ensures
	the registration of the wrap_new() function before calling
	Glib::wrap_auto() to wrap a C object.
	(generate_ccg_file): Modify the generation of the plug-in *_get_type()
	functions so that when an object of the plug-in type is first created,
	the plug-in's wrap_new() function is registered with the wrapping
	system using the type obtained when the plug-in is first loaded.  Also
	generate a custom Glib::wrap() function that ensures the registration
	of the plug-in's wrap_new() function before calling Glib::wrap_auto().
	This ensures that even if there is a C type of the plug-in, that even
	that object can be properly wrapped.

	Bug #684006.
Init: Add the is_initialized() and the deinit() functions.

	* gstreamer/gstreamermm/init.{cc,h}: Wrap the GStreamer
	gst_is_initialized() and gst_deinit() functions.

	Bug #684148 (kangaba@yandex.ru).
Regenerate the enums and signal defs with 0.10.36 for a new release.

	* gstreamer/src/gst_enums.defs:
	* gstreamer/src/gst_signals.defs: Regenerated.
Regenerate the XML docs file.

	* gstreamer/src/gst_docs.xml: Regenerate the docs file for updated
	method and signal docs.
	* gstreamer/src/bin.hg:
	* gstreamer/src/bus.hg:
	* gstreamer/src/childproxy.hg:
	* gstreamer/src/colorbalance.hg:
	* gstreamer/src/colorbalancechannel.hg:
	* gstreamer/src/discoverer.hg:
	* gstreamer/src/element.hg:
	* gstreamer/src/index.hg:
	* gstreamer/src/object.hg:
	* gstreamer/src/pad.hg:
	* gstreamer/src/padtemplate.hg:
	* gstreamer/src/registry.hg:
	* gstreamer/src/tuner.hg:
	* gstreamer/src/tunerchannel.hg:
	* gstreamer/src/urihandler.hg: Remove the handwritten signal docs from
	these files so that the automatically generated ones (in the above
	file) are used.
Release 0.10.11.

	* NEWS:
	* configure.ac:
Move the generation scripts to the tools/gen_scripts directory.

	* tools/gen_scripts/generate_docs.sh:
	* tools/gen_scripts/generate_enums.sh:
	* tools/gen_scripts/generate_extra_defs.sh:
	* tools/gen_scripts/generate_methods.sh: Move these scripts from the
	gstreamer/src directory.  Also add and reorder missing directories.
Begin the transition to GStreamer-1.1.1.

	* configure.ac (AC_INIT): Change the gstreamermm version (for a future
	release) to 0.11.0.
	(MM_PREREQ): Require mm-common 0.9.6.
	(MM_INIT_MODULE): Use 1.0 for the module version.
	(GSTREAMERMM_SO_VERSION): Reset to 0.0.0.
	(GSTREAMERMM_MODULES): Require glibmm-2.36.  Add all the GStreamer
	modules and require version 1.1.1 of those modules.
	(GSTREAMERMM_PLUGIN_DEFS): Add the app[sink|src] plug-ins.  Remove the
	decodebin2 and playbin2 plug-ins (which are removed in GStreamer-1.0
	also).  Rename the ffmpegcolorspace plug-in to videoconvert because
	it's been renamed.  Remove plug-ins that are not found but leave TODOs
	to possibly re-add the gdpdepay and gdppay plug-ins which the
	GStreamer porting docs seems to suggest still exist.
	(GST_INSPECT): Require version 1.0.
	(Plugin Processing): Add AC_MSG_CHECKING() and AC_MSG_RESULT() macros
	to report that required plug-ins are being checked for and found when
	the process is successful.

	* gstreamer/src/filelist.am: Add the app[sink|src] plug-ins.

	* tools/extra_defs_gen/generate_defs_gst.cc: Simplify the includes
	because since version 1.1.1 GStreamer has moved to single includes --
	see https://bugzilla.gnome.org/show_bug.cgi?id=701812.
	(gst_type_is_a_pointer): Don't test for the GST_TYPE_MINI_OBJECT
	because it is now just a boxed type according to the GStreamer porting
	guide.
	Remove the GTypes that don't exist and rename ones that have been
	changed (like the GST_TYPE_BASE_AUDIO_* types, the GST_TYPE_BASE_RTP_*
	types, the GST_TYPE_RING_BUFFER type and GST_TYPE_X_OVERLAY type)
	since GStreamer-1.0.
	Also change the plug-ins as in the configure.ac file.

	* tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
	(gst_type_is_a_pointer): Don't test for the GST_TYPE_MINI_OBJECT
	because miniobjects are now boxed types.
	(is_a_mini_object): Add this function that tests if a given C type
	is a miniobject.
	(get_signal_wrap_statements): When dealing with a boxed type return,
	check to see if it is a miniobject (using the above function) so that
	a correct Gst::wrap() function is generated.  Do the same for boxed
	type parameters.  Also, don't check for miniobjects using
	GST_TYPE_MINI_OBJECT when dealing with a Glib::RefPtr<> type any more
	because miniobjects are checked for when dealing with boexed types.
	* tools/m4/plugingen_gstreamermm.m4: Add translations which the
	plug-ins now require and modify the GstXOverlay because GstXOverlay
	has been renamed to GstVideoOverlay.
Regenerate the defs files and the XML docs file with GStreamer-1.1.1.

	* gstreamer/src/gst_docs.xml: Regenerate the XML docs file.
	* gstreamer/src/gst_enums.defs:
	* gstreamer/src/gst_enums.defs.patch: Regenerate the enum defs file
	and update its patch file.
	* gstreamer/src/gst_methods.defs:
	* gstreamer/src/gst_methods.defs.patch: Regenerate the method defs
	file and update its patch file.
	* gstreamer/src/gst_signals.defs: Regenerate the signal and properties
	defs file.
gstreamer/src/filelist.am: Correct plug-ins here also.

	* gstreamer/src/filelist.am: Correct the plug-in list according to the
	changes in the configure.ac file.  This change was forgotten in the
	previous to last commit.
Correct some general method parameter changes in existing source files.

	* gstreamer/src/basesrc.hg ([get|set]_blocksize): Use guint instead of
	gulong for the block size.
	* gstreamer/src/bufferlist.hg (get): The get() methods (for getting a
	Buffer) no longer require a 'group' parameter.
	* gstreamer/src/bus.hg (poll): Use a ClockTime instead of a
	ClockTimeDiff for the 'timeout' parameter.
	* gstreamer/src/childproxy.{ccg,hg}: Move the conversions specific to
	this file to this file from the global conversion file.  Use
	'constversion' to wrap constant methods that have equivalent
	non-constant ones.
	(child_[added|removed]): These methods now require a 'name' parameter.
	Also use _WRAP_METHOD to wrap them.
	(signal_child_[added|removed]): These signals also require a new
	'name' parameter.
	* gstreamer/src/element.hg (query_convert):
	(query_position):
	(query_duration): The 'format' parameter is no longer passed in as a
	reference.
	* gstreamer/src/elementfactory.hg (get_uri_type): Now returns a
	URIType and not an int.
	(get_uri_protocols): Return a std::vecto<Glib::ustring> instead of a
	Glib::StringArrayHandle.  Also correct its m4 _CONVERSION macro.
	* gstreamer/src/pad.hg (event_default):
	(query_default): These methods now take an optional 'parent' first
	parameter.
	(query_duration):
	(query_convert): The 'format' parameters are no longer passed in as
	references.
	(iterate_internal_links_default): Now take an optional 'parent' first
	parameter.
	* gstreamer/src/query.hg (get_structure): Correct its m4 _CONVERSION
	macro.
	* gstreamer/src/segment.hg: Use guint64 instead of gint64 throughout
	for the parameters.
	* gstreamer/src/task.hg (set_lock): Use a Glib::Threads::RecMutex
	instead of a Glib::StaticRecMutex (which has been deprecated).
	* gstreamer/src/typefind.hg (peek): Return a std::vector<guint8>
	instead of a Glib::ArrayHandle<guint8>.  Also correct its m4
	_CONVERSION macro.
	* gstreamer/src/typefindfactory.hg (get_extensions): Return a
	std::vector<Glib::ustring> instead of a Glib::StringArrayHandle.  Also
	correct its m4 _CONVERSION macro.
	* gstreamer/src/urihandler.hg (make_element_from_uri): Now throws a
	Glib::Error.
	(get_uri_type): Returns a URIType instead of a guint.
	(get_protocols): Return a std::vector<Glib::ustring> instead of a
	Glib::StringArrayHandle.  Also correct its m4 _CONVERSION macro.
	(set_uri): Now throws a Glib::Error.
	* tools/m4/convert_gst.m4: Remove unneeded conversions because of
	above changes.  Also correct existing ones according to the above
	changes also.
BaseAudio[Sink|Src],RingBuffer: Rename as was done in the C API.

	* gstreamer/src/baseaudiosink.{ccg,hg}: Rename these files/classes to:
	* gstreamer/src/audiobasesink.{ccg,hg}:
	* gstreamer/src/baseaudiosrc.{ccg,hg}: Rename these files/classes to:
	* gstreamer/src/audiobasesrc.{ccg,hg}:
	* gstreamer/src/ringbuffer.{ccg,hg}: Rename these files/classes to:
	* gstreamer/src/audioringbuffer.{ccg,hg}:
	* gstreamer/src/filelist.am: Rename the files here also.
	* gstreamer/src/gst_vfuncs.defs: Rename the types here also.
	* tools/m4/convert_gst.m4: Rename the types here also.
Move to a generated ChangeLog.