Add net pkgconfig files.
[platform/upstream/gstreamer.git] / ChangeLog
index 3060ac9..6789c6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,284 @@
+2005-11-18  Andy Wingo  <wingo@pobox.com>
+
+       * configure.ac: 
+       * pkgconfig/gstreamer-net.pc.in:
+       * pkgconfig/gstreamer-net-uninstalled.pc.in:
+       * pkgconfig/Makefile.am: Add net pkgconfig files.
+
+2005-11-18  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/gstcaps.c:
+       * gst/gstghostpad.c:
+       * gst/gsttrace.c:
+       * gst/gstvalue.c:
+       * gst/gstvalue.h:
+         docs fixes
+
+2005-11-18  Andy Wingo  <wingo@pobox.com>
+
+       * gst/net/gstnetclientclock.c: Turn off debugging.
+
+       * check/net/gstnetclientclock.c (test_functioning): Assert that the
+       times connverge somewhat. Can't make a real test.
+
+       * gst/net/gstnetclientclock.c (do_linear_regression): Use all
+       integer arithmetic. Return the minimum of the domain, which can be
+       set as "internal" for gst_clock_set_calibration.
+       (gst_net_client_clock_observe_times): Call _set_calibration.
+       (gst_net_client_clock_new): Call _set_calibration instead of
+       rate_offset.
+
+       * check/net/gstnetclientclock.c (test_functioning): Use the right
+       adjustment api.
+
+       * gst/gstclock.h:
+       * gst/gstclock.c (gst_clock_get_calibration) 
+       (gst_clock_set_calibration): New functions, obsolete the ones I
+       added yesterday. Doh. Precision issues mean we have to extrapolate
+       from a point in the more recent past than 1970.
+       (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
+       obsolete.
+       (gst_clock_adjust_unlocked): Use the right calibration data.
+
+2005-11-18  Edward Hervey  <edward@fluendo.com>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
+       Also reset the ->current_* values in READY->PAUSED
+
+2005-11-18  Andy Wingo  <wingo@pobox.com>
+
+       * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
+       Whoops, check the right fd. Also add some debugging.
+       (gst_net_client_clock_observe_times): Adjust for int64 offset.
+       (do_linear_regression): Add a crapload of debugging. Subtract off
+       the minimum values from the input series to discard unneeded bits.
+       Use only int arithmetic. There is still double arithmetic when
+       calculating the intercept that needs fixing. Return boolean to
+       indicate success; FALSE would mean the domain or range is too
+       great. Still needs fixes.
+
+2005-11-18  Wim Taymans  <wim@fluendo.com>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_get_position):
+       For the current position in stream time, we need to subtract
+       accumulated time.
+       
+       * gst/gstsystemclock.c: (gst_system_clock_async_thread):
+       Release lock before calling the callback function of async
+       entries.
+
+2005-11-18  Andy Wingo  <wingo@pobox.com>
+
+       * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
+       Port goes all the way to MAXUINT16.
+
+       * gst/net/gstnettimeprovider.c: Make the port range the same as
+       for the kernel: 0 assigns, otherwise ports are less than
+       MAXUINT16.
+
+       * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
+       port change.
+
+       * check/net/gstnetclientclock.c (test_functioning): Add the start
+       of another test. 
+
+2005-11-18  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
+       (gst_bin_remove_func), (bin_bus_handler):
+       * gst/gstbin.h:
+       Removing a clock provider from a bin, triggers a clock lost message
+       so that a new clock will be selected.
+       Adding a clock to a bin triggers a clock provider message.
+       Make sure we reselect a clock when we received a clock lost message.
+       Keep a reference to the element that provided the clock.
+
+2005-11-18  Andy Wingo  <wingo@pobox.com>
+
+       * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
+       the clock initially so it produces values around the base time.
+       (gst_net_client_clock_class_init): Typo fix.
+       (gst_net_client_clock_thread): Add note on when the socket gets
+       closed.
+
+2005-11-17  Wim Taymans  <wim@fluendo.com>
+
+       * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
+       Free remote and local time arrays.
+
+2005-11-17  Wim Taymans  <wim@fluendo.com>
+
+       * gst/net/gstnetclientclock.c: (do_linear_regression),
+       (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
+       Fix compilation, uninitialized vars and a forgotten continue.
+
+2005-11-17  Andy Wingo  <wingo@pobox.com>
+
+       * check/Makefile.am (check_PROGRAMS): 
+       * check/net/gstnetclientclock.c: Add a most minimal test for the
+       net client clock. More to come later.
+
+       * gst/net/gstnet.h: 
+       * gst/net/Makefile.am: Add netclientclock.
+
+       * gst/net/gstnetclientclock.h:
+       * gst/net/gstnetclientclock.c: New files, implement an untested
+       GstClock that takes its time from a network time provider.
+       Implements the algorithm in network-clock.scm.
+
+       * tests/network-clock.scm (*window-size*): Rename from
+       *queue-length*.
+       * tests/network-clock.scm (network-time): 
+       * tests/network-clock-utils.scm (q-push): Update callers.
+
+2005-11-17  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbin.c: (gst_bin_provide_clock_func),
+       (gst_bin_sort_iterator_new):
+       And unref the child too..
+
+2005-11-17  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
+       (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
+       Refactor the sort iterator so it can be used while holding the
+       LOCK too.
+       Make clock selection select a clock closest to the source.
+
+2005-11-17  Michael Smith <msmith@fluendo.com>
+
+       * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
+       (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
+       * gst/gstclock.h:
+         Anonymous structs are a gcc (and some other compilers) extension, so
+         don't use them. Since this is only for ABI-compatibility, and our
+         API/ABI freeze is over in a few days, this whole thing will only
+         last a few days, so don't bother trying to think up a meaningful
+         name for the struct.
+
+2005-11-17  Andy Wingo  <wingo@pobox.com>
+
+       * gst/gstclock.h (GstClock): Add rate and offset properties,
+       preserving ABI stability. Add rate/offset accessors. Will file bug
+       for the freeze break.
+
+       * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
+       and offset, trying to keep precision and avoiding
+       underflow/overflow.
+       (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
+       functions. Make gst_clock_set_time_adjust obsolete.
+       (gst_clock_set_time_adjust): Note that this function is obsolete.
+       Will file bug soon.
+
+       * gst/base/gstbasetransform.h: Make the ABI-stability hack
+       greppable by using GST_PADDING-1+1.
+
+2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
+
+       Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstmessage.c: (gst_message_parse_clock_lost):
+         Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
+
+       * gst/gstpadtemplate.h:
+       * gst/gstpluginfeature.h:
+         Don't use c++ style comments in headers (#321638).
+
+2005-11-16  Andy Wingo  <wingo@pobox.com>
+
+       * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
+       buffer.
+
+       * check/net/gstnettimeprovider.c: Check to see that the time
+       provider actually provides times. Works, yo!
+
+2005-11-16  Wim Taymans  <wim@fluendo.com>
+
+       * check/Makefile.am:
+       Enable more tests.
+
+       * check/elements/fakesrc.c: (GST_START_TEST):
+       Set element to NULL before disposing it.
+
+2005-11-16  Andy Wingo  <wingo@pobox.com>
+
+       * gst/net/Makefile.am:
+       * gst/net/gstnet.h:
+       * gst/net/gstnettimeprovider.c: 
+       * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
+       provider, include it from gstnet.h, and add it to the build.
+
+       * gst/net/gstnettimepacket.h: 
+       * gst/net/gstnettimepacket.c: New files, abstracts out the packet
+       sending and receiving.
+
+2005-11-16  Wim Taymans  <wim@fluendo.com>
+
+       * check/Makefile.am:
+       Enable valgrind check.
+
+       * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
+       (gst_fake_src_alloc_buffer):
+       Fix memleak.
+
+2005-11-16  Wim Taymans  <wim@fluendo.com>
+
+       * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
+       Call parent finalize too.
+
+2005-11-16  Wim Taymans  <wim@fluendo.com>
+
+       * check/Makefile.am:
+       Enable valgrind check that should work fine now.
+
+       * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
+       * gst/gstqueue.c: (gst_queue_init):
+       Fix memleaks in pad allocation.
+
+2005-11-16  Andy Wingo  <wingo@pobox.com>
+
+       * gst/net/Makefile.am:
+       * gst/net/gstnet.h: New part of core to hold network elements and
+       objects. Put in core because it exposes API that applications want
+       to use. The library is named libgstnet-tempname right now because
+       of the existing libgstnet in gst-plugins-base. Solution is
+       probably to rename the one in plugins-base; will file a bug for
+       the freeze break.
+
+       * gst/net/gstnettimeprovider.c: 
+       * gst/net/gstnettimeprovider.h: New object to export a GstClock's
+       get_time call over the network.
+
+       * configure.ac: 
+       * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
+
+       * check/Makefile.am:
+       * check/net/gstnettimeprovider.c: A most minimal test suite. Will
+       get additions shortly.
+
+2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gstpad.c: (gst_pad_new_from_static_template):
+       * gst/gstpad.h:
+         add gst_pad_new_from_static_template functions
+       * gst/check/gstcheck.c: (gst_check_setup_src_pad),
+       (gst_check_setup_sink_pad):
+       * gst/elements/gsttee.c: (gst_tee_init):
+         and use them
+
+2005-11-16  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstpad.c: (gst_pad_pause_task):
+       Removed warning, it's not really an error either.
+
+2005-11-16  Wim Taymans  <wim@fluendo.com>
+
+       * gst/base/gstbasetransform.c:
+       (gst_base_transform_prepare_output_buf),
+       (gst_base_transform_event):
+       Check if the caps are NULL, this can happen if the element
+       is shutting down and the pad caps are set to NULL.
+
 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * gst/elements/gsttee.c: (gst_tee_init):