diff --git a/ChangeLog b/ChangeLog
index 3254fa1d7e8830df43eb64b86f88f7b6690270bc..632ba0b23093a883e72efc7b2b439ffe6354bda5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
+
+ * .cvsignore:
+ Ignore more.
+
+2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
+
+ * Makefile.am:
+ * configure.ac:
+ * gst-element-check.m4:
+ * gst-element-check.m4.in:
+ Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
+ instead of the unversioned gst-inspect (#324176, #168659).
+
+2006-07-06 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstmessage.h:
+ Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
+ warnings.
+
+2006-07-06 Wim Taymans <wim@fluendo.com>
+
+ * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
+ (gst_base_src_wait), (gst_base_src_update_length),
+ (gst_base_src_get_range), (gst_base_src_default_check_get_range),
+ (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
+ (gst_base_src_loop), (gst_base_src_start),
+ (gst_base_src_activate_pull):
+ Update docs.
+ blocksize == 0 now means the default blocksize when working in push
+ based mode.
+ Remove some pointless asserts in _wait function.
+ Fix offset/length calculations and EOS handling. We can now pull 0
+ bytes as well, which is allowed.
+ use _check_get_range() to decide if we can operate in _pull based
+ mode.
+ Fix refcounting leak when check_get_range function was not
+ implemented.
+ API GstBaseSrc::blocksize range can be 0 too now (default)
+
+ * tests/check/elements/filesrc.c: (GST_START_TEST),
+ (filesrc_suite):
+ Added check to test _get_range() behaviour.
+
+2006-07-06 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
+ (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
+ (gst_pad_pull_range):
+ * gst/gstpad.h:
+ Lots of comments and docs added to the pad functions.
+ Flesh out the expected behaviour of the get_range() functions.
+
+2006-07-06 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstbus.h:
+ * gst/gstclock.h:
+ * gst/gstevent.h:
+ * gst/gstiterator.h:
+ * gst/gstpad.h:
+ * gst/gstplugin.h:
+ * gst/gsttask.h:
+ Remove comma at end of enumerator list.
+
+2006-07-05 Sebastien Moutte <sebastien@moutte.net>
+
+ * win32/common/libgstbase.def:
+ * win32/common/libgstdataprotocol.def:
+ * win32/common/libsgtreamer.def:
+ Add new exported functions.
+
+2006-07-05 Wim Taymans <wim@fluendo.com>
+
+ * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
+ Add some more docs here and there.
+
+2006-07-05 Wim Taymans <wim@fluendo.com>
+
+ * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
+ (gst_base_sink_loop), (gst_base_sink_get_position):
+ When operating in pull mode update the offset so that we
+ read sequentially.
+
+2006-07-05 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstregistryxml.c: (read_string):
+ Avoid strdup. (will happen in libxml, but hey!)
+
+ * gst/gsturi.c:
+ Add some more docs.
+
+2006-07-05 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
+ * tests/check/gst/gstbuffer.c: (GST_START_TEST),
+ (gst_buffer_suite):
+ No point in checking if the size of the subbuffer > 0, the
+ code handles it correclty as demonstrated by unit test.
+ Also add a unit test for the zero sized _new_and_alloc and
+ _copy. Fixes #346663.
+
+2006-07-05 Wim Taymans <wim@fluendo.com>
+
+ * libs/gst/base/gstbasetransform.c:
+ (gst_base_transform_prepare_output_buffer),
+ (gst_base_transform_buffer_alloc),
+ (gst_base_transform_handle_buffer):
+ Make sure the buffer we pass to transform_ip has a refcount of
+ 1 and thus is writable. Fixes #343196
+
+2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
+
+ * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
+ (gst_file_src_init), (gst_file_src_set_property),
+ (gst_file_src_get_property), (gst_file_src_map_region):
+ * plugins/elements/gstfilesrc.h:
+ Add "sequential" property, off by default, to use madvise and hint
+ to the kernel that sequential access is desired.
+ Touch all retrieved pages by default to ensure they are pulled
+ into memory. (Closes #345720)
+
+2006-07-03 Wim Taymans <wim@fluendo.com>
+
+ * docs/design/part-block.txt:
+ * docs/design/part-dynamic.txt:
+ Small docs updates.
+
+2006-07-03 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
+ (gst_caps_unref), (gst_static_caps_get),
+ (gst_caps_append_structure):
+ * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
+ Use GSlice when the glib we build against is >= 2.10
+
+2006-07-03 Wim Taymans <wim@fluendo.com>
+
+ * gst/gstelement.c: (gst_element_pads_activate):
+ Small cleanup in pad activation code.
+
+2006-07-03 Wim Taymans <wim@fluendo.com>
+
+ Patch by: Peter Kjellerstedt <pkj at axis dot com>
+
+ * gst/gst-i18n-app.h:
+ * gst/gst-i18n-lib.h:
+ * tools/gst-inspect.c: (print_signal_info):
+ The attached patch will make the inclusion of gettext.h unconditional in
+ gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
+ libintl.h in tools/gst-inspect.c.
+ This allows use of --disable-nls again and fixes #344642.
+
+2006-07-03 Edward Hervey <edward@fluendo.com>
+
+ * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
+ Implement pad blocking on events according to part-block.txt.
+ More comments on behaviour.
+ * tests/check/gst/gstevent.c: (test_event):
+ Send event to peer pad of blocked pad (else it will block).
+
+2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * libs/gst/check/gstcheck.c: (gst_check_message_error),
+ (gst_check_run_suite):
+ if we get the wrong message, give us the types as string
+ * plugins/elements/gstfilesrc.c: (gst_file_src_start):
+ Fix a translatable
+ * tests/check/elements/filesrc.c: (GST_START_TEST):
+ add a test for trying to open a non-existing file
+
+2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
+ add a test for adding self
+
+2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * libs/gst/check/gstcheck.h:
+ add some assert_ as alias for fail_unless_*
+ * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
+ increase test coverage
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * Makefile.am:
+ include lcov.mak for lcov coverage generation
+ * tools/Makefile.am:
+ add to CLEANFILES
+
+2006-07-02 Edward Hervey <edward@fluendo.com>
+
+ * tests/check/elements/.cvsignore:
+ moaping
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * configure.ac:
+ don't set CFLAGS and friends for gcov, done from GST_GCOV now
+ * tests/check/Makefile.am:
+ clean up gcov files
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
+ remove gst_caps_simplify; it was not declared and not used
+ and deprecated in 0.8
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * docs/faq/gst-uninstalled:
+ don't put empty paths on PYTHONPATH
+ * docs/gst/gstreamer-sections.txt:
+ remove some symbols that are not there
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * gst/gstcaps.c: (gst_caps_compare_structures):
+ whitespace fixes
+ * tests/check/gst/gstbuffer.c: (GST_START_TEST):
+ * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
+ add more tests
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * libs/gst/dataprotocol/Makefile.am:
+ build dataprotocol test by linking to the lib, instead of
+ compiling the source, so we get coverage
+ * tests/check/Makefile.am:
+ * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
+ (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
+ add a test for filesrc
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * tests/check/gst/gststructure.c: (GST_START_TEST),
+ (gst_structure_suite):
+ Push coverage from 59.04% to 70.00%
+
+2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * tests/check/Makefile.am:
+ gst-inspect every element; this makes sure that we also get
+ coverage on element's get/set functions
+
+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):