configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS
[platform/upstream/gstreamer.git] / ChangeLog
index a423008..c8ed0e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,434 @@
+2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * configure.ac:
+         set CFLAGS and friends to -O0 if gcov is being used
+         add GCOV LIBS
+       * gst/Makefile.am:
+       * libs/gst/base/Makefile.am:
+       * libs/gst/check/Makefile.am:
+       * libs/gst/controller/Makefile.am:
+       * libs/gst/dataprotocol/Makefile.am:
+       * libs/gst/net/Makefile.am:
+       * plugins/elements/Makefile.am:
+       * plugins/indexers/Makefile.am:
+         add makefile rules to generate gcov data and clean up
+       * tests/check/Makefile.am:
+         add a coverage target that generates an html overview
+         of coverage data
+
+2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * tests/check/elements/fakesink.c:
+       * tests/check/elements/fakesrc.c:
+       * tests/check/elements/fdsrc.c:
+       * tests/check/elements/identity.c:
+       * tests/check/generic/sinks.c: (gst_sinks_suite):
+       * tests/check/generic/states.c:
+       * tests/check/gst/gst.c:
+       * tests/check/gst/gstabi.c:
+       * tests/check/gst/gstbin.c:
+       * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
+       * tests/check/gst/gstbus.c: (gst_bus_suite):
+       * tests/check/gst/gstcaps.c: (GST_START_TEST):
+       * tests/check/gst/gstelement.c:
+       * tests/check/gst/gstevent.c: (gst_event_suite):
+       * tests/check/gst/gstghostpad.c:
+       * tests/check/gst/gstiterator.c: (gst_iterator_suite):
+       * tests/check/gst/gstmessage.c: (gst_message_suite):
+       * tests/check/gst/gstminiobject.c:
+       * tests/check/gst/gstobject.c:
+       * tests/check/gst/gstpad.c:
+       * tests/check/gst/gstpipeline.c:
+       * tests/check/gst/gstplugin.c:
+       * tests/check/gst/gstquery.c: (gst_query_suite):
+       * tests/check/gst/gstsegment.c: (gst_segment_suite):
+       * tests/check/gst/gststructure.c:
+       * tests/check/gst/gstsystemclock.c:
+       * tests/check/gst/gsttag.c:
+       * tests/check/gst/gsttask.c: (gst_task_suite):
+       * tests/check/gst/gstutils.c:
+       * tests/check/gst/gstvalue.c:
+       * tests/check/libs/adapter.c:
+       * tests/check/libs/basesrc.c:
+       * tests/check/libs/collectpads.c:
+       * tests/check/libs/controller.c:
+       * tests/check/libs/gdp.c: (gst_dp_suite):
+       * tests/check/libs/gstnetclientclock.c:
+       * tests/check/libs/gstnettimeprovider.c:
+       * tests/check/libs/libsabi.c: (libsabi_suite):
+       * tests/check/libs/typefindhelper.c:
+       * tests/check/pipelines/cleanup.c:
+       * tests/check/pipelines/parse-launch.c:
+       * tests/check/pipelines/simple-launch-lines.c:
+       * tests/check/pipelines/stress.c: (stress_suite):
+         use the new macro
+
+2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * libs/gst/check/gstcheck.c: (gst_check_run_suite):
+       * libs/gst/check/gstcheck.h:
+         create a macro and function so that the simple unit test
+         case can be just one macro to create main()
+
+2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstbin.c: (gst_bin_restore_thyself):
+       * gst/gstxml.c: (gst_xml_make_element):
+         Fix deserialisation from XML. Set parent manually
+         instead of using gst_bin_add(), since gst_bin_add()
+         will unlink all pads of the element being added.
+         Fixes #341667.
+
+2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
+
+       Patch by: Peter Kjellerstedt <pkj at axis com>
+
+       * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
+         Fix missing g_strdup() and double free when using the
+         --gst-plugin-load command line option (#346097).
+
+2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstinfo.c:
+         Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
+
+       * libs/gst/net/gstnetclientclock.c:
+       * libs/gst/net/gstnettimeprovider.c:
+         Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
+
+2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * docs/manual/advanced-dataaccess.xml:
+         Fix buffer probe example compilation in
+         ADM (#345708).
+       
+2006-06-22  Edward Hervey  <edward@fluendo.com>
+
+       * gst/gstelement.c: (gst_element_pads_activate):
+       We need to deactivate src pads first and then sink pads.
+       The reason is the src pads might be blocking while holding the streaming
+       lock, so we need to deactivate them first so that deactivating the sink
+       pads doesn't block (since it will require the streaming lock).
+
+2006-06-22  Wim Taymans  <wim@fluendo.com>
+
+       * libs/gst/base/gstbasetransform.c:
+       (gst_base_transform_buffer_alloc):
+       Forgot to remove two unneeded unrefs.
+       Simplify a check _is_equal allready checks the obvious case.
+
+2006-06-22  Wim Taymans  <wim@fluendo.com>
+
+       * docs/design/part-block.txt:
+       Some docs about what pad_block should do.
+
+2006-06-22  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstcaps.c: (gst_caps_replace):
+       Fix crasher when passed NULL. Doc clarification.
+       Optimize for the trivial case.
+
+       * gst/gstpipeline.c: (gst_pipeline_change_state):
+       Small cleanups.
+
+       * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
+       Small documentation cleanup.
+
+       * libs/gst/base/gstbasetransform.c:
+       (gst_base_transform_buffer_alloc):
+       Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
+       is what we need and it avoids a whole lot of redundant 
+       refcount operations.
+
+2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
+
+       Patch by: Philip Jägenstedt  <philip at lysator liu se>
+
+       * docs/manual/advanced-dataaccess.xml:
+         Fix 'Embedding static elements' section to use
+         GST_PLUGIN_DEFINE_STATIC (#345607).
+
+2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
+         Attempt to 'fix' spuriously failing test case: it seems like the
+         timeout of half a second is simply too small when the system is under
+         load otherwise, and the timeout doesn't really seem to serve any
+         particular purpose here. Give the pipeline a few seconds to preroll
+         first, and then give it another half a second to go from PAUSED to
+         PLAYING and marshal the message into the main thread.
+
+2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * tools/gst-feedback-m.m:
+         Don't only use unversioned tools, try versioned tools as well
+         (#345086).
+
+2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstbus.c: (gst_bus_class_init):
+         Fix some typos, make docs more explicit.
+
+2006-06-20  Wim Taymans  <wim@fluendo.com>
+
+       * tests/check/gst/gstghostpad.c: (block_callback),
+       (GST_START_TEST), (gst_ghost_pad_suite):
+       Added some more ghostpad tests, mainly blocking
+       and probes.
+
+2006-06-16  Wim Taymans  <wim@fluendo.com>
+
+       * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
+       (gst_file_sink_close_file), (gst_file_sink_do_seek),
+       (gst_file_sink_event), (gst_file_sink_render):
+       * plugins/elements/gstfilesink.h:
+       Check if we can seek in the file instead of assuming
+       we always can. Post an error when we are asked to seek in a
+       non-seekable file (like a fifo). Fixes #343312.
+       Some cleanups.
+
+2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * tools/gst-launch.1.in:
+         Un-garble (fourcc) bit in filtered caps section.
+
+2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * docs/manual/advanced-autoplugging.xml:
+       * docs/manual/basics-helloworld.xml:
+       * docs/manual/highlevel-components.xml:
+         Don't leak bus reference in sample code.
+
+2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * autogen.sh:
+         Add default for new --enable-plugin-docs switch.
+
+       * configure.ac:
+         Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
+         Fixes #344039.
+
+       * docs/Makefile.am:
+         Use new ENABLE_PLUGIN_DOCS conditional.
+
+2006-06-14  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
+       Make it clear with a FIXME and a real define what the #if 0
+       previously disabled.
+
+2006-06-14  Wim Taymans  <wim@fluendo.com>
+
+       * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
+       (gst_base_sink_preroll_object), (gst_base_sink_get_position):
+       * libs/gst/base/gstbasetransform.c:
+       (gst_base_transform_sink_eventfunc):
+       * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
+       Don't randomly and silently reset a segment when the format 
+       changes as this is a bug somewhere upstream. Fixes #330379.
+
+2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
+
+       Patch by: Wouter Paesen  <wouter at kangaroot net>
+
+       * libs/gst/controller/gstcontroller.c:
+       (gst_controlled_property_new):
+         Fix controlling of float properties (#344849).
+
+       * tests/check/libs/controller.c:
+       (gst_test_mono_source_get_property),
+       (gst_test_mono_source_set_property),
+       (gst_test_mono_source_class_init), (GST_START_TEST):
+         While we're at it, add some float stuff to unit test.
+
+2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * docs/README:
+       * docs/images/gdp-header.svg:
+         add a gdp image
+       * docs/libs/Makefile.am:
+       * docs/libs/gdp-header.png:
+       * libs/gst/dataprotocol/dataprotocol.c:
+         add it to the API docs
+       * docs/manual/intro-motivation.xml:
+         fix typo
+
+2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gst.c: (scan_and_update_registry), (init_post):
+         If the fork()'ed child process can't write the updated registry cache
+         file to disk for some reason, make it exit with a failure exit code,
+         so that the parent can then re-scan the plugins itself and update the
+         registry structures in memory and work with that (rather than failing
+         when creating elements because seemingly no plugins are available).
+         Refactor registry scanning code into separate function for this and
+         also separate fork() and non-fork() code paths. Fixes #344748.
+
+2006-06-13  Wim Taymans  <wim@fluendo.com>
+
+       * docs/manual/advanced-dataaccess.xml:
+       Fix wrong PluginDesc. Fixes #344755.
+
+2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
+         Fix silly bug that prevented us from creating
+         ~/.gstreamer-0.10 and writing the registry in one
+         go (the first call to g_mkstemp() would overwrite the
+         placeholder in the template string, so the second call
+         to g_mkstemp() after creating the missing directory
+         would then error out with 'invalid argument').
+
+2006-06-13  Edward Hervey  <edward@fluendo.com>
+
+       * gst/gst.c: (init_post):
+       Free string.
+
+2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/glib-compat-private.h:
+       * gst/glib-compat.c:
+       * gst/glib-compat.h:
+       * gst/gstvalue.c: (gst_value_serialize_flags):
+         remove GLib 2.6 compatibility code
+
+2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/parse/Makefile.am:
+         Fix build with 'make -j N' even more (#340016).
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * docs/gst/gstreamer-sections.txt:
+       Fix docs.
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstsegment.c: (gst_segment_set_duration),
+       (gst_segment_set_last_stop), (gst_segment_set_seek),
+       (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
+       (gst_segment_to_running_time), (gst_segment_clip):
+       Use G_UNLIKELY to help the compiler a bit.
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       Patch by: Stefan Kost <ensonic at sonicpulse dot de>
+
+       * gst/gstevent.c: (gst_event_get_type):
+       * gst/gstmessage.c:
+       * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
+       (gst_pad_push):
+       constify quark registration strings. Fixes #344115
+       Avoid unneeded type checking is _pad_push() by internally
+       calling gst_pad_chain_unchecked().
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
+       (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
+       (gst_subbuffer_finalize), (gst_buffer_create_sub),
+       (gst_buffer_is_span_fast), (gst_buffer_span):
+       Init _type for consistency.
+       Use _FLAGS macro to avoid type check.
+       Avoid unneeded type checks in subbufer code.
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gst.c: (gst_debug_help):
+       * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
+       * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
+       (gst_plugin_feature_list_free):
+       * gst/gstregistry.c: (gst_registry_add_plugin),
+       (gst_registry_add_feature), (gst_registry_plugin_filter),
+       (gst_registry_feature_filter), (gst_registry_find_plugin),
+       (gst_registry_find_feature), (gst_registry_get_plugin_list),
+       (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
+       * gst/gstregistryxml.c: (load_feature),
+       (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
+       * gst/gstminiobject.c: (gst_mini_object_unref),
+       (gst_mini_object_replace), (gst_value_mini_object_free),
+       (gst_value_mini_object_copy):
+       Use _CAST macros to avoid unneeded type checking.
+       Added some more G_UNLIKELY.
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbuffer.h:
+       Avoid unneeded type checking.
+       API: GST_BUFFER_IS_DISCONT
+
+       * gst/gstminiobject.h:
+       Avoid type check in flag accessor.
+
+       * gst/gstelementfactory.h:
+       * gst/gstplugin.h:
+       * gst/gstpluginfeature.h:
+       Add _CAST macros.
+       API: GST_ELEMENT_FACTORY_CAST
+       API: GST_PLUGIN_CAST
+       API: GST_PLUGIN_FEATURE_CAST
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
+       (gst_object_unref):
+       Add G_UNLIKELY in type registration.
+       Avoid type check in _ref/_unref since that is also
+       done in glib.
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gsterror.c: (gst_g_error_get_type):
+       * gst/gstpadtemplate.c: (gst_pad_template_get_type),
+       (gst_static_pad_template_get_type):
+       * gst/gsttaglist.c: (gst_tag_list_get_type):
+       * gst/gsttagsetter.c: (gst_tag_setter_get_type):
+       * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
+       * gst/gsturi.c: (gst_uri_handler_get_type):
+       * gst/gstvalue.c: (gst_date_get_type):
+       * gst/gstxml.c: (gst_xml_get_type):
+       * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
+       (gst_base_sink_preroll_object), (gst_base_sink_get_position):
+       * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
+       Add G_UNLIKELY in type registration.
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * tools/gst-inspect.c: (print_signal_info):
+       Properly print enum values.
+
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstinfo.c: (gst_debug_set_active),
+       (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
+       * gst/gstinfo.h:
+       Add some G_[UN]LIKELY.
+       Maintain __gst_debug_min to avoid formatting the arguments of
+       debug messages that will be dropped anyway to avoid a lot of 
+       overhead from the debugging system.
+
+2006-06-11  Stefan Kost  <ensonic@users.sf.net>
+
+       * po/POTFILES.in:
+       * po/POTFILES.skip:
+         add missing files containing translatable strings, tell intltool about
+         one exception
+
+2006-06-11  Stefan Kost  <ensonic@users.sf.net>
+
+       * tests/check/libs/.cvsignore:
+       add test-binary to ignore list
+
+2006-06-11  Stefan Kost  <ensonic@users.sf.net>
+
+       * docs/libs/gstreamer-libs-docs.sgml:
+       reorder (put dp into a chapter) and indent
+
+2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * configure.ac:
+         back to HEAD
+
 === release 0.10.8 ===
 
 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>