signedness fixes
[platform/upstream/gstreamer.git] / ChangeLog
index 7e2f4ce..7c9accf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,497 @@
+2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
+         Add some simple tests for the new taglist date API.
+
+2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/elements/gstfakesink.c: (gst_fake_sink_render):
+       * gst/elements/gstfakesrc.c: (gst_fake_src_create):
+         Beautify 'last-message' output: print 'none' for buffer timestamps
+         and durations if none is set; improve alignment with next messages.
+
+2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
+       * gst/gstpluginfeature.h:
+       * gst/gstregistry.c: (gst_default_registry_check_feature_version):
+       * gst/gstregistry.h:
+       * docs/gst/gstreamer-sections.txt:
+         Add new API to check plugin feature version requirements.
+
+       * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
+         Some basic tests for the above.         
+
+2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gststructure.c: (gst_structure_to_string):
+         guard against NULL printf - happens when for example
+         a message structure with GstClock gets serialized
+
+2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/base/gstcollectpads.c: (gst_collectpads_event):
+         Fix presumable copy'n'pasto.
+
+2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/elements/gstfakesrc.h:
+       * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
+       * gst/elements/gsttypefindelement.c:
+         fix some signedness
+       * gst/elements/gstfilesink.c: (gst_file_sink_render):
+         I wonder if this could actually write +2GB files before
+
+2005-10-13  Andy Wingo  <wingo@pobox.com>
+
+       * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
+       Fix Timmeke Waymans bug.
+       (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
+       string of the proper length to gst_caps_from_string. There's a
+       potential for, before this fix, that this could cause someone
+       connecting over the network to cause a segfault if the payload is
+       not NUL-terminated.
+
+2005-10-13  Stefan Kost  <ensonic@users.sf.net>
+
+       * docs/design/draft-push-pull.txt:
+       * docs/design/part-overview.txt:
+       * docs/random/TODO-pre-0.9:
+       * docs/random/old/ChangeLog.gstreamer:
+       * gst/base/gstpushsrc.c:
+       * gst/gstclock.c:
+         fixed typos
+
+2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/glib-compat.c: (gst_flags_get_first_value):
+       * gst/glib-compat.h:
+       * gst/gstvalue.c: (gst_value_deserialize_int_helper),
+       (gst_value_compare_double), (gst_value_serialize_flags):
+         GLib 2.6 g_flags_get_first_value has a bug that triggers an
+         infinite loop
+
+2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
+       * gst/base/gstbasesrc.c: (gst_base_src_get_range):
+         fix up debugging
+       * tools/gst-launch.c: (event_loop):
+         print out clock nicely
+
+2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * docs/gst/gstreamer-sections.txt:
+       * gst/gsttaglist.h:
+       * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
+       (gst_tag_list_get_date_index):
+         Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
+         GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
+
+2005-10-13  Julien MOUTTE  <julien@moutte.net>
+
+       * gst/base/gstcollectpads.c: (gst_collectpads_event),
+       (gst_collectpads_chain):
+       * gst/base/gstcollectpads.h: Handle newsegment and store informations
+       in CollectData.
+
+2005-10-13  Stefan Kost  <ensonic@users.sf.net>
+
+       * docs/gst/gstreamer-sections.txt:
+       * gst/gst.c:
+       * gst/gsterror.h:
+       * tools/gst-inspect.c: (main):
+       * tools/gst-launch.c: (main):
+       * tools/gst-run.c: (main):
+       * tools/gst-xmlinspect.c: (main):
+         fix GOption context leaks
+         doc fixes
+
+2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gstbus.c:
+         use HAVE_UNISTD_H
+       * win32/common/config.h:
+         update config
+       * win32/vs6/grammar.dsp:
+       * win32/vs6/libgstelements.dsp:
+       * win32/vs6/libgstreamer.dsp:
+         update vs6 files
+
+2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
+       * gst/base/gstbasesrc.c: (gst_base_src_query):
+         fix more guint64<->gdouble conversions
+
+2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * Makefile.am:
+         add win32-update target
+       * win32/common/gstconfig.h:
+       * win32/common/gstenumtypes.c:
+       * win32/common/gstenumtypes.h:
+       * win32/common/gstversion.h:
+         add files that visual studio can't generate
+
+2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * Makefile.am:
+         add a win32-update target
+       * configure.ac:
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
+       (reset_degree), (gst_bin_dispose), (bin_bus_handler):
+       * gst/gstelement.c: (gst_element_commit_state),
+       (gst_element_set_state):
+       Protect flags with proper lock.
+       unref provided cached clock in dispose.
+
+2005-10-12  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/gst.c:
+       * gst/gstminiobject.h:
+       * gst/gstpad.h:
+       * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
+         removed unused flags from miniobject
+         doc fixes
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
+       (gst_file_sink_event), (gst_file_sink_render):
+       Flush before seeking.
+
+2005-10-12  Andy Wingo  <wingo@pobox.com>
+
+       * gst/gst.c (gst_init_check): Ignore unknown options, as has
+       always been the case.
+
+2005-10-12  Stefan Kost  <ensonic@users.sf.net>
+
+       * check/gst/gstbin.c: (GST_START_TEST):
+       * docs/gst/gstreamer-sections.txt:
+       * gst/base/gstbasesink.c: (gst_base_sink_init):
+       * gst/base/gstbasesrc.c: (gst_base_src_init),
+       (gst_base_src_get_range), (gst_base_src_check_get_range),
+       (gst_base_src_start), (gst_base_src_stop):
+       * gst/base/gstbasesrc.h:
+       * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
+       * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
+       (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
+       (bin_bus_handler):
+       * gst/gstbin.h:
+       * gst/gstbuffer.h:
+       * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
+       * gst/gstbus.h:
+       * gst/gstelement.c: (gst_element_is_locked_state),
+       (gst_element_set_locked_state), (gst_element_commit_state),
+       (gst_element_set_state):
+       * gst/gstelement.h:
+       * gst/gstindex.c: (gst_index_init):
+       * gst/gstindex.h:
+       * gst/gstminiobject.h:
+       * gst/gstobject.c: (gst_object_init), (gst_object_sink),
+       (gst_object_set_parent):
+       * gst/gstobject.h:
+       * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
+       (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
+       * gst/gstpad.h:
+       * gst/gstpadtemplate.h:
+       * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
+       (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
+       * gst/gstpipeline.h:
+       * gst/indexers/gstfileindex.c: (gst_file_index_load),
+       (gst_file_index_commit):
+       * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
+       * testsuite/pad/link.c: (gst_test_src_init),
+       (gst_test_filter_init), (gst_test_sink_init):
+       * testsuite/states/locked.c: (main):
+          renamed GST_FLAGS macros to GST_OBJECT_FLAGS
+          moved bitshift from macro to enum definition
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
+       * gst/elements/gstfilesink.c: (gst_file_sink_event),
+       (gst_file_sink_render):
+       Some more debugging info.
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * docs/design/part-states.txt:
+       * tools/gst-launch.c: (main):
+       Some doc updates.
+       Revert non-intentional change.
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * check/gst/gstbin.c: (GST_START_TEST):
+       * check/gst/gstelement.c: (GST_START_TEST):
+       * check/gst/gstevent.c: (GST_START_TEST), (test_event):
+       * check/gst/gstghostpad.c: (GST_START_TEST):
+       * check/gst/gstpipeline.c: (GST_START_TEST):
+       * check/pipelines/simple_launch_lines.c: (run_pipeline):
+       * check/states/sinks.c: (GST_START_TEST):
+       * gst/elements/gsttypefindelement.c: (stop_typefinding):
+       * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
+       (gst_bin_remove_func), (gst_bin_get_state_func),
+       (gst_bin_recalc_state), (gst_bin_change_state_func),
+       (bin_bus_handler):
+       * gst/gstelement.c: (gst_element_get_state_func),
+       (gst_element_get_state), (gst_element_abort_state),
+       (gst_element_commit_state), (gst_element_set_state),
+       (gst_element_change_state), (gst_element_change_state_func):
+       * gst/gstelement.h:
+       * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
+       (gst_pipeline_provide_clock_func):
+       * gst/gstutils.c: (gst_element_link_pads_filtered):
+       * tools/gst-launch.c: (main):
+       * tools/gst-typefind.c: (main):
+       Use GstClockTime in _get_state() instead of GTimeVal.
+       Remove old code in gstutils.c
+
+2005-10-12  Andy Wingo  <wingo@pobox.com>
+
+       * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
+       removed.
+
+       * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
+       there is no task. Shouldn't affect any code, as nothing in our
+       plugins checks this return value.
+       (gst_pad_stop_task): Also take the stream lock if the pad has no
+       task. Docs updated.
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstpad.c: (pre_activate), (post_activate),
+       (gst_pad_activate_pull), (gst_pad_activate_push):
+       Cleanup activation code. Reset old state if
+       activation failed.
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
+       (gst_base_sink_change_state):
+       No need to prerol after receiving EOS.
+
+       * gst/elements/gstfakesink.c: (gst_fake_sink_event):
+       * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
+       * gst/elements/gstidentity.c: (gst_identity_event):
+       Print events more verbosely.
+
+2005-10-12  Wim Taymans  <wim@fluendo.com>
+
+       * check/Makefile.am:
+       * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
+       * check/states/sinks2.c:
+       Moved sinks2 testcode in sinks check.
+
+       * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
+       (gst_bin_remove_func), (gst_bin_recalc_state),
+       (gst_bin_change_state_func), (bin_bus_handler):
+       Fix potential race condition when _get_state() iterated over an
+       ASYNC element right before it posted a state completion.
+
+       * gst/gstclock.h:
+       Do proper cast here.
+
+       * gst/gstevent.c: (gst_event_new_newsegment),
+       (gst_event_parse_newsegment):
+       A playback rate of 0.0 is not allowed.
+
+2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * win32/common/config.h:
+       * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
+       (_trewinddir), (_ttelldir), (_tseekdir):
+       * win32/common/dirent.h:
+       * win32/common/gtchar.h:
+       * win32/common/libgstbase.def:
+       * win32/common/libgstreamer.def:
+       * win32/vs6/grammar.dsp:
+       * win32/vs6/gst_inspect.dsp:
+       * win32/vs6/gst_launch.dsp:
+       * win32/vs6/gstreamer.dsw:
+       * win32/vs6/libgstbase.dsp:
+       * win32/vs6/libgstelements.dsp:
+       * win32/vs6/libgstreamer.dsp:
+         Visual Studio 6 project files, and a new common directory.
+         Phear.
+
+2005-10-11  Wim Taymans  <wim@fluendo.com>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
+       (gst_base_sink_do_sync), (gst_base_sink_query),
+       (gst_base_sink_change_state):
+       * gst/base/gstbasesink.h:
+       Correctly parse newsegment info.
+
+2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gst.c: (init_post):
+         split plugin paths correctly
+
+2005-10-11  Wim Taymans  <wim@fluendo.com>
+
+       * check/gst/gstevent.c: (GST_START_TEST):
+       * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
+       (gst_base_sink_change_state):
+       * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
+       * gst/base/gstbasetransform.c: (gst_base_transform_event):
+       * gst/elements/gstfilesink.c: (gst_file_sink_event):
+       * gst/gstevent.c: (gst_event_new_newsegment),
+       (gst_event_parse_newsegment):
+       * gst/gstevent.h:
+       Added extra flag to newsegment for future API freeze.
+       Updated check and base elements.
+
+2005-10-11  Julien MOUTTE  <julien@moutte.net>
+
+       * gst/base/gstcollectpads.c: (gst_collectpads_init),
+       (gst_collectpads_add_pad), (gst_collectpads_pop),
+       (gst_collectpads_event), (gst_collectpads_chain):
+       * gst/base/gstcollectpads.h: Handle EOS correctly.
+
+2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * tools/gst-launch.c: (main):
+         more null protecting
+
+2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gst-i18n-lib.h:
+         check for ENABLE_NLS, not GETTEXT_PACKAGE
+       * gst/gstregistry.c: (gst_registry_add_plugin),
+       (gst_registry_scan_path_level),
+       (_gst_registry_remove_cache_plugins):
+         protect possibly NULL strings
+       * gst/parse/types.h:
+         config.h already included before
+       * tools/gst-inspect.c: (main):
+         sys/wait.h also doesn�t exist on mingw, so change the ifdef check
+         check for ENABLE_NLS, not GETTEXT_PACKAGE
+       * tools/gst-launch.c: (main):
+         check for ENABLE_NLS, not GETTEXT_PACKAGE
+
+2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * configure.ac:
+         if we don't have glib, fail before testing 2.8
+       * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
+         fix a leak, should fix plugins-base testsuite
+
+2005-10-11  Andy Wingo  <wingo@pobox.com>
+
+       * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
+       take the mode we're going to as an arg. Go head and set the mode
+       and flushing flags now, so that if the activate function starts a
+       thread all the flags will be in the right state.
+       (post_activate): Renamed also. Just handle making sure streaming
+       finishes for the deactivation case, and setting the deactivated
+       mode.
+       (gst_pad_set_active): Complain loudly if deactivation fails.
+       (gst_pad_activate_pull): Adapt to pre/post_activate changes.
+       (gst_pad_activate_push): Adapt to pre/post_activate changes,
+       remove the terrible hack.
+
+2005-10-11  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
+       (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
+       (gst_bin_recalc_state), (gst_bin_change_state_func),
+       (gst_bin_dispose), (bin_bus_handler):
+       * gst/gstbin.h:
+       Prepare to make current EOS message queue more generic.
+       Fix some typos.
+
+       * gst/gstevent.c: (gst_event_new_newsegment),
+       (gst_event_parse_newsegment):
+       * gst/gstevent.h:
+       Rename base to stream_time.
+
+       * gst/gstmessage.h:
+       Fix typo in docs.
+
+2005-10-11  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
+       (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
+       (gst_bin_change_state_func), (bin_bus_handler):
+       * gst/gstbin.h:
+       Work on proper clock selection.
+
+2005-10-11  Edward Hervey  <edward@fluendo.com>
+
+       * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
+       * libs/gst/controller/gstcontroller.h:
+       Added GList* version of _remove_properties() in order to be able to wrap
+       it in bindings.
+
+2005-10-11  Wim Taymans  <wim@fluendo.com>
+
+       * docs/design/part-states.txt:
+       Some more docs.
+
+       * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
+       (gst_bin_change_state_func), (bin_bus_handler):
+       Doc updates. Don't distribute the same clock over and over again.
+
+       * gst/gstclock.c:
+       * gst/gstclock.h:
+       Doc updates.
+
+       * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
+       (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
+       (gst_pad_send_event):
+       * gst/gstpad.h:
+       Make probe emission threadsafe again.
+       Register quarks and move _get_name() from utils.
+       Doc updates.
+
+       * gst/gstpipeline.c: (gst_pipeline_class_init),
+       (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
+       Only redistribute the clock of it changed.
+
+       * gst/gstsystemclock.h:
+       Doc updates. 
+
+       * gst/gstutils.c:
+       * gst/gstutils.h:
+       Moved the _flow_get_name() to GstPad.
+
+2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * check/gst-libs/gdp.c: (GST_START_TEST):
+       * check/gst/gstcaps.c: (GST_START_TEST):
+       * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
+       (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
+       (gst_dp_packet_from_caps):
+         fix more valgrind warnings before turning up the heat
+
+2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/parse/grammar.y:
+         some cleanup before the hacking
+
+2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/base/gstbasesrc.c: (gst_base_src_query):
+         use conversions
+       * gst/gstutils.c: (gst_guint64_to_gdouble),
+       (gst_gdouble_to_guint64), (gst_util_uint64_scale):
+       * gst/gstutils.h:
+         externalize, basesrc uses it
+         obviously the implementation needs testing
+
+2005-10-10  Wim Taymans  <wim@fluendo.com>
+
+       * tests/sched/Makefile.am:
+       * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
+       (make_pipeline3), (make_pipeline4), (print_elem), (main):
+
 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
        * libs/gst/dataprotocol/dp-private.h:
        It's about time we bump the version number.
        Since event types don't fit in the guint8 anymore describing
-       the payload type, make payload type 16 bits wide.
+       the payload type, make payload type 16 bits wide.
 
 2005-10-08  Wim Taymans  <wim@fluendo.com>