]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - ChangeLog
gst/gstplugin.c: Make some error messages more end-user friendly.
[glsdk/gstreamer0-10.git] / ChangeLog
1 2005-09-29  David Schleef  <ds@schleef.org>
3         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4           more end-user friendly.
5         * tools/gst-inspect.c: (main): Check if command-line argument is
6           a file and attempt to load that file as a plugin.
8 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10         * check/gst/gstbin.c:
11         * check/states/sinks.c:
12           fix tests for the new warning
13         * check/gst/gstpipeline.c:
14           add a test for pipeline and bus interaction
15         * gst/gstelement.c:
16           elements should be NULL if they get disposed; add a warning if not
18 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20         * gst/gstobject.c:
21           for 2.6 refcounting, make debug log more correct by printing
22           the actual refcounts at the time of swap (Wim)
24 2005-09-29  Andy Wingo  <wingo@pobox.com>
26         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
27         removes signal watches previously added via
28         gst_bus_add_signal_watch.
29         (gst_bus_add_signal_watch): Don't return the source id, just store
30         it on the bus if there wasn't an id already.
32         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
33         add_signal_watch and remove_signal_watch.
35 2005-09-29  Edward Hervey  <edward@fluendo.com>
37         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
38         Better if we actually iterate the list :)
40 2005-09-29  Wim Taymans  <wim@fluendo.com>
42         * check/gst/gstbin.c: (GST_START_TEST):
43         Change for new bus API.
45         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
46         (send_messages), (GST_START_TEST), (gstbus_suite):
47         Change for new bus signal API.
49         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
50         (gst_bus_source_prepare), (gst_bus_source_check),
51         (gst_bus_create_watch), (gst_bus_add_watch_full),
52         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
53         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
54         * gst/gstbus.h:
55         Remove support for multiple GSources operating on different
56         message types as it is too complex and unneeded when using
57         signals.
58         Added support for receiving signals from the bus.
60 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
62         * docs/libs/tmpl/gstdataprotocol.sgml:
63         * docs/manual/advanced-dataaccess.xml:
64         * gst/elements/gstcapsfilter.c:
65         * gst/gstutils.c:
66           rename filter-caps to caps property
68 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
70         * gst/gstvalue.c: (gst_value_deserialize_fraction):
71           More robust fraction string parsing.
73         * docs/pwg/appendix-porting.xml:
74           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
76 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
78         * gst/gstcaps.c: (gst_caps_do_simplify):
79           Thou shalt not free a structure and then continue using it
80           in the next loop iteration.
82         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
83         (gst_caps_suite):
84           Add test case for caps simplification.
86 2005-09-29  Wim Taymans  <wim@fluendo.com>
88         * check/gst/gstbin.c: (GST_START_TEST):
89         Oops.
91 2005-09-29  Wim Taymans  <wim@fluendo.com>
93         * check/gst/gstbin.c: (GST_START_TEST):
94         Add bus to bin.
96         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
97         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
98         (find_element), (gst_bin_sort_iterator_next),
99         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
100         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
101         (gst_bin_change_state), (gst_bin_dispose):
102         A bin does not have a bus, it gets the bus from the parent.
104         * gst/gstelement.c: (gst_element_requires_clock),
105         (gst_element_provides_clock), (gst_element_is_indexable),
106         (gst_element_is_locked_state), (gst_element_change_state),
107         (gst_element_set_bus_func):
108         Small cleanups.
110         * gst/gstpipeline.c: (gst_pipeline_class_init),
111         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
112         The pipeline provides a bus.
114 2005-09-28  Johan Dahlin  <johan@gnome.org>
116         * gst/gstmessage.c (gst_message_parse_state_changed): Use
117         gst_structure_get_enum instead of gst_structure_get_int
119         * gst/gststructure.c (gst_structure_get_enum): Impl.
121         * gst/gststructure.h (gst_structure_get_enum): Add
123         * docs/gst/gstreamer-sections.txt: Ditto
125         * gst/gstmessage.c (gst_message_new_state_changed): Use
126         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
127         which does introspection.
128         Reviewed by Christian Schaller
130 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
132         * gst/gstinfo.c: (gst_debug_log_default):
133           don't do dummy g_strdup()s
134         * libs/gst/controller/gstcontroller.c:
135         (on_object_controlled_property_changed),
136         (gst_controlled_property_new), (gst_controller_new_valist),
137         (gst_controller_new_list),
138         (gst_controller_remove_properties_valist), (gst_controller_set),
139         (gst_controller_get), (gst_controller_sync_values),
140         (gst_controller_get_value_array), (_gst_controller_class_init),
141         (gst_controller_get_type):
142         * libs/gst/controller/gstcontroller.h:
143         * libs/gst/controller/gstinterpolation.c:
144         (gst_controlled_property_find_timed_value_node):
145           convert // to /**/ comments
147 2005-09-28  Wim Taymans  <wim@fluendo.com>
149         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
150         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
151         (gst_bus_sync_signal_handler):
152         * gst/gstbus.h:
153         Added async-message and sync-message signals to the bus.
154         Added helper BusFunc to emit signals for all posted messages.
156         * gst/gstmessage.c: (gst_message_type_get_name),
157         (gst_message_type_to_quark), (gst_message_get_type):
158         * gst/gstmessage.h:
159         Register quarks for message names.
161 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
163         * docs/libs/gstreamer-libs-sections.txt:
164         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
165         (gst_controller_new_list):
166         * libs/gst/controller/gstcontroller.h:
167           added another constructor for language bindings
169 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
171         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
172           add another check
173         * gst/gstbus.c:
174           add some doc
175         * gst/gstinfo.c: (_gst_debug_init):
176           slightly more readable color for refcount debugging
178 2005-09-28  Wim Taymans  <wim@fluendo.com>
180         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
181         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
182         (find_element), (gst_bin_sort_iterator_next),
183         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
184         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
185         (gst_bin_change_state), (gst_bin_dispose):
186         Small doc fixes. get_clock -> provide_clock.
188         * gst/gstelement.c: (gst_element_class_init),
189         (gst_element_provides_clock), (gst_element_provide_clock),
190         (gst_element_get_clock), (gst_element_commit_state),
191         (gst_element_lost_state):
192         * gst/gstelement.h:
193         Make get/set_clock() symetric. Add provide_clock vmethod since
194         that is actually what this function does.
196         * gst/gstpipeline.c: (gst_pipeline_class_init),
197         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
198         (gst_pipeline_get_clock):
199         get_clock -> provide_clock.
201 2005-09-28  Andy Wingo  <wingo@pobox.com>
203         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
204         lieu of real docs...
206         * gst/elements/gstfdsrc.c: Cleaned up a bit.
208 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
210         * gst/elements/gstcapsfilter.c:
211         * gst/elements/gstfakesink.c:
212         * gst/elements/gstfakesrc.c:
213         * gst/elements/gstfdsink.c:
214         * gst/elements/gstfdsrc.c:
215         * gst/elements/gstfilesink.c:
216         * gst/elements/gstfilesrc.c:
217         * gst/elements/gstidentity.c:
218         * gst/elements/gsttee.c:
219         * gst/elements/gsttypefindelement.c:
220           Make element details static.
222 2005-09-28  Wim Taymans  <wim@fluendo.com>
224         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
225         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
226         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
227         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
228         (gst_bin_change_state), (gst_bin_dispose):
229         Some documentation updates.
230         Clean up dispose handlers.
232         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
233         * gst/gstpad.c: (gst_pad_dispose):
234         Clean up dispose handler.
236         * gst/gstpipeline.c: (gst_pipeline_change_state):
237         Removed spurious UNLOCK.
239 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
241         * docs/gst/gstreamer-sections.txt:
242         * gst/base/gstbasesrc.h:
243         * gst/gstelement.h:
244         * gst/gstevent.h:
245         * gst/gstobject.h:
246         * gst/gstpad.h:
247         * gst/gstpipeline.c:
248         * gst/gstpipeline.h:
249         * gst/gstutils.h:
250         * gst/gstxml.h:
251           added two new functions to the docs
252                 documents all undocumented GstXXXFlags
253                 completed some incomplete docs 
255 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
257         * gst/gstbin.c: (gst_bin_dispose):
258         * gst/gstelement.c: (gst_element_dispose):
259           remove now useless and leaky resurrection code in dispose
260         * gst/base/gstbasesrc.c: (gst_base_src_init):
261         * gst/gstelementfactory.c: (gst_element_factory_create):
262         * gst/gstobject.c: (gst_object_set_parent):
263           add some debugging
265 2005-09-27  Wim Taymans  <wim@fluendo.com>
267         * docs/design/part-TODO.txt:
268         Update TODO.
270         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
271         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
272         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
273         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
274         (gst_bin_change_state):
275         * gst/gstelement.h:
276         Remove element variable, we keep element info in the iterator now.
278 2005-09-27  Andy Wingo  <wingo@pobox.com>
280         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
281         values.
283 2005-09-27  Wim Taymans  <wim@fluendo.com>
285         * check/gst/gstbin.c: (GST_START_TEST):
286         Enable check that works now.
288         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
289         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
290         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
291         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
292         (gst_bin_change_state):
293         * gst/gstbin.h:
294         Redid the state change algorithm using a topological sort algo.
295         Handles all cases correctly.
296         Exposed iterator for state change order.
298         * gst/gstelement.h:
299         Temp storage for state changes. Need to get rid of this soon.
301 2005-09-27  Wim Taymans  <wim@fluendo.com>
303         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
304         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
305         (link_fold_func), (gst_pad_proxy_setcaps):
306         Leak fixes, the fold functions need to unref the passed object and
307         _get_parent_*() returns ref to parent.
309 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
311         * check/gst/gstbuffer.c: (test_make_writable):
312           Plug leak in test case and fix 'make check-valgrind'
314 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
316         * gst/gstbuffer.c: (gst_subbuffer_init):
317           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
318           works correctly in all circumstances (we could have just copied
319           the parent buffer's readonly flag, but conceptually it seems
320           cleaner to mark all subbuffers as read-only). (based on patch
321           by Alessandro Decina, #314710).
322         
323         * check/gst/gstbuffer.c: (create_read_only_buffer),
324         (test_make_writable), (test_subbuffer_make_writable),
325         (gst_test_suite):
326           Add some tests for gst_buffer_make_writable().
328 2005-09-27  Wim Taymans  <wim@fluendo.com>
330         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
331         use gst_object_has_ancestor().
333         * gst/gstobject.c: (gst_object_has_ancestor):
334         * gst/gstobject.h:
335         gst_object_has_ancestor() copied from gstbin.c as it is a
336         usefull function.
338         * tests/instantiate/create.c: (create_all_elements):
339         * tests/lat.c: (handoff_src), (handoff_sink):
340         * tests/sched/runxml.c: (main):
341         * tests/seeking/seeking1.c: (main):
342         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
343         (main):
344         Fix compilation of some tests.
346 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
348         * gst/gsterror.h:
349           Remove comment. GST_TYPE_G_ERROR is here to stay,
350           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
351           (#316961, #300610).
353 2005-09-26  Wim Taymans  <wim@fluendo.com>
355         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
356         Added check that shows error in state change order.
358 2005-09-26  Wim Taymans  <wim@fluendo.com>
360         * gst/gstbin.c: (gst_bin_change_state):
361         Make state change function use 3 queues again, we were
362         adding elements in the wrong order.
364         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
365         Some debug info,
367         * gst/gstpad.c: (gst_pad_dispose):
368         Added some debug info first.
370 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
372         * docs/design/draft-push-pull.txt:
373         * docs/design/part-events.txt:
374         * docs/design/part-overview.txt:
375         * docs/design/part-scheduling.txt:
376           Replace all _pull_region() with _pull_range()
377           
378 2005-09-26  Andy Wingo  <wingo@pobox.com>
380         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
382         * check/gst-libs/controller.c: Update for controller api change.
384         * configure.ac: 
385         * tests/Makefile.am:
386         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
387         over by GLib bug 118439.
388         
389         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
390         routines to a function.
392         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
394         * libs/gst/controller/gsthelper.c:
395         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
396         (gst_object_sync_values): Renamed from sink_values. Ugh.
398         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
400         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
401         Renamed from controller_key, as it is exported.
403         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
405 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
407         * gst/Makefile.am:
408         * gst/gst.h:
409         * gst/gstpad.h:
410         * gst/gstpadtemplate.h:
411         * gst/gstquery.c:
412         * gst/gstquery.h:
413         * gst/gstqueryutils.c:
414         * gst/gstqueryutils.h:
415           remove queryutils headers after moving the two used functions
416           to gstquery.  also fixes build problem for gstsiddec
418 2005-09-26  Michael Smith <msmith@fluendo.com>
420         * tools/gst-launch.1.in:
421         Correct documentation in manpage of debug syntax
423 2005-09-26  Wim Taymans  <wim@fluendo.com>
425         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
426         (gst_base_src_is_seekable), (gst_base_src_change_state):
427         Some more debugging info.
429 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
431         * docs/gst/gstreamer-sections.txt:
432         * gst/base/gstbasetransform.h:
433         * gst/gstindex.h:
434           added more docs
436 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
438         * docs/gst/.cvsignore:
439         * docs/gst/tmpl/.cvsignore:
440         * docs/gst/tmpl/gstpipeline.sgml:
441         * docs/gst/tmpl/gstplugin.sgml:
442         * gst/gstpipeline.c:
443         * gst/gstplugin.c:
444         * gst/gstplugin.h:
445           inlined the last two docs files
446           removed the tmpl directory from cvs (no more conflicts here!)
448 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
450         * docs/gst/gstreamer-sections.txt:
451         * docs/gst/tmpl/.cvsignore:
452         * docs/gst/tmpl/gstpad.sgml:
453         * docs/gst/tmpl/gstpadtemplate.sgml:
454         * gst/Makefile.am:
455         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
456         (gst_pad_finalize), (gst_pad_set_pad_template):
457         * gst/gstpad.h:
458         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
459         (gst_pad_template_class_init), (gst_pad_template_init),
460         (gst_pad_template_dispose), (name_is_valid),
461         (gst_static_pad_template_get), (gst_pad_template_new),
462         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
463         (gst_pad_template_pad_created):
464         * gst/gstpadtemplate.h:
465           inlined two more docs
466           factored gstpadtemplate out of gstpad
468 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
470         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
471         (test_children_state_change_order_semi_sink):
472           Fix test case: we can't rely on a fixed state change order when
473           going from READY => PAUSED because the sink might commit its 
474           new state first when the first buffer created by the source 
475           reaches the sink before the source has finished its change state.
476           (Test case still fails at times, see #316856, comment 5 onwards)
478 2005-09-24  Wim Taymans  <wim@fluendo.com>
480         * docs/design/part-events.txt:
481         * docs/design/part-gstbus.txt:
482         * docs/design/part-gstpipeline.txt:
483         * docs/design/part-messages.txt:
484         * docs/design/part-overview.txt:
485         * docs/design/part-segments.txt:
486         * gst/gstbin.c:
487         * gst/gstbuffer.c:
488         * gst/gstclock.c:
489         * gst/gstelement.c:
490         * gst/gstevent.c:
491         * gst/gstfilter.c:
492         * gst/gstiterator.c:
493         Various documentation updates.
495 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
497         * gst/gstclock.h:
498           Well, that's embarassing.  Luckily we weren't using
499           GST_CLOCK_DIFF anywhere.
501 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
503         * common/gtk-doc.mak:
504           don't fail on building XML, FC4 slave shows a bunch of doc
505           missing bits that I don't get
506         * gst/gstpad.c:
507         * gst/gstpipeline.c:
508         * gst/gststructure.c:
509           some doc updates
511 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
513         * docs/design/part-gstbin.txt:
514         * docs/design/part-gstbus.txt:
515         * gst/gstbus.c:
516           Add blurb about how the bus goes into flushing mode and
517           drops all messages when its bin goes from READY into NULL 
518           state.
520 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
522         * docs/gst/gstreamer-sections.txt:
523         * gst/gststructure.c: (gst_structure_get_clock_time):
524         * gst/gststructure.h:
525           add a method to get a GstClockTime out of a structure
527 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
529         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
530         (test_children_state_change_order_semi_sink), (gst_bin_suite):
531           Added test to check state change order in bins (can still be made
532           to fail here under heavy disk load; bails out with 'Push on pad
533           fakesink:sink0, but it was not activated in push mode').
535         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
536           Fix state change order when there is only a semi sink (#316856)
538         * gst/gstbus.c: (gst_bus_class_init):
539           Use _class_peek_parent(), not _class_ref(); fix docs to say
540           'default main context' instead of 'mainloop' where that is
541           what's meant.
543         * gst/gstelement.c: (gst_element_commit_state),
544         (gst_element_set_state):
545           Fix typos in debug messages
547 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
549         * docs/README:
550         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
551         * gst/gstpluginfeature.c:
552         * gst/gstutils.c:
553           various doc updates
554         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
555           change an assert into an error until it gets fixed properly
557 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
559         * docs/gst/gstreamer-sections.txt:
560         * docs/gst/tmpl/.cvsignore:
561         * docs/gst/tmpl/gstelement.sgml:
562         * docs/gst/tmpl/gstinfo.sgml:
563         * docs/gst/tmpl/gstobject.sgml:
564         * gst/gstelement.c:
565         * gst/gstelement.h:
566         * gst/gstinfo.c:
567         * gst/gstinfo.h:
568         * gst/gstobject.c: (gst_object_class_init):
569         * gst/gstobject.h:
570           inlined 3 more biiiig doc files and added some missing docs on the fly
572 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
574         * check/gst/.cvsignore:
575         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
576         * gst/gstregistryxml.c: (load_plugin),
577         (gst_registry_xml_save_plugin):
578           put back source in registry.  add checks for find_plugin.
579         * testsuite/states/bin.c: (assert_state), (empty_bin),
580         (test_adding_one_element), (main):
581         * testsuite/states/locked.c: (main):
582           some compile/run fixes
584 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
586         * check/gst/gstvalue.c: (GST_START_TEST):
587           fix leaks in the test itself
589 2005-09-22  Wim Taymans  <wim@fluendo.com>
591         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
592         (gst_base_sink_send_event), (gst_base_sink_peer_query),
593         (gst_base_sink_query):
594         Prepare for more accurate position reporting and query
595         handling.
597         * gst/gstelement.c: (gst_element_send_event),
598         (gst_element_set_state):
599         Add some comment.
601 2005-09-22  Wim Taymans  <wim@fluendo.com>
603         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
604         (gst_query_parse_segment):
605         * gst/gstquery.h:
606         More documentation.
607         Add segment query for future use.
609 2005-09-22  Wim Taymans  <wim@fluendo.com>
611         * gst/gstbin.c: (gst_bin_add_func):
612         Some more debug info.
614         * gst/gstelement.c: (gst_element_send_event):
615         Simplify send_event
617         * gst/gstelement.h:
618         Don't know how flags got broken.
620         * gst/gstquery.h:
621         Added new query.
623 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
625         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
626           Add simplistic test suite for GST_TYPE_DATE serialisation and
627           deserialisation.
629 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
631         * docs/gst/gstreamer-sections.txt:
632         * gst/gststructure.c: (gst_structure_set_valist),
633         (gst_structure_get_date):
634         * gst/gststructure.h:
635         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
636         (gst_date_copy), (gst_value_compare_date),
637         (gst_value_serialize_date), (gst_value_deserialize_date),
638         (gst_value_transform_date_string),
639         (gst_value_transform_string_date), (_gst_value_initialize):
640         * gst/gstvalue.h:
641           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
642           bunch of utility functions along with a hack that checks that
643           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
644           is required. Part of the grand scheme in #170777.
646 2005-09-22  Andy Wingo  <wingo@pobox.com>
648         * gst/gstconfig.h.in: Psych out gtk-doc.
650         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
652         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
654         * tools/gst-inspect.c (print_element_list): Plug some
655         inconsequential leaks.
657         * gst/gstregistry.c (gst_registry_get_default): Doc.
659         * check/gst/gstplugin.c: 
660         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
661         * gst/gstelementfactory.c (gst_element_factory_create): 
662         * gst/gstindexfactory.c (gst_index_factory_create): Update for
663         refcount changes.
665         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
666         (gst_plugin_feature_load): Doc, don't eat refs.
668         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
669         (gst_plugin_list_free): Doc.
670         (gst_plugin_load_file): Doc updates.
672         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
673         accessors returning refcounted objects, return a ref.
675         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
676         accessor for caps. IDEMPOTENCE. Oh yes.
678 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
680         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
682         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
683         (_gst_debug_register_funcptr):
684           Add mutex to serialise access to the hash table with
685           the function pointer => function name string mapping;
686           make that hash table static scope (#316809).
688         * gst/registries/.cvsignore:
689           Remove left-over file.
691 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
693         * docs/pwg/appendix-porting.xml:
694           And something about newsegment events and caps-on-buffers to
695           the porting guide (feel free to improve).
697 2005-09-21  Andy Wingo  <wingo@pobox.com>
699         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
700         data and event probes on the same pad.
701         (test_buffer_probe_once): Test that removing probes from within
702         the probe functions works.
704 2005-09-21  Andy Wingo  <wingo@pobox.com>
706         * check/gst/gstutils.c: New file.
707         (test_buffer_probe_n_times): A simple buffer probe test. More to
708         come, foolios.
710         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
711         have-data::buffer, not have-data.
712         (gst_pad_add_event_probe): Likewise for have-data::event.
713         (gst_pad_add_data_probe): More docs. The part about 'resolving the
714         peer' isn't quite right yet though.
715         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
716         (gst_pad_remove_data_probe): Change to take the guint handler_id
717         as their arg, not the function+data, which is more glib-like.
719         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
720         the signal emission to indicate if the data is a buffer or an
721         event.
722         (gst_pad_get_type): Initialize buffer and event quarks.
723         (gst_pad_class_init): have-data is now a detailed signal, yes it
724         is.
726 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
728         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
729         * gst/gstutils.c: (gst_util_set_value_from_string),
730         (gst_util_set_object_arg):
731           Don't put functional code in g_return_if_fail() or
732           g_return_val_if_fail() statements, otherwise things will 
733           break when G_DISABLE_CHECKS is defined during compilation.
735 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
737         * docs/gst/tmpl/.cvsignore:
738         * docs/gst/tmpl/gstvalue.sgml:
739         * gst/gstvalue.c:
740         * gst/gstvalue.h:
741           inlied another one and added  some obvious docs
743 2005-09-21  Wim Taymans  <wim@fluendo.com>
745         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
746         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
747         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
748         (gst_fdsrc_get_property), (gst_fdsrc_create):
749         * gst/elements/gstfdsrc.h:
750         Properly implement fdsrc. Removed signal and timeout,
751         better implemented somewhere else.
753 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
755         * docs/gst/tmpl/.cvsignore:
756         * docs/gst/tmpl/gstimplementsinterface.sgml:
757         * gst/gstinterface.c:
758           inlined more docs
760 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
762         * docs/gst/gstreamer-sections.txt:
763         * docs/gst/tmpl/.cvsignore:
764         * docs/gst/tmpl/gstenumtypes.sgml:
765           remove obsolete doc file
767 2005-09-21  David Schleef  <ds@schleef.org>
769         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
770         little beer, fix a little leak.
772 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
774         * docs/gst/gstreamer-docs.sgml:
775         * docs/gst/gstreamer-sections.txt:
776         * docs/gst/tmpl/.cvsignore:
777         * gst/Makefile.am:
778         * gst/gst.h:
779         * gst/gstbin.c:
780         * gst/gstelement.h:
781         * gst/gstindex.c: (gst_index_class_init):
782         * gst/gstindex.h:
783         * gst/gstindexfactory.c: (gst_index_factory_get_type),
784         (gst_index_factory_class_init), (gst_index_factory_init),
785         (gst_index_factory_finalize), (gst_index_factory_new),
786         (gst_index_factory_destroy), (gst_index_factory_find),
787         (gst_index_factory_create), (gst_index_factory_make):
788         * gst/gstindexfactory.h:
789         * gst/gstpluginfeature.c:
790         * gst/gstpluginfeature.h:
791         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
792           more docs inlined, splitted gstindex.{c,h}
794 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
796         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
797           fix a leak
799 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
801         * gst/elements/gstfilesink.c: (gst_file_sink_init):
802           Set sync to FALSE by default.
804 2005-09-20  Wim Taymans  <wim@fluendo.com>
806         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
807         (gst_base_sink_init):
808         Make sync property settable from subclass.
810         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
811         (gst_fake_sink_change_state):
812         Set sync to FALSE by default.
814 2005-09-20  Wim Taymans  <wim@fluendo.com>
816         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
817         * tools/gst-launch.c: (main):
818         The timeout handler should have lower priority than the source
819         so we don't timeout before popping a message with 0 timeout.
820         Dump error messages after failed state change.
822 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
824         * tools/gst-inspect.c: (print_element_properties_info):
825           Fix two typos.
827 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
829         * check/gst/gstevent.c:
830         * gst/elements/gstfakesink.c:
831         * gst/elements/gstfakesink.h:
832           remove the sync property from fakesink.
833           has the side effect of setting sync TRUE
834           for fakesink, which is a change.  Anyone who knows how
835           to fix this nicely in a GObject-y way, feel free.
837 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
839         * docs/gst/gstreamer-docs.sgml:
840           remove probe refsection
842 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
844         * check/Makefile.am:
845           disable valgrinding the controller test again
846         * docs/gst/gstreamer-sections.txt:
847           update for api-changes
849 2005-09-20  Wim Taymans  <wim@fluendo.com>
851         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
852         (gst_base_sink_set_property), (gst_base_sink_get_property),
853         (gst_base_sink_do_sync):
854         * gst/base/gstbasesink.h:
855         Added sync property to basesink to disable clock sync.
857 2005-09-20  Andy Wingo  <wingo@pobox.com>
859         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
860         eating the caller's refcount.
862         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
863         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
864         refcount.
866         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
867         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
868         of GLib 2.8 public, so we can know which refcount to check in
869         tests.
871         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
872         (gst_object_init): Only set the gst refcount if we're going ahead
873         with the refcount hack.
875 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
877         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
878         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
879           more leaks plumbed, added more debug-logging
880         * gst/gstmacros.h:
881           whitespace fix
883 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
885         * gst/gstmessage.c:
886           remove include of gstmemchunk.h
888 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
890         * gst/gstclock.c: (_gst_clock_id_free):
891           Commit from the Political Party For More Atomic CVS Commits,
892           so that people don't waste too much of their day fishing
893           out obvious leaks out of massive commits.
894           Oh, and fix a pretty damn obvious leak in the memchunk
895           removal code.
897 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
899         * check/Makefile.am:
900         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
901           plug mem-leak, re-add to valgrindable tests
903 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
905         * gst/gstplugin.h:
906           unbreak the build for those who have chronic arthritis
907           and typing "make check" is just too taxing on the hands
909 2005-09-20  Andy Wingo  <wingo@pobox.com>
911         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
912         really want it out, you should fix plugins at the same time.
914 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
916         * configure.ac:
917         * docs/gst/gstreamer-sections.txt:
918         * gst/gstobject.c:
919           added missing symbols to api docs
920           disable ref-count hack if we have glib >= 2.8
922 2005-09-19  David Schleef  <ds@schleef.org>
924         * docs/gst/Makefile.am: Ignore a few more internal headers
925         * docs/gst/gstreamer-docs.sgml: Remove old sections
926         * docs/gst/gstreamer-sections.txt: Remove old sections
927         * docs/gst/tmpl/gstobject.sgml: update
928         * docs/gst/tmpl/gstplugin.sgml: update
929         * docs/gst/tmpl/gstpluginfeature.sgml: update
930         * docs/random/ds/0.9-suggested-changes: update.
931         * gst/Makefile.am: remove memchunk and trashstack, since they're
932           not used.
933         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
934         * gst/gst.h: don't include some headers
935         * gst/gstchildproxy.c: add gstmarshal.h
936         * gst/gstclock.c: Don't use memchunks
937         * gst/gstminiobject.c: Add some docs
938         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
939         * gst/gstobject.h: same
940         * gst/gstplugin.c: include gstmacros.h
941         * gst/gstplugin.h: don't include gstmacros.h, since it's private
942         * gst/gstquery.c: don't use memchunks
943         * gst/gstregistry.c: rename gst_registry_deinit()
944         * gst/gstregistry.h: same
946 2005-09-19  David Schleef  <ds@schleef.org>
948         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
949         * docs/libs/gstreamer-libs-sections.txt:
950         * docs/libs/tmpl/gstgetbits.sgml:
951         * docs/libs/tmpl/gstputbits.sgml:
953 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
955         * win32/gstenumtypes.c:
956         * win32/gstenumtypes.h:
957           Update.
959 2005-09-19  Wim Taymans  <wim@fluendo.com>
961         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
962         Automatically PAUSE and RESUME a pipeline when a flushing seek
963         is performed.
965 2005-09-19  Andy Wingo  <wingo@pobox.com>
967         * gst/gstregistry.h: Spacing fixen.
969 2005-09-19  Wim Taymans  <wim@fluendo.com>
971         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
972         Handle state change failure more correctly.
974 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
976         * check/Makefile.am:
977         * check/pipelines/cleanup.c: (run_pipeline):
978         * check/pipelines/simple_launch_lines.c: (run_pipeline),
979         (GST_START_TEST):
980           enable cleanup again after fixing the leak
981         * docs/README:
982           some more info on docs
984 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
986         * check/Makefile.am:
987           re-enable tests now that leaks are plugged
988         * check/gst/gst.c:
989         * check/gst/gstbin.c:
990         * check/gst/gstpipeline.c:
991           add some more tests while fixing leaks
992         * common/check.mak:
993           make sure binaries are uptodate when valgrinding/gdbing
994         * gst/gst.c:
995         * gst/gstelementfactory.c:
996           remove a ref too many, and add a FIXME for when we get
997           round to disposing of classes
998         * gst/gstplugin.c:
999           fix the refcounting when loading a plugin from a file and
1000           the code pretends that the pointer is the same even though
1001           of course it can change
1002         * gst/gstpluginfeature.c:
1003           unref plugins marked cached (a bit confusing as a name)
1004           as the docs state should be done
1005           various doc additions to explain refcounting
1006         * gst/gstregistry.c:
1007         * gst/gstregistryxml.c:
1008           debugging
1010 2005-09-19  Wim Taymans  <wim@fluendo.com>
1012         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1013         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1014         (send_messages), (GST_START_TEST), (gstbus_suite):
1015         * check/gst/gstpipeline.c: (GST_START_TEST):
1016         * check/pipelines/cleanup.c: (run_pipeline):
1017         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1018         (GST_START_TEST):
1019         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1020         (gst_bus_source_check), (gst_bus_source_dispatch),
1021         (gst_bus_create_watch), (gst_bus_add_watch_full),
1022         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1023         * gst/gstbus.h:
1024         * tools/gst-launch.c: (event_loop):
1025         * tools/gst-md5sum.c: (event_loop):
1026         GstBusHandler -> GstBusFunc, return value has the same meaning as
1027         any other GSource (FALSE == remove source).
1028         _add_watch() and _add_watch_full() now take a MessageType mask to
1029         only handle specific types of messages.
1030         _poll() returns the GstMessage instead of the message type to avoid
1031         race conditions.
1032         _have_pending() takes a MessageType mask now too.
1033         Added testsuite for multiple bus watches.
1034         Fix testsuites and applications for new bus API.
1036 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1038         * check/Makefile.am:
1039           mark a bunch of the tests as to fix until we fix them
1041 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1043         * common/check.mak:
1044           use GST_PLUGIN settings for valgrind tests as well, so we're
1045           valgrinding the correct thing
1046         * gst/gst.c: (init_post):
1047           plug another leak
1049 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1051         * gst/gst.c: (init_post), (gst_deinit):
1052         * gst/gstelementfactory.c: (gst_element_factory_class_init),
1053         (gst_element_factory_finalize), (gst_element_factory_cleanup):
1054         * gst/gstindex.c: (gst_index_factory_class_init),
1055         (gst_index_factory_finalize):
1056         * gst/gstobject.c: (gst_object_dispose):
1057         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1058         (gst_plugin_load_file), (gst_plugin_desc_free):
1059         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1060         (gst_plugin_feature_finalize):
1061         * gst/gstregistry.c: (gst_registry_class_init),
1062         (gst_registry_init), (gst_registry_finalize),
1063         (gst_registry_get_default), (gst_registry_deinit):
1064         * gst/gstregistry.h:
1065         * gst/gstregistryxml.c: (load_feature), (load_plugin):
1066           various cleanups and memleak plugging.  make valgrind is happy now.
1068 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1070         * common/check.mak:
1071           add a check-valgrind target
1073 2005-09-18  David Schleef  <ds@schleef.org>
1075         * tools/gst-inspect.c: Revert the GOption code.
1077 2005-09-17  David Schleef  <ds@schleef.org>
1079         * check/Makefile.am: Fix environment variables.
1080         * check/gst/gstplugin.c: Fix for API changes.
1081         * tools/gst-inspect.c: Fix for API changes.
1082         * tools/gst-xmlinspect.c: Fix for API changes.
1083         * gst/gstelementfactory.c:
1084         * gst/gstplugin.c:
1085         * gst/gstplugin.h:
1086         * gst/gstpluginfeature.c:
1087         * gst/gstpluginfeature.h:
1088         * gst/gstregistry.c:
1089         * gst/gstregistry.h:
1090         * gst/gstregistryxml.c:
1091         * gst/gsttypefind.c:
1092         * gst/gsttypefindfactory.c:
1093         * gst/indexers/gstfileindex.c:
1094         * gst/indexers/gstmemindex.c:
1095         * gst/schedulers/Makefile.am:
1096           Change registry to keep track of both plugins and features,
1097           removing the feature tracking from plugins themselves.
1099 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1101         * check/Makefile.am:
1102         * tools/gst-register.1.in:
1103           remove gst-register
1105 2005-09-15  David Schleef  <ds@schleef.org>
1107         * check/gst/gstplugin.c:
1108         * gst/gstelementfactory.c:
1109         * gst/gstplugin.c:
1110         * gst/gstpluginfeature.c:
1111         * gst/gstregistry.c:
1112           Getting tired of debugging.  Disabled all the unreffing of
1113           plugins and features, which fixes the segfaults, but of
1114           course leaks like crazy.  At least playbin works.
1116 2005-09-15  David Schleef  <ds@schleef.org>
1118         * check/gst/gstplugin.c: (register_check_elements),
1119         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1120         More testing
1121         * gst/elements/gsttypefindelement.c: Fix refcounting.
1122         * gst/gsttypefind.c:
1123         * gst/gsttypefindfactory.c:
1124         * gst/gsttypefindfactory.h:
1126 2005-09-15  David Schleef  <ds@schleef.org>
1128         * gst/gstindex.c: get refcounting correct.
1129         * gst/gstregistry.c: Handle the case where a feature/plugin is
1130           not found.
1132 2005-09-15  David Schleef  <ds@schleef.org>
1134         * check/Makefile.am:
1135         * check/gst/gstplugin.c: Add test
1136         * gst/gstplugin.c: Fix problems noticed by testsuite
1137         * gst/gstplugin.h:
1138         * gst/gstregistry.c: 
1139         * gst/gstregistry.h:
1141 2005-09-15  David Schleef  <ds@schleef.org>
1143         * gst/gstplugin.c: Implement semi-decent recounting and locking
1144           in plugins and plugin features.
1145         * gst/gstplugin.h:
1146         * gst/gstpluginfeature.c:
1147         * gst/gstpluginfeature.h:
1148         * gst/gstregistry.c:
1150 2005-09-15  Michael Smith <msmith@fluendo.com>
1152         * gst/gstregistry.c: (gst_registry_get_feature_list):
1153           Implement this. Makes oggdemux work; decodebin still broken.
1155 2005-09-14  David Schleef  <ds@schleef.org>
1157         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1158           #316076)
1159         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1160         * gst/check/Makefile.am:
1161         * libs/gst/controller/Makefile.am:
1162         * libs/gst/dataprotocol/Makefile.am:
1164 2005-09-14  David Schleef  <ds@schleef.org>
1166         * configure.ac: Remove getbits library.  Nothing uses it, and
1167           it should be in something like liboil if someone did want
1168           to use it.
1169         * libs/gst/Makefile.am:
1170         * libs/gst/getbits/Makefile.am:
1171         * libs/gst/getbits/gbtest.c:
1172         * libs/gst/getbits/getbits.c:
1173         * libs/gst/getbits/getbits.h:
1174         * libs/gst/getbits/gstgetbits_generic.c:
1175         * libs/gst/getbits/gstgetbits_i386.s:
1176         * libs/gst/getbits/gstgetbits_inl.h:
1178 2005-09-14  David Schleef  <ds@schleef.org>
1180         * gst/Makefile.am: Dist glib-compat.h
1182 2005-09-14  David Schleef  <ds@schleef.org>
1184         * configure.ac: Remove gst/registries, since it's no longer used.
1185         * gst/registries/Makefile.am:
1186         * gst/registries/gstlibxmlregistry.c:
1187         * gst/registries/gstlibxmlregistry.h:
1188         * gst/registries/gstxmlregistry.c:
1189         * gst/registries/gstxmlregistry.h:
1190         * gst/registries/registrytest.c:
1192 2005-09-14  David Schleef  <ds@schleef.org>
1194         * gst/glib-compat.h:
1195         * gst/gstregistryxml.c:
1196           Convergence is near.  Seriously.
1198 2005-09-14  David Schleef  <ds@schleef.org>
1200         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1201         * gst/glib-compat.h:
1202           Attempt #4 to appease the buildbots.
1204 2005-09-14  David Schleef  <ds@schleef.org>
1206         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1207           Attempt #3.
1209 2005-09-14  David Schleef  <ds@schleef.org>
1211         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1212         Attempt #2.
1214 2005-09-14  David Schleef  <ds@schleef.org>
1216         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1217           the new functions.
1219 2005-09-14  David Schleef  <ds@schleef.org>
1221         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1222         * gst/glib-compat.h: Add some functions that are in newer versions
1223           of glib than we care to require.
1224         * gst/gstregistryxml.c: Use them.
1226 2005-09-14  David Schleef  <ds@schleef.org>
1228         * po/POTFILES.in: remove gst-register.c
1230 2005-09-14  David Schleef  <ds@schleef.org>
1232         * docs/gst/gstreamer-docs.sgml:
1233         * docs/gst/gstreamer-sections.txt:
1234         * docs/gst/gstreamer.types:
1235         * docs/gst/tmpl/gstelement.sgml:
1236         * docs/gst/tmpl/gstplugin.sgml:
1237         * docs/gst/tmpl/gstpluginfeature.sgml:
1238           Documentation updates for registry changes.
1240 2005-09-14  David Schleef  <ds@schleef.org>
1242         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1243           because we don't require glib-2.8.
1245 2005-09-14  David Schleef  <ds@schleef.org>
1247         * gst/gstregistryxml.c: Added.  Essentially moved out of the
1248           registries directory.
1250 2005-09-14  David Schleef  <ds@schleef.org>
1252         * check/Makefile.am:
1253         * check/generic/states.c:
1254         * gst/Makefile.am:
1255         * gst/gst.c:
1256         * gst/gst.h:
1257         * gst/gst_private.h:
1258         * gst/gstelementfactory.c:
1259         * gst/gstindex.c:
1260         * gst/gstinfo.c:
1261         * gst/gstplugin.c:
1262         * gst/gstplugin.h:
1263         * gst/gstpluginfeature.c:
1264         * gst/gstpluginfeature.h:
1265         * gst/gstregistry.c:
1266         * gst/gstregistry.h:
1267         * gst/gstregistrypool.c: remove
1268         * gst/gstregistrypool.h: remove
1269         * gst/gsttypefind.c:
1270         * gst/gsttypefindfactory.c:
1271         * gst/gsturi.c:
1272         * tools/Makefile.am:
1273         * tools/gst-compprep.c:
1274         * tools/gst-inspect.c:
1275         * tools/gst-register.c: remove
1276         * tools/gst-xmlinspect.c:
1277           Registry rewrite.  Changes registry from being a file created
1278           by a tool into a simple cache file created automatically by 
1279           libgstreamer.  Removed gst-register (because it's no longer
1280           needed).  Remove registry pools, because we only have one
1281           registry implementation (XML).  Fix up other subsystems as
1282           necessary.
1284 2005-09-13  Michael Smith <msmith@fluendo.com>
1286         * gst/gstconfig.h.in:
1287           Don't Use windows linking attributes for MinGW. Fixes #316157
1289 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1291         * gst/gstutils.c: (set_state_async_thread_func),
1292         (gst_element_set_state_async):
1293           Apparently people think it's better if this function doesn't
1294           try to set the state to whatever state was asked for on the first
1295           call to this function for any object.  Seriously.
1297 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1299         * check/gst/gstpipeline.c: (GST_START_TEST):
1300         * docs/gst/gstreamer-sections.txt:
1301         * gst/gstutils.c: (set_state_async_thread_func),
1302         (gst_element_set_state_async):
1303         * gst/gstutils.h:
1304           add a "gst_element_set_state_async" method that
1305           sets the state and starts a thread to make sure the state
1306           change completes as best as it can
1308 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1310         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1311           codify design+behaviour in testsuite after discussion
1313 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1315         * docs/gst/tmpl/gstelement.sgml:
1316         * docs/manual/appendix-quotes.xml:
1317           add a quote
1318         * gst/gstelement.c: (gst_element_set_state):
1319           add some debug
1321 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
1323         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1324         (gst_base_transform_prepare_output_buf),
1325         (gst_base_transform_handle_buffer):
1326         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1327         (gst_capsfilter_prepare_buf):
1328           Remove the requirement for sub-classes to call the parent
1329           implementation of prepare_output_buffer with a wrapper function.
1330           
1331         * gst/gsttaglist.h:
1332         * gst/gsttagsetter.h:
1333           Fix #define wrapper
1335 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
1337         * docs/gst/gstreamer-sections.txt:
1338           more doc cleanups
1340 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1342         * docs/gst/gstreamer-sections.txt:
1343         * docs/gst/tmpl/gstelement.sgml:
1344         * docs/gst/tmpl/gstplugin.sgml:
1345         * gst/gstminiobject.c:
1346         * gst/gstvalue.h:
1347           docs now stop throwing warnings
1349 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1351         * docs/gst/gstreamer-sections.txt:
1352         * docs/gst/gstreamer.types:
1353         * docs/gst/tmpl/gstpad.sgml:
1354         * docs/gst/tmpl/gsttypes.sgml:
1355         * gst/base/gstadapter.h:
1356         * gst/base/gstbasesink.h:
1357         * gst/base/gstbasesrc.h:
1358         * gst/gstbin.h:
1359         * gst/gstbuffer.h:
1360         * gst/gstbus.h:
1361         * gst/gstcaps.h:
1362         * gst/gstclock.h:
1363         * gst/gstelement.h:
1364         * gst/gstevent.h:
1365         * gst/gstmessage.h:
1366         * gst/gstpad.h:
1367         * gst/gststructure.c:
1368         * gst/registries/gstlibxmlregistry.h:
1369           various documentation fixes
1371 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1373         * docs/gst/gstreamer-sections.txt:
1374         * docs/gst/tmpl/gstvalue.sgml:
1375           rearrange gstvalue section
1376         * gst/gstutils.c: (gst_element_state_get_name):
1377           NONE -> VOID
1378         * gst/gstvalue.c: (_gst_value_initialize):
1379         * gst/gstvalue.h:
1380           doc updates
1382 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
1384         * check/gst-libs/controller.c:
1385           Header include fix.
1386         * gst/base/gstbasetransform.c:
1387         (gst_base_transform_default_prepare_buf),
1388         (gst_base_transform_handle_buffer):
1389         * gst/base/gstbasetransform.h:
1390           Some more basetransform changes and fixes to enable sub-classes
1391           that modify buffer metadata only.
1392         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1393         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1394         (gst_capsfilter_prepare_buf):
1395           If the output pad has fixed allowed caps and input buffers 
1396           don't have any, set the fixed caps on outgoing buffers.
1398 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
1399         * check/elements/identity.c: (GST_START_TEST):
1400           Make the error a little clearer when the test fails because
1401           identity made a copy of the buffer.
1402         * docs/gst/gstreamer-sections.txt:
1403           New symbols in gstbasetransform.h
1404         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1405         (gst_base_transform_init), (gst_base_transform_transform_size),
1406         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1407         (gst_base_transform_default_prepare_buf),
1408         (gst_base_transform_get_unit_size),
1409         (gst_base_transform_buffer_alloc),
1410         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1411         (gst_base_transform_change_state),
1412         (gst_base_transform_set_passthrough),
1413         (gst_base_transform_set_in_place),
1414         (gst_base_transform_is_in_place):
1415         * gst/base/gstbasetransform.h:
1416           Change BaseTransform to separate in_place operate from same_caps
1417           output. in_place implies that the element can perform the transform
1418           on incoming buffers in-place, even if the caps on the output are
1419           different.
1420           Sub-class elements can now implement special buffer allocation
1421           methods for outgoing buffers if they wish to.
1422           Big documentation addition.
1423         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1424         * gst/elements/gstelements.c:
1425           Changes for basetransform modifications.
1426         * gst/elements/Makefile.am:
1427         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1428           Compile fix. Extra debug output.
1430 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1432         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1433         (gst_pad_suite):
1434           add tests for valid pad naming
1435         * gst/check/gstcheck.c: (gst_check_log_message_func),
1436         (gst_check_log_critical_func):
1437           add ASSERT_WARNING
1438           remove printing of code, it is fragile when the code contains
1439           % and the line number is enough info
1440         * gst/check/gstcheck.h:
1441         * gst/gstpad.c: (gst_pad_template_new):
1442           fix memleaks
1444 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1446         * configure.ac:
1447           say what CHECK flags we use
1448         * docs/libs/gstreamer-libs.types:
1449         * libs/gst/controller/Makefile.am:
1450         * libs/gst/controller/gst-controller.c:
1451         * libs/gst/controller/gst-controller.h:
1452         * libs/gst/controller/gst-helper.c:
1453         * libs/gst/controller/gst-interpolation.c:
1454         * libs/gst/controller/gstcontroller.c:
1455         * libs/gst/controller/gsthelper.c:
1456         * libs/gst/controller/gstinterpolation.c:
1457         * tools/gst-inspect.c: (print_plugin_info):
1458           we don't use dashes in header names
1460 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1462         * check/Makefile.am:
1463         * check/gst/.cvsignore:
1464         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1465         (gst_pipeline_suite), (main):
1466           adding a test for pipelines and state changes
1467         * gst/gstutils.c: (get_state_func):
1468           add some debugging
1469         * gstreamer.spec.in:
1470           fix up spec file
1472 2005-09-08  Michael Smith <msmith@fluendo.com>
1474         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1475         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1476         (gst_file_src_is_seekable), (gst_file_src_get_size),
1477         (gst_file_src_start):
1478         * gst/elements/gstfilesrc.h:
1479           Various fixes for unseekable, unmmapable, and non-normal files, so
1480           that fallback to read() rather than mmap() works.
1481         * gst/gstevent.c: (gst_event_new_newsegment):
1482           Allow newsegment events with segment_start == segment_end, as will
1483           correctly happen if you use filesrc on a zero-size file, for
1484           example.
1486 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1488         * gst/gstplugin.c: (gst_plugin_load_file):
1489           Call g_module_close when we don't load the module
1491         * gst/registries/gstlibxmlregistry.c:
1492         (gst_xml_registry_get_property):
1493           Port leak fix from 0.8
1495 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1497         * docs/gst/gstreamer-docs.sgml:
1498         * docs/gst/tmpl/.cvsignore:
1499         * docs/gst/tmpl/gsttrace.sgml:
1500         * docs/gst/tmpl/gsttrashstack.sgml:
1501         * gst/Makefile.am:
1502         * gst/gst.h:
1503         * gst/gstelement.h:
1504         * gst/gstevent.h:
1505         * gst/gstmessage.c:
1506         * gst/gstmessage.h:
1507         * gst/gsttag.c:
1508         * gst/gsttag.h:
1509         * gst/gsttaginterface.c:
1510         * gst/gsttaginterface.h:
1511         * gst/gsttaglist.c:
1512         * gst/gsttaglist.h:
1513         * gst/gsttagsetter.c:
1514         * gst/gsttagsetter.h:
1515         * gst/gsttrace.c:
1516         * gst/gsttrace.h:
1517         * gst/gsttrashstack.c:
1518           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1519           inlined docs for gsttrace, gsttrashstack
1521 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1523         * gst/Makefile.am:
1524         * gst/elements/gstbufferstore.h:
1525         * gst/elements/gsttypefindelement.c:
1526         * gst/elements/gsttypefindelement.h:
1527         * gst/gst.h:
1528         * gst/gsttypefind.c:
1529         * gst/gsttypefind.h:
1530         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1531         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1532         (gst_type_find_factory_dispose),
1533         (gst_type_find_factory_unload_thyself),
1534         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1535         (gst_type_find_factory_get_caps),
1536         (gst_type_find_factory_get_extensions),
1537         (gst_type_find_factory_call_function):
1538         * gst/gsttypefindfactory.h:
1539         * gst/registries/gstlibxmlregistry.c:
1540         * gst/registries/gstxmlregistry.c:
1541           splitted gsttypefind into gsttypefind, gsttypefindfactory
1543 2005-09-07  Andy Wingo  <wingo@pobox.com>
1545         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1546         condition whereby the pad's task function is entered before the
1547         pad_mode variable was set.
1549 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1551         * gst/gstpad.c: (gst_pad_alloc_buffer):
1552           Catch misbehaving pad_alloc functions that don't
1553           set up caps and do it for them.
1555 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1557         * check/pipelines/simple_launch_lines.c: (run_pipeline):
1558           test for pipe!=NULL
1559         * docs/gst/tmpl/.cvsignore:
1560         * docs/gst/tmpl/gstmemchunk.sgml:
1561         * docs/gst/tmpl/gstparse.sgml:
1562         * docs/gst/tmpl/gsttaglist.sgml:
1563         * docs/gst/tmpl/gsttagsetter.sgml:
1564         * docs/gst/tmpl/gsttypefind.sgml:
1565         * docs/gst/tmpl/gsttypefindfactory.sgml:
1566         * gst/gstmemchunk.c:
1567         * gst/gstparse.c:
1568         * gst/gsttag.c:
1569         * gst/gsttaginterface.c:
1570         * gst/gsttypefind.c:
1571         * gst/gsttypefind.h:
1572           inlined more docs
1574 === release 0.9.2 ===
1576 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1578         * NEWS:
1579         * RELEASE:
1580         * configure.ac:
1581           releasing 0.9.2, "South"
1583 2005-09-05  Andy Wingo  <wingo@pobox.com>
1585         * gst/registries/gstxmlregistry.h:
1586         * gst/registries/gstxmlregistry.c: Um... resurrect...
1587         
1588         * gst/registries/gstxmlregistry.h:
1589         * gst/registries/gstxmlregistry.c: and update to newer API.
1590         Incidentally they should be a bit faster now that they don't have
1591         to parse the caps.
1592         
1593 2005-09-05  Andy Wingo  <wingo@pobox.com>
1595         * gst/registries/gstxmlregistry.h:
1596         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1597         replaced by the libxml registry a while back
1599 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1601         * docs/gst/tmpl/gstplugin.sgml:
1602         * gst/elements/gstelements.c:
1603         * gst/gst.c:
1604         * gst/gstplugin.c: (gst_plugin_register_func),
1605         (gst_plugin_desc_copy), (gst_plugin_desc_free),
1606         (gst_plugin_get_source):
1607         * gst/gstplugin.h:
1608         * gst/registries/gstlibxmlregistry.c: (load_plugin),
1609         (gst_xml_registry_save_plugin):
1610         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1611         (gst_xml_registry_save_plugin):
1612         * tools/gst-inspect.c: (print_plugin_info):
1613           add a "source" plugin description field, to represent the source
1614           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
1615           will set it to PACKAGE, which is automake's idea of the name of
1616           the source project.
1618 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1620         * Makefile.am:
1621         * autogen.sh:
1622         * configure.ac:
1623         * docs/Makefile.am:
1624         * docs/faq/Makefile.am:
1625         * docs/gst/tmpl/gstelement.sgml:
1626         * docs/gst/tmpl/gsttypes.sgml:
1627         * docs/htmlinstall.mak:
1628         * docs/manual/Makefile.am:
1629         * docs/pwg/Makefile.am:
1630           reorganize doc build a little
1631           split out docbook and gtk-doc stuff
1632           have two separate --enable's and enable them through autogen
1633           but disable by default in configure (to be similar to other
1634           projects)
1635         * gstreamer.spec.in:
1636           clean up docs install
1637         * po/af.po:
1638         * po/az.po:
1639         * po/ca.po:
1640         * po/cs.po:
1641         * po/de.po:
1642         * po/en_GB.po:
1643         * po/fr.po:
1644         * po/it.po:
1645         * po/nb.po:
1646         * po/nl.po:
1647         * po/ru.po:
1648         * po/sq.po:
1649         * po/sr.po:
1650         * po/sv.po:
1651         * po/tr.po:
1652         * po/uk.po:
1653         * po/vi.po:
1654           translation updates
1656 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
1658         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1659           Add comment.
1660           
1661         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1662         (gst_fake_sink_change_state):
1663           Make state change function thread-safe.
1664           
1665         * gst/gstpad.c: (gst_pad_alloc_buffer):
1666           Set offset on generic buffer allocated by fallback.
1668 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
1670         * docs/gst/gstreamer-sections.txt:
1671         * docs/gst/tmpl/gstelement.sgml:
1672         * gst/gstpad.c:
1673         * libs/gst/controller/gst-controller.c:
1674         (gst_controlled_property_set_interpolation_mode),
1675         (gst_controlled_property_new),
1676         (gst_controller_find_controlled_property):
1677          run the wingo-magic script against the docs
1679 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
1681         * docs/gst/gstreamer-docs.sgml:
1682         * docs/gst/gstreamer-sections.txt:
1683         * docs/gst/tmpl/.cvsignore:
1684         * docs/gst/tmpl/gstelementdetails.sgml:
1685         * docs/gst/tmpl/gstelementfactory.sgml:
1686         * gst/gst.c:
1687         * gst/gstbus.c:
1688         * gst/gstelementfactory.c:
1689         * gst/gstelementfactory.h:
1690           merged elementdetails docs into elementfactory docs
1691           inlined both
1693 2005-09-02  Andy Wingo  <wingo@pobox.com>
1695         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1696         consider this enum an enum and not a flags.
1698 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
1700         * docs/gst/gstreamer-docs.sgml:
1701         * docs/gst/tmpl/.cvsignore:
1702         * docs/gst/tmpl/gstghostpad.sgml:
1703         * docs/gst/tmpl/gstiterator.sgml:
1704         * docs/gst/tmpl/gstmacros.sgml:
1705         * docs/gst/tmpl/gstrealpad.sgml:
1706         * docs/gst/tmpl/gstregistry.sgml:
1707         * docs/gst/tmpl/gstregistrypool.sgml:
1708         * docs/gst/tmpl/gststructure.sgml:
1709         * docs/gst/tmpl/gstsystemclock.sgml:
1710         * docs/gst/tmpl/gsttrace.sgml:
1711         * gst/gstghostpad.c:
1712         * gst/gstmacros.h:
1713         * gst/gstmemchunk.c:
1714         * gst/gstmemchunk.h:
1715         * gst/gstqueue.c:
1716         * gst/gstregistry.c:
1717         * gst/gstregistrypool.c:
1718         * gst/gststructure.c:
1719         * gst/gstsystemclock.c:
1720           more docs inlined
1722 2005-09-02  Andy Wingo  <wingo@pobox.com>
1724         * gst/gstelement.h (GstState): Renamed from GstElementState,
1725         changed to be a normal enum instead of flags.
1726         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1727         munged to be GST_STATE_CHANGE_*.
1728         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1729         work with the new state representation.
1730         (GstStateChange): New enumeration of possible state transitions.
1731         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1732         (GstElementClass::change_state): Pass the GstStateChange along as
1733         an argument. Helps language bindings, so they don't have to use
1734         tricky lock-needing macros like GST_STATE_CHANGE ().
1736         * scripts/update-states (file): New script. Run it on a file to
1737         update it for state naming and API changes. Updates files in
1738         place.
1740         * All files updated for the new API.
1742 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1744         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1745         * gst/gstutils.c: (gst_util_set_value_from_string),
1746         (gst_util_set_object_arg):
1747           fix a bunch of unchecked return values
1748         * tools/gst-complete.c: (main):
1749         * gstreamer.spec.in:
1750           clean up a little
1752 2005-09-01  Wim Taymans  <wim@fluendo.com>
1754         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1755         (gst_base_sink_event), (gst_base_sink_do_sync),
1756         (gst_base_sink_handle_event):
1757         * gst/base/gstbasesink.h:
1758         Handle newsegments more correctly.
1760         * gst/gstbus.c:
1761         Fix docs.
1763         * gst/gstevent.c: (gst_event_new_newsegment):
1764         A newsegment cannot have a start_time of -1
1766 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
1768         * win32/gstenumtypes.c:
1769         * win32/gstenumtypes.h:
1770           Update
1772 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
1774         * libs/gst/controller/gst-controller.c:
1775         (gst_controlled_property_set_interpolation_mode),
1776         (gst_controlled_property_new):
1777          fixed boolean again
1779 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
1781         * docs/faq/gst-uninstalled:
1782           add -good
1783         * gst/gstevent.c:
1784         * gst/gstevent.h:
1785           remove wrong docs
1786         * gst/gstutils.c: (gst_element_link_filtered):
1787         * gst/gstutils.h:
1788           add gst_element_link_filtered
1790 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
1792         * docs/gst/gstreamer-docs.sgml:
1793         * docs/gst/gstreamer-sections.txt:
1794         * docs/gst/tmpl/.cvsignore:
1795         * docs/gst/tmpl/gsterror.sgml:
1796         * docs/gst/tmpl/gstfilter.sgml:
1797         * docs/gst/tmpl/gsturihandler.sgml:
1798         * docs/gst/tmpl/gsturitype.sgml:
1799         * docs/gst/tmpl/gstutils.sgml:
1800         * docs/gst/tmpl/gstxml.sgml:
1801         * gst/gsterror.c:
1802         * gst/gsterror.h:
1803         * gst/gstfilter.c:
1804         * gst/gsturi.c:
1805         * gst/gsturitype.c:
1806         * gst/gstutils.c:
1807         * gst/gstxml.c:
1808           inlined more docs, fixed double id-ref
1810 2005-08-31  Wim Taymans  <wim@fluendo.com>
1812         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1813         (gst_base_transform_handle_buffer):
1814         Passthrough elements don't need the caps as they don't care.
1816 2005-08-31  Wim Taymans  <wim@fluendo.com>
1818         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1819         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1820         Don't leak refcounts on buffers.
1822 2005-08-31  Wim Taymans  <wim@fluendo.com>
1824         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1825         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1826         (gst_base_transform_chain), (gst_base_transform_change_state):
1827         * gst/base/gstbasetransform.h:
1828         Handle the case where we are not negotiated more gracefully.
1830 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
1832         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1833         (gst_file_src_map_region):
1834           Set READONLY flag on mmap'ed buffers, otherwise
1835           gst_buffer_make_writable() won't work properly (#314708).
1837 2005-08-31  Wim Taymans  <wim@fluendo.com>
1839         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1840         passthrough elements can even do inplace on non writable
1841         buffers (as they don't touch them).
1843 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
1845         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1846         (gst_test_mono_source_set_property),
1847         (gst_test_mono_source_class_init), (GST_START_TEST),
1848         (gst_controller_suite):
1849           more tests (hehe I have the most)
1850         * gst/gstbus.c:
1851           describe popping messages whenusing mulltiple sources
1852         * libs/gst/controller/gst-controller.c:
1853         (gst_controlled_property_set_interpolation_mode),
1854         (gst_controlled_property_new):
1855         * libs/gst/controller/gst-controller.h:
1856         * libs/gst/controller/gst-interpolation.c:
1857           implement boolean properties
1859 2005-08-31  Wim Taymans  <wim@fluendo.com>
1861         * gst/gstminiobject.c: (gst_mini_object_ref):
1862         Cannot assert that the refcount has to be positive
1863         since a disposed object can be resurrected.
1865 2005-08-31  Wim Taymans  <wim@fluendo.com>
1867         * gst/gstpad.c: (gst_pad_init):
1868         Revert change, need to first fix badly behaving 
1869         apps.
1871 2005-08-30  Wim Taymans  <wim@fluendo.com>
1873         * check/elements/fakesrc.c: (setup_fakesrc):
1874         * check/elements/identity.c: (setup_identity):
1875         Activate pads before using them.
1877 2005-08-30  Wim Taymans  <wim@fluendo.com>
1879         * gst/base/gstadapter.c: (gst_adapter_flush):
1880         Flushing out 0 bytes is ok for this function.
1882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1883         no newsegment gives a warning and sets the start/stop to 
1884         invalid.
1886         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
1887         (gst_base_transform_set_passthrough):
1888         Some debug info.
1890         * gst/gstminiobject.c: (gst_mini_object_ref):
1891         Check refcount here too.
1893         * gst/gstpad.c: (gst_pad_init):
1894         Pads are initially flushing and refusing data.
1896         * gst/gstutils.c: (gst_element_link_pads_filtered):
1897         When adding a capsfilter element make sure it has the
1898         same state as the parent bin.
1900 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
1902         * docs/gst/tmpl/.cvsignore:
1903         * docs/gst/tmpl/gstformat.sgml:
1904         * docs/gst/tmpl/gstversion.sgml:
1905         * gst/gstbus.h:
1906         * gst/gstformat.c:
1907         * gst/gstformat.h:
1908         * gst/gstversion.h.in:
1909           more docs and two more inlined
1911 2005-08-30  Wim Taymans  <wim@fluendo.com>
1913         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
1914         Don't sync to clock.
1916 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
1918         * docs/gst/gstreamer-sections.txt:
1919           ultral33t func10ns deserve to appear in the docs actually
1920         * docs/gst/tmpl/.cvsignore:
1921         * docs/gst/tmpl/gstcompat.sgml:
1922         * docs/gst/tmpl/gstconfig.sgml:
1923         * gst/check/gstcheck.c:
1924         * gst/gstcompat.h:
1925         * gst/gstconfig.h.in:
1926           inlined more docs
1928 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
1930         * docs/gst/tmpl/.cvsignore:
1931         * docs/gst/tmpl/gstquery.sgml:
1932         * docs/gst/tmpl/gstutils.sgml:
1933         * gst/gstquery.c:
1934         * gst/gstquery.h:
1935           inlined and extended docs
1937 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
1939         * check/gst-libs/controller.c: (GST_START_TEST),
1940         (gst_controller_suite):
1941           more tests
1942         * docs/gst/tmpl/gstutils.sgml:
1943         * docs/libs/gstreamer-libs-sections.txt:
1944         * docs/libs/tmpl/gstdataprotocol.sgml:
1945           include path fixes
1946         * examples/controller/audio-example.c: (main):
1947           controller example works now
1948         * gst/gstclock.h:
1949           doc fixes
1950         * tools/gst-inspect.c: (print_element_properties_info):
1951           show param spec flags
1953 2005-08-29  Andy Wingo  <wingo@pobox.com>
1955         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
1957 2005-08-28  Andy Wingo  <wingo@pobox.com>
1959         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
1960         as having two arguments instead of just one. Allows superclasses
1961         to access information on subclasses -- see the terrible for() loop
1962         in gtype.c:g_type_create_instance for the reason why. All callers
1963         changed.
1965 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
1967         * docs/design/part-messages.txt:
1968           update info
1969         * docs/gst/tmpl/.cvsignore:
1970         * docs/gst/tmpl/gstcaps.sgml:
1971         * docs/gst/tmpl/gstclock.sgml:
1972         * gst/gstbus.c:
1973         * gst/gstcaps.c:
1974         * gst/gstcaps.h:
1975         * gst/gstclock.c:
1976         * gst/gstclock.h:
1977         * gst/gstmessage.c:
1978           added descriptions for bus and message
1979           inline caps and clock docs
1981 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
1983         * gst/gstmessage.c:
1984         * gst/gstmessage.h:
1985           doc fixes
1987 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
1989         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1990           fix div-by-zero
1992 2005-08-26  Andy Wingo  <wingo@pobox.com>
1994         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
1995         element_set_state's return val.
1996         (test_2_elements): Add test that's been disabled for months.
1998         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
1999         can-activate-pull properties.
2001         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2002         can-activate-pull properties. Implement is_seekable so fakesrc can
2003         operate in pull mode.
2005         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2006         properties.
2007         (gst_base_sink_activate, gst_base_sink_activate_pull)
2008         (gst_base_sink_activate_push): Make activation mode choosing work.
2009         Cleanups.
2010         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2011         is right. Make pull mode work. Post an eos before pausing in pull
2012         mode.
2013         (gst_base_sink_change_state): Pay attention to the core's
2014         change_state() return val.
2015         
2016         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2017         has-getrange properties. Cleanups.
2018         
2019         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2020         has_getrange and replace with can_activate_pull and
2021         can_activate_push.
2023         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2024         locking comments. Remove has_loop, has_chain and replace with
2025         can_activate_pull and can_activate_push.
2027 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
2029         * configure.ac:
2030         * examples/Makefile.am:
2031         * examples/metadata/Makefile.am:
2032         * examples/metadata/read-metadata.c: (message_loop),
2033         (have_pad_handler), (make_pipeline), (print_tag), (main):
2034           Add metadata reading example that loops over a list of filenames,
2035           dumping any tags found.
2037         * gst/gstbus.c: (gst_bus_dispose):
2038         * gst/gstelement.c: (gst_element_dispose):
2039           Release a few potentially-held references in dispose.
2041 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2043         * docs/gst/tmpl/gstminiobject.sgml:
2044           do *not* add tmpl/*.sgml files to CVS!
2046 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2048         * libs/gst/bytestream/.cvsignore:
2049         * libs/gst/bytestream/Makefile.am:
2050         * libs/gst/bytestream/adapter.c:
2051         * libs/gst/bytestream/adapter.h:
2052         * libs/gst/bytestream/bytestream.c:
2053         * libs/gst/bytestream/bytestream.h:
2054         * libs/gst/bytestream/filepad.c:
2055         * libs/gst/bytestream/filepad.h:
2056           removing obsolete files
2058 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2060         * docs/gst/gstreamer-docs.sgml:
2061         * docs/libs/gstreamer-libs-docs.sgml:
2062           disabed additional index entries again, as this makes docs-gen just
2063           slow and they aren't useful yet
2064         * docs/libs/gstreamer-libs-sections.txt:
2065           little -section.txt cleanup for libs
2067 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2069         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2070         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2071           fix up some debugging
2072         (gst_base_transform_get_unit_size),
2073         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2074         (gst_base_transform_handle_buffer):
2075         * gst/base/gstbasetransform.h:
2076           handle and store timed NEWSEGMENT events so that subclasses that
2077           calculate time by counting samples have a segment_start time they
2078           need to add to their timestamps - see audioresample
2080 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2082         * gst/gstbin.h:
2083           removed ';' from the end of macro defs
2084         * docs/gst/gstreamer-docs.sgml:
2085         * docs/gst/gstreamer-sections.txt:
2086         * docs/gst/tmpl/.cvsignore:
2087         * gst/gstbus.h:
2088         * gst/gstelement.c: (gst_element_class_init),
2089         (gst_element_set_state), (activate_pads),
2090         (gst_element_save_thyself):
2091         * gst/gstevent.c: (gst_event_new_newsegment):
2092         * gst/gstevent.h:
2093         * gst/gstiterator.c:
2094         * gst/gstiterator.h:
2095         * gst/gstpad.c:
2096         * gst/gstprobe.h:
2097         * gst/gstutils.c: (gst_pad_query_convert):
2098         * gst/gstutils.h:
2099           fixed parameter name mismatches between source, header and docs
2100           added some more docs, resolved the last batch of unused elements in
2101           docs (now someone needs to doc them)
2103 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2105         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2106         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2107           don't walk through the plugins backwards.  Where is all this
2108           reversed logic coming from ?
2110 2005-08-25  Wim Taymans  <wim@fluendo.com>
2112         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2113         (gst_base_transform_transform_size),
2114         (gst_base_transform_configure_caps),
2115         (gst_base_transform_get_unit_size),
2116         (gst_base_transform_buffer_alloc),
2117         (gst_base_transform_change_state):
2118         * gst/base/gstbasetransform.h:
2119         Cache caps unit_size.
2120         Make sure we cannot negotiate up and downstream at the
2121         same time.
2123 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2125         * gst/gst.c: (init_pre), (init_post):
2126           register the installed plugin path after the env var
2127         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2128         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2129           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2130           directories, so the tests can prefer uninstalled over installed
2132 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2134         * gst/base/gstbasetransform.h:
2135           comment
2136         * gst/gstpad.c:
2137           add to docs
2139 2005-08-25  Wim Taymans  <wim@fluendo.com>
2141         * gst/gstbin.c: (bin_bus_handler):
2142         Be a bit more conservative about the posted message.
2143         
2144         * gst/gstbus.c: (gst_bus_post):
2145         Some cleanups, warn wrong return values.
2147 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
2149         * check/gst/gstbin.c: (GST_START_TEST):
2150         * gst/gstbin.c: (bin_bus_handler):
2151         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2152         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2153         (gst_message_new_warning), (gst_message_new_tag),
2154         (gst_message_new_state_changed), (gst_message_new_segment_start),
2155         (gst_message_new_segment_done), (gst_message_new_custom):
2156         * gst/gstmessage.h:
2157         * tools/gst-launch.c: (event_loop):
2158         * tools/gst-md5sum.c: (event_loop):
2159           Revert unpopular change for GST_MESSAGE_SRC to GObject.
2161 2005-08-25  Wim Taymans  <wim@fluendo.com>
2163         * check/generic/states.c: (GST_START_TEST):
2164         Cleanup can be done at the end.
2166         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2167         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2168         (gst_task_get_state), (gst_task_start), (gst_task_pause):
2169         Oh boy.. Thanks for finding this, Thomas. 
2171 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2173         * docs/gst/gstreamer.types:
2174           added missing types
2176 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2178         * docs/gst/gstreamer-docs.sgml:
2179         * docs/gst/gstreamer-sections.txt:
2180         * docs/gst/tmpl/.cvsignore:
2181         * gst/gstbin.c:
2182         * gst/gstiterator.c:
2183         * gst/gstutils.c:
2184         * gst/registries/gstxmlregistry.h:
2185           added missing classes and symbols (123 more to go)
2186           removed removed symbols from section file
2187           fixed many doc-comments
2189 2005-08-24  Wim Taymans  <wim@fluendo.com>
2191         * check/generic/states.c: (GST_START_TEST):
2192         Make sure all tasks are stopped.
2194         * check/gst/gstbin.c: (GST_START_TEST):
2195         Unref after usage for proper valgrinding.
2197         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2198         Really wait for the task to stop before destroying the
2199         mutex.
2201         * gst/gstqueue.c: (gst_queue_sink_activate_push),
2202         (gst_queue_src_activate_push):
2203         Small cleanups. Don't stop the task when we did not start
2204         it.
2206         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2207         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2208         (gst_task_get_state), (gst_task_start), (gst_task_pause),
2209         (gst_task_join):
2210         * gst/gsttask.h:
2211         Protect the stream lock with the object lock.
2212         Disallow setting the stream lock when running.
2213         Add cleanup_all to wait for the threadpool to finish.
2214         Remove code to autoallocate a mutex if none was provided.
2215         Add _join() to wait for a task to stop.
2216         Protect the thread pool with a global lock.
2218 2005-08-24  Wim Taymans  <wim@fluendo.com>
2220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2221         (gst_base_sink_get_times), (gst_base_sink_do_sync),
2222         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2223         * gst/base/gstbasesink.h:
2224         Handle newsegment events correctly.
2225         Drop buffers out of the segment range.
2227 2005-08-22  Andy Wingo  <wingo@pobox.com>
2229         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2230         macro, implements an interface and gstimplementsinterface for a
2231         new type.
2233 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2235         * check/Makefile.am:
2236         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2237           add a test that does a bunch of state changes on elements
2238           needs some fixing for valgrind
2239         * check/states/sinks.c: (gst_object_suite):
2240           whitespace
2241         * gst/gstcaps.h:
2242           add prototype for gst_caps_is_equal_fixed
2243         * gst/gstplugin.c:
2244         * gst/gstregistrypool.c:
2245           doc fixes
2247 2005-08-24  Andy Wingo  <wingo@pobox.com>
2249         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2250         convert a negative value. Doesn't make much sense. Mostly this is
2251         here to force callers to ensure -1 maps to -1.
2253 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2255         * docs/pwg/advanced-types.xml:
2256           Well done to Michael for catching my deliberate introduction
2257           of this spelling mistake. 
2258         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2259         * gst/gstelement.h:
2260           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2261           unlink pads before removing the element from the bin.
2263 2005-08-24  Andy Wingo  <wingo@pobox.com>
2265         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2266         the same thing as GST_DEBUG=*:4.
2267         (parse_debug_level, parse_debug_category): New helper parsers.
2269 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2271         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2272         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2273         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2274         (gst_base_transform_buffer_alloc),
2275         (gst_base_transform_handle_buffer):
2276           use gboolean return values and pointers to size so we can use the
2277           full GST_BUFFER_SIZE range (guint) for buffer sizes
2278           use GstPadDirection for transform_caps
2279         * gst/base/gstbasetransform.h:
2280           rename get_size to get_unit_size since that's what it is
2281         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2282           use GstPadDirection for transform_caps
2283         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2284         * gst/gstutils.h:
2285           cleanup and debugging
2287 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2289         * gst/gstelement.c: (gst_element_class_init),
2290         (gst_element_set_state), (activate_pads),
2291         (gst_element_save_thyself):
2292         * tools/gst-compprep.c: (main):
2293         * tools/gst-inspect.c: (print_element_properties_info):
2294         * tools/gst-xmlinspect.c: (print_element_properties):
2295           Fixed long standing mem-leak
2297 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2299         * check/gst/gstbin.c: (GST_START_TEST):
2300         * gst/gstbin.c: (bin_bus_handler):
2301         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2302         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2303         (gst_message_new_warning), (gst_message_new_tag),
2304         (gst_message_new_state_changed), (gst_message_new_segment_start),
2305         (gst_message_new_segment_done), (gst_message_new_custom):
2306         * gst/gstmessage.h:
2307         * tools/gst-launch.c: (event_loop):
2308         * tools/gst-md5sum.c: (event_loop):
2309           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2310           that applications can sensibly post custom messages with references
2311           to their own objects.
2313 2005-08-24  Andy Wingo  <wingo@pobox.com>
2315         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2316         already.
2318 2005-08-24  Wim Taymans  <wim@fluendo.com>
2320         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2321         (gst_base_transform_transform_caps),
2322         (gst_base_transform_transform_size),
2323         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2324         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2325         (gst_base_transform_handle_buffer):
2326         * gst/base/gstbasetransform.h:
2327         Many fixes and new features added by Thomas. Can now also do
2328         transforms with variable sizes and a custom fixate_caps function.
2330 2005-08-24  Wim Taymans  <wim@fluendo.com>
2332         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2333         Some debugging.
2335         * gst/gstclock.h:
2336         Cast to ClockTime before formatting to time.
2338         * gst/gstutils.h:
2339         Cleanups.
2341 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2343         * check/gst-libs/controller.c: (GST_START_TEST),
2344         (gst_controller_suite):
2345         * docs/gst/tmpl/gstcaps.sgml:
2346         * docs/gst/tmpl/gstghostpad.sgml:
2347         * docs/gst/tmpl/gstquery.sgml:
2348         * docs/gst/tmpl/gstutils.sgml:
2349         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2350         (gst_object_sink_values), (gst_object_get_value_arrays),
2351         (gst_object_get_value_array):
2352           gracefully handle helper method calls to objects that are not beeing
2353           controlled, added test case for that          
2355 2005-08-23  Wim Taymans  <wim@fluendo.com>
2357         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2358         (gst_event_new_newsegment), (gst_event_parse_newsegment),
2359         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2360         (gst_event_parse_qos), (gst_event_new_seek),
2361         (gst_event_parse_seek):
2362         * gst/gstevent.h:
2363         Some more debugging output and doc cleanups.
2365         * gst/gstqueue.c: (gst_queue_handle_sink_event):
2366         Fix possible deadlock.
2368 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2370         * docs/gst/gstreamer-docs.sgml:
2371         * docs/gst/gstreamer-sections.txt:
2372         * docs/gst/gstreamer.types:
2373         * docs/gst/tmpl/.cvsignore:
2374         * gst/gstbin.h:
2375         * gst/gstbus.c:
2376         * gst/gstelement.c:
2377         * gst/gstevent.h:
2378           added 100 symbols from gstreamer-unused.txt to the right sections
2379           fixed more broken comments
2380           added GstBus to docs
2382 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2384         * docs/gst/gstreamer-sections.txt:
2385         * docs/gst/tmpl/.cvsignore:
2386         * docs/gst/tmpl/gstbin.sgml:
2387         * docs/gst/tmpl/gstbuffer.sgml:
2388         * gst/base/gstbasesrc.c:
2389         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2390         * gst/gstbuffer.c:
2391         * gst/gstbuffer.h:
2392         * tools/gst-launch.1.in:
2393           inlined more doc comments, added missing comments and fixed comments
2394           fixed typos
2396 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2398         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2399           some debugging
2400         * gst/gstcaps.h:
2401           whitespace fixes
2402         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2403           more debugging
2404         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2405         * gst/gststructure.h:
2406           add a fixate function for booleans; add a FIXME that these func
2407           names should probably be gst_structure_fixate_*
2409 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2411         * docs/gst/gstreamer-docs.sgml:
2412         * docs/gst/gstreamer-sections.txt:
2413         * gst/Makefile.am:
2414         * gst/gstbin.c: (gst_bin_get_type),
2415         (gst_bin_child_proxy_get_child_by_index),
2416         (gst_bin_child_proxy_get_children_count),
2417         (gst_bin_child_proxy_init):
2418         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2419         (gst_child_proxy_get_child_by_index),
2420         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2421         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2422         (gst_child_proxy_get), (gst_child_proxy_set_property),
2423         (gst_child_proxy_set_valist), (gst_child_proxy_set),
2424         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2425         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2426         * gst/gstchildproxy.h:
2427         * gst/parse/grammar.y:
2428         * tools/gst-inspect.c: (print_interfaces),
2429         (print_element_properties_info), (print_element_info):
2430           ported gstchildproxy over from 0.8
2431           ported gst-inspect fixes and enhancements over from 0.8
2433 2005-08-22  Wim Taymans  <wim@fluendo.com>
2435         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2436         (gst_base_transform_handle_buffer):
2437         Also call the transform function if we have ANY caps.
2439         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2440         Fix debug info.
2442 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2444         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2445           Don't pretend to handle seek events if the source is not seekable
2447 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2450           Remove extra parameter to debug output
2452         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2453         (gst_base_src_do_seek), (gst_base_src_activate_push):
2454           Fix seek event handling.
2456         * gst/gstpipeline.c: (gst_pipeline_change_state):
2457         * gst/gstqueue.c: (gst_queue_handle_sink_event),
2458         (gst_queue_src_activate_push):
2459           Don't start the src pad task on FLUSH_STOP if the pad
2460           isn't linked.
2461           Debug changes.
2463 2005-08-22  Wim Taymans  <wim@fluendo.com>
2465         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2466         Added check for gst_static_caps_get() refcounting.
2468 2005-08-22  Wim Taymans  <wim@fluendo.com>
2470         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2471         Make _static_caps_get() refcounting sane.
2472         
2473         * gst/gstelement.c: (gst_element_set_state):
2474         Add g_return_val_if_fail() to protect against segfaults.
2476 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
2478         * docs/gst/tmpl/gstevent.sgml:
2479         * gst/gstevent.c:
2480         * gst/gstevent.h:
2481           inlined remaining docs, added missing doc comments
2483 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2485         * check/gst/gstbin.c: (GST_START_TEST):
2486           since we don't know when preroll is done, use refcount range
2487           check for the sink
2488         * gst/check/gstcheck.h:
2489           add macro for checking refcount range
2491 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2493         * check/Makefile.am:
2494           clean up environment for when registry gets built versus
2495           when actual tests are run; valgrind seems to not report
2496           leaks if GST_PLUGIN_PATH is set to some specific values
2497         * check/gst/gstbin.c: (GST_START_TEST):
2498           add more refcounting checks; maybe this exposes a
2499           preroll lock bug ?
2500         * common/check.mak:
2501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2502         * gst/check/gstcheck.h:
2503         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2504         (gst_bin_change_state):
2505         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2506           add/fix debugging/whitespace
2508 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2510         * check/gst/gstevent.c: (event_probe), (test_event),
2511         (GST_START_TEST):
2512          Er, don't call gst_bin_watch_for_state_change you idiot.
2514 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2516         * check/Makefile.am:
2517           Use CHECK_CFLAGS and CHECK_LIBS
2518         * check/gst/gstevent.c: (event_probe), (test_event),
2519         (GST_START_TEST):
2520           Don't leak events.
2521         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2522         (gst_base_src_start), (gst_base_src_stop),
2523         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2524         (gst_base_src_change_state):
2525           Sprinkle gst_base_src_stop liberally around error paths to fix
2526           problems reusing a source after failed state changes.
2527         * gst/base/gsttypefindhelper.c: (helper_find_peek),
2528         (helper_find_suggest), (gst_type_find_helper):
2529           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2530         * gst/gstevent.h:
2531         * docs/gst/tmpl/gstevent.sgml:
2532           Migrate part of the docs from the SGML file. Wait for ensonic to
2533           tell me how I did it wrong ;)
2534         * tools/gst-typefind.c: (main):
2535           Extra robustness to state changes between files.
2537 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2539         * check/Makefile.am:
2540           don't valgrind the controller test - it's leaking - Stefan, HELP
2541         * gst/check/gstcheck.c: (gst_check_message_error),
2542         (gst_check_chain_func), (gst_check_setup_element),
2543         (gst_check_teardown_element), (gst_check_setup_src_pad),
2544         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2545         (gst_check_teardown_sink_pad):
2546         * gst/check/gstcheck.h:
2547           add a bunch of methods to set up elements, and src and sink pads
2548         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2549         * check/elements/identity.c: (setup_identity), (cleanup_identity),
2550         (GST_START_TEST):
2551           use them
2552         * gst/gstmessage.c:
2553         * gst/gsttag.h:
2554           whitespace/doc fixes
2556 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2558         * gst/gstelement.h:
2559           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2560           be handled by the application and not always printed as well
2562 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2564         * check/Makefile.am:
2565           set GST_TOOLS_DIR
2566         * gst/check/gstcheck.c: (gst_check_message_error):
2567         * gst/check/gstcheck.h:
2568           add a fail_unless_equals_int
2569           add fail_unless for error messages
2571 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2573         * check/Makefile.am:
2574         * check/gst.supp:
2575         * common/Makefile.am:
2576         * common/check.mak:
2577         * common/gst.supp:
2578           factor out some of the common stuff so we can use it
2580 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2582         * check/Makefile.am:
2583         * check/gst/gstiterator.c: (GST_START_TEST):
2584         * check/gst/gstsystemclock.c: (GST_START_TEST),
2585         (gst_systemclock_suite):
2586         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2587         * gst/gstclock.c:
2588           valgrind more tests
2590 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2592         * check/elements/.cvsignore:
2593         * check/elements/gstfakesrc.c:
2594           rename to name of element
2595         * check/elements/identity.c: (chain_func), (event_func),
2596         (setup_identity), (cleanup_identity), (GST_START_TEST),
2597         (identity_suite), (main):
2598           add a test for identity
2599         * check/Makefile.am:
2600         * pkgconfig/Makefile.am:
2601         * pkgconfig/gstreamer-check.pc.in:
2602         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2603         * gst/check:
2604         * gst/Makefile.am:
2605         * configure.ac:
2606           move the check stuff to a library that gets installed
2607         * check/gst-libs/controller.c: (GST_START_TEST):
2608         * check/gst-libs/gdp.c:
2609         * check/gst/gst.c: (GST_START_TEST):
2610         * check/gst/gstbin.c:
2611         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2612         * check/gst/gstbus.c:
2613         * check/gst/gstcaps.c: (GST_START_TEST):
2614         * check/gst/gstelement.c:
2615         * check/gst/gstghostpad.c:
2616         * check/gst/gstiterator.c:
2617         * check/gst/gstmessage.c:
2618         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2619         * check/gst/gstobject.c:
2620         * check/gst/gstpad.c: (GST_START_TEST):
2621         * check/gst/gststructure.c: (GST_START_TEST):
2622         * check/gst/gstsystemclock.c: (GST_START_TEST),
2623         (gst_systemclock_suite):
2624         * check/gst/gsttag.c: (gst_tag_suite):
2625         * check/gst/gstvalue.c:
2626         * check/pipelines/cleanup.c:
2627         * check/pipelines/simple_launch_lines.c:
2628         * check/states/sinks.c:
2629           change include statement
2631         * docs/gst/gstreamer-sections.txt:
2632         * docs/gst/tmpl/gstpad.sgml:
2633           document more pad stuff
2634         * gst/gstminiobject.c: (gst_mini_object_ref),
2635         (gst_mini_object_unref):
2636           debug refcounting
2638 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
2640         * docs/gst/tmpl/gst.sgml:
2641         * gst/gst.c:
2642           eliminate another tmpl file, fix spelling in the long-description
2644 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2646         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2647         (test_event), (timediff), (gstevents_suite):
2648           Should fix build on 64-bit arch's
2650 2005-08-18  Andy Wingo  <wingo@pobox.com>
2652         Make sure that when a pipeline goes to PLAYING, that data has
2653         actually hit the sink.
2655         * check/states/sinks.c (test_sink): A sink that doesn't get any
2656         data shouldn't return SUCCESS for going to either PLAYING or
2657         PAUSED. Test also the return values on the way back down.
2659         * gst/gstelement.c (gst_element_set_state): When changing the
2660         state of an element currently changing state asynchronously, go to
2661         lost-state after commiting the pending state. Makes future calls
2662         to get_state continue to return ASYNC.
2664         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2665         ASYNC when going to PLAYING if we still don't have preroll, as can
2666         happen with live sources.
2668 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2670         * docs/pwg/advanced-types.xml:
2671           Hack long paragraph into 2 chunks as a workaround for buggy
2672           jadetex version in sid and breezy that loops infinitely and
2673           eats all RAM.
2675 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2677         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2678         (test_event), (timediff), (gstevents_suite):
2679           Provide more error margin in clock measurements to allow for 
2680           g_get_current_time inaccuracies.
2682 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2684         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2685         (test_event), (timediff), (gstevents_suite):
2686            Fix error message output so I might be able to tell why the
2687            test works here but fails on the build farm.
2689 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2691         * check/Makefile.am:
2692         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2693         (test_event), (timediff), (gstevents_suite), (main):
2694           I wrote a test!
2696         * docs/design/part-seeking.txt:
2697           Spelling correction
2699         * docs/gst/tmpl/gstevent.sgml:
2700         * docs/gst/tmpl/gstfakesrc.sgml:
2701           Docs updates.
2703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2704           Treat a buffer-without-newsegment the same as a receiving 
2705           a newsegment not in time format, and disable syncing to the clock
2706           with a warning.
2708         * gst/gstbus.c: (gst_bus_set_sync_handler):
2709           Assert if anyone tries to replace the existing sync_handler for bus, 
2710           as only the owner should be setting it.
2712         * gst/gstevent.h:
2713           Have a fixed set of custom event enums with events identified by
2714           their structure name (as in 0.8), rather than a free-for-all
2715           allowing collisions between enum values from different plugins.
2717         * gst/gstpad.c: (gst_pad_class_init):
2718           Docs change.
2719           
2720         * gst/gstqueue.c: (gst_queue_handle_sink_event):
2721           Handle out-of-band downstream events from the sending thread.
2723 2005-08-17  Andy Wingo  <wingo@pobox.com>
2725         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2726         play-timeout==0 to mean no timeout at all. In that case, don't
2727         bother with a get_state or a warning, just return directly, even
2728         if it's ASYNC.
2730         * gst/base/gstbasetransform.c: Debug changes.
2732         * gst/gstutils.h:
2733         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2734         ensure bins post state change messages. A bit of a hack but I can't
2735         think of a way to avoid it.
2737         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2739 2005-08-16  Andy Wingo  <wingo@pobox.com>
2741         * gst/base/gstadapter.h:
2742         * gst/base/gstadapter.c (gst_adapter_take): New function, like
2743         peek() but you own the data. Not terribly efficient atm.
2745 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2747         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2748         (gst_element_found_tags):
2749         * gst/gstutils.h:
2750           Add two utility functions for tag handling.
2752 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2754         * docs/manual/advanced-dataaccess.xml:
2755         * docs/manual/basics-helloworld.xml:
2756           Fix docs to use _bin_add() before _link(), which fixes the examples
2757           with recent core versions (reported by Madhan Raj M
2758           <raj_madan@rediffmail.com>, #313199).
2760 2005-08-16  Wim Taymans  <wim@fluendo.com>
2762         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2763         Added subtract checks.
2765         * docs/design/part-events.txt:
2766         Some more docs about newsegment
2768         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2769         Fix FIXME
2771         * gst/gstcaps.c: (gst_caps_to_string):
2772         Add comments, cleanups.
2773         
2774         * gst/gstelement.c: (gst_element_save_thyself):
2775         cleanups
2776         
2777         * gst/gstvalue.c: (gst_value_collect_int_range),
2778         (gst_string_unwrap), (gst_value_union_int_int_range),
2779         (gst_value_union_int_range_int_range),
2780         (gst_value_intersect_int_int_range),
2781         (gst_value_intersect_int_range_int_range),
2782         (gst_value_intersect_double_double_range),
2783         (gst_value_intersect_double_range_double_range),
2784         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2785         (gst_value_subtract_int_range_int),
2786         (gst_value_subtract_double_range_double),
2787         (gst_value_subtract_double_range_double_range),
2788         (gst_value_subtract_from_list), (gst_value_subtract_list),
2789         (gst_value_can_compare), (gst_value_compare_fraction):
2790         Cleanups, add comments, remove unneeded asserts.
2792 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2794         * tools/gst-launch.c: (event_loop):
2795           don't convert NULL structures to strings
2797 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
2799         * docs/gst/gstreamer-sections.txt:
2800           made some defines private
2801         * docs/gst/tmpl/gstconfig.sgml:
2802         * docs/gst/tmpl/gstqueue.sgml:
2803         * docs/gst/tmpl/gsttaglist.sgml:
2804         * docs/gst/tmpl/gsttypes.sgml:
2805         * docs/gst/tmpl/gstutils.sgml:
2806         * docs/pwg/appendix-porting.xml:
2807         * gst/base/gstbasesink.h:
2808         * gst/base/gstbasesrc.c:
2809         * gst/base/gstbasesrc.h:
2810         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2811         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2812         * gst/gstelement.c: (gst_element_class_init):
2813         * gst/gstpad.c: (gst_pad_class_init):
2814         * gst/gstqueue.c: (gst_queue_class_init):
2815         * gst/gstxml.c: (gst_xml_class_init):
2816           documented all undocumented signal inline
2817         * libs/gst/controller/gst-controller.h:
2818           added padding
2820 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2822         * docs/pwg/appendix-porting.xml:
2823           Document _set_link_function -> _set_setcaps_function.
2825 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2827         * check/Makefile.am:
2828           add a .check target for running the check
2829         * check/gst-libs/controller.c: (GST_START_TEST):
2830           cosmetic fixups
2831         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2832           complete checks for gstbuffer; would be nice if I could get the
2833           gcov stuff to work so I can see if I actually completed gstbuffer.c
2834         * check/gstcheck.h:
2835           add ASSERT_BUFFER_REFCOUNT
2837 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
2839         * docs/gst/gstreamer-sections.txt:
2840         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2841         * gst/gsttag.h:
2842           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2843           spew out a warning if a tag that is already registered
2844           is re-registered, unless it is re-registered with a 
2845           different type (#308438).
2847 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
2849         * docs/pwg/appendix-porting.xml:
2850         * docs/pwg/building-state.xml:
2851           Add some paragraphs about state changes in 0.9 to the PWG
2852           and the porting guide, in particular about the new meaning
2853           of GST_STATE_PAUSED and how to write state change functions
2854           with concurrent access by multiple threads in mind.
2856 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
2858         * docs/gst/gstreamer-docs.sgml:
2859         * docs/libs/gstreamer-libs-docs.sgml:
2860           added deprecation and since indexes
2861         * libs/gst/controller/gst-controller.c:
2862         * libs/gst/controller/gst-helper.c:
2863           added since tags
2866 2005-08-11  Wim Taymans  <wim@fluendo.com>
2868         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
2869         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
2870         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
2871         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
2872         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
2873         (gst_ghost_pad_set_target):
2874         Actually implement (re)setting the target on a ghostpad
2875         as described in the docs.
2877 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2879         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
2880           Check whether GST_DEBUG_NO_COLOR environment variable is
2881           set and disable coloured debug output if that is the case.
2883 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2885         * gst/base/gsttypefindhelper.c: (helper_find_peek),
2886         (gst_type_find_helper):
2887           The memory returned by gst_type_find_peek() needs to
2888           stay valid until the end of a typefind function, and
2889           typefind functions may keep results from different 
2890           offsets around, so we can't just unref the buffer from
2891           the previous _peek(), but have to save all buffers 
2892           returned by _peek() until typefinding is done and only
2893           free them then.
2895 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
2897         * docs/gst/gstreamer-sections.txt:
2898         * gst/gstutils.h:
2899           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
2901 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2903         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2904           Fix a pretty good memleak.
2906 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
2908         * gst/gstiterator.h:
2909           Fix wrong include and 'make distcheck'.
2911 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2913         * gst/gstbin.c: (bin_bus_handler):
2914           Use gst_element_post_message() instead.
2916 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
2918         * gst/base/gstadapter.h:
2919         * gst/base/gstbasesink.h:
2920         * gst/base/gstbasesrc.h:
2921         * gst/base/gstbasetransform.h:
2922         * gst/base/gstcollectpads.h:
2923         * gst/base/gstpushsrc.h:
2924         * gst/gstiterator.h:
2925           Add padding to our base elements' class and instance structs and
2926           to GstIterator (you will need to rebuild all plugins and apps!)
2928 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2930         * gst/gstbin.c: (bin_bus_handler):
2931           Make default message forwarding from child->bus to bin->bus
2932           threadsafe and make it not emit warnings if the parent has no bus.
2934 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2936         * gst/gstelement.c: (activate_pads):
2937           On paused->ready, set pad->caps to NULL, as is the documented
2938           behaviour in this state change. Fixes playback of series of
2939           media files when visualization is enabled in Totem.
2941 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2943         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2944           Allow NULL as filter-caps (which means "any").
2946 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
2948         * docs/libs/gstreamer-libs-sections.txt:
2949         * libs/gst/controller/gst-controller.c:
2950         * libs/gst/controller/gst-controller.h:
2951         * libs/gst/controller/gst-helper.c:
2952           adding more entries to the docs and fix small doc-bugs
2954 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
2956         * docs/gst/gstreamer-docs.sgml:
2957         * docs/gst/gstreamer-sections.txt:
2958         * docs/gst/gstreamer.types:
2959         * docs/gst/tmpl/gstbasesink.sgml:
2960         * docs/gst/tmpl/gstbasesrc.sgml:
2961         * docs/gst/tmpl/gstbasetransform.sgml:
2962         * docs/gst/tmpl/gstfakesrc.sgml:
2963         * gst/base/gstcollectpads.c:
2964         * gst/base/gstcollectpads.h:
2965         * libs/gst/controller/gst-controller.c:
2966         * libs/gst/controller/gst-controller.h:
2967         * libs/gst/controller/gst-helper.c:
2968         * libs/gst/controller/gst-interpolation.c:
2969         * libs/gst/controller/lib.c:
2970           added long/short desc for controller docs
2971           added collectpads base class docs
2972           added correct includes to base-class docs
2974 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
2976         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2977         (gst_test_mono_source_set_property),
2978         (gst_test_mono_source_class_init), (GST_START_TEST),
2979         (gst_controller_suite):
2980         * docs/gst/gstreamer-docs.sgml:
2981         * docs/gst/gstreamer-sections.txt:
2982         * docs/gst/gstreamer.types:
2983         * docs/libs/gstreamer-libs-docs.sgml:
2984         * docs/libs/gstreamer-libs-sections.txt:
2985         * gst/base/gstadapter.c:
2986         * libs/gst/controller/gst-controller.c:
2987         (gst_controlled_property_new), (gst_controlled_property_free),
2988         (gst_controller_new_valist),
2989         (gst_controller_remove_properties_valist),
2990         (gst_controller_sink_values), (_gst_controller_finalize):
2991         * libs/gst/controller/gst-controller.h:
2992         * libs/gst/controller/gst-helper.c:
2993         (gst_object_control_properties), (gst_object_uncontrol_properties),
2994         (gst_object_get_controller), (gst_object_set_controller),
2995         (gst_object_sink_values), (gst_object_get_value_arrays),
2996         (gst_object_get_value_array):
2997           more tests (and fixes) for the controller
2998           more docs for the controller
2999           integrated companies docs for the adapter 
3001 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3003         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3004         (GST_START_TEST), (fakesrc_suite):
3005           add tests for sizetype
3007 2005-08-04  Andy Wingo  <wingo@pobox.com>
3009         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3010         fixes buffer_alloc proxying among other things.
3012         * gst/base/gstbasetransform.c:
3013         * gst/base/gstbasetransform.h:
3014         Revert patch to gstbasetransform from 7-28 removing
3015         delay_configure.
3017         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3018         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3019         Semantics changed, should return not the size of the output buffer
3020         but the byte size of a buffer with a given caps.
3022         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3023         debug object.
3024         (gst_base_transform_configure_caps): Don't set out_size here: (in,
3025         out) are not the pad caps until setcaps finishes.
3026         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3027         not-in-place case as well. Deal with changing from in-place to
3028         not-in-place within calling pad_alloc_buffer. Still a bit
3029         concerned about the overhead here...
3031 2005-08-03  Andy Wingo  <wingo@pobox.com>
3033         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3034         fixating is an error.
3036 2005-08-04  Edward Hervey  <edward@fluendo.com>
3038         * gst/base/gstadapter.h: 
3039         Added gst_adapter_get_type() to the header
3041 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3043         * check/Makefile.am:
3044         * check/gst-libs/controller.c:
3045         * libs/gst/controller/gst-controller.c:
3046         (gst_controller_new_valist):
3047           added check test suite for the controller
3048         * gst/base/gstpushsrc.c:
3049           fixed a doc typo
3051 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3053         * docs/gst/Makefile.am:
3054         * docs/gst/gstreamer-docs.sgml:
3055         * docs/gst/gstreamer-sections.txt:
3056         * docs/gst/gstreamer.types:
3057         * docs/gst/tmpl/gstfakesrc.sgml:
3058         * gst/base/README:
3059         * gst/base/gstbasesink.c:
3060         * gst/base/gstbasesink.h:
3061         * gst/base/gstbasesrc.c:
3062         * gst/base/gstbasesrc.h:
3063         * gst/base/gstbasetransform.c:
3064         * gst/base/gstpushsrc.c:
3065         * gst/base/gstpushsrc.h:
3066           add short/long description docs to base classes
3067           add pushsrc to the docs
3068           remove consolidated doc fragments
3070 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3072         * configure.ac:
3073         * docs/libs/Makefile.am:
3074         * docs/libs/gstreamer-libs-docs.sgml:
3075         * docs/libs/gstreamer-libs-sections.txt:
3076         * docs/libs/gstreamer-libs.types:
3077         * examples/Makefile.am:
3078         * examples/controller/.cvsignore:
3079         * examples/controller/Makefile.am:
3080         * examples/controller/audio-example.c: (main):
3081         * libs/gst/Makefile.am:
3082         * libs/gst/controller/.cvsignore:
3083         * libs/gst/controller/Makefile.am:
3084         * libs/gst/controller/gst-controller.c:
3085         (on_object_controlled_property_changed), (gst_timed_value_compare),
3086         (gst_timed_value_find),
3087         (gst_controlled_property_set_interpolation_mode),
3088         (gst_controlled_property_new), (gst_controlled_property_free),
3089         (gst_controller_find_controlled_property),
3090         (gst_controller_new_valist), (gst_controller_new),
3091         (gst_controller_remove_properties_valist),
3092         (gst_controller_remove_properties), (gst_controller_set),
3093         (gst_controller_set_from_list), (gst_controller_unset),
3094         (gst_controller_get), (gst_controller_get_all),
3095         (gst_controller_sink_values), (gst_controller_get_value_arrays),
3096         (gst_controller_get_value_array),
3097         (gst_controller_set_interpolation_mode),
3098         (_gst_controller_finalize), (_gst_controller_init),
3099         (_gst_controller_class_init), (gst_controller_get_type):
3100         * libs/gst/controller/gst-controller.h:
3101         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3102         (g_object_uncontrol_properties), (g_object_get_controller),
3103         (g_object_set_controller), (g_object_sink_values),
3104         (g_object_get_value_arrays), (g_object_get_value_array):
3105         * libs/gst/controller/gst-interpolation.c:
3106         (gst_controlled_property_find_timed_value_node),
3107         (interpolate_none_get), (interpolate_trigger_get),
3108         (interpolate_trigger_get_value_array):
3109         * libs/gst/controller/lib.c: (gst_controller_init):
3110         * pkgconfig/Makefile.am:
3111         * pkgconfig/gstreamer-control-uninstalled.pc.in:
3112         * pkgconfig/gstreamer-control.pc.in:
3113         * testsuite/Makefile.am:
3114         * testsuite/controller/.cvsignore:
3115         * testsuite/controller/Makefile.am:
3116         * testsuite/controller/interpolator.c: (main):
3117           added controller code
3118           removed dparam pc files
3120 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3121         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3122         (gst_collectpads_stop):
3123           Broadcast the condition when shutting down, to make sure we wake all
3124           threads up. Shut down pads on finalize, for safety.
3126 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3127         * gst/base/gstbasetransform.c: (gst_base_transform_init),
3128         (gst_base_transform_handle_buffer),
3129         (gst_base_transform_change_state):
3130           Handle PAUSED->READY->PAUSED transition after negotiation
3131           occurred already.
3132         * gst/gstmessage.c: (gst_message_init):
3133           Extra piece of debug for new messages.
3135 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
3137         * configure.ac:
3138         * docs/gst/tmpl/gstbasesrc.sgml:
3139         * docs/gst/tmpl/gstelement.sgml:
3140         * docs/gst/tmpl/gstevent.sgml:
3141         * docs/gst/tmpl/gstfakesrc.sgml:
3142         * docs/gst/tmpl/gstformat.sgml:
3143         * docs/gst/tmpl/gstghostpad.sgml:
3144         * docs/gst/tmpl/gstpad.sgml:
3145         * docs/gst/tmpl/gstquery.sgml:
3146         * docs/gst/tmpl/gststructure.sgml:
3147         * docs/gst/tmpl/gsttaglist.sgml:
3148         * docs/gst/tmpl/gstvalue.sgml:
3149         * docs/libs/gstreamer-libs-docs.sgml:
3150         * docs/libs/gstreamer-libs-sections.txt:
3151         * docs/libs/gstreamer-libs.types:
3152         * libs/gst/Makefile.am:
3153         * libs/gst/control/.cvsignore:
3154         * libs/gst/control/Makefile.am:
3155         * libs/gst/control/control.c:
3156         * libs/gst/control/control.h:
3157         * libs/gst/control/dparam.c:
3158         * libs/gst/control/dparam.h:
3159         * libs/gst/control/dparam_smooth.c:
3160         * libs/gst/control/dparam_smooth.h:
3161         * libs/gst/control/dparamcommon.h:
3162         * libs/gst/control/dparammanager.c:
3163         * libs/gst/control/dparammanager.h:
3164         * libs/gst/control/dplinearinterp.c:
3165         * libs/gst/control/dplinearinterp.h:
3166         * libs/gst/control/unitconvert.c:
3167         * libs/gst/control/unitconvert.h:
3168         * testsuite/Makefile.am:
3169         * testsuite/dynparams/.cvsignore:
3170         * testsuite/dynparams/Makefile.am:
3171         * testsuite/dynparams/dparamstest.c:
3172         * tools/Makefile.am:
3173         * tools/gst-inspect.c: (print_element_info), (main):
3174         * tools/gst-xmlinspect.c: (print_element_info), (main):
3175           deactivate and remove dparams (libgstcontrol)
3177 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3179         * gst/elements/gsttypefindelement.c:
3180         (gst_type_find_element_have_type), (gst_type_find_element_init),
3181         (stop_typefinding), (gst_type_find_element_handle_event),
3182         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3183         * gst/elements/gsttypefindelement.h:
3184           Set caps on all outgoing buffers, not just the first one.
3186 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3188         * gst/elements/gsttypefindelement.c:
3189         (gst_type_find_element_have_type),
3190         (gst_type_find_element_check_set_buffer_caps),
3191         (gst_type_find_element_init), (stop_typefinding),
3192         (gst_type_find_element_handle_event),
3193         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3194         * gst/elements/gsttypefindelement.h:
3195           Set caps on first outgoing buffer when we've found the type.
3197 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3199         * docs/gst/gstreamer-docs.sgml:
3200         * docs/gst/gstreamer-sections.txt:
3201         * docs/gst/tmpl/gstscheduler.sgml:
3202         * docs/gst/tmpl/gstschedulerfactory.sgml:
3203           Remove some old cruft from docs.
3205 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
3207         * gst/gstpad.h:
3208           Fix inline docs for GstPadLinkReturn.
3209           
3210         * gst/gststructure.c: (gst_structure_has_name):
3211         * gst/gststructure.h:
3212         * docs/gst/gstreamer-sections.txt:
3213           New API: gst_structure_has_name().
3215 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
3217         * configure.ac:
3218           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3219           and _LARGEFILE_SOURCE in config.h as required. Do not 
3220           export those flags in our .pc files any longer (#142209).
3222           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3224         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3225         (gst_file_sink_do_seek), (gst_file_sink_event),
3226         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3227           Redo seek/tell calls with large file support in mind; add some
3228           debugging messages; add log message that tells us when large
3229           file support is unavailable or not enabled for some reason.
3231         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3232           Add log message that tells us when large file support 
3233           is unavailable or not enabled for some reason.
3235 2005-07-29  Wim Taymans  <wim@fluendo.com>
3237         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3238         Added test for removing an element with ghostpad from a bin.
3239         Fixed test as current implementation does the right thing.
3241         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3242         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3243         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3244         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3245         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3246         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3247         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3248         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3249         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3250         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3251         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3252         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3253         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3254         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3255         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3256         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3257         * gst/gstghostpad.h:
3258         Clean up ghostpads, remove properties for internal stuff.
3259         Make threadsafe.
3260         Fix refcounting.
3261         Prepare for switching targets, not all use cases work yet.
3263 2005-07-29  Wim Taymans  <wim@fluendo.com>
3265         * docs/design/part-gstghostpad.txt:
3266         Small update.
3268         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3269         (gst_bin_remove_func):
3270         Unlinking pads while holding the bin LOCK is not a good
3271         idea.
3273         * gst/gstpad.c: (gst_pad_class_init),
3274         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3275         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3276         No prob setting template after creating the pad.
3278 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
3280         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3281         (gst_bus_peek), (gst_bus_source_dispatch),
3282         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3283         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3284           gst_bus_poll may be called from other threads. Handle
3285           this nicely by not making poll_data disappear off the
3286           stack once gst_bus_poll returns.
3287           gst_bus_peek now increments the refcount on the returned
3288           message.
3290 2005-07-29  Wim Taymans  <wim@fluendo.com>
3292         * docs/design/part-gstghostpad.txt:
3293         Overview of current GhostPad datastructures and use
3294         cases for changing the target.
3296 2005-07-28  Wim Taymans  <wim@fluendo.com>
3298         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3299         Added checks for hierarchy consistency whan adding linked
3300         elements to bins.
3302         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3303         Added check to test element scheduling without bin/pipeline.
3305         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3306         First add elements to bin, then link.
3307         
3308         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3309         (gst_bin_remove_func):
3310         Unlink pads from elements added/removed from bin to maintain
3311         hierarchy consistency.
3313 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3315         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3316         (gst_base_transform_handle_buffer):
3317         * gst/base/gstbasetransform.h:
3318           Remove broken delay_configure (fixes renegotiation of software
3319           scaling pipelines); remove some leftover printf()s.
3321 2005-07-28  Wim Taymans  <wim@fluendo.com>
3323         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3324         Added some more tests for wrong hierarchy
3326         * docs/design/part-overview.txt:
3327         Some updates.
3329         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3330         Cleanups.
3332         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3333         (gst_element_dispose):
3334         Some more cleanups.
3336         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3337         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3338         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3339         (gst_pad_set_caps), (gst_pad_send_event):
3340         Check for correct hierarchy when linking pads. Moving to
3341         strict requirement for ghostpads when linking elements in
3342         different bins.
3344         * gst/gstpad.h:
3345         Clean ups. Added WRONG_HIERARCHY return value.
3347 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3349         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3350           Better debug if no transform is possible.
3352 2005-07-27  Wim Taymans  <wim@fluendo.com>
3354         * docs/random/wtay/network-transp:
3355         Some old doc I had.
3357 2005-07-27  Wim Taymans  <wim@fluendo.com>
3359         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3360         (gst_dp_event_from_packet):
3361         Fix serialization of seek events.
3363 2005-07-27  Wim Taymans  <wim@fluendo.com>
3365         * check/gst-libs/gdp.c: (GST_START_TEST):
3366         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3367         Fix compilation and fix event serialization.
3369 2005-07-27  Wim Taymans  <wim@fluendo.com>
3371         * CHANGES-0.9:
3372         * docs/design/part-TODO.txt:
3373         * docs/design/part-events.txt:
3374         Some docs updates
3376         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3377         (gst_base_sink_event), (gst_base_sink_do_sync),
3378         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3379         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3380         (gst_base_src_do_seek), (gst_base_src_event_handler),
3381         (gst_base_src_loop):
3382         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3383         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3384         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3385         (gst_base_transform_event), (gst_base_transform_handle_buffer),
3386         (gst_base_transform_set_passthrough),
3387         (gst_base_transform_is_passthrough):
3388         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3389         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3390         Event updates.
3392         * gst/gstbuffer.h:
3393         Use faster casts.
3395         * gst/gstelement.c: (gst_element_seek):
3396         * gst/gstelement.h:
3397         Update gst_element_seek.
3399         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3400         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3401         (gst_event_new_flush_start), (gst_event_new_flush_stop),
3402         (gst_event_new_eos), (gst_event_new_newsegment),
3403         (gst_event_parse_newsegment), (gst_event_new_tag),
3404         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3405         (gst_event_parse_qos), (gst_event_new_seek),
3406         (gst_event_parse_seek), (gst_event_new_navigation):
3407         * gst/gstevent.h:
3408         Make GstEvent use GstStructure. Add parsing code, make sure the
3409         API is sufficiently generic.
3410         Mark possible directions of events and serialization.
3412         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3413         (_gst_message_copy), (gst_message_new_segment_start),
3414         (gst_message_new_segment_done), (gst_message_new_custom),
3415         (gst_message_parse_segment_start),
3416         (gst_message_parse_segment_done):
3417         Small cleanups.
3419         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3420         (gst_pad_set_caps), (gst_pad_send_event):
3421         Update for new events. 
3422         Catch events sent in wrong directions.
3424         * gst/gstqueue.c: (gst_queue_link_src),
3425         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3426         (gst_queue_handle_src_query):
3427         Event updates.
3429         * gst/gsttag.c:
3430         * gst/gsttag.h:
3431         Remove event code from this file.
3433         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3434         (gst_dp_event_from_packet):
3435         Event updates.
3437 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3439         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3440         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3441         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3442           Make debugging actually useful.
3444 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3446         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3447         (gst_pad_fixate_caps):
3448           Implement default fixation once again, so that gst_pad_fixate()
3449           actually does anything at all. This probably needs to be some
3450           sort of a last resort, and use profile-based fixation first, but
3451           since that doesn't exist yet, this is the best we have. Fixes
3452           visualization in Totem.
3454 2005-07-22  Wim Taymans  <wim@fluendo.com>
3456         * docs/design/part-events.txt:
3457         Small update.
3459         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3460         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3461         (gst_base_sink_activate_pull):
3462         Some more comments.
3464         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3465         (gst_fake_src_create):
3466         Fix handoff marshall.
3468         * gst/elements/gstidentity.c: (gst_identity_class_init),
3469         (gst_identity_transform_ip):
3470         We're a real inplace element.
3472         * gst/gstbus.c: (gst_bus_post):
3473         Added some comments.
3475         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3476         * tests/muxing/case1.c: (main):
3477         * tests/sched/dynamic-pipeline.c: (main):
3478         * tests/sched/interrupt1.c: (main):
3479         * tests/sched/interrupt2.c: (main):
3480         * tests/sched/interrupt3.c: (main):
3481         * tests/sched/runxml.c: (main):
3482         * tests/sched/sched-stress.c: (main):
3483         * tests/seeking/seeking1.c: (event_received), (main):
3484         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3485         (main):
3486         * tests/threadstate/threadstate3.c: (main):
3487         * tests/threadstate/threadstate4.c: (main):
3488         * tests/threadstate/threadstate5.c: (main):
3489         Fix the tests.
3491 2005-07-21  Wim Taymans  <wim@fluendo.com>
3493         * docs/design/part-seeking.txt:
3494         Some small additions.
3496         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3497         (gst_base_sink_get_times), (gst_base_sink_do_sync),
3498         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3499         * gst/base/gstbasesink.h:
3500         discont values are gint64, handle the math correctly.
3502         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3503         Make the basesrc report error if the source pad is not linked.
3505         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3506         (gst_queue_loop), (gst_queue_handle_src_query),
3507         (gst_queue_src_activate_push):
3508         Make queue collect data even if the srcpad is not linked.
3509         Start pushing out data as soon as it is linked.
3511         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3512         * gst/gstutils.h:
3513         Added gst_flow_get_name() to ease error reporting.
3515 2005-07-20  Wim Taymans  <wim@fluendo.com>
3517         * gst/gstmessage.c: (gst_message_new_segment_start),
3518         (gst_message_new_segment_done), (gst_message_parse_segment_start),
3519         (gst_message_parse_segment_done):
3520         * gst/gstmessage.h:
3521         Added a bunch of messages for advanced seeking.
3523         * gst/parse/grammar.y:
3524         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3525         (gst_dpman_state_changed):
3526         Fix some new-pad -> pad-added signals
3528 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3530         * docs/manual/appendix-porting.xml:
3531         * docs/pwg/appendix-porting.xml:
3532           Document new-pad/state-change signal renames and the FixedList
3533           type rename.
3535 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3537         * docs/manual/advanced-autoplugging.xml:
3538         * docs/manual/basics-helloworld.xml:
3539         * docs/manual/basics-pads.xml:
3540         * docs/random/ds/0.9-suggested-changes:
3541         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3542         * gst/gstelement.h:
3543         * gst/gstevent.h:
3544         * gst/gstformat.h:
3545         * gst/gstquery.h:
3546         * gst/gststructure.c: (gst_structure_value_get_generic_type),
3547         (gst_structure_parse_array), (gst_structure_parse_value):
3548         * gst/gstvalue.c: (gst_type_is_fixed),
3549         (gst_value_list_prepend_value), (gst_value_list_append_value),
3550         (gst_value_list_get_size), (gst_value_list_get_value),
3551         (gst_value_transform_array_string), (gst_value_serialize_array),
3552         (gst_value_deserialize_array), (gst_value_intersect_array),
3553         (gst_value_is_fixed), (_gst_value_initialize):
3554         * gst/gstvalue.h:
3555           GstElement::new-pad -> pad-added, GstElement::state-change ->
3556           state-changed, GstValueFixedList -> GstValueArray, add format and
3557           flags as their own arguments in gst_element_seek() (should improve
3558           "bindeability"), remove function generators since they don't work
3559           under a whole bunch of compilers (they were deprecated already
3560           anyway).
3562 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3564         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3565         (_gst_debug_register_funcptr):
3566         * gst/gstinfo.h:
3567           Fix illegal cast on some platforms (#309253).
3569 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3571         * gst/gstmessage.c: (gst_message_new_custom):
3572         * gst/gstmessage.h:
3573           Add _new_custom, make _new_application a macro to _new_custom.
3575 2005-07-20  Wim Taymans  <wim@fluendo.com>
3577         * gst/base/gstbasesrc.c: (gst_base_src_init),
3578         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3579         * gst/base/gstbasesrc.h:
3580         Add a gboolean to decide when to push out a discont.
3582         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3583         (gst_queue_loop), (gst_queue_handle_src_query),
3584         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3585         (gst_queue_set_property), (gst_queue_get_property):
3586         Some cleanups.
3588         * tests/threadstate/threadstate1.c: (main):
3589         Make a thread test compile and run... very silly..
3592 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3594         * docs/manual/appendix-porting.xml:
3595           Mention removal of libgstgconf-0.9.la and existence of gconf
3596           elements.
3598 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3600         * docs/pwg/advanced-clock.xml:
3601         * docs/pwg/appendix-porting.xml:
3602         * docs/pwg/intro-preface.xml:
3603         * docs/pwg/other-base.xml:
3604         * docs/pwg/other-manager.xml:
3605         * docs/pwg/other-nton.xml:
3606         * docs/pwg/other-ntoone.xml:
3607         * docs/pwg/other-oneton.xml:
3608         * docs/pwg/pwg.xml:
3609           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3610           demuxer), remove n-to-n (was never written), fix some code examples
3611           and links and update the porting section to include all this.
3613 2005-07-19  Wim Taymans  <wim@fluendo.com>
3615         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3616         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3617         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3618         (gst_queue_src_activate_push), (gst_queue_change_state),
3619         (gst_queue_get_property):
3620         * gst/gstqueue.h:
3621         Propagate GstFlowReturn more intelligently upstream and output
3622         an ERROR/EOS when streaming stopped due to fatal error.
3624 2005-07-19  Wim Taymans  <wim@fluendo.com>
3626         * tools/gst-launch.c: (check_intr), (event_loop), (main):
3627         Don't block forever for the state change to complete, the
3628         pipeline already did with a sensible timeout.
3630 2005-07-19  Wim Taymans  <wim@fluendo.com>
3632         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3633         Make sure we never call the create function is we
3634         got deactivated.
3636 2005-07-19  Andy Wingo  <wingo@pobox.com>
3638         * gst/parse/parse.l: Attempt to solve bug #172815.
3640 2005-07-19  Wim Taymans  <wim@fluendo.com>
3642         * docs/design/part-clocks.txt:
3643         * docs/design/part-events.txt:
3644         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3645         Small docs updates.
3646         Only update the seeking values when we are not
3647         busy streaming.
3649 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
3651         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3652           Oops, ignore the result of gst_pad_push_event here.
3654 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
3656         * gst/base/gstbasesrc.c: (gst_base_src_loop),
3657         (gst_base_src_activate_push):
3658           Send discont event from the loop function, as pads
3659           aren't activated yet in the activate_push handler.
3661         * gst/gstbin.c: (bin_bus_handler):
3662           Don't leak element name.
3664 2005-07-18  Andy Wingo  <wingo@pobox.com>
3666         * configure.ac: Use AS_LIBTOOL_TAGS.
3668 2005-07-18  Wim Taymans  <wim@fluendo.com>
3670         * docs/gst/gstreamer.types:
3671         Remove deleted types.
3673 2005-07-18  Wim Taymans  <wim@fluendo.com>
3675         * check/elements/gstfakesrc.c: (GST_START_TEST):
3676         * configure.ac:
3677         * gst/Makefile.am:
3678         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3679         (init_popt_callback):
3680         * gst/gst.h:
3681         * gst/gst_private.h:
3682         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3683         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3684         * gst/gstbin.h:
3685         * gst/gstbus.h:
3686         * gst/gstconfig.h.in:
3687         * gst/gstelement.c: (gst_element_class_init),
3688         (gst_element_set_base_time), (gst_element_get_base_time),
3689         (iterator_fold_with_resync), (gst_element_change_state),
3690         (gst_element_dispose), (gst_element_get_bus):
3691         * gst/gstelement.h:
3692         * gst/gstelementfactory.h:
3693         * gst/gsterror.c: (_gst_core_errors_init):
3694         * gst/gsterror.h:
3695         * gst/gstevent.h:
3696         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3697         * gst/gstindex.c:
3698         * gst/gstinfo.c: (_gst_debug_init):
3699         * gst/gstmessage.c: (_gst_message_copy):
3700         * gst/gstmessage.h:
3701         * gst/gstminiobject.h:
3702         * gst/gstobject.c:
3703         * gst/gstobject.h:
3704         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3705         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3706         * gst/gstpad.h:
3707         * gst/gstparse.h:
3708         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3709         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3710         (gst_pipeline_get_last_stream_time):
3711         * gst/gstpipeline.h:
3712         * gst/gstpluginfeature.h:
3713         * gst/gstquery.h:
3714         * gst/gstscheduler.c:
3715         * gst/gstscheduler.h:
3716         * gst/gststructure.h:
3717         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3718         (gst_task_finalize), (gst_task_func), (gst_task_create),
3719         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3720         (gst_task_stop), (gst_task_pause):
3721         * gst/gsttask.h:
3722         * gst/gsttypefind.h:
3723         * gst/gsttypes.h:
3724         * gst/registries/gstlibxmlregistry.c: (load_feature),
3725         (gst_xml_registry_load), (gst_xml_registry_save_feature):
3726         * gst/registries/gstxmlregistry.c:
3727         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3728         * gst/schedulers/threadscheduler.c:
3729         * libs/gst/control/dparammanager.h:
3730         * tools/gst-inspect.c: (print_element_list),
3731         (print_plugin_features), (print_element_features):
3732         * tools/gst-xmlinspect.c: (print_element_list),
3733         (print_plugin_info), (main):
3734         Removed plugable schedulers.
3735         Removed Scheduler/Manager from elements.
3736         Removed gsttypes.h, rearranged includes.
3737         Removed dependency pad<->element, element<>pipeline, and
3738         various others,  fix includes.
3739         implement gst_pad_get_parent() with gst_object_get_parent()
3740         Make GstTask sefcontained.
3741         Fix _get_state() on GstBin, it did not return ASYNC with a 0
3742         timeout.
3743         Fix endless loop in iterator_fold_with_resync.
3746 2005-07-18  Wim Taymans  <wim@fluendo.com>
3748         * gst/Makefile.am:
3749         * gst/gstarch.h:
3750         Remove old file.
3752 2005-07-18  Wim Taymans  <wim@fluendo.com>
3754         * gst/Makefile.am:
3755         No more cothreads.h
3757 2005-07-18  Wim Taymans  <wim@fluendo.com>
3759         * gst/cothreads.c:
3760         * gst/cothreads.h:
3761         Let's remove these.
3763 2005-07-18  Wim Taymans  <wim@fluendo.com>
3765         * docs/design/part-dynamic.txt:
3766         * docs/design/part-events.txt:
3767         * docs/design/part-seeking.txt:
3768         Some more docs in the works.
3770         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3771         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3772         (gst_base_transform_setcaps), (gst_base_transform_get_size),
3773         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3774         (gst_base_transform_handle_buffer),
3775         (gst_base_transform_sink_activate_push),
3776         (gst_base_transform_src_activate_pull),
3777         (gst_base_transform_set_passthrough),
3778         (gst_base_transform_is_passthrough):
3779         Refcounting fixes.
3781         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3782         Cleanups.
3784         * gst/gstevent.c: (gst_event_finalize):
3785         Set SRC to NULL.
3787         * gst/gstutils.c: (gst_element_unlink),
3788         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3789         (gst_pad_proxy_setcaps):
3790         * gst/gstutils.h:
3791         Add _get_parent_element() to get a pads parent as an element.
3793 2005-07-18  Wim Taymans  <wim@fluendo.com>
3795         * check/gst/gstbin.c: (GST_START_TEST):
3796         Remove bogus test.
3798 2005-07-18  Wim Taymans  <wim@fluendo.com>
3800         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3801         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3802         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3803         (gst_base_sink_event), (gst_base_sink_do_sync),
3804         (gst_base_sink_chain), (gst_base_sink_loop),
3805         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3806         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3807         Refcounting fixes.
3808         Fix logic for returning ASYNC when not prerolled.
3810 2005-07-18  Wim Taymans  <wim@fluendo.com>
3812         * gst/gstqueue.c: (gst_queue_handle_sink_event):
3813         Fix nasty refcount bug.
3815 2005-07-16 Philippe Khalaf <burger@speedy.org>
3817         * gst/elements/gstfdsrc.c:
3818         * gst/elements/gstfdsrc.h:
3819         * gst/elements/gstelements.c:
3820         * gst/elements/Makefile.am:
3821         Ported fdsrc to 0.9.
3823 2005-07-16  Wim Taymans  <wim@fluendo.com>
3825         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3826         (gst_base_sink_do_sync):
3827         Fix compile error.
3829 2005-07-16  Wim Taymans  <wim@fluendo.com>
3831         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3832         (gst_base_sink_event), (gst_base_sink_get_times),
3833         (gst_base_sink_do_sync), (gst_base_sink_change_state):
3834         * gst/base/gstbasesink.h:
3835         Store and use discont values when syncing buffers as described
3836         in design docs.
3837         
3838         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3839         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3840         (gst_base_src_activate_push):
3841         Push discont event when starting.
3843         * gst/elements/gstidentity.c: (gst_identity_transform):
3844         Small cleanups.
3846         * gst/gstbin.c: (gst_bin_change_state):
3847         Small cleanups in base_time  distribution.
3849         * gst/gstelement.c: (gst_element_set_base_time),
3850         (gst_element_get_base_time), (gst_element_change_state):
3851         * gst/gstelement.h:
3852         Added methods for the base_time of the element.
3853         Some MT fixes.
3855         * gst/gstpipeline.c: (gst_pipeline_send_event),
3856         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3857         (gst_pipeline_get_last_stream_time):
3858         * gst/gstpipeline.h:
3859         MT fixes.
3860         Handle seeking as described in design doc, remove stream_time
3861         hack.
3862         Cleanups clock and stream_time selection code. Added accessors
3863         for the stream_time.
3864         
3866 2005-07-16  Andy Wingo  <wingo@pobox.com>
3868         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
3869         (#305291).
3871 2005-07-16  Wim Taymans  <wim@fluendo.com>
3873         * check/gst/gstbin.c: (GST_START_TEST):
3874         Make elements silent as the deep_notify refs the
3875         parent, which might make the test fail.
3877         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3878         Don't hold the lock for too long.
3880 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
3882         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3883           Don't unref the caps we passed to gst_caps_make_writable() after
3884           passing them. gst_caps_make_writable() will do that for us.
3886 2005-07-15  Andy Wingo  <wingo@pobox.com>
3888         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
3889         (#157311).
3891         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
3892         own marshalling function for the handoff signal. Properly type the
3893         buffer as a buffer. Fixes some warnings. Should do a more general
3894         solution.
3895         (gst_identity_class_init): Plug into the right marshaller.
3897 2005-07-15  Wim Taymans  <wim@fluendo.com>
3899         * docs/design/part-TODO.txt:
3900         * docs/design/part-clocks.txt:
3901         * docs/design/part-element-sink.txt:
3902         * docs/design/part-events.txt:
3903         * docs/design/part-gstpipeline.txt:
3904         Updated docs, mostly DISCONT related.
3906 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
3908         * docs/pwg/building-pads.xml:
3909           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
3911 2005-07-15  Andy Wingo  <wingo@pobox.com>
3913         * tools/gst-typefind.c: Update, add copyright block.
3915         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
3916         Normalize and truncate caps before fixation.
3918         * gst/gstcaps.h:
3919         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
3920         discards all but the first structure from its argument.
3922 2005-07-15  Wim Taymans  <wim@fluendo.com>
3924         * gst/base/gstbasetransform.c: (gst_base_transform_init),
3925         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
3926         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3927         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3928         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
3929         (gst_base_transform_chain), (gst_base_transform_change_state),
3930         (gst_base_transform_set_passthrough),
3931         (gst_base_transform_is_passthrough):
3932         * gst/base/gstbasetransform.h:
3933         Make passthrough work using the bufferpools.
3934         Changed API a bit, subclasses have to write into a buffer
3935         provided by the base class.
3936         More debug info in nego functions.
3937         
3938         * gst/elements/gstidentity.c: (gst_identity_init),
3939         (gst_identity_transform):
3940         Port to new base class.
3942 2005-07-15  Wim Taymans  <wim@fluendo.com>
3944         * gst/gstmessage.c: (gst_message_new_state_changed):
3945         * tools/gst-launch.c: (event_loop), (main):
3946         Totally dump messages in -launch with the -m option.
3947         Fix message name for State messages,
3949 2005-07-14  Wim Taymans  <wim@fluendo.com>
3951         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3952         Post error messages on errors.
3954 2005-07-14  Wim Taymans  <wim@fluendo.com>
3956         * gst/gstcaps.c: (gst_caps_do_simplify):
3957         Remove debug info.
3959         * gst/gsterror.h:
3960         Define error for stream stopped.
3962         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3963         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
3964         Do proper return values.
3966         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3967         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
3968         (gst_pad_get_range):
3969         Better return values.
3971         * gst/gstpad.h:
3972         Reorganise return values, add macro to check for fatal errors.
3974         * gst/gstqueue.c: (gst_queue_chain):
3975         Return proper GstFlowReturn values,
3977 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3979         * docs/gst/gstreamer-sections.txt:
3980         * docs/gst/gstreamer.types:
3981         * docs/gst/tmpl/gst.sgml:
3982         * docs/gst/tmpl/gstbasesink.sgml:
3983         * docs/gst/tmpl/gstbasesrc.sgml:
3984         * docs/gst/tmpl/gstbasetransform.sgml:
3985         * docs/gst/tmpl/gstbin.sgml:
3986         * docs/gst/tmpl/gstbuffer.sgml:
3987         * docs/gst/tmpl/gstcaps.sgml:
3988         * docs/gst/tmpl/gstclock.sgml:
3989         * docs/gst/tmpl/gstcompat.sgml:
3990         * docs/gst/tmpl/gstconfig.sgml:
3991         * docs/gst/tmpl/gstelement.sgml:
3992         * docs/gst/tmpl/gstelementdetails.sgml:
3993         * docs/gst/tmpl/gstelementfactory.sgml:
3994         * docs/gst/tmpl/gstenumtypes.sgml:
3995         * docs/gst/tmpl/gsterror.sgml:
3996         * docs/gst/tmpl/gstevent.sgml:
3997         * docs/gst/tmpl/gstfakesink.sgml:
3998         * docs/gst/tmpl/gstfakesrc.sgml:
3999         * docs/gst/tmpl/gstfilesink.sgml:
4000         * docs/gst/tmpl/gstfilesrc.sgml:
4001         * docs/gst/tmpl/gstfilter.sgml:
4002         * docs/gst/tmpl/gstformat.sgml:
4003         * docs/gst/tmpl/gstghostpad.sgml:
4004         * docs/gst/tmpl/gstimplementsinterface.sgml:
4005         * docs/gst/tmpl/gstindex.sgml:
4006         * docs/gst/tmpl/gstindexfactory.sgml:
4007         * docs/gst/tmpl/gstinfo.sgml:
4008         * docs/gst/tmpl/gstiterator.sgml:
4009         * docs/gst/tmpl/gstmacros.sgml:
4010         * docs/gst/tmpl/gstmemchunk.sgml:
4011         * docs/gst/tmpl/gstminiobject.sgml:
4012         * docs/gst/tmpl/gstobject.sgml:
4013         * docs/gst/tmpl/gstpad.sgml:
4014         * docs/gst/tmpl/gstpadtemplate.sgml:
4015         * docs/gst/tmpl/gstparse.sgml:
4016         * docs/gst/tmpl/gstpipeline.sgml:
4017         * docs/gst/tmpl/gstplugin.sgml:
4018         * docs/gst/tmpl/gstpluginfeature.sgml:
4019         * docs/gst/tmpl/gstquery.sgml:
4020         * docs/gst/tmpl/gstqueue.sgml:
4021         * docs/gst/tmpl/gstregistry.sgml:
4022         * docs/gst/tmpl/gstregistrypool.sgml:
4023         * docs/gst/tmpl/gstscheduler.sgml:
4024         * docs/gst/tmpl/gstschedulerfactory.sgml:
4025         * docs/gst/tmpl/gststructure.sgml:
4026         * docs/gst/tmpl/gstsystemclock.sgml:
4027         * docs/gst/tmpl/gsttaglist.sgml:
4028         * docs/gst/tmpl/gsttagsetter.sgml:
4029         * docs/gst/tmpl/gsttrace.sgml:
4030         * docs/gst/tmpl/gsttrashstack.sgml:
4031         * docs/gst/tmpl/gsttypefind.sgml:
4032         * docs/gst/tmpl/gsttypefindfactory.sgml:
4033         * docs/gst/tmpl/gsttypes.sgml:
4034         * docs/gst/tmpl/gsturihandler.sgml:
4035         * docs/gst/tmpl/gsturitype.sgml:
4036         * docs/gst/tmpl/gstutils.sgml:
4037         * docs/gst/tmpl/gstvalue.sgml:
4038         * docs/gst/tmpl/gstversion.sgml:
4039         * docs/gst/tmpl/gstxml.sgml:
4040         * docs/libs/tmpl/gstcontrol.sgml:
4041         * docs/libs/tmpl/gstdataprotocol.sgml:
4042         * docs/libs/tmpl/gstdparam.sgml:
4043         * docs/libs/tmpl/gstdplinint.sgml:
4044         * docs/libs/tmpl/gstdpman.sgml:
4045         * docs/libs/tmpl/gstdpsmooth.sgml:
4046         * docs/libs/tmpl/gstgetbits.sgml:
4047         * docs/libs/tmpl/gstunitconvert.sgml:
4048         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4049         (gst_push_src_base_init), (gst_push_src_class_init),
4050         (gst_push_src_init), (gst_push_src_create):
4051         * gst/base/gstpushsrc.h:
4052         * gst/elements/gstelements.c:
4053         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4054         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4055         (gst_fake_sink_init), (gst_fake_sink_set_property),
4056         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4057         (gst_fake_sink_event), (gst_fake_sink_preroll),
4058         (gst_fake_sink_render), (gst_fake_sink_change_state):
4059         * gst/elements/gstfakesink.h:
4060         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4061         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4062         (gst_fake_src_base_init), (gst_fake_src_class_init),
4063         (gst_fake_src_init), (gst_fake_src_event_handler),
4064         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4065         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4066         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4067         (gst_fake_src_create_buffer), (gst_fake_src_create),
4068         (gst_fake_src_start), (gst_fake_src_stop):
4069         * gst/elements/gstfakesrc.h:
4070         * gst/elements/gstfilesink.c: (_do_init),
4071         (gst_file_sink_base_init), (gst_file_sink_class_init),
4072         (gst_file_sink_init), (gst_file_sink_dispose),
4073         (gst_file_sink_set_location), (gst_file_sink_set_property),
4074         (gst_file_sink_get_property), (gst_file_sink_open_file),
4075         (gst_file_sink_close_file), (gst_file_sink_query),
4076         (gst_file_sink_event), (gst_file_sink_render),
4077         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4078         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4079         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4080         * gst/elements/gstfilesink.h:
4081         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4082         (gst_file_src_class_init), (gst_file_src_init),
4083         (gst_file_src_finalize), (gst_file_src_set_location),
4084         (gst_file_src_set_property), (gst_file_src_get_property),
4085         (gst_file_src_map_region), (gst_file_src_map_small_region),
4086         (gst_file_src_create_mmap), (gst_file_src_create_read),
4087         (gst_file_src_create), (gst_file_src_is_seekable),
4088         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4089         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4090         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4091         (gst_file_src_uri_handler_init):
4092         * gst/elements/gstfilesrc.h:
4093           more autistic cleanliness in functions/names/defines
4095 2005-07-13  Andy Wingo  <wingo@pobox.com>
4097         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4098         source couldn't negotiate.
4100         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4101         connections again.
4103         * gst/gstutils.h:
4104         * gst/gstutils.c (gst_element_link_pads_filtered): New old
4105         function. I am channeling Hades. Put your boots on suckers!!!
4107 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4109         * testsuite/caps/Makefile.am:
4110         * testsuite/caps/value_compare.c:
4111         * testsuite/caps/value_intersect.c:
4112         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4113           move two testsuite apps over to the check dir
4115 2005-07-12  Wim Taymans  <wim@fluendo.com>
4117         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4118         Added more debug info in the negotiate process.
4120         * gst/gstmessage.h:
4121         Prepare for segment playback.
4123         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4124         Better debugging.
4126         * gst/gstutils.c:
4127         Some more docs.
4129         * tools/gst-launch.c: (main):
4130         NULL pipeline on errors.
4132 2005-07-12  Andy Wingo  <wingo@pobox.com>
4134         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4135         not it comes from a malloc region. Make sure our copy gets freed.
4137 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4139         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4140         * check/gst/gstmessage.c: (GST_START_TEST):
4141         * check/gst/gststructure.c: (GST_START_TEST),
4142         (gst_structure_suite), (main):
4143           more testing
4144         * gst/gstelement.c: (gst_element_message_full):
4145           clean up GError and debug string now that they get copied
4146         * gst/gstmessage.c: (gst_message_new_error),
4147         (gst_message_new_warning), (gst_message_parse_error),
4148         (gst_message_parse_warning):
4149           use GST_TYPE_G_ERROR for structure_new, and take copies of
4150           arguments, so that we don't mess up refcounting
4152 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4154         * check/Makefile.am:
4155           add per-test valgrind targets
4156         * check/gst-libs/gdp.c: (GST_START_TEST),
4157         (gst_data_protocol_suite), (main):
4158           clean up
4160 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4162         * check/Makefile.am:
4163           instate more valgrindable tests
4164         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4165         (GST_START_TEST), (fakesrc_suite):
4166         * check/gst/gstpad.c: (GST_START_TEST):
4167         * check/gst/gststructure.c: (GST_START_TEST):
4168           fix test leaks
4169         * docs/gst/tmpl/gstminiobject.sgml:
4170         * gst/gstpad.c: (gst_pad_finalize):
4171           fix the static mutex leak
4173 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4175         * check/Makefile.am:
4176           add two more tests for valgrinding
4177         * check/gst/gstvalue.c: (GST_START_TEST):
4178           test refcount of deserialized buffer, found a leak
4179         * docs/gst/gstreamer-docs.sgml:
4180         * docs/gst/gstreamer-sections.txt:
4181         * docs/gst/gstreamer.types:
4182         * docs/gst/tmpl/gstminiobject.sgml:
4183           add miniobject to docs
4184         * gst/gstminiobject.c:
4185           add some docs
4186         * gst/gstvalue.c: (gst_value_deserialize_buffer),
4187         (gst_string_unwrap):
4188           fix a hard-to-find invalid write for one of the tests
4189           fix a leak for deserialized buffers
4191 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4193         * docs/pwg/advanced-events.xml:
4194         * docs/pwg/advanced-request.xml:
4195         * docs/pwg/advanced-scheduling.xml:
4196         * docs/pwg/appendix-porting.xml:
4197         * docs/pwg/building-boiler.xml:
4198         * docs/pwg/intro-preface.xml:
4199         * docs/pwg/other-ntoone.xml:
4200           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4201           of example code and explanation for pad activation, loop() and
4202           getrange() functions and a bit more. Remove old comments pointing
4203           to loop-functions.
4204         * examples/pwg/Makefile.am:
4205           Add loop/getrange examples.
4207 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4209         * configure.ac:
4210           check for valgrind binary + some fixes
4211         * check/gst.supp:
4212           valgrind suppressions for the tests
4213         * check/Makefile.am:
4214           add a valgrind: target that valgrinds the unit tests
4215         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4216         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4217         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4218         * check/gst/gstghostpad.c:
4219           added some cleanup
4220         * check/gst/gstdata.c:
4221           removed
4222         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4223         (thread_unref), (gst_mini_object_suite), (main):
4224           added
4225         * gst/gst.c: (gst_deinit):
4226         * gst/gst.h:
4227           add a method to clean up.
4228         * gst/gstsystemclock.c: (gst_system_clock_dispose),
4229         (gst_system_clock_obtain):
4230           allow for disposing the system clock.
4231         * tools/gst-launch.c: (main):
4232           deinit
4234 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4236         * docs/gst/tmpl/gstbasesrc.sgml:
4237         * docs/gst/tmpl/gstfakesrc.sgml:
4238         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4239         (gst_base_src_init), (gst_base_src_set_property),
4240         (gst_base_src_get_property), (gst_base_src_get_range),
4241         (gst_base_src_start):
4242         * gst/base/gstbasesrc.h:
4243           add num-buffers property
4244         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4245         (gst_fakesrc_init), (gst_fakesrc_set_property),
4246         (gst_fakesrc_get_property), (gst_fakesrc_create),
4247         (gst_fakesrc_start):
4248           remove num-buffers property
4250 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4252         * docs/gst/gstreamer-sections.txt:
4253         * docs/gst/tmpl/gstbasesink.sgml:
4254         * docs/gst/tmpl/gstbasesrc.sgml:
4255         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4256         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4257         (gst_base_sink_finalize), (gst_base_sink_set_clock),
4258         (gst_base_sink_set_property), (gst_base_sink_get_property),
4259         (gst_base_sink_handle_object), (gst_base_sink_event),
4260         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4261         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4262         (gst_base_sink_loop), (gst_base_sink_deactivate),
4263         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4264         (gst_base_sink_change_state):
4265         * gst/base/gstbasesink.h:
4266         * gst/base/gstbasesrc.h:
4267         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4268         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4269         (gst_filesink_init):
4270           more macro splitting
4272 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4274         * gst/gstelement.c: (gst_element_get_bus):
4275           add debug
4276         * tools/gst-launch.c: (check_intr), (event_loop):
4277           fix bus leaks
4279 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4281         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4282           fix a caps leak
4284 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4286         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4287         (gst_base_src_finalize):
4288           add finalize method and clean up properly
4289         * gst/gstpipeline.c: (gst_pipeline_dispose):
4290           add debug
4292 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4294         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4295         (gst_bin_suite):
4296           add more things to check
4297         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4298         * gst/gstelement.c:
4299           more debug
4301 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4303         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4304         (GST_START_TEST), (fakesrc_suite):
4305         * check/gst-libs/gdp.c: (GST_START_TEST):
4306         * check/gst/gst.c: (GST_START_TEST):
4307         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4308         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4309         * check/gst/gstbus.c: (GST_START_TEST):
4310         * check/gst/gstcaps.c: (GST_START_TEST):
4311         * check/gst/gstdata.c: (GST_START_TEST):
4312         * check/gst/gstelement.c: (GST_START_TEST):
4313         * check/gst/gstghostpad.c: (GST_START_TEST):
4314         * check/gst/gstiterator.c: (GST_START_TEST):
4315         * check/gst/gstmessage.c: (GST_START_TEST):
4316         * check/gst/gstobject.c: (GST_START_TEST):
4317         * check/gst/gstpad.c: (GST_START_TEST):
4318         * check/gst/gststructure.c: (GST_START_TEST):
4319         * check/gst/gstsystemclock.c: (GST_START_TEST),
4320         (gst_systemclock_suite):
4321         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4322         * check/gst/gstvalue.c: (GST_START_TEST):
4323         * check/pipelines/cleanup.c: (GST_START_TEST):
4324         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4325         * check/states/sinks.c: (GST_START_TEST):
4326         * check/gstcheck.c: (gst_check_init):
4327         * check/gstcheck.h:
4328           add debugging category
4329           use GST_START_TEST now, so we add a debug line
4331 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4333         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4334           add test for state change message on a bin
4335         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4336           add another test
4337         * gst/gstbin.c: (gst_bin_init):
4338         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4339         * gst/gstelement.c: (gst_element_post_message),
4340         (gst_element_set_state):
4341         * gst/gstelementfactory.c: (gst_element_factory_create):
4342         * gst/gstmessage.c: (gst_message_new):
4343         * gst/gstscheduler.c:
4344           various debugging additions and cleanups
4346 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4348         * check/Makefile.am:
4349         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4350         (main):
4351           adding tests for elements
4352         * gst/gstelement.c: (gst_element_dispose):
4354 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4356         * gst/registries/gstlibxmlregistry.c: (load_feature):
4357           plug more leaks.  A simple gst_init() now is leakfree, yay.
4359 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4361         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4362         (gst_xml_registry_load):
4363           plug another memleak
4365 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4367         * configure.ac:
4368           use GST_SET_ERROR_CFLAGS
4369         * docs/faq/cvs.xml:
4370           change to ERROR_CFLAGS
4372 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4374         * configure.ac:
4375           make GST_ERROR_CFLAGS overridable and re-enable Werror
4376         * docs/faq/cvs.xml:
4377           add a note about error CFLAGS
4378         * docs/gst/tmpl/gstfakesrc.sgml:
4379         * gst/elements/gstfakesrc.c:
4380           comment out some unused code
4381         * gst/gst.c: (split_and_iterate):
4382         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4383         (load_feature):
4384           plug some memleaks
4386 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4388         * common/Makefile.am:
4389         * common/gtk-doc.mak:
4390         * docs/gst/Makefile.am:
4391           factor out gtk-doc.mak
4393 2005-07-07  Wim Taymans  <wim@fluendo.com>
4395         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4396         (gst_thread_scheduler_dispose):
4397         Unlock the STREAM_LOCK completely.
4399 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4401         * check/Makefile.am:
4402         * check/elements/.cvsignore:
4403         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4404         (START_TEST), (fakesrc_suite), (main):
4405         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4406         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4407         (gst_fakesrc_create), (gst_fakesrc_start):
4408         * gst/elements/gstfakesrc.h:
4409           adding a first element test
4411 2005-07-07  Andy Wingo  <wingo@pobox.com>
4413         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4414         debug message.
4416 2005-07-07  Wim Taymans  <wim@fluendo.com>
4418         * gst/gstquery.c:
4419         * gst/gstquery.h:
4420         Remove old types
4422 2005-07-07  Wim Taymans  <wim@fluendo.com>
4424         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4425         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4426         Allow subclasses to implement their own negotiation.
4428 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4430         * docs/design/part-gstbin.txt:
4431         * docs/design/part-gstpipeline.txt:
4432           Update design notes to reflect the movement of
4433           responsibility for bus handling from GstPipeline to
4434           GstBin
4436 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4438         * configure.ac:
4439           Remove unnecessary queue2/3/4 examples.
4441 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4443         * examples/Makefile.am:
4444         * examples/helloworld/helloworld.c: (event_loop), (main):
4445         * examples/queue/queue.c: (event_loop), (main):
4446         * examples/queue2/queue2.c: (main):
4447           Update a couple of the examples to work again.
4449         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4450         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4451          Spelling corrections and extra debug.
4452         
4453         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4454         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4455         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4456         * gst/gstbin.h:
4457         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4458         (gst_pipeline_change_state):
4459         * gst/gstpipeline.h:
4460           Move the bus handler for children to the GstBin, and create a
4461           separate bus for receiving messages from children to the one the
4462           bus sends 'upwards' on.
4464 2005-07-06  Wim Taymans  <wim@fluendo.com>
4466         * gst/base/README:
4467         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4468         (gst_base_sink_handle_object), (gst_base_sink_loop),
4469         (gst_base_sink_change_state):
4470         * gst/base/gstbasesink.h:
4471         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4472         (gst_base_src_init), (gst_base_src_setcaps),
4473         (gst_base_src_getcaps), (gst_base_src_loop),
4474         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4475         (gst_base_src_start), (gst_base_src_change_state):
4476         * gst/base/gstbasesrc.h:
4477         Make basesrc negotiate.
4478         Handle the case where preroll fails in basesink.
4479         Update README.
4481 2005-07-06  Wim Taymans  <wim@fluendo.com>
4483         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4484         Implement the fixate function.
4485         Clean up acceptcaps.
4487 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4489         * docs/pwg/building-filterfactory.xml:
4490         * docs/pwg/pwg.xml:
4491           Remove never-written filter-factory chapter; I'll add the various
4492           base classes to part 4 ("other element types") later on.
4494 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4496         * docs/pwg/advanced-negotiation.xml:
4497         * docs/pwg/building-boiler.xml:
4498         * docs/pwg/building-pads.xml:
4499         * docs/pwg/pwg.xml:
4500         * examples/pwg/Makefile.am:
4501           Add a chapter on caps negotiation, simplify the original code
4502           samples a bit w.r.t. caps negotiation, add link to the advanced
4503           section. Add a bunch of examples showing different use cases of
4504           different types of caps negotiation. Upstream renegotiation isn't
4505           fully documented yet since nobody knows how that works.
4507 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4509         * check/gst/gstpad.c:
4510         * check/gstcheck.c:
4511         * gst/gstpad.c: (gst_pad_get_internal_links_default):
4512           if pad has no parent, return NULL as list of internal links
4514 2005-07-05  Andy Wingo  <wingo@pobox.com>
4516         * gst/elements/gstfilesrc.c:
4517         * gst/elements/gstfakesrc.c: 
4518         * gst/base/gstpushsrc.c:
4519         * gst/base/gstbasesrc.h: 
4520         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4521         
4522 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
4524         * Makefile.am:
4525           better report generation target (lcov needs a patch)
4527 2005-07-05  Andy Wingo  <wingo@pobox.com>
4529         * gst/elements, testsuite: Null if we got it...
4531 2005-07-05  Wim Taymans  <wim@fluendo.com>
4533         * configure.ac:
4534         * libs/gst/dataprotocol/Makefile.am:
4535         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4536         * libs/gst/dataprotocol/dataprotocol.h:
4537         * pkgconfig/Makefile.am:
4538         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4539         * pkgconfig/gstreamer-dataprotocol.pc.in:
4540         Ported dataprotol to 0.9. 
4541         Added pkgconfig files.
4543 2005-07-05  Andy Wingo  <wingo@pobox.com>
4545         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4546         Default to returning TRUE for the case when tranform_caps returns
4547         a fixed caps, like for identity or volume.
4549         * check/gst/gstbus.c (pound_bus_with_messages): 
4550         * check/gst/gstmessage.c (START_TEST): 
4551         * check/pipelines/simple_launch_lines.c (got_handoff): Application
4552         message API change.
4554         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4555         logic weaks here: always run transform_caps, trying passthrough
4556         operation only if the original caps intersects with the transform.
4558         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4559         source and sink caps.
4561         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4562         Intersect the peer caps with the pad template before going into
4563         transform_caps.
4564         (gst_base_transform_transform_caps): More debugging.
4566         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4567         src argument.
4569 2005-07-04  Edward Hervey  <edward@fluendo.com>
4571         * gst/gstutils.c:
4572         * gst/gstutils.h:
4573         (gst_pad_add_*_probe): now returns the signal id for better wrapping
4574         in bindings.
4576 2005-07-04  Andy Wingo  <wingo@pobox.com>
4578         * check/gst/gstpad.c: Only set explicit caps on pads.
4580 2005-07-01  Andy Wingo  <wingo@pobox.com>
4582         * tests/network-clock.scm: Commentary update.
4584         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4585         Didn't really make sense, not implementable with basetransform,
4586         etc.
4587         (gst_identity_transform): Unref inbuf via make_writable. Feeble
4588         attempt at implementing the sync property, needs an unlock method.
4590         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4591         New func, by default returns the same caps (the identity
4592         transformation).
4593         (gst_base_transform_getcaps): Uses transform_caps to return
4594         something sensible.
4595         (gst_base_transform_setcaps): Complicated logic to get caps on
4596         both pads, even if they are different, and to call set_caps once
4597         for every time both pads get their caps set.
4598         (gst_base_transform_handle_buffer): Give the ref to the transform
4599         function. Allows in-place modification of the buffer.
4601         * gst/base/gstbasetransform.h (transform_caps): New class method.
4602         Given caps on one side, what can I do on the other.
4603         (set_caps): Take two caps, one for each side of the element.
4605         * gst/gstpad.h:
4606         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4607         caps in place. This is safe because we can check the mutability of
4608         the caps, and a good idea because fixate functions are just called
4609         as a matter of last resort. (Not actually implemented.)
4610         (gst_pad_set_caps): If the caps we're setting is actually the same
4611         as the existing pad caps, just update the pointer without calling
4612         setcaps. Assert that caps is either NULL or fixed, as per the
4613         docs.
4615         * gst/gstghostpad.c: Update for fixate changes.
4617 2005-07-02  Andy Wingo  <wingo@pobox.com>
4619         * gst/gstcaps.c:
4620         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4621         two refcounts makes it immutable, which is enough. Doc more.
4623 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
4625         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4626           Put the mini_object into GValue as a mini_object,
4627           not a gpointer, since that's how we declared
4628           the signal.
4630 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4632         * examples/pwg/Makefile.am:
4633           Fix buildbot again.
4635 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4637         * docs/pwg/building-testapp.xml:
4638           Add extra check.
4639         * examples/pwg/Makefile.am:
4640           Fix buildbot.
4642 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4644         * configure.ac:
4645         * examples/Makefile.am:
4646         * examples/pwg/Makefile.am:
4647         * examples/pwg/extract.pl:
4648           Enable building the PWG examples.
4649         * docs/pwg/advanced-interfaces.xml:
4650           Add URI interface stub.
4651         * docs/pwg/advanced-types.xml:
4652         * docs/pwg/other-autoplugger.xml:
4653         * docs/pwg/appendix-porting.xml:
4654         * docs/pwg/pwg.xml:
4655           Add porting guide (mostly stubs), remove autoplugging (see ADM).
4656         * docs/pwg/building-boiler.xml:
4657         * docs/pwg/building-chainfn.xml:
4658         * docs/pwg/building-pads.xml:
4659         * docs/pwg/building-props.xml:
4660         * docs/pwg/building-state.xml:
4661         * docs/pwg/building-testapp.xml:
4662           Update the building-*.xml parts for 0.9 changes. All examples
4663           code blocks compile in examples/pwg/*.
4665 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4667         * docs/manual/advanced-autoplugging.xml:
4668         * docs/manual/appendix-checklist.xml:
4669         * docs/manual/appendix-integration.xml:
4670         * docs/manual/highlevel-components.xml:
4671           Fix playbin/decodebin examples, update docs a bit, mention bus
4672           instead of signals in various places, mention kmplayer and
4673           kaffeine since they have a working GStreamer backend in the KDE
4674           section.
4676 2005-06-30  Wim Taymans  <wim@fluendo.com>
4678         * CHANGES-0.9:
4679         * docs/design/draft-ghostpads.txt:
4680         * docs/design/draft-push-pull.txt:
4681         * docs/design/draft-query.txt:
4682         * docs/design/part-TODO.txt:
4683         * docs/design/part-query.txt:
4684         Added CHANGES-0.9 doc, updated status of other docs.
4685         
4686         * gst/gstquery.h:
4687         Remove "hmm" macro
4689 2005-06-30  Wim Taymans  <wim@fluendo.com>
4691         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4692         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4693         (gst_base_sink_change_state):
4694         * gst/base/gstbasesink.h:
4695         Some tweaks, only EOS and a buffer complete a preroll.
4697 2005-06-30  Andy Wingo  <wingo@pobox.com>
4699         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4700         activate_push down to the internal pad as well.
4702 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
4704         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4706         * gst/gsttaginterface.c:
4707           Some documentation fixes (#307394 and #307397).
4709 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
4711         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4713         * gst/gstvalue.c: (gst_value_intersect_list):
4714           Fix memleak (#309125).
4716 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4718         * docs/manual/advanced-dataaccess.xml:
4719           Fix fakesrc example to compile; doesn't work, bug somewhere...?
4720         * docs/manual/basics-pads.xml:
4721           Add reference for filtered caps to above chapter.
4723 2005-06-30  Wim Taymans  <wim@fluendo.com>
4725         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4726         (gst_bin_change_state):
4727         Probes are gone.
4728         Lame attempt at making the state change function a bit
4729         more readable.
4731 2005-06-30  Wim Taymans  <wim@fluendo.com>
4733         * docs/design/part-clocks.txt:
4734         * docs/design/part-element-sink.txt:
4735         * docs/design/part-events.txt:
4736         * docs/design/part-preroll.txt:
4737         * docs/design/part-states.txt:
4738         Some more tweeks and additions to the docs.
4740 2005-06-30  Wim Taymans  <wim@fluendo.com>
4742         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4743         (default_have_data), (gst_pad_class_init), (gst_pad_init),
4744         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4745         (gst_pad_check_pull_range), (gst_pad_get_range),
4746         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4747         * gst/gstpad.h:
4748         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4749         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4750         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4751         (gst_pad_remove_buffer_probe):
4752         Removed atomic operations, use existing LOCK.
4753         Move exception handling out of main code path.
4755 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4757         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4758         (silly_return_true_function), (gst_pad_class_init),
4759         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4760         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4761         (gst_pad_send_event):
4762           Fix accumulator, add default value by using _emitv() instead
4763           of _emit() for signal emission.
4765 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4767         * docs/manual/advanced-dataaccess.xml:
4768         * examples/manual/Makefile.am:
4769           Add probe example.
4770         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4771           Make work (??).
4773 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
4775         * gst/elements/gstfilesink.c: (gst_filesink_render):
4776           Simplify code so that we don't have to handle short
4777           writes and return GST_FLOW_ERROR if an error occured.
4779 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4781         * docs/gst/gstreamer-docs.sgml:
4782           Remove probes more.
4784 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4786         * docs/gst/gstreamer-sections.txt:
4787         * docs/gst/tmpl/gstpad.sgml:
4788         * docs/gst/tmpl/gstprobe.sgml:
4789         * gst/Makefile.am:
4790         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4791         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4792         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4793         (gst_pad_push_event), (gst_pad_send_event):
4794         * gst/gstpad.h:
4795         * gst/gstutils.c: (gst_pad_add_data_probe),
4796         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4797         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4798         (gst_pad_remove_buffer_probe):
4799         * gst/gstutils.h:
4800           Remove old probes, add new g-signal-based probes and some utility
4801           functions.
4803 2005-06-29  Edward Hervey  <edward@fluendo.com>
4805         * gst/gstelementfactory.c:
4806         * gst/gstutils.h:
4807         * gst/gstutils.c:
4808         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4809         the definition to the header file.
4811 2005-06-29  Andy Wingo  <wingo@pobox.com>
4813         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4814         plugins from the source directory.
4816 2005-06-29  Wim Taymans  <wim@fluendo.com>
4818         * docs/gst/tmpl/gstbuffer.sgml:
4819         * docs/gst/tmpl/gstclock.sgml:
4820         Some fixings for blantently wrong text.
4822 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4824         * check/Makefile.am:
4825         * gst/gst.c: (add_path_func), (init_pre):
4826         * gst/gstregistry.c: (gst_registry_add_path):
4827           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4828           only scan the GST_PLUGIN_PATH locations, and not add
4829           system locations
4831 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4833         * docs/gst/gstreamer-sections.txt:
4834         * docs/gst/tmpl/gstbasesrc.sgml:
4835         * gst/gstelement.c:
4836         * gst/gstelement.h:
4837         * gst/gstevent.c:
4838         * gst/gstutils.c:
4839           doc fixes
4841 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4843         * docs/manual/advanced-autoplugging.xml:
4844           Fix autoplugging example.
4846 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4848         * docs/manual/advanced-autoplugging.xml:
4849         * docs/manual/mime-world.fig:
4850           Try to get autoplugging working, fix type detection. Fix text
4851           in hello-world image.
4853 2005-06-29  Wim Taymans  <wim@fluendo.com>
4855         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4856         (gst_base_sink_change_state):
4857         Small debug line.
4859         * gst/gstclock.h:
4860         map SIGNAL and BROADCAST to the right function.
4862         * gst/gstobject.h:
4863         Remove redundant braces.
4865         * gst/gstpad.c: (gst_pad_set_caps):
4866         Don't call setcaps function when reseting caps to NULL.
4868         * gst/gstsystemclock.c: (gst_system_clock_dispose),
4869         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
4870         (gst_system_clock_id_unschedule):
4871         Use BROADCAST as this is what we do.
4873 2005-06-29  Wim Taymans  <wim@fluendo.com>
4875         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4876         We are actually prerolling before commiting the state
4877         change. 
4879 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4881         * docs/manual/advanced-clocks.xml:
4882         * docs/manual/advanced-interfaces.xml:
4883         * docs/manual/advanced-metadata.xml:
4884         * docs/manual/advanced-position.xml:
4885         * docs/manual/advanced-schedulers.xml:
4886         * docs/manual/advanced-threads.xml:
4887         * docs/manual/appendix-porting.xml:
4888         * docs/manual/basics-bins.xml:
4889         * docs/manual/basics-bus.xml:
4890         * docs/manual/basics-elements.xml:
4891         * docs/manual/basics-helloworld.xml:
4892         * docs/manual/basics-pads.xml:
4893         * docs/manual/highlevel-components.xml:
4894         * docs/manual/manual.xml:
4895         * docs/manual/thread.fig:
4896           Update (until threads/scheduling) Application Development Manual;
4897           remove GstThread, add GstBus, add simple porting checklist, add
4898           documentation for tag writing, clocks, make all examples until this
4899           part compile and run.
4900         * examples/manual/Makefile.am:
4901           Update from changes to Application Development Manual; add bus
4902           example, remove thread example.
4904 2005-06-28  Wim Taymans  <wim@fluendo.com>
4906         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
4907         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
4908         (gst_bus_source_dispatch):
4909         Add debugging messages.
4910         Make internal methods static.
4911         Handle the case where the bus is flushed in the handler.
4912         
4913         * gst/gstelement.c: (gst_element_get_bus):
4914         Fix refcount in _get_bus();
4916         * gst/gstpipeline.c: (gst_pipeline_change_state),
4917         (gst_pipeline_get_clock_func):
4918         Clock refcounting fixes.
4919         Handle the case where preroll timed out more gracefully.
4920         
4921         * gst/gstsystemclock.c: (gst_system_clock_dispose):
4922         Clean up the internal thread in dispose. This is needed
4923         for subclasses that actually get disposed.
4924         
4925         * gst/schedulers/threadscheduler.c:
4926         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4927         (gst_thread_scheduler_dispose):
4928         Free thread pool in dispose.
4930 2005-06-28  Andy Wingo  <wingo@pobox.com>
4932         * tests/network-clock-utils.scm (debug, print-event): New utils.
4934         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
4935         (*packet-loss*): Unified loss probability.
4936         (network-time): Report out-of-band events.
4938         * tests/plot-data: Add support for out-of-band events. Hack it
4939         into this script instead of passing it down the pipe; should fix
4940         this later.
4942 2005-06-28  Wim Taymans  <wim@fluendo.com>
4944         * docs/gst/gstreamer.types:
4945         * docs/gst/tmpl/gstbasesrc.sgml:
4946         * docs/gst/tmpl/gstpad.sgml:
4947         Docs fixes.
4949 2005-06-28  Wim Taymans  <wim@fluendo.com>
4951         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4952         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
4953         (gst_proxy_pad_do_fixatecaps):
4954         Correctly proxy the check_pull_range function.
4956 2005-06-28  Andy Wingo  <wingo@pobox.com>
4958         * tests/network-clock.scm: Removed need for slib.
4959         
4960 2005-06-28  Wim Taymans  <wim@fluendo.com>
4962         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
4963         (gst_basesink_preroll_queue_flush):
4964         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
4965         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
4966         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4967         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4968         (gst_proxy_pad_set_property):
4969         * gst/gstpad.c:
4970         * gst/gstpad.h:
4971         * gst/gstqueue.c: (gst_queue_init):
4972         The deprecated pad loop function is removed now.
4974 2005-06-28  Andy Wingo  <wingo@pobox.com>
4976         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
4977         New parameters, simulate network packet loss.
4979         * tests/network-clock-utils.scm: Initialize the RNG.
4981 2005-06-28  Wim Taymans  <wim@fluendo.com>
4983         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
4984         (gst_basesink_event), (gst_basesink_deactivate):
4985         Flushing the preroll queue always needs to unlock the waiters.
4987 2005-06-28  Edward Hervey  <edward@fluendo.com>
4989         * gst/gstpipeline.c: (gst_pipeline_send_event): 
4990         Wheen a seek was successful on a pipeline, set the stream_time to the
4991         seek offset in order to have a synchronized stream_time.
4993 2005-06-28  Wim Taymans  <wim@fluendo.com>
4995         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4996         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4997         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
4998         (gst_proxy_pad_do_fixatecaps):
4999         Call wrapper function instead of just calling the function
5000         pointers. This takes care of any locking and whatmore.
5002 2005-06-28  Wim Taymans  <wim@fluendo.com>
5004         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5005         (gst_pad_pull_range):
5006         * gst/gstpad.h:
5007         CONNECTED -> LINKED.
5009 2005-06-28  Andy Wingo  <wingo@pobox.com>
5011         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5012         source-munging commit!!!
5014         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
5015         (gst_object_sink): Take gpointer arguments, not GstObject --
5016         avoids casts. Like GLib.
5018         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5019         activate.
5021 2005-06-27  Andy Wingo  <wingo@pobox.com>
5023         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5024         remaining buffer.
5026         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5027         returns a sorted copy of the trace list.
5028         (gst_alloc_trace_print_live): New API, only prints traces with
5029         live objects. Sort the list.
5030         (gst_alloc_trace_print_all): Sort the list.
5031         (gst_alloc_trace_print): Align columns.
5033         * gst/elements/gstttypefindelement.c:
5034         * gst/elements/gsttee.c:
5035         * gst/base/gstbasesrc.c:
5036         * gst/base/gstbasesink.c:
5037         * gst/base/gstbasetransform.c:
5038         * gst/gstqueue.c: Adapt for pad activation changes.
5040         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5041         sched.
5042         (gst_pipeline_dispose): Drop ref on sched.
5044         * gst/gstpad.c (gst_pad_init): Set the default activate func.
5045         (gst_pad_activate_default): Push mode by default.
5046         (pre_activate_switch, post_activate_switch): New stubs, things to
5047         do before and after switching activation modes on pads.
5048         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5049         the pad's activate function to choose which mode to activate.
5050         Shortcut on deactivation and call the right function directly.
5051         (gst_pad_activate_pull): New API, (de)activates a pad in pull
5052         mode.
5053         (gst_pad_activate_push): New API, same for push mode.
5054         (gst_pad_set_activate_function) 
5055         (gst_pad_set_activatepull_function) 
5056         (gst_pad_set_activatepush_function): Setters for new API.
5058         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5059         Trace all miniobjects.
5060         (gst_mini_object_make_writable): Unref the arg if we copy, like
5061         gst_caps_make_writable.
5063         * gst/gstmessage.c (_gst_message_initialize): No trace init.
5065         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
5066         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5067         Adapt for new pad API.
5069         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5071         * gst/gstelement.h:
5072         * gst/gstelement.c (gst_element_iterate_src_pads) 
5073         (gst_element_iterate_sink_pads): New API functions.
5074         
5075         * gst/gstelement.c (iterator_fold_with_resync): New utility,
5076         should fold into gstiterator.c in some form.
5077         (gst_element_pads_activate): Simplified via use of fold and
5078         delegation of decisions to gstpad->activate.
5080         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5081         help in debugging.
5083         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5084         class once in init, like gstmessage. Didn't run into this issue
5085         but it seems correct. Don't initialize a trace, gstminiobject does
5086         that.
5088         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5089         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5090         to the bus.
5091         (assert_live_count): New util function, uses alloc traces to check
5092         cleanup.
5094         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5095         To be modified when unlink drops the internal pad.
5097 2005-06-27  Wim Taymans  <wim@fluendo.com>
5099         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5100         (gst_bin_change_state):
5101         Cleanup the get_state() function a little, make sure it
5102         iterates the same set of elements.
5103         Added stub iterate_state_order().
5105 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5107         * docs/gst/gstreamer-docs.sgml:
5108         * docs/gst/gstreamer-sections.txt:
5109         * docs/gst/gstreamer.types:
5110         * docs/gst/tmpl/gstbasesink.sgml:
5111         * docs/gst/tmpl/gstbasesrc.sgml:
5112         * docs/gst/tmpl/gstbasetransform.sgml:
5113         * docs/gst/tmpl/gstelement.sgml:
5114         * docs/gst/tmpl/gstiterator.sgml:
5115         * gst/base/gstbasesrc.c:
5116         * gst/base/gstbasesrc.h:
5117         * gst/base/gstbasetransform.h:
5118         * gst/gstelement.c:
5119         * gst/gstiterator.h:
5120           adding basetransform and iterator docs
5122 2005-06-27  Andy Wingo  <wingo@pobox.com>
5124         * docs/design/part-activation.txt: Notes on how activation should
5125         work -- not quite implemented yet.
5127 2005-06-25  Wim Taymans  <wim@fluendo.com>
5129         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5130         At least get the chain function correct, needs more
5131         fixing.
5133 2005-06-25  Wim Taymans  <wim@fluendo.com>
5135         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5136         (gst_basesink_handle_object), (gst_basesink_event),
5137         (gst_basesink_do_sync), (gst_basesink_handle_event),
5138         (gst_basesink_change_state):
5139         * gst/gsttask.h:
5140         Right, two problems here: ghostpads don't take locks and
5141         glib _rec_mutex_lock_full() with depth==0 still locks.
5142         Catch illegal locking and g_warn them.
5144 2005-06-25  Wim Taymans  <wim@fluendo.com>
5146         * check/states/sinks.c: (START_TEST), (gst_object_suite):
5147         Have to check for completion now...
5149 2005-06-25  Wim Taymans  <wim@fluendo.com>
5151         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5152         (gst_basesink_handle_object), (gst_basesink_event),
5153         (gst_basesink_do_sync), (gst_basesink_handle_event),
5154         (gst_basesink_change_state):
5155         * gst/gstpad.h:
5156         Unlock STREAM_LOCK whatever the recursion was.
5158 2005-06-25  Wim Taymans  <wim@fluendo.com>
5160         * gst/base/gstbasesink.c: (gst_basesink_set_property),
5161         (gst_basesink_preroll_queue_empty),
5162         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5163         (gst_basesink_event), (gst_basesink_do_sync),
5164         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5165         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5166         (gst_basesink_change_state):
5167         Reworked the base sink, handle event and buffer serialisation
5168         correctly and removed possible deadlock.
5169         Handle EOS correctly.
5171 2005-06-25  Wim Taymans  <wim@fluendo.com>
5173         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5174         (gst_pipeline_change_state):
5175         * tools/gst-launch.c: (check_intr), (event_loop), (main):
5176         Allow elements to post EOS in the state change function.
5177         Fix up -launch, make it exit the poll loop when the
5178         pipeline actually changed state.
5179         Fix up warning parsing in -launch.
5181 2005-06-25  Wim Taymans  <wim@fluendo.com>
5183         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5184         (gst_tee_sink_activate):
5185         Core takes STREAM_LOCK for us now.
5187 2005-06-25  Wim Taymans  <wim@fluendo.com>
5189         * gst/gstelement.c: (gst_element_get_state_func),
5190         (gst_element_set_state):
5191         * gst/gstelement.h:
5192         * gst/gstmessage.c: (gst_message_parse_error),
5193         (gst_message_parse_warning):
5194         Keep track of current target state while performing a state
5195         change so that subclasses can do something interesting.
5196         Fix parsing of warning/error messages when GError is NULL.
5198 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5200         * docs/gst/Makefile.am:
5201         * docs/gst/gstreamer-docs.sgml:
5202         * docs/gst/gstreamer-sections.txt:
5203         * docs/gst/gstreamer.types:
5204         * docs/gst/tmpl/gstbasesink.sgml:
5205         * docs/gst/tmpl/gstbasesrc.sgml:
5206         * docs/gst/tmpl/gstbin.sgml:
5207         * docs/gst/tmpl/gstcompat.sgml:
5208         * docs/gst/tmpl/gstfakesink.sgml:
5209         * docs/gst/tmpl/gstfakesrc.sgml:
5210         * docs/gst/tmpl/gstfilesink.sgml:
5211         * docs/gst/tmpl/gstfilesrc.sgml:
5212         * docs/gst/tmpl/gstindex.sgml:
5213         * docs/manual/appendix-quotes.xml:
5214         * gst/base/gstbasesrc.h:
5215         * gst/elements/gstfakesrc.h:
5216         * gst/gstmessage.h:
5217           start pulling in base classes and elements in our docs
5219 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
5221         * docs/gst/Makefile.am:
5222         * docs/libs/Makefile.am:
5223           fixed make distcheck with gtk-doc 1.3
5225 2005-06-23  Wim Taymans  <wim@fluendo.com>
5227         * gst/gstelement.c: (gst_element_get_state_func),
5228         (gst_element_set_state), (gst_element_change_state):
5229         When the state did not change, also report NO_PREROLL
5230         when it matters.
5232 2005-06-23  Wim Taymans  <wim@fluendo.com>
5234         * gst/gstpad.c: (gst_pad_event_default):
5235         * gst/gstqueue.c: (gst_queue_loop):
5236         No unsafe task pausing please.
5238 2005-06-23  Wim Taymans  <wim@fluendo.com>
5240         * gst/schedulers/threadscheduler.c:
5241         (gst_thread_scheduler_task_start),
5242         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5243         Ref the task before pushing it on the threadpool. This
5244         makes sure that we have a ref when the threadfunction is
5245         actually called.
5247 2005-06-23  Andy Wingo  <wingo@pobox.com>
5249         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5250         offset is greater than the file's size.
5252         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
5253         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5254         * gst/gstobject.c (gst_object_class_init): Make the class lock
5255         recursive. Wim won't let me drop deep_notify. Decodebin works
5256         again, whoopdy doo.
5258         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5259         internal pad, and hacks accordingly. Doesn't do it on the target
5260         pad because we change its caps. Probably catches all cases of
5261         interest tho.
5262         (gst_ghost_pad_set_property): Connect to notify::caps as
5263         appropritate.
5265         * tests/network-clock.scm (plot-simulation): Pipe data to the
5266         elite python skript.
5268         * tests/network-clock-utils.scm (define-parameter): New macro,
5269         defines a parameter that can be set via the command line.
5270         (set-parameter!, parse-parameter-arguments): Command line args
5271         parser.
5273         * tests/plot-data: Simple matplotlib-based plotter, takes input on
5274         stdin.
5276 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
5278         * gst/elements/gsttypefindelement.c:
5279         (gst_type_find_element_handle_event):
5280           Don't restart typefinding on a discont.
5281         * gst/gstelement.c: (gst_element_set_state):
5282           Debug spelling fix.
5283         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5284           Allow changing mode of an active pad.
5285           Debug output fixes.
5286         * gst/registries/gstlibxmlregistry.c: (load_feature):
5287           Don't cast a static pad template to a normal pad template.
5289 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5291         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5292         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5293           remove gst_strtoll completely, since it didn't actually do
5294           anything more than what g_ascii_strtoull already does.
5295           check for range errors when deserializing
5296           do a cast for the unsigned cases; but further fixing needs
5297           a decision on what the interpretation of "(int)" and
5298           deserialization should be for values that fall outside the
5299           type's boundaries (ie, refuse, or interpret as casting)
5301 2005-06-23  Wim Taymans  <wim@fluendo.com>
5303         * check/Makefile.am:
5304         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5305         * docs/design/part-live-source.txt:
5306         * docs/design/part-states.txt:
5307         * gst/base/gstbasesrc.c: (gst_basesrc_init),
5308         (gst_basesrc_set_live), (gst_basesrc_is_live),
5309         (gst_basesrc_get_range), (gst_basesrc_activate),
5310         (gst_basesrc_change_state):
5311         * gst/base/gstbasesrc.h:
5312         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5313         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5314         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5315         * gst/gstelement.c: (gst_element_get_state_func),
5316         (gst_element_set_state):
5317         * gst/gstelement.h:
5318         * gst/gsttypes.h:
5319         * tools/gst-launch.c: (event_loop), (main):
5320         Added support for live sources and other elements that
5321         cannot do preroll.
5322         Updated design docs, added live-source design doc.
5323         Implemented live source functionality in basesrc
5324         Fix error condition in _bin_get_state()
5325         Implement live source handling in -launch.
5326         Added check for live sources.
5327         Fixed case in GstBin where elements were changed state
5328         multiple times.
5331 2005-06-23  Andy Wingo  <wingo@pobox.com>
5333         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5334         borken refcounting.
5336         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5337         gst_caps_replace takes care of this for us.
5339         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5340         gst_pad_set_caps on the target, not just its setcaps() function.
5342         * tests/network-clock.scm: 
5343         * tests/network-clock-utils.scm: A network clock simulator.
5344         Something of an algorithmic testbed before doing something in C.
5346 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5348         * check/Makefile.am:
5349         * check/gst/capslist.h:
5350           copy over from 0.8, and add two with bitmasks specified with
5351           (int) 0xFF...
5352         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5353           add test to parse everything from capslist.h
5354         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5355         (main):
5356           add test for structure deserialization
5357         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5358           add tests for deserialization of strings to int types
5359         * gst/gststructure.c: (gst_structure_nth_field_name):
5360         * gst/gststructure.h:
5361           add a way to get the name of a field referenced by index
5362         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5363           instead of checking if the resulting long long lies between
5364           min and max, we check if the long long would fit into
5365           a number of bytes for the final type.
5366           This fixes cases where a string represents 2^32 - 1, which
5367           when cast to int would be the (valid) -1, but is bigger than
5368           G_MAXINT
5370 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5372         * gst/parse/grammar.y:
5373           add a log line for type deserialization
5375 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5377         * check/gst/gstvalue.c: (START_TEST):
5378         * gst/gstvalue.c: (gst_value_deserialize):
5379           return long long, not int, so gint64 deserialization actually
5380           works.  Is there any flag that makes the compiler check this ?
5381           Fixes #308559
5383 2005-06-22  Wim Taymans  <wim@fluendo.com>
5385         * gst/gstbuffer.h:
5386         Added convenience macros for setting buffers in GValue.
5388 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5390         * check/gst/.cvsignore:
5391         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5392           add a test deserializing int64, and comment part out because
5393           it fails, yay !
5395 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5397         * check/Makefile.am:
5398         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5399         * testsuite/Makefile.am:
5400         * testsuite/caps/Makefile.am:
5401         * testsuite/caps/value_serialize.c:
5402         * testsuite/test_gst_init.c:
5403           move a value_serialize test over
5405 2005-06-20  Wim Taymans  <wim@fluendo.com>
5407         * gst/gstpad.c:
5408         Small doc updates.
5409         
5410         * gst/gstvalue.c: (gst_value_compare_buffer),
5411         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5412         (gst_value_compare_flags), (gst_value_serialize_flags),
5413         (gst_value_deserialize_flags), (_gst_value_initialize):
5414         Fix serialisation of buffers, they are not boxed types anymore
5416 2005-06-20  Wim Taymans  <wim@fluendo.com>
5418         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5419         Testcase to show error in buffer-on-caps serialisation.
5421 2005-06-20  Andy Wingo  <wingo@pobox.com>
5423         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5424         will be adding to later.
5426         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5427         if its socks fill with rocks.
5428         (gst_system_clock_obtain): Set the name on object construction.
5429         Avoid double-checked locking.
5431 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
5433         * gst/gsturi.c: (gst_element_make_from_uri):
5434           Fix potential endless loop.
5436 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5438         * check/Makefile.am:
5439           add gsttag
5440         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5441         (main):
5442           move over from testsuite dir and clean up
5443         * configure.ac:
5444         * gst/gsttag.c:
5445         * testsuite/Makefile.am:
5446         * testsuite/tags/.cvsignore:
5447         * testsuite/tags/Makefile.am:
5448         * testsuite/tags/merge.c:
5449           remove testsuite/tags
5451 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5453         * docs/gst/gstreamer-sections.txt:
5454         * docs/gst/tmpl/gstenumtypes.sgml:
5455         * win32/gstenumtypes.c:
5456           clean up documentation build a little
5458 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5460         * check/gstcheck.h:
5461           add macros for checking refcounts on objects and caps
5462         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5463           add some more unit tests
5464         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5465         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5466           fix leaked refcounts (I hope :)) so unittest works
5467         * gst/gstpad.h:
5468           whitespace removal
5470 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5472         * configure.ac: back to HEAD
5474 === release 0.9.1 ===
5476 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5478         * NEWS:
5479         * RELEASE:
5480           updated
5482 2005-06-17  Andy Wingo  <wingo@pobox.com>
5484         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5485         assert; it's always possible that the pad gets deactivated in
5486         between the checks in gstpad.c and the implementation. Rely on
5487         finish_preroll() to return a FLUSHING or similar instead of on the
5488         assert.
5489         
5490         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5491         clock and post an EOS message if we come out of finish_preroll in
5492         the playing state.
5494 2005-06-16  David Schleef  <ds@schleef.org>
5496         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5497         (gst_capsfilter_set_property): Allow NULL as possible value
5498         for filter_caps property, indicating GST_CAPS_ANY.
5500 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5502         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5503           fix debug output
5504         * gst/schedulers/Makefile.am:
5505           use libgst prefix
5506         * gstreamer.spec.in:
5507           fix spec for it
5509 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5511         * gstreamer.spec.in:
5512           clean up
5514 2005-06-08  Andy Wingo  <wingo@pobox.com>
5516         * gst/gstutils.c: RPAD fixes all around.
5517         (gst_element_link_pads): Refcounting fixes.
5519         * tools/gst-inspect.c:
5520         * tools/gst-xmlinspect.c:
5521         * parse/grammar.y:
5522         * gst/base/gsttypefindhelper.c:
5523         * gst/base/gstbasesink.c:
5524         * gst/gstqueue.c: RPAD fixes.
5526         * gst/gstghostpad.h:
5527         * gst/gstghostpad.c: New ghost pad implementation as full proxy
5528         pads. The tricky thing is they provide both source and sink
5529         interfaces, since they proxy the internal pad for the external
5530         pad, and vice versa. Implement with lower-level ProxyPad objects,
5531         with the interior proxy pad as a child of the exterior ghost pad.
5532         Should write a doc on this.
5533         
5534         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5535         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5536         gst_object API.
5537         
5538         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5539         pads are real pads. No ghost pads in this file. Not documenting
5540         the myriad s/RPAD/PAD/ and REALIZE fixes.
5541         (gst_pad_class_init): Add properties for "direction" and
5542         "template". Both are construct-only, so they can't change during
5543         the life of the pad. Fixes properly deriving from GstPad.
5544         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5545         derived objects, just set properties when creating the objects via
5546         g_object_new.
5547         (gst_pad_get_parent): Implement as a function, return NULL if the
5548         parent is not an element.
5549         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5550         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5551         
5552         * gst/gstobject.c (gst_object_class_init): Make name a construct
5553         property. Don't set it in the object init.
5555         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5556         with UNKNOWN direction.
5557         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5558         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5559         (gst_element_remove_pad): Remove ghost-pad special cases.
5560         (gst_element_pads_activate): Remove rpad cruft.
5562         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5563         catch the pad's-parent-not-an-element case.
5565         * gst/gst.h: Include gstghostpad.h.
5567         * gst/gst.c (init_post): No more real, ghost pads.
5569         * gst/Makefile.am: Add gstghostpad.[ch].
5571         * check/Makefile.am:
5572         * check/gst/gstbin.c:
5573         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5574         into a bin creates ghost pads, and that the refcounts are right.
5575         Partly moved from gstbin.c.
5577 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5579         * check/gst-libs/.cvsignore:
5580         * check/gst/.cvsignore:
5581         * check/pipelines/.cvsignore:
5582           ignore more
5583         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5584         (START_TEST), (cleanup_suite), (main):
5585           add some tests related to cleanup after running pipelines
5587 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5589         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5590           add a testsuite for GstBuffer
5592 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5594         * gst/gstminiobject.h:
5595           add defines for accessing the refcount
5597 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
5599         * Makefile.am: added support for html unit test coverage reports
5601 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
5603         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5604           Free existing caps if the capsfilter changes. Add a FIXME about
5605           setting those caps on the pads.
5607         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5608           Before adding a ghost pad to a parent bin, check that there isn't
5609           already one for the element on the bin. Prevents infinite recursion
5610           when using decodebin in parse pipelines. Andy says he'll rewrite the
5611           way this works anyway, so ignore the hack.
5613 2005-06-02  Andy Wingo  <wingo@pobox.com>
5615         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5616         file size, pass it on to the type find helper.
5618         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5619         segment_start and segment_end properly according to the seek
5620         method. Segment_end is still a bit flaky because offset can be
5621         negative for CUR and END cases, but it takes -1 as an "unset"
5622         value.
5624 2005-06-02  Wim Taymans  <wim@fluendo.com>
5626         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5627         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5628         (gst_basesink_activate):
5629         * gst/base/gstbasesink.h:
5630         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5631         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5632         (gst_pad_query), (gst_pad_start_task):
5633         * gst/gstpad.h:
5634         * gst/gstqueue.c: (gst_queue_bufferalloc),
5635         (gst_queue_handle_sink_event), (gst_queue_chain):
5636         Bufferalloc: return GstFlowReturn to more accuratly report
5637         why allocation failed.
5639 2005-06-02  Wim Taymans  <wim@fluendo.com>
5641         * gst/gstpipeline.c: (gst_pipeline_send_event):
5642         Take snapshot of state without blocking.
5644 2005-06-02  Wim Taymans  <wim@fluendo.com>
5646         * docs/design/part-TODO.txt:
5647         * docs/design/part-caps.txt:
5648         * docs/design/part-clocks.txt:
5649         * docs/design/part-negotiation.txt:
5650         * docs/design/part-preroll.txt:
5651         Small doc updates 
5653 2005-05-30  Wim Taymans  <wim@fluendo.com>
5655         * gst/elements/gstidentity.c: (gst_identity_event),
5656         (gst_identity_transform), (gst_identity_get_property):
5657         Protect last_message property as it is accessed from
5658         multiple threads.
5660 2005-05-30  Wim Taymans  <wim@fluendo.com>
5662         * gst/gstelement.c: (gst_element_init),
5663         (gst_element_pads_activate), (gst_element_change_state):
5664         Slicker pad activation code.
5666 2005-05-30  Wim Taymans  <wim@fluendo.com>
5668         * gst/Makefile.am:
5669         * gst/gstelement.h:
5670         * gst/gstelementfactory.h:
5671         * gst/gsttypes.h:
5672         Move elementfactory methods to separate .h file.
5674 2005-05-30  Wim Taymans  <wim@fluendo.com>
5676         * docs/design/part-overview.txt:
5677         * gst/gstsystemclock.h:
5678         Small typo fixes, doc updates.
5680 2005-05-30  Wim Taymans  <wim@fluendo.com>
5682         * gst/gst.c: (gst_init_get_popt_table), (init_post),
5683         (init_popt_callback):
5684         Remove cpu-opt flag.
5686 2005-05-30  Wim Taymans  <wim@fluendo.com>
5688         * gst/gstbuffer.c: (gst_subbuffer_finalize),
5689         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5690         * gst/gstbuffer.h:
5691         Avoid typechecking in places where not needed.
5692         Added accessor for malloc_data.
5694 2005-05-30  Wim Taymans  <wim@fluendo.com>
5696         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5697         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5698         (gst_pad_configure_sink), (gst_pad_configure_src),
5699         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5700         (gst_pad_start_task):
5701         Propagate errors from _set_caps() in configure_src/sink
5702         functions instead of returning TRUE.
5703         FLUSH events can travel up and downstream
5706 2005-05-30  Wim Taymans  <wim@fluendo.com>
5708         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5709         (gst_basesink_activate):
5710         Handle EOS in preroll.
5712 2005-05-30  Wim Taymans  <wim@fluendo.com>
5714         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5715         (gst_queue_loop), (gst_queue_handle_src_event):
5716         Remove old pieces of code
5717         Flushing the queue in an upstream event is a very bad idea.
5719 2005-05-26  Andy Wingo  <wingo@pobox.com>
5721         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5722         gst_value_set_mini_object so as to add a ref on the object (which
5723         will be removed when the value is unset).
5725         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5726         arg type in ::handoff.
5728         * gst/gstelement.c (gst_element_change_state): Also deactivate
5729         pads in READY->NULL, just in case the element didn't make it to
5730         PAUSED. Wingo tested, Wim approved.
5732 2005-05-26  Wim Taymans  <wim@fluendo.com>
5734         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5735         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5736         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5737         A flushing pad cannot be used to alloc_buffer from.
5739 2005-05-26  Wim Taymans  <wim@fluendo.com>
5741         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5742         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5743         (gst_bus_source_dispatch), (gst_bus_source_finalize),
5744         (gst_bus_create_watch), (gst_bus_add_watch_full):
5745         * gst/gstbus.h:
5746         Implement a real GSource and use g_main_context_wakeup() to
5747         signal new messages instead of the socketpair.
5749 2005-05-25  Wim Taymans  <wim@fluendo.com>
5751         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5752         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5753         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5754         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5755         (gst_pad_send_event), (gst_pad_start_task):
5756         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5757         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5758         (gst_queue_sink_activate), (gst_queue_src_activate),
5759         (gst_queue_change_state):
5760         * gst/gstqueue.h:
5761         Fix state changes for non sinks. We now change sinks, then elements
5762         with unconnected srcpads, then the rest.
5763         More efficient queue unlocking in flush and state changes.
5764         Set the pad activate mode even if it does not have an activate
5765         function.
5767 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5769         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5770           Don't go in pull mode for non-seekable sources.
5771         * gst/elements/gsttypefindelement.h:
5772         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5773         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5774         (free_entry), (stop_typefinding),
5775         (gst_type_find_element_handle_event), (find_peek),
5776         (gst_type_find_element_chain), (do_pull_typefind),
5777         (gst_type_find_element_change_state):
5778           Allow typefinding (w/o seeking) in push-mode, simplified version
5779           of what was in 0.8.
5780         * gst/gstutils.c: (gst_buffer_join):
5781         * gst/gstutils.h:
5782           gst_buffer_join() from 0.8.
5784 2005-05-25  Wim Taymans  <wim@fluendo.com>
5786         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5787         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5788         (gst_pad_send_event), (gst_pad_start_task):
5789         Disable attempt at mode switching until it is figured out.
5791 2005-05-25  Wim Taymans  <wim@fluendo.com>
5793         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5794         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5795         (gst_basesink_finish_preroll), (gst_basesink_chain),
5796         (gst_basesink_loop), (gst_basesink_activate),
5797         (gst_basesink_change_state):
5798         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5799         (gst_basesrc_get_range), (gst_basesrc_loop),
5800         (gst_basesrc_activate):
5801         * gst/elements/gsttee.c: (gst_tee_sink_activate):
5802         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5803         (gst_real_pad_init), (gst_real_pad_set_property),
5804         (gst_real_pad_get_property), (gst_pad_set_active),
5805         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5806         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5807         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5808         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5809         (gst_pad_event_default_dispatch), (gst_pad_event_default),
5810         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5811         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5812         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5813         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5814         (gst_pad_stop_task):
5815         * gst/gstpad.h:
5816         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5817         (gst_queue_loop), (gst_queue_src_activate):
5818         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5819         (gst_task_get_state):
5820         * gst/gsttask.h:
5821         * gst/schedulers/threadscheduler.c:
5822         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5823         Implement gst_pad_pause/start/stop_task(), take STREAM lock
5824         in task function.
5825         Remove ACTIVE pad flag, use FLUSHING everywhere
5826         Added _pad_chain(), _pad_get_range() to call chain/getrange 
5827         functions.
5828         Add locks around IS_FLUSHING when reading.
5829         Take STREAM lock in chain(), get_range() functions so plugins
5830         don't need to take it anymore.
5831         
5834 2005-05-25  Wim Taymans  <wim@fluendo.com>
5836         * tools/gst-launch.c: (event_loop):
5837         Unref message after using its contents instead of
5838         before.
5840 2005-05-24  Wim Taymans  <wim@fluendo.com>
5842         * docs/design/draft-ghostpads.txt:
5843         * docs/design/draft-push-pull.txt:
5844         * docs/design/draft-query.txt:
5845         * docs/design/part-overview.txt:
5846         Docs updates, added general overview doc.
5848 2005-05-21  David Schleef  <ds@schleef.org>
5850         * docs/gst/tmpl/old/GstBin.sgml:
5851         * docs/gst/tmpl/old/GstBuffer.sgml:
5852         * docs/gst/tmpl/old/GstCaps.sgml:
5853         * docs/gst/tmpl/old/GstClock.sgml:
5854         * docs/gst/tmpl/old/GstCompat.sgml:
5855         * docs/gst/tmpl/old/GstData.sgml:
5856         * docs/gst/tmpl/old/GstElement.sgml:
5857         * docs/gst/tmpl/old/GstEvent.sgml:
5858         * docs/gst/tmpl/old/GstIndex.sgml:
5859         * docs/gst/tmpl/old/GstStructure.sgml:
5860         * docs/gst/tmpl/old/GstTag.sgml:
5861         * docs/gst/tmpl/old/cothreads.sgml:
5862         * docs/gst/tmpl/old/cothreads_compat.sgml:
5863         * docs/gst/tmpl/old/gettext.sgml:
5864         * docs/gst/tmpl/old/gobject2gtk.sgml:
5865         * docs/gst/tmpl/old/grammar.tab.sgml:
5866         * docs/gst/tmpl/old/gst-i18n-app.sgml:
5867         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
5868         * docs/gst/tmpl/old/gst_private.sgml:
5869         * docs/gst/tmpl/old/gstaggregator.sgml:
5870         * docs/gst/tmpl/old/gstarch.sgml:
5871         * docs/gst/tmpl/old/gstatomic_impl.sgml:
5872         * docs/gst/tmpl/old/gstbufferstore.sgml:
5873         * docs/gst/tmpl/old/gstdata_private.sgml:
5874         * docs/gst/tmpl/old/gstdisksink.sgml:
5875         * docs/gst/tmpl/old/gstdisksrc.sgml:
5876         * docs/gst/tmpl/old/gstelementfactory.sgml:
5877         * docs/gst/tmpl/old/gstextratypes.sgml:
5878         * docs/gst/tmpl/old/gstfakesink.sgml:
5879         * docs/gst/tmpl/old/gstfakesrc.sgml:
5880         * docs/gst/tmpl/old/gstfdsink.sgml:
5881         * docs/gst/tmpl/old/gstfdsrc.sgml:
5882         * docs/gst/tmpl/old/gstfilesink.sgml:
5883         * docs/gst/tmpl/old/gstfilesrc.sgml:
5884         * docs/gst/tmpl/old/gsthttpsrc.sgml:
5885         * docs/gst/tmpl/old/gstidentity.sgml:
5886         * docs/gst/tmpl/old/gstindexfactory.sgml:
5887         * docs/gst/tmpl/old/gstmarshal.sgml:
5888         * docs/gst/tmpl/old/gstmd5sink.sgml:
5889         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
5890         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
5891         * docs/gst/tmpl/old/gstpadtemplate.sgml:
5892         * docs/gst/tmpl/old/gstpipefilter.sgml:
5893         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
5894         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
5895         * docs/gst/tmpl/old/gstshaper.sgml:
5896         * docs/gst/tmpl/old/gstspider.sgml:
5897         * docs/gst/tmpl/old/gstspideridentity.sgml:
5898         * docs/gst/tmpl/old/gststatistics.sgml:
5899         * docs/gst/tmpl/old/gsttee.sgml:
5900         * docs/gst/tmpl/old/gsttimecache.sgml:
5901         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
5902         * docs/gst/tmpl/old/gstxmlregistry.sgml:
5903         * docs/gst/tmpl/old/gthread-cothreads.sgml:
5904         * docs/gst/tmpl/old/types.sgml:
5905           I didn't intend to add these or check them in.
5907 2005-05-19  David Schleef  <ds@schleef.org>
5909         * configure.ac: Use -no-common everywhere.  In a sane world, it
5910           would be the default in libtool, because without it, you can't
5911           build DLLs on Windows.
5912         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
5913         * docs/gst/gstreamer-sections.txt:
5914         * docs/gst/tmpl/gstcpu.sgml:
5915         * docs/gst/tmpl/gstdata.sgml:
5916         * docs/gst/tmpl/gstthread.sgml:
5918 2005-05-19  David Schleef  <ds@schleef.org>
5920         * gst/gstminiobject.c: (gst_value_set_mini_object),
5921         (gst_value_take_mini_object), (gst_value_get_mini_object):
5922         * gst/gstminiobject.h: Add GValue set/get functions.
5924 2005-05-19  Wim Taymans  <wim@fluendo.com>
5926         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
5927         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
5928         (gst_subbuffer_init), (gst_buffer_is_span_fast):
5929         * gst/gstbuffer.h:
5930         * gst/gstbus.c: (gst_bus_post):
5931         * gst/gstelement.c: (gst_element_get_random_pad):
5932         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
5933         Make subbufer unref the parent in finalize.
5934         some more debugging info.
5937 2005-05-19  Wim Taymans  <wim@fluendo.com>
5939         * gst/base/gstbasesink.c: (gst_basesink_class_init),
5940         (gst_basesink_init), (gst_basesink_finalize),
5941         (gst_basesink_activate), (gst_basesink_change_state):
5942         Don't free preroll queue too early.
5944 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5946         * gst/Makefile.am:
5947         * gst/ROADMAP:
5948           Hi, I'm outdated. Please shoot me.
5950 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5952         * gst/gstpipeline.c: (gst_pipeline_send_event):
5953           Do not access variables after they have been deleted.
5955 2005-05-19  Wim Taymans  <wim@fluendo.com>
5957         * tools/gst-inspect.c: (print_plugin_features):
5958         A plugin feature does unfortunatly not use the
5959         object name yet...
5961 2005-05-18  Wim Taymans  <wim@fluendo.com>
5963         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
5964         Port _span() functions to new subbuffers.
5966 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5968         * gst/gstbin.c: (gst_bin_add_func):
5969           Fix clock settery in bins when adding kids after the clock has
5970           been selected.
5972 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5974         * gst/elements/gstidentity.c: (gst_identity_class_init):
5975           Workaround until signals support GstMiniObject.
5977 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5979         * gst/gstbuffer.c:
5980         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
5982 2005-05-18  Wim Taymans  <wim@fluendo.com>
5984         * gst/base/Makefile.am:
5985         * gst/base/gstadapter.c: (gst_adapter_base_init),
5986         (gst_adapter_class_init), (gst_adapter_init),
5987         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
5988         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
5989         (gst_adapter_flush), (gst_adapter_available),
5990         (gst_adapter_available_fast):
5991         * gst/base/gstadapter.h:
5992         Ported and added adapter to the base classes.
5994 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5996         * gst/gst.c:
5997         * gst/gstmessage.c:
5998           Make sure the class is reffed/unreffed once before threads can be
5999           used.  Fixes #304551.
6001 2005-05-17  Wim Taymans  <wim@fluendo.com>
6003         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6004         (gst_basesink_chain_unlocked), (gst_basesink_activate):
6005         * gst/gstminiobject.c: (gst_mini_object_get_type),
6006         (gst_mini_object_free):
6007         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6008         (gst_pad_push), (gst_pad_push_event):
6009         * gst/gstqueue.c: (gst_queue_change_state):
6010         Don't queue buffers in basesink when we are flushing.
6011         Unref buffer when flushing in basesink.
6012         Flush queue when going to READY
6013         Unref buffer when _push() returns an error.
6014         Don't free MiniObject instance when refcount is incremented
6015         in _finalize() so that we can recover objects.
6017 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6019         * docs/manual/advanced-schedulers.xml:
6020         * docs/manual/appendix-checklist.xml:
6021         * docs/pwg/advanced-clock.xml:
6022         * docs/pwg/advanced-interfaces.xml:
6023         * docs/pwg/advanced-request.xml:
6024         * docs/pwg/advanced-types.xml:
6025         * docs/pwg/intro-preface.xml:
6026         * examples/plugins/example.c: (gst_example_get_type),
6027         (gst_example_class_init), (gst_example_chain),
6028         (gst_example_set_property), (gst_example_get_property),
6029         (gst_example_change_state), (plugin_init):
6030         * examples/plugins/example.h:
6031           small doc fixes
6033 2005-05-17  Wim Taymans  <wim@fluendo.com>
6035         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6036         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6037         * gst/gstqueue.c: (gst_queue_change_state):
6038         Clear queue when going to READY.
6039         Remove IN_SETCAPS flag too.
6041 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
6043         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6044           Remove implicit cast from gboolean to GstElementStateReturn;
6045           make sure we still return failure in paused => ready case if
6046           the parent class fails to change state and our own stop 
6047           vfunc succeeds.
6049 2005-05-17  Wim Taymans  <wim@fluendo.com>
6051         * tools/gst-launch.c: (event_loop):
6052         Message was unreffed too soon.
6054 2005-05-16  Andy Wingo  <wingo@pobox.com>
6056         * gst/gstbin.c (sink_iterator_filter): Err... um...
6058         * check/gst/gstbin.c (test_ghost_pads): New test for the
6059         ghosting-if-elements-not-in-same-bin behavior.
6061 2005-05-16  David Schleef  <ds@schleef.org>
6063         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6064         accessing refcount directly.
6066 2005-05-15  David Schleef  <ds@schleef.org>
6068         * check/Makefile.am: remove GstData checks
6069         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6070         * gst/Makefile.am: add miniobject, remove data
6071         * gst/gst.h: add miniobject, remove data
6072         * gst/gstdata.c: remove
6073         * gst/gstdata.h: remove
6074         * gst/gstdata_private.h: remove
6075         * gst/gsttypes.h: remove GstEvent and GstMessage
6076         * gst/gstelement.c: (gst_element_post_message): fix for API changes
6077         * gst/gstmarshal.list: change BOXED -> OBJECT
6079         Implement GstMiniObject.
6080         * gst/gstminiobject.c:
6081         * gst/gstminiobject.h:
6083         Modify to be subclasses of GstMiniObject.
6084         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6085         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6086         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6087         (gst_subbuffer_get_type), (gst_subbuffer_init),
6088         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6089         (gst_buffer_span):
6090         * gst/gstbuffer.h:
6091         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6092         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6093         (_gst_event_copy), (gst_event_new):
6094         * gst/gstevent.h:
6095         * gst/gstmessage.c: (_gst_message_initialize),
6096         (gst_message_get_type), (gst_message_class_init),
6097         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6098         (gst_message_new), (gst_message_new_error),
6099         (gst_message_new_warning), (gst_message_new_tag),
6100         (gst_message_new_state_changed), (gst_message_new_application):
6101         * gst/gstmessage.h:
6102         * gst/gstprobe.c: (gst_probe_perform),
6103         (gst_probe_dispatcher_dispatch):
6104         * gst/gstprobe.h:
6105         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6106         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6107         (_gst_query_copy), (gst_query_new):
6109         Update elements for GstData -> GstMiniObject changes
6110         * gst/gstquery.h:
6111         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6112         (gst_queue_chain), (gst_queue_loop):
6113         * gst/elements/gstbufferstore.c:
6114         (gst_buffer_store_add_buffer_func),
6115         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6116         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6117         (gst_fakesink_render):
6118         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6119         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6120         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6121         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6122         (gst_filesrc_create_read):
6123         * gst/elements/gstidentity.c: (gst_identity_class_init):
6124         * gst/elements/gsttypefindelement.c:
6125         (gst_type_find_element_src_event), (free_entry_buffers),
6126         (gst_type_find_element_handle_event):
6127         * libs/gst/dataprotocol/dataprotocol.c:
6128         (gst_dp_header_from_buffer):
6129         * libs/gst/dataprotocol/dataprotocol.h:
6130         * libs/gst/dataprotocol/dp-private.h:
6132 2005-05-15  David Schleef  <ds@schleef.org>
6134         * gst/elements/gstelements.c: Don't include headers that were
6135         just removed.
6137 2005-05-15  David Schleef  <ds@schleef.org>
6139         * gst/elements/Makefile.am: Remove some elements that don't
6140         need to be in the core (or even exist at all).
6141         * gst/elements/gstaggregator.c:
6142         * gst/elements/gstaggregator.h:
6143         * gst/elements/gstmd5sink.c:
6144         * gst/elements/gstmd5sink.h:
6145         * gst/elements/gstmultifilesrc.c:
6146         * gst/elements/gstmultifilesrc.h:
6147         * gst/elements/gstpipefilter.c:
6148         * gst/elements/gstpipefilter.h:
6149         * gst/elements/gstshaper.c:
6150         * gst/elements/gstshaper.h:
6151         * gst/elements/gststatistics.c:
6152         * gst/elements/gststatistics.h:
6153         * po/POTFILES.in: Remove above files.
6155 2005-05-14  Andy Wingo  <wingo@pobox.com>
6157         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6158         so as to get the refs right.
6159         (sink_iterator_filter): New function, wraps bin_element_is_sink,
6160         unreffing objects that don't pass the filter.
6162         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6163         gst_element_set_bus.
6164         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6165         normal cases, this will destroy the bus.
6167         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6168         object.
6170         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6171         has no sinks.
6173 2005-05-13  Andy Wingo  <wingo@pobox.com>
6175         * gst/gstutils.c (gst_element_link_pads): Instead of calling
6176         gst_pad_link, call pad_link_maybe_ghosting,
6177         (pad_link_maybe_ghosting): Links pads, making sure that the
6178         elements being linked are in the same bin.
6179         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6180         Helpers for pad_link_maybe_ghosting.
6182 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6184         * configure.ac:
6185           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6187 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6189         * docs/design/part-element-source.txt:
6190           Mention GstPushSrc
6192 2005-05-12  Wim Taymans  <wim@fluendo.com>
6194         * gst/base/gstbasesink.c: (gst_basesink_init),
6195         (gst_basesink_activate):
6196         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6197         (gst_basesrc_is_seekable):
6198         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6199         (bin_element_is_sink), (gst_bin_change_state):
6200         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6201         * gst/gstelement.h:
6202         Identify sinks by their flag to avoid overly complicated
6203         checks (fow now).
6204         Do state changes even for elements not reachable from the
6205         sinks.
6206         BaseSink is a sink now :)
6207         Some more debugging info in the basesrc.
6210 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6212         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6213           Implement _query on a bin, similar to _send_event.
6215 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6217         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6218           Discont event offset format should be GST_FORMAT_BYTES,
6219           not GST_FORMAT_TIME.
6221 2005-05-12  Wim Taymans  <wim@fluendo.com>
6223         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6224         Same fix as Ronald's but without the signal. 
6226 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6228         * gst/gstutils.c: (gst_element_query_position):
6229           No, an element is not a pad.
6231 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6233         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6234         (gst_bin_get_state):
6235           If a child is removed from a bin while we remove the child from
6236           the bin and while we're retrieving its state, signal this to the
6237           get_state function so we abort the wait (instead of waiting for
6238           a timeout) and can immediately re-iterate over all other elements.
6240 2005-05-12  Wim Taymans  <wim@fluendo.com>
6242         * gst/base/Makefile.am:
6243         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6244         (gst_basesrc_start):
6245         * gst/base/gstbasesrc.h:
6246         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6247         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6248         (gst_pushsrc_init), (gst_pushsrc_create):
6249         * gst/base/gstpushsrc.h:
6250         Added is_seekable to BaseSrc
6251         Added simple PushSrc.
6253 2005-05-11  Wim Taymans  <wim@fluendo.com>
6255         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6256         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6257         (gst_element_link_pads), (gst_element_query_position),
6258         (gst_element_query_convert), (intersect_caps_func),
6259         (gst_pad_query_position), (gst_pad_query_convert):
6260         Fix refcounting in utils function.
6261         No point in trying to activate a pad when it's added, it could
6262         be added from the state change function and then we deadlock, the
6263         element has to decide what to do.
6265 2005-05-10  Andy Wingo  <wingo@pobox.com>
6267         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6268         *all* the arguments.
6270         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6271         stream lock if it's a FLUSH_DONE; normal flushes don't get the
6272         lock (according to the docs -- if this is wrong change the docs).
6274         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6275         flush messages in the NULL state.
6277         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6278         message immediately and return.
6279         (gst_bus_set_flushing): New function. If a bus is flushing, it
6280         flushes out any queued messages and immediately unrefs new
6281         messages. This is so when an element goes to NULL, all of the
6282         unhandled messages coming from it can be freed, and their
6283         references to the element dropped. In other words: message source
6284         ref considered harmful :P
6286         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6287         we're finished with it.
6289         * gst/gstmessage.c (gst_message_new_state_changed): 
6291 2005-05-10  Wim Taymans  <wim@fluendo.com>
6293         * gst/gstvalue.c: (gst_value_compare_flags),
6294         (gst_value_serialize_flags), (gst_value_deserialize_flags),
6295         (_gst_value_initialize):
6296         Added flags serialize/deserialize/compare code.
6298 2005-05-09  Andy Wingo  <wingo@pobox.com>
6300         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6301         Intersect the peer's caps with our caps.
6303 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6305         * gst/base/gsttypefindhelper.c: (helper_find_peek):
6306         * gst/elements/gsttypefindelement.c: (find_peek):
6307           Handle negative offsets better. Fixes decodebin.
6309 2005-05-09  Wim Taymans  <wim@fluendo.com>
6311         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6312         (gst_base_transform_event):
6313         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6314         Implement accept_caps.
6315         Fix silly lock/unlock mismatch in base class.
6317 2005-05-09  Wim Taymans  <wim@fluendo.com>
6319         * docs/design/draft-push-pull.txt:
6320         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6321         * gst/elements/gstfilesink.c: (gst_filesink_init),
6322         (gst_filesink_query):
6323         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6324         (gst_type_find_handle_src_query), (find_element_get_length):
6325         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6326         * gst/gstelement.h:
6327         * gst/gstmessage.c:
6328         * gst/gstmessage.h:
6329         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6330         (gst_real_pad_get_caps_unlocked),
6331         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6332         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6333         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6334         (gst_real_pad_dispose), (gst_real_pad_finalize),
6335         (gst_pad_load_and_link), (gst_pad_save_thyself),
6336         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6337         (gst_pad_check_pull_range), (gst_pad_pull_range),
6338         (gst_pad_template_get_type), (gst_pad_template_class_init),
6339         (gst_pad_template_init), (gst_pad_template_dispose),
6340         (name_is_valid), (gst_static_pad_template_get),
6341         (gst_pad_template_new), (gst_static_pad_template_get_caps),
6342         (gst_pad_template_get_caps), (gst_pad_set_element_private),
6343         (gst_pad_get_element_private), (gst_pad_start_task),
6344         (gst_pad_pause_task), (gst_pad_stop_task),
6345         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6346         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6347         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6348         (gst_ghost_pad_new):
6349         * gst/gstpad.h:
6350         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6351         (gst_query_new_position), (gst_query_set_position),
6352         (gst_query_parse_position), (gst_query_new_convert),
6353         (gst_query_set_convert), (gst_query_parse_convert):
6354         * gst/gstquery.h:
6355         * gst/gstqueryutils.c:
6356         * gst/gstqueryutils.h:
6357         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6358         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6359         (gst_queue_handle_src_query):
6360         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6361         (gst_element_query_position), (gst_element_query_convert),
6362         (intersect_caps_func), (gst_pad_query_position),
6363         (gst_pad_query_convert):
6364         * gst/gstutils.h:
6365         * tools/gst-inspect.c: (print_pad_info):
6366         * tools/gst-xmlinspect.c: (print_element_info):
6367         Remove old query functions. Ported old code.
6368         Added position/convert helper functions to gstutils.
6369         Reordered gstpad.c code, grouping relevant things.
6370         Remove gst_message_new(), always need to speficy a specific
6371         message.
6374 2005-05-09  Andy Wingo  <wingo@pobox.com>
6376         * gst/gstiterator.h: Add some includes.
6378         * gst/gstqueryutils.h: Include more headers.
6380         * gst/gstpad.h:
6381         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6382         some uses of gst_pad_query.
6384         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6385         NULL out parameters.
6386         (gst_query_new_position): New proc, allocates a new position
6387         query.
6389         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6390         gstqueryutils.c to the build.
6392         * gst/gststructure.c (gst_structure_set_valist): Implement with
6393         the generic G_VALUE_COLLECT.
6394         
6395 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
6397         * gst/Makefile.am: (gst_headers):
6398         Added gstqueryutils.h to the list of headers to install, that was
6399         a 'nachty' move wingo :)
6401 2005-05-06  Andy Wingo  <wingo@pobox.com>
6403         * gst/gstquery.h
6404         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6405         GstData, init a memchunk.
6406         (standard_definitions): Add a few query types, deprecate a few.
6407         (gst_query_get_type): New proc.
6408         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6409         implementation.
6410         (gst_query_new_application, gst_query_get_structure): New public
6411         procs.
6413         * docs/design/draft-query.txt: Removed LINKS from the query types,
6414         because all the rest can be dispatched to other pads -- seemed
6415         ugly to have a query that couldn't be dispatched. internal_links
6416         is fine as a pad method.
6418         * gst/gstpad.h: Add query2 as a pad method, add the new functions
6419         in gstpad.c, but maintain binary compatibility for the moment.
6420         Will fix before 0.9 is out.
6422         * gst/gstqueryutils.c: 
6423         * gst/gstqueryutils.h: New files, implement 3 methods for each
6424         query type: parse_query, parse_response, and set. Probably need an
6425         allocator as well.
6427         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6429         * gst/elements/gstfilesink.c (gst_filesink_query2):
6430         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6431         query_types, and formats methods.
6433         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6434         (gst_pad_set_query2_function): New functions.
6435         (gst_real_pad_init): Set query2_default as the default query2
6436         function. Basically just dispatches to internally linked pads.
6438         Needs review!
6439         
6440         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6441         without using the atomic operations. Only one thread can possibly
6442         be accessing the data at this point. Changed so as to avoid
6443         gst_atomic operations.
6445 2005-05-06  Wim Taymans  <wim@fluendo.com>
6447         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6448         Also set caps if we use the fallback buffer alloc.
6450 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
6452         * docs/gst/Makefile.am:
6453         * docs/gst/gstreamer-docs.sgml:
6454         * docs/gst/gstreamer-sections.txt:
6455         * docs/gst/tmpl/gstatomic.sgml:
6456         * docs/gst/tmpl/gstmemchunk.sgml:
6457         * testsuite/elements/struct_i386.h:
6458         * win32/GStreamer.vcproj:
6459         * win32/Makefile:
6460           Purge GstAtomic stuff from docs and win32 makefiles as well
6462 2005-05-06  Wim Taymans  <wim@fluendo.com>
6464         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6465         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6466         * gst/gstpad.c: (gst_pad_peer_get_caps):
6467         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6468         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6469         (gst_queue_src_activate), (gst_queue_change_state):
6470         * gst/gstqueue.h:
6471         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6472         (intersect_caps_func):
6473         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6474         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6475         Some fixes for the peer_get_caps() change.
6477 2005-05-06  Wim Taymans  <wim@fluendo.com>
6479         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6480         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6481         (gst_basesink_activate):
6482         Actually do something with error codes returned from the push
6483         functions.
6485 2005-05-06  Wim Taymans  <wim@fluendo.com>
6487         * docs/design/part-element-sink.txt:
6488         * docs/design/part-element-source.txt:
6489         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6490         (gst_basesink_event), (gst_basesink_activate):
6491         * gst/base/gstbasesink.h:
6492         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6493         (gst_basesrc_activate):
6494         * gst/base/gstbasesrc.h:
6495         * gst/gstelement.c: (gst_element_pads_activate):
6496         Some more documentation.
6497         Fixed scheduling decision in _pads_activate().
6499 2005-05-05  Andy Wingo  <wingo@pobox.com>
6501         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6502         the test suite.
6504 2005-05-05  Wim Taymans  <wim@fluendo.com>
6506         * gst/base/Makefile.am:
6507         * gst/base/gstbasesink.h:
6508         * gst/base/gstbasesrc.c: (gst_basesrc_init),
6509         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6510         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6511         (gst_collectpads_class_init), (gst_collectpads_init),
6512         (gst_collectpads_finalize), (gst_collectpads_new),
6513         (gst_collectpads_set_function), (gst_collectpads_add_pad),
6514         (find_pad), (gst_collectpads_remove_pad),
6515         (gst_collectpads_is_active), (gst_collectpads_collect),
6516         (gst_collectpads_collect_range), (gst_collectpads_start),
6517         (gst_collectpads_stop), (gst_collectpads_peek),
6518         (gst_collectpads_pop), (gst_collectpads_available),
6519         (gst_collectpads_read), (gst_collectpads_flush),
6520         (gst_collectpads_chain):
6521         * gst/base/gstcollectpads.h:
6522         * gst/elements/Makefile.am:
6523         * gst/elements/gstelements.c:
6524         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6525         (gst_fakesink_get_times), (gst_fakesink_event),
6526         (gst_fakesink_preroll), (gst_fakesink_render):
6527         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6528         (gst_filesink_init), (gst_filesink_set_location),
6529         (gst_filesink_open_file), (gst_filesink_close_file),
6530         (gst_filesink_pad_query), (gst_filesink_event),
6531         (gst_filesink_render), (gst_filesink_change_state):
6532         * gst/elements/gstfilesink.h:
6533         Added object to help in making collect pad based elements.
6534         Ported filesink.
6535         Make event function in sink baseclass return gboolean.
6537 2005-05-05  Wim Taymans  <wim@fluendo.com>
6539         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6540         (gst_bin_get_by_name):
6541         * gst/gstbuffer.h:
6542         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6543         (gst_clock_finalize):
6544         * gst/gstdata.c: (gst_data_replace):
6545         * gst/gstdata.h:
6546         * gst/gstelement.c: (gst_element_request_pad),
6547         (gst_element_pads_activate):
6548         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6549         (gst_object_unref):
6550         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6551         (gst_pad_set_checkgetrange_function),
6552         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6553         (gst_pad_check_pull_range), (gst_pad_pull_range),
6554         (gst_static_pad_template_get_caps), (gst_pad_start_task),
6555         (gst_pad_pause_task), (gst_pad_stop_task):
6556         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6557         (gst_element_request_pad), (gst_pad_proxy_getcaps):
6558         Fix name lookup in GstBin.
6559         Added _data_replace() function and _buffer_replace()
6560         Use finalize method to clean up clock.
6561         Fix refcounting on request pads.
6562         Fix pad schedule mode error.
6563         Some more object refcounting debug info,
6566 2005-05-04  Andy Wingo <wingo@pobox.com>
6568         * check/Makefile.am:
6569         * docs/gst/tmpl/gstatomic.sgml:
6570         * docs/gst/tmpl/gstplugin.sgml:
6571         * gst/base/gstbasesink.c: (gst_basesink_activate):
6572         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6573         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6574         (gst_basesrc_query), (gst_basesrc_set_property),
6575         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6576         (gst_basesrc_activate):
6577         * gst/base/gstbasesrc.h:
6578         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6579         (gst_base_transform_src_activate):
6580         * gst/elements/gstelements.c:
6581         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6582         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6583         * gst/elements/gsttee.c: (gst_tee_sink_activate):
6584         * gst/elements/gsttypefindelement.c: (find_element_get_length),
6585         (gst_type_find_element_checkgetrange),
6586         (gst_type_find_element_activate):
6587         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6588         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6589         (gst_caps_load_thyself):
6590         * gst/gstelement.c: (gst_element_pads_activate),
6591         (gst_element_save_thyself), (gst_element_restore_thyself):
6592         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6593         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6594         * gst/gstpad.h:
6595         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6596         (gst_xml_parse_file), (gst_xml_parse_memory),
6597         (gst_xml_get_element), (gst_xml_make_element):
6598         * gst/indexers/gstfileindex.c: (gst_file_index_load),
6599         (_file_index_id_save_xml), (gst_file_index_commit):
6600         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6601         (read_enum), (load_pad_template), (load_feature), (load_plugin),
6602         (load_paths):
6603         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6604         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6605         * tools/gst-complete.c: (main):
6606         * tools/gst-compprep.c: (main):
6607         * tools/gst-inspect.c: (print_element_properties_info):
6608         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6609         * tools/gst-xmlinspect.c: (print_element_properties):
6610         GCC 4 fixen.
6611         
6612 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6614         * gst/gstplugin.c: (gst_plugin_check_module),
6615         (gst_plugin_check_file), (gst_plugin_load_file):
6616             apply patch from #172526 to make register work on MacOSX
6618 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6620         * docs/gst/tmpl/gstconfig.sgml:
6621         * gst/gstconfig.h.in:
6622           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
6623         * testsuite/debug/printf_extension.c: (main):
6624           Do not use GST_PTR_FORMAT on pointers to types with
6625           sizeof < sizeof(gpointer).  Fixes test on 64-bit
6626         * testsuite/elements/property.h:
6627           use correct printf format
6629 2005-05-02  Wim Taymans  <wim@fluendo.com>
6631         * docs/design/draft-push-pull.txt:
6632         * docs/design/draft-query.txt:
6633         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6634         (gst_basesrc_start):
6635         Added draft for new query API.
6636         Added draft for better selecting scheduling methods.
6637         Make basesrc ignore length if the subclass does not support
6638         it.
6640 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6642         * gst/Makefile.am:
6643           possible fixes for automake-1.5 - _LIBADD is reserved
6645 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6647         * docs/faq/Makefile.am:
6648         * docs/manual/Makefile.am:
6649         * docs/manuals.mak:
6650         * docs/pwg/Makefile.am:
6651         * gst/Makefile.am:
6652           possible fixes for automake-1.5
6654 2005-04-28  Wim Taymans  <wim@fluendo.com>
6656         * gst/base/gstbasesink.c: (gst_basesink_base_init),
6657         (gst_basesink_pad_getcaps), (gst_basesink_init),
6658         (gst_basesink_do_sync):
6659         * gst/gstclock.c: (gst_clock_entry_new):
6660         * gst/gstevent.c: (gst_event_discont_get_value):
6661         * gst/gstpipeline.c: (pipeline_bus_handler),
6662         (gst_pipeline_change_state):
6663         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6664         Better debugging of clocking info.
6665         Allow NULL values when getting discont values.
6667 2005-04-27  Wim Taymans  <wim@fluendo.com>
6669         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6670         * check/gst/gstpad.c: (gst_pad_suite):
6671         Increase timeout for checks.
6673 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6675         * check/Makefile.am:
6676           fix the broken rule for cleanup.  Apparently this rule is
6677           only needed on FC2, so maybe this warrants further autotool
6678           inspection.
6680 2005-04-26  Wim Taymans  <wim@fluendo.com>
6682         * gst/gsttrashstack.h:
6683         Ooohh. a nasty one! After having a failed pop() from the stack,
6684         it's possible that the stack is empty. In that case, don't
6685         follow the NULL pointer.
6687 2005-04-25  Wim Taymans  <wim@fluendo.com>
6689         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6690         (gst_pad_set_checkgetrange_function),
6691         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6692         (gst_pad_check_pull_range), (gst_pad_pull_range),
6693         (gst_static_pad_template_get_caps), (gst_pad_start_task),
6694         (gst_pad_pause_task), (gst_pad_stop_task):
6695         * gst/gstplugin.c: (gst_plugin_load):
6696         * gst/gstplugin.h:
6697         Remove gst_library_load as it does more harm than good with
6698         the new g_module flags.
6699         Revert bogus caps template check in pad linking, pad caps
6700         are important when linking not the template, which is more
6701         general than the current caps.
6703 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6705         * gst/autoplug/.cvsignore:
6706         * gst/autoplug/Makefile.am:
6707         * gst/autoplug/gstsearchfuncs.c:
6708         * gst/autoplug/gstsearchfuncs.h:
6709         * gst/autoplug/gstspider.c:
6710         * gst/autoplug/gstspider.h:
6711         * gst/autoplug/gstspideridentity.c:
6712         * gst/autoplug/gstspideridentity.h:
6713         * gst/autoplug/spidertest.c:
6714           Die, spider, die.
6716 2005-04-25  Wim Taymans  <wim@fluendo.com>
6718         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6719         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6720         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6721         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6722         * gst/gstpad.h:
6723         Added stubs for unimplemented functions. 
6725 2005-04-24  David Schleef  <ds@schleef.org>
6727         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
6728         please fix.
6730 2005-04-24  David Schleef  <ds@schleef.org>
6732         Convert everything from GstAtomicInt to g_atomic_int_*, and
6733         remove gstatomic.
6734         * gst/Makefile.am:
6735         * gst/gstatomic.c:
6736         * gst/gstatomic.h:
6737         * gst/gstatomic_impl.h:
6738         * gst/gstbuffer.c:
6739         * gst/gstcaps.c:
6740         * gst/gstcaps.h:
6741         * gst/gstclock.c:
6742         * gst/gstclock.h:
6743         * gst/gstdata.c:
6744         * gst/gstdata.h:
6745         * gst/gstdata_private.h:
6746         * gst/gstevent.c:
6747         * gst/gstinfo.c:
6748         * gst/gstinfo.h:
6749         * gst/gstmessage.c:
6750         * gst/gstobject.c:
6751         * gst/gstobject.h:
6752         * gst/gststructure.c:
6753         * gst/gststructure.h:
6754         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6755         * gst/gstutils.h:
6757 2005-04-24  David Schleef  <ds@schleef.org>
6759         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6760         make the regressions tests work.  Remove some code that is no
6761         longer true.
6762         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6763         Disable warning for pads without templates.
6765 2005-04-24  David Schleef  <ds@schleef.org>
6767         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
6768         functions that handle filtered links.
6769         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6770         removed functions.
6771         * gst/gstutils.c: Fix/remove utility functions that handle
6772         filtered caps.
6773         * gst/gstutils.h:
6774         * gst/gstvalue.c: Add serialization/deserialization of caps
6775         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
6776         requires fixing so that the filter caps notation creates
6777         a capsfilter element and sets the filter_caps property.  I
6778         think everyone probably wants to keep the shorthand notation.
6779         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6780         * docs/gst/tmpl/gstpad.sgml:
6782         * gst/elements/gstelements.c: Register capsfilter element.
6783         * gst/Makefile.am: fix spacing
6784         * docs/random/ds/0.9-suggested-changes: random
6786 2005-04-23  David Schleef  <ds@schleef.org>
6788         * gst/elements/Makefile.am:
6789         * gst/elements/gstcapsfilter.c: New element that acts like an
6790         identity, but filters caps.  Will eventually replace filtered
6791         caps in pad linking.
6792         * gst/gstutils.c: (gst_element_create_all_pads): New function
6793         to create all the ALWAYS pads that are registered with an
6794         element class.  This functionality should eventually be
6795         merged in with GstElement initialization.
6796         * gst/gstutils.h:
6797         * testsuite/trigger/README: part of trigger test code that should
6798         have been checked in a long time ago.
6800 2005-04-23  David Schleef  <ds@schleef.org>
6802         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
6803         needed with new versions of libtool (nobody will confirm this),
6804         and hard to carry around.
6805         * gst/autoplug/Makefile.am:
6806         * gst/base/Makefile.am:
6807         * gst/elements/Makefile.am:
6808         * gst/indexers/Makefile.am:
6809         * gst/schedulers/Makefile.am:
6810         * libs/gst/bytestream/Makefile.am:
6811         * libs/gst/control/Makefile.am:
6812         * libs/gst/dataprotocol/Makefile.am:
6813         * libs/gst/getbits/Makefile.am:
6815 2005-04-21  Wim Taymans  <wim@fluendo.com>
6817         * docs/design/draft-push-pull.txt:
6818         * docs/design/part-MT-refcounting.txt:
6819         * docs/design/part-TODO.txt:
6820         * docs/design/part-caps.txt:
6821         * docs/design/part-events.txt:
6822         * docs/design/part-gstbus.txt:
6823         * docs/design/part-gstpipeline.txt:
6824         * docs/design/part-messages.txt:
6825         * docs/design/part-push-pull.txt:
6826         * docs/design/part-query.txt:
6827         Some more docs.
6829 2005-04-21  Wim Taymans  <wim@fluendo.com>
6831         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6832         (gst_message_new), (gst_message_new_error),
6833         (gst_message_new_warning), (gst_message_new_tag),
6834         (gst_message_new_state_changed), (gst_message_new_application),
6835         (gst_message_get_structure):
6836         * gst/gstmessage.h:
6837         * gst/gststructure.c: (gst_structure_set_parent_refcount),
6838         (gst_structure_copy_conditional):
6839         Use parent refcount in GstMessage to ensure GstStructure
6840         consistency.
6841         Cleaned up headers a bit.
6842         
6844 2005-04-20  Wim Taymans  <wim@fluendo.com>
6846         * gst/base/gstbasesink.c: (gst_basesink_base_init),
6847         (gst_basesink_pad_getcaps), (gst_basesink_init),
6848         (gst_basesink_chain_unlocked):
6849         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6850         (gst_type_find_helper):
6851         * gst/elements/gsttypefindelement.c:
6852         (gst_type_find_element_have_type), (gst_type_find_element_init),
6853         (stop_typefinding), (gst_type_find_element_handle_event),
6854         (find_suggest), (gst_type_find_element_chain),
6855         (gst_type_find_element_checkgetrange),
6856         (gst_type_find_element_getrange), (do_typefind),
6857         (gst_type_find_element_activate):
6858         * gst/gstbuffer.c: (_gst_buffer_sub_free),
6859         (gst_buffer_default_free), (gst_buffer_default_copy),
6860         (gst_buffer_set_caps):
6861         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
6862         (gst_caps_replace):
6863         * gst/gstmessage.c: (gst_message_new),
6864         (gst_message_new_state_changed):
6865         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6866         (gst_pad_set_checkgetrange_function),
6867         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
6868         (gst_pad_set_caps), (gst_pad_check_pull_range),
6869         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
6870         * gst/gstpad.h:
6871         * gst/gsttypefind.c: (gst_type_find_register):
6872         Make gst_caps_replace() work like other _replace() functions.
6873         Use _caps_replace() where possible.
6874         Make sure _message_new() initialises its field.
6875         Add gst_static_pad_template_get_caps()
6878 2005-04-18  Andy Wingo  <wingo@pobox.com>
6880         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
6881         on the peer, not the pad. I think that was a typo. Pass an extra
6882         arg to see if random access is possible. Activate the pads as
6883         PULL_RANGE if possible.
6885         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
6887         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
6888         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
6889         to PROP_....
6891 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6893         * docs/faq/using.xml:
6894           Add note on gstreamer-properties (#154996).
6896 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6898         * docs/random/bbb/optional-properties:
6899           Some analysis on optional properties.
6901 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6903         * docs/gst/tmpl/gstelementfactory.sgml:
6904         * gst/gstelement.h:
6905         * gst/gstelementfactory.c: (gst_element_factory_init),
6906         (gst_element_factory_cleanup), (gst_element_register),
6907         (__gst_element_factory_add_static_pad_template),
6908         (gst_element_factory_get_static_pad_templates),
6909         (gst_element_factory_can_src_caps),
6910         (gst_element_factory_can_sink_caps):
6911         * gst/registries/Makefile.am:
6912         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
6913         (gst_xml_registry_class_init), (gst_xml_registry_init),
6914         (gst_xml_registry_new), (gst_xml_registry_set_property),
6915         (gst_xml_registry_get_property), (get_time), (make_dir),
6916         (gst_xml_registry_get_perms_func),
6917         (plugin_times_older_than_recurse), (plugin_times_older_than),
6918         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
6919         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
6920         (add_to_char_array), (read_string), (read_uint), (read_enum),
6921         (load_pad_template), (load_feature), (load_plugin), (load_paths),
6922         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
6923         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
6924         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
6925         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
6926         (gst_xml_registry_rebuild):
6927         * gst/registries/gstlibxmlregistry.h:
6928         * tools/gst-compprep.c: (main):
6929         * tools/gst-inspect.c: (print_pad_templates_info):
6930         * tools/gst-xmlinspect.c: (print_element_info):
6931           Use libxml2 for registry parsing, use staticpadtemplates in
6932           elementfactories. Makes gst_init() +/- 10x faster.
6934 2005-04-12  Wim Taymans  <wim@fluendo.com>
6936         * gst/base/Makefile.am:
6937         * gst/base/gstbasesink.c: (gst_basesink_base_init),
6938         (gst_basesink_pad_getcaps), (gst_basesink_init),
6939         (gst_basesink_event), (gst_basesink_change_state):
6940         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6941         (gst_basesrc_init), (gst_basesrc_query),
6942         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6943         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6944         (gst_basesrc_check_get_range), (gst_basesrc_loop),
6945         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6946         (gst_basesrc_stop), (gst_basesrc_activate),
6947         (gst_basesrc_change_state):
6948         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6949         (helper_find_suggest), (gst_type_find_helper):
6950         * gst/base/gsttypefindhelper.h:
6951         * gst/elements/Makefile.am:
6952         * gst/elements/gstelements.c:
6953         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6954         (gst_fakesink_get_times), (gst_fakesink_event),
6955         (gst_fakesink_preroll), (gst_fakesink_render):
6956         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6957         (gst_fakesrc_init), (gst_fakesrc_event_handler),
6958         (gst_fakesrc_get_property), (gst_fakesrc_create),
6959         (gst_fakesrc_start), (gst_fakesrc_stop):
6960         * gst/elements/gstfakesrc.h:
6961         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
6962         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6963         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6964         (gst_filesrc_create_read), (gst_filesrc_create),
6965         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
6966         (gst_filesrc_start):
6967         * gst/elements/gsttypefindelement.c:
6968         (gst_type_find_element_have_type), (gst_type_find_element_init),
6969         (start_typefinding), (stop_typefinding), (push_buffer_store),
6970         (gst_type_find_element_handle_event),
6971         (gst_type_find_element_chain),
6972         (gst_type_find_element_checkgetrange),
6973         (gst_type_find_element_getrange), (do_typefind),
6974         (gst_type_find_element_activate),
6975         (gst_type_find_element_change_state):
6976         * gst/elements/gsttypefindelement.h:
6977         * gst/gstpipeline.c: (pipeline_bus_handler):
6978         Added typefind helper.
6979         Small preroll fix in the base sink.
6980         Disable typefind code in basesrc.
6981         Crude port of typefindelement.
6982         Fakesrc cleanups.
6985 2005-04-11  Wim Taymans  <wim@fluendo.com>
6987         * check/gst/gstbus.c: (gstbus_suite):
6988         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
6989         * check/gstcheck.h:
6990           Fix up the timeout so that the test does not fail.
6992 2005-04-06  Wim Taymans  <wim@fluendo.com>
6994         * gst/base/README:
6995         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6996         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
6997         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6998         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6999         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7000         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7001         (gst_basesrc_stop), (gst_basesrc_activate),
7002         (gst_basesrc_change_state), (basesrc_find_peek),
7003         (basesrc_find_suggest), (gst_basesrc_type_find):
7004         * gst/base/gstbasesrc.h:
7005         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7006         (gst_filesrc_class_init), (gst_filesrc_init),
7007         (gst_filesrc_finalize), (gst_filesrc_set_location),
7008         (gst_filesrc_set_property), (gst_filesrc_get_property),
7009         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7010         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7011         (gst_filesrc_create_read), (gst_filesrc_create),
7012         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7013         * gst/elements/gstfilesrc.h:
7014         * gst/gstelement.c: (gst_element_get_state_func),
7015         (gst_element_lost_state), (gst_element_pads_activate):
7016         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7017         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7018         (gst_pad_pull_range):
7019         * gst/gstpad.h:
7020         More work on the generic source base class, implement seeking,
7021         query.
7022         Make filesrc extend the base source class.
7023         Added gst_pad_set_checkgetrange_function to GstPad.
7025 2005-04-06  Andy Wingo  <wingo@pobox.com>
7027         * pkgconfig/gstreamer-base.pc.in:
7028         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7030         * pkgconfig/Makefile.am:
7031         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7033 2005-04-04  Wim Taymans  <wim@fluendo.com>
7035         * gst/base/Makefile.am:
7036         * gst/base/README:
7037         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7038         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7039         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7040         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7041         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7042         (gst_basesrc_base_init), (gst_basesrc_class_init),
7043         (gst_basesrc_init), (gst_basesrc_get_formats),
7044         (gst_basesrc_get_query_types), (gst_basesrc_query),
7045         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7046         (gst_basesrc_set_property), (gst_basesrc_get_property),
7047         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7048         (gst_basesrc_loop), (gst_basesrc_activate),
7049         (gst_basesrc_change_state):
7050         * gst/base/gstbasesrc.h:
7051         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7052         (gst_fakesrc_class_init), (gst_fakesrc_init),
7053         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7054         (gst_fakesrc_get_property), (gst_fakesrc_create):
7055         * gst/elements/gstfakesrc.h:
7056         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7057         (gst_filesrc_open_file), (gst_filesrc_loop),
7058         (gst_filesrc_activate), (filesrc_find_peek),
7059         (gst_filesrc_type_find):
7060         Made base source class, make fakesrc extend it.
7061         Add comments to basesink class.
7062         Some filesrc cleanup.
7064 2005-03-31  David Schleef  <ds@schleef.org>
7066         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7067         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7068         expected to link against libgstreamer.
7069         * gst/base/Makefile.am: link against libgstreamer
7070         * gst/elements/Makefile.am: same
7072 2005-03-31  Andy Wingo  <wingo@pobox.com>
7074         * tests/instantiate/Makefile.am:
7075         * tests/instantiate/caps.c: Add test to test speed of caps copy
7076         and free.
7078         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7079         GMemChunk to be fair.
7081         * gst/gsttrashstack.h: Remove warning about using the fallback
7082         trash stack implementation, it's still faster than malloc.
7084 2005-03-30  Andy Wingo  <wingo@pobox.com>
7086         * tests/complexity.c: Add a copyright.
7088 2005-03-31  Wim Taymans  <wim@fluendo.com>
7090         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7091         (gst_base_transform_class_init), (gst_base_transform_init),
7092         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7093         (gst_base_transform_get_property),
7094         (gst_base_transform_sink_activate),
7095         (gst_base_transform_src_activate),
7096         (gst_base_transform_change_state):
7097         * gst/base/gstbasetransform.h:
7098         * gst/elements/gstidentity.c: (gst_identity_class_init),
7099         (gst_identity_event), (gst_identity_check_perfect),
7100         (gst_identity_transform), (gst_identity_start),
7101         (gst_identity_stop):
7102         Added start/stop methods to transform base class so subclasses 
7103         don't need to deal with state changes even.
7105 2005-03-31  Wim Taymans  <wim@fluendo.com>
7107         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7108         (gst_event_new_discontinuous), (gst_event_discont_get_value):
7109         * gst/gstevent.h:
7110         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7111         (gst_pad_pull_range):
7112         Added rate to the discont event to prepare for variable speed
7113         and reverse playback.
7115 2005-03-29  David Schleef  <ds@schleef.org>
7117         * configure.ac:
7118         * testsuite/trigger/Makefile.am:
7119         * testsuite/trigger/trigger.c: A little example program to show
7120         how trigger-based elements can work.
7122 2005-03-29  Wim Taymans  <wim@fluendo.com>
7124         * gst/base/Makefile.am:
7125         * gst/base/README:
7126         * gst/base/gstbasesink.c: (gst_basesink_get_type),
7127         (gst_basesink_base_init), (gst_basesink_class_init),
7128         (gst_basesink_pad_getcaps), (gst_basesink_init),
7129         (gst_basesink_activate), (gst_basesink_change_state):
7130         * gst/base/gstbasesink.h:
7131         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7132         (gst_base_transform_base_init), (gst_base_transform_finalize),
7133         (gst_base_transform_class_init), (gst_base_transform_init),
7134         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7135         (gst_base_transform_event), (gst_base_transform_getrange),
7136         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7137         (gst_base_transform_set_property),
7138         (gst_base_transform_get_property),
7139         (gst_base_transform_sink_activate),
7140         (gst_base_transform_src_activate),
7141         (gst_base_transform_change_state):
7142         * gst/base/gstbasetransform.h:
7143         * gst/elements/gstidentity.c: (gst_identity_finalize),
7144         (gst_identity_class_init), (gst_identity_init),
7145         (gst_identity_event), (gst_identity_check_perfect),
7146         (gst_identity_transform), (gst_identity_set_property),
7147         (gst_identity_get_property), (gst_identity_change_state):
7148         * gst/elements/gstidentity.h:
7149         * gst/gstelement.c: (gst_element_get_state_func),
7150         (gst_element_lost_state), (gst_element_pads_activate):
7151         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7152         (gst_pad_check_pull_range), (gst_pad_pull_range):
7153         * gst/gstpad.h:
7154         Simplify pad activation.
7155         Added function to check if pull_range can be performed.
7156         Error out when pulling inactive or flushing pads.
7157         Removed const from refcounted types as it does not make sense.
7158         Simplify pad templates in basesink
7159         Added base class for simple 1-to-1 transforms.
7160         Make identity subclass the base transform.
7162 2005-03-29  Andy Wingo  <wingo@pobox.com>
7164         * docs/libs/gstreamer-libs-overrides.txt: 
7165         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7166         really don't understand what's going on, but like whatever. I want
7167         green buildbot!
7169         * docs/gst/Makefile.am:
7170         * docs/libs/Makefile.am: Dist the overrides files.
7172         * check/Makefile.am (clean-local): Remove .libs directories.
7174         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7175         elements to EXTRA_DIST, so po/ files are happy.
7177         * po/POTFILES.in: Er, remove it here.
7179         * po/POTFILES: Remove gstspider.c.
7181         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7183         * docs/libs/gstreamer-libs-docs.sgml: 
7184         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7185         bytestream.
7187         * tests/complexity.c (main): Set the length of the preroll queue
7188         on the sinks to prevent a lockup.
7190         * libs/gst/dataprotocol/Makefile.am: 
7191         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7192         the same as the one in check/gst-libs/gdp.c.
7194         * po/, docs/gst/: Commit automatic changes to docs and po files.
7196         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7197         the versioned libgstbase.
7199         * check/Makefile.am: Depend on an unversioned gst-register, seems
7200         to make autoconf happier.
7202         * gst/base/Makefile.am: Make libgstbase a versioned lib.
7204 2005-03-28  Wim Taymans  <wim@fluendo.com>
7206         * configure.ac:
7207         * docs/design/part-gstelement.txt:
7208         * docs/design/part-negotiation.txt:
7209         * docs/design/part-preroll.txt:
7210         * docs/design/part-scheduling.txt:
7211         * docs/design/part-states.txt:
7212         * gst/Makefile.am:
7213         * gst/base/Makefile.am:
7214         * gst/base/README:
7215         * gst/base/gstbasesink.c: (gst_basesink_get_template),
7216         (gst_basesink_base_init), (gst_basesink_class_init),
7217         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7218         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7219         (gst_basesink_set_pad_functions),
7220         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7221         (gst_basesink_set_property), (gst_basesink_get_property),
7222         (gst_base_sink_get_template), (gst_base_sink_get_caps),
7223         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7224         (gst_basesink_preroll_queue_push),
7225         (gst_basesink_preroll_queue_empty),
7226         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7227         (gst_basesink_event), (gst_basesink_get_times),
7228         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7229         (gst_basesink_chain_unlocked), (gst_basesink_chain),
7230         (gst_basesink_loop), (gst_basesink_activate),
7231         (gst_basesink_change_state):
7232         * gst/base/gstbasesink.h:
7233         * gst/elements/Makefile.am:
7234         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7235         (gst_fakesink_class_init), (gst_fakesink_init),
7236         (gst_fakesink_set_property), (gst_fakesink_get_property),
7237         (gst_fakesink_get_times), (gst_fakesink_event),
7238         (gst_fakesink_preroll), (gst_fakesink_render),
7239         (gst_fakesink_change_state):
7240         * gst/elements/gstfakesink.h:
7241         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7242         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7243         * gst/gstelement.c: (gst_element_add_pad),
7244         (gst_element_get_state_func), (gst_element_abort_state),
7245         (gst_element_commit_state), (gst_element_lost_state),
7246         (gst_element_set_state), (gst_element_pads_activate):
7247         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7248         * gst/gstpipeline.c: (gst_pipeline_send_event),
7249         (gst_pipeline_change_state):
7250         Added state change code.
7251         Added/updated docs.
7252         Added sink base class, make fakesink extend the base class.
7253         Small cleanups in GstPipeline.
7255 2005-03-26  David Schleef  <ds@schleef.org>
7257         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
7258         is broken and should be implemented in a different library.
7259         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7260         * gst/gst.h: remove gstcpu.h
7261         * gst/gstcpu.c: remove
7262         * gst/gstcpu.h: remove
7263         * gst/Makefile.am.future: Remove this file.  It's ancient.
7265 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7267         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7268         (gst_bin_send_event):
7269           Add default event/set_manager handlers. The set_manager handler
7270           takes care that the manager is distributed over kids that were
7271           already in the bin before the manager was set. The event handler
7272           is a utility virtual function that sends the event over all sinks,
7273           so that gst_element_send_event (bin, event); has the expected
7274           behaviour.
7275         * gst/gstpad.c: (gst_pad_event_default):
7276           Re-install default event handling for discontinuities, so that
7277           seeking works without requiring hacks in applications or extra
7278           code in sinks.
7279         * gst/gstpipeline.c: (gst_pipeline_class_init),
7280         (gst_pipeline_send_event):
7281           Half hack, half utility: set a pipeline to PAUSED for seek events,
7282           since that is the only way we can guarantee a/v sync. Means that
7283           you can do gst_element_seek (pipeline, method, pos); on a pipeline
7284           and it "just works".
7286 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7288         * gst/gstpipeline.c: (gst_pipeline_use_clock):
7289           Lock/unlock mismatch.
7291 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7293         * docs/faq/gst-uninstalled:
7294           add gst-plugins-base
7295         * docs/gst/Makefile.am:
7296           don't error out until docs are fixed
7297         * docs/gst/gstreamer.types:
7298           remove thread
7300 2005-03-22  Wim Taymans  <wim@fluendo.com>
7302         * check/Makefile.am:
7303         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7304         * gst/gststructure.c: (gst_structure_set_valist),
7305         (gst_structure_copy_conditional):
7306         Activated more tests.
7307         Added message test.
7308         Added G_TYPE_POINTER to GstStructure.
7309         
7311 2005-03-22  Wim Taymans  <wim@fluendo.com>
7313         * docs/design/part-TODO.txt:
7314         * docs/design/part-events.txt:
7315         * docs/design/part-gstbin.txt:
7316         * docs/design/part-gstbus.txt:
7317         * docs/design/part-gstpipeline.txt:
7318         * docs/design/part-messages.txt:
7319         * gst/gstbus.c:
7320         * gst/gstmessage.c:
7321         Docs updates
7323 2005-03-21  Wim Taymans  <wim@fluendo.com>
7325         * gst/gstbus.c: (gst_bus_post):
7326         Fix copy-and-paste error.
7328 2005-03-21  Wim Taymans  <wim@fluendo.com>
7330         * check/Makefile.am:
7331         * gst/Makefile.am:
7332         * gst/elements/Makefile.am:
7333         * gst/elements/gstelements.c:
7334         * gst/elements/gstfakesink.c: (gst_fakesink_init),
7335         (gst_fakesink_event), (gst_fakesink_chain):
7336         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7337         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7338         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7339         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7340         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7341         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7342         (gst_fakesrc_loop), (gst_fakesrc_activate),
7343         (gst_fakesrc_change_state):
7344         * gst/elements/gstfakesrc.h:
7345         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7346         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7347         (gst_filesrc_open_file), (gst_filesrc_loop),
7348         (gst_filesrc_activate), (gst_filesrc_change_state),
7349         (filesrc_find_peek), (filesrc_find_suggest),
7350         (gst_filesrc_type_find):
7351         * gst/elements/gstidentity.c: (gst_identity_finalize),
7352         (gst_identity_class_init), (gst_identity_init),
7353         (gst_identity_proxy_getcaps), (identity_queue_push),
7354         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7355         (gst_identity_getrange), (gst_identity_chain),
7356         (gst_identity_sink_loop), (gst_identity_src_loop),
7357         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7358         (gst_identity_set_property), (gst_identity_get_property),
7359         (gst_identity_change_state):
7360         * gst/elements/gstidentity.h:
7361         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7362         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7363         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7364         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7365         (gst_tee_sink_activate):
7366         * gst/elements/gsttee.h:
7367         * gst/gst.c: (gst_register_core_elements), (init_post):
7368         * gst/gst.h:
7369         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7370         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7371         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7372         (gst_bin_change_state):
7373         * gst/gstbin.h:
7374         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7375         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7376         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7377         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7378         (gst_bus_set_sync_handler), (gst_bus_create_watch),
7379         (bus_watch_callback), (bus_watch_destroy),
7380         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7381         (poll_timeout), (gst_bus_poll):
7382         * gst/gstbus.h:
7383         * gst/gstcaps.h:
7384         * gst/gstdata.h:
7385         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7386         (gst_element_post_message), (gst_element_message_full),
7387         (gst_element_get_state_func), (gst_element_get_state),
7388         (gst_element_abort_state), (gst_element_commit_state),
7389         (gst_element_lost_state), (gst_element_set_state),
7390         (gst_element_pads_activate), (gst_element_change_state),
7391         (gst_element_dispose), (gst_element_set_manager_func),
7392         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7393         (gst_element_set_manager), (gst_element_get_manager),
7394         (gst_element_set_bus), (gst_element_get_bus),
7395         (gst_element_set_scheduler), (gst_element_get_scheduler):
7396         * gst/gstelement.h:
7397         * gst/gstevent.c: (gst_event_new_segment_seek),
7398         (gst_event_new_flush):
7399         * gst/gstevent.h:
7400         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7401         (_gst_message_free), (gst_message_get_type), (gst_message_new),
7402         (gst_message_new_eos), (gst_message_new_error),
7403         (gst_message_new_warning), (gst_message_new_tag),
7404         (gst_message_new_state_changed), (gst_message_new_application),
7405         (gst_message_get_structure), (gst_message_parse_tag),
7406         (gst_message_parse_state_changed), (gst_message_parse_error),
7407         (gst_message_parse_warning):
7408         * gst/gstmessage.h:
7409         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7410         (gst_real_pad_set_property), (gst_pad_set_active),
7411         (gst_pad_is_active), (gst_pad_set_blocked_async),
7412         (gst_pad_set_blocked), (gst_pad_is_blocked),
7413         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7414         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7415         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7416         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7417         (gst_pad_link_filtered), (gst_pad_relink_filtered),
7418         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7419         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7420         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7421         (gst_pad_set_caps), (gst_pad_configure_sink),
7422         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7423         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7424         (gst_real_pad_dispose), (gst_real_pad_finalize),
7425         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7426         (gst_pad_event_default_dispatch), (gst_pad_event_default),
7427         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7428         * gst/gstpad.h:
7429         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7430         (pipeline_bus_handler), (gst_pipeline_change_state),
7431         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7432         * gst/gstpipeline.h:
7433         * gst/gstprobe.h:
7434         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7435         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7436         (gst_queue_link_src), (gst_queue_bufferalloc),
7437         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7438         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7439         (gst_queue_loop), (gst_queue_handle_src_event),
7440         (gst_queue_handle_src_query), (gst_queue_src_activate),
7441         (gst_queue_change_state):
7442         * gst/gstqueue.h:
7443         * gst/gstscheduler.c: (gst_scheduler_init),
7444         (gst_scheduler_dispose), (gst_scheduler_create_task),
7445         (gst_scheduler_factory_create):
7446         * gst/gstscheduler.h:
7447         * gst/gststructure.c: (gst_structure_get_type),
7448         (gst_structure_copy_conditional):
7449         * gst/gststructure.h:
7450         * gst/gsttaginterface.h:
7451         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7452         (gst_task_init), (gst_task_dispose), (gst_task_create),
7453         (gst_task_get_state), (gst_task_start), (gst_task_stop),
7454         (gst_task_pause):
7455         * gst/gsttask.h:
7456         * gst/gstthread.c:
7457         * gst/gstthread.h:
7458         * gst/gsttypes.h:
7459         * gst/schedulers/Makefile.am:
7460         * gst/schedulers/cothreads_compat.h:
7461         * gst/schedulers/entryscheduler.c:
7462         * gst/schedulers/faircothreads.c:
7463         * gst/schedulers/faircothreads.h:
7464         * gst/schedulers/fairscheduler.c:
7465         * gst/schedulers/gstbasicscheduler.c:
7466         * gst/schedulers/gstoptimalscheduler.c:
7467         * gst/schedulers/gthread-cothreads.h:
7468         * gst/schedulers/threadscheduler.c:
7469         (gst_thread_scheduler_task_get_type),
7470         (gst_thread_scheduler_task_class_init),
7471         (gst_thread_scheduler_task_init),
7472         (gst_thread_scheduler_task_start),
7473         (gst_thread_scheduler_task_stop),
7474         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7475         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7476         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7477         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7478         (plugin_init):
7479         * libs/gst/Makefile.am:
7480         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7481         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7482         (gst_file_pad_parent_set):
7483         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7484         (gst_dp_event_from_packet):
7485         * tests/complexity.c: (main):
7486         * tests/mass_elements.c: (main):
7487         * testsuite/states/locked.c: (message_received), (main):
7488         * testsuite/states/parent.c: (main):
7489         * tools/gst-inspect.c: (print_element_flag_info),
7490         (print_implementation_info), (print_pad_info):
7491         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7492         (main):
7493         * tools/gst-md5sum.c: (event_loop), (main):
7494         * tools/gst-typefind.c: (main):
7495         * tools/gst-xmlinspect.c: (print_element_info):
7496         Next big merge.
7497         Added GstBus for mainloop integration.
7498         Added GstMessage for sending notifications on the bus.
7499         Added GstTask as an abstraction for pipeline entry points.
7500         Removed GstThread.
7501         Removed Schedulers.
7502         Simplified GstQueue for multithreaded core.
7503         Made _link threadsafe, removed old capsnego.
7504         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7505         Added pad blocking functions.
7506         Reworked scheduling functions in GstPad to prepare for
7507         scheduling updates soon.
7508         Moved events out of data stream.
7509         Simplified GstEvent types.
7510         Added return values to push/pull.
7511         Removed clocking from GstElement.
7512         Added prototypes for state change function for next merge.
7513         Removed iterate from bins and state change management.
7514         Fixed some elements, disabled others for now.
7515         Fixed -inspect and -launch.
7516         Added check for GstBus.
7518 2005-03-10  Wim Taymans  <wim@fluendo.com>
7520         * docs/design/part-MT-refcounting.txt:
7521         * docs/design/part-clocks.txt:
7522         * docs/design/part-gstelement.txt:
7523         * docs/design/part-gstobject.txt:
7524         * docs/design/part-standards.txt:
7525         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7526         (gst_bin_remove_func), (gst_bin_remove):
7527         * gst/gstbin.h:
7528         * gst/gstbuffer.c:
7529         * gst/gstcaps.h:
7530         * testsuite/clock/clock1.c: (main):
7531         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7532         (main):
7533         * testsuite/dlopen/loadgst.c: (do_test):
7534         * testsuite/refcounting/bin.c: (add_remove_test1),
7535         (add_remove_test2), (main):
7536         * testsuite/refcounting/element.c: (main):
7537         * testsuite/refcounting/element_pad.c: (main):
7538         * testsuite/refcounting/pad.c: (main):
7539         * tools/gst-launch.c: (sigint_handler_sighandler):
7540         * tools/gst-typefind.c: (main):
7541         Doc updates.
7542         Added doc about clock.
7543         removed gst_bin_iterate_recurse_up(), marked methods
7544         for removal.
7545         Fix more testsuites.
7547 2005-03-09  Wim Taymans  <wim@fluendo.com>
7549         * gst/gstpad.c: (gst_pad_get_direction),
7550         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7551         (gst_pad_collect_valist):
7552         * testsuite/bins/interface.c: (main):
7553         * testsuite/caps/audioscale.c: (test_caps):
7554         * testsuite/caps/caps.c: (test1), (test2), (test3):
7555         * testsuite/caps/deserialize.c: (main):
7556         * testsuite/caps/enumcaps.c: (main):
7557         * testsuite/caps/filtercaps.c: (main):
7558         * testsuite/caps/intersect2.c: (main):
7559         * testsuite/caps/random.c: (main):
7560         * testsuite/caps/renegotiate.c: (my_fixate), (main):
7561         * testsuite/caps/sets.c: (check_caps):
7562         * testsuite/caps/simplify.c: (check_caps), (main):
7563         * testsuite/caps/subtract.c: (check_caps):
7564         Fix _pad_get_direction wrt ghostpads.
7565         Fix caps testsuite.
7567 2005-03-09  Wim Taymans  <wim@fluendo.com>
7569         * check/Makefile.am:
7570         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7571         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7572         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7573         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7574         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7575         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7576         (gst_bin_remove), (gst_bin_iterate_recurse_up),
7577         (bin_element_is_sink), (gst_bin_iterate_sinks),
7578         (gst_bin_iterate_all_by_interface):
7579         * gst/gstbin.h:
7580         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7581         (gst_element_change_state), (gst_element_dispose),
7582         (gst_element_finalize), (gst_element_set_loop_function):
7583         * gst/gstelement.h:
7584         * gst/gstiterator.c: (find_custom_fold_func):
7585         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7586         (gst_pad_collectv), (gst_pad_collect_valist),
7587         (gst_pad_template_new):
7588         * gst/gstpipeline.c: (gst_pipeline_class_init),
7589         (gst_pipeline_dispose), (gst_pipeline_set_property),
7590         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7591         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7592         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7593         * gst/gstutils.h:
7594         * gst/schedulers/entryscheduler.c:
7595         * gst/schedulers/gstbasicscheduler.c:
7596         (gst_basic_scheduler_cothreaded_chain),
7597         (gst_basic_scheduler_chain_add_element):
7598         * testsuite/bins/interface.c: (main):
7599         Added GstBin test.
7600         Added GstSystemClock test.
7601         Implemented clock distribution code in GstBin.
7602         Implemented iterate sinks method for future use.
7603         Rearranged gstelement.h
7604         Fix GstIterator comparison bug.
7605         Moved some code to GstPipeline, mostly clocking related.
7607 2005-03-09  Wim Taymans  <wim@fluendo.com>
7609         * configure.ac:
7610         * gst/gst_private.h:
7611         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7612         (gst_bin_remove_func), (gst_bin_remove),
7613         (gst_bin_get_by_name_recurse_up):
7614         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7615         (gst_clock_id_compare_func), (gst_clock_id_wait),
7616         (gst_clock_id_wait_async), (gst_clock_init),
7617         (gst_clock_adjust_unlocked), (gst_clock_get_time):
7618         * gst/gstelement.h:
7619         * gst/gstinfo.c: (_gst_debug_init):
7620         * gst/gstobject.h:
7621         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7622         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7623         * gst/gstpad.h:
7624         Bump version number, we're now 0.9.0
7625         Add future debugging category.
7626         Fix NULL _unref() in _get_by_name_recurse_up
7627         Rearrange gstpad.h.
7628         Update some docs.
7630 2005-03-08  Wim Taymans  <wim@fluendo.com>
7632         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7633         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7634         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7635         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7636         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7637         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7638         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7639         * gst/elements/gstidentity.c: (gst_identity_class_init):
7640         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7641         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7642         * gst/elements/gstshaper.c: (gst_shaper_class_init):
7643         * gst/elements/gststatistics.c: (gst_statistics_class_init):
7644         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7645         (gst_tee_link):
7646         * gst/gstelement.c: (gst_element_class_init),
7647         (gst_element_base_class_init), (gst_element_init),
7648         (gst_element_get_random_pad), (gst_element_wait_state_change),
7649         (gst_element_change_state), (gst_element_dispose),
7650         (gst_element_finalize), (gst_element_set_loop_function):
7651         * gst/gstelement.h:
7652         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7653         * gst/gstthread.c: (gst_thread_class_init),
7654         (gst_thread_release_children_locks), (gst_thread_change_state):
7655         * gst/schedulers/gstbasicscheduler.c:
7656         (gst_basic_scheduler_loopfunc_wrapper),
7657         (gst_basic_scheduler_chain_wrapper),
7658         (gst_basic_scheduler_src_wrapper),
7659         (gst_basic_scheduler_remove_element):
7660         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7661         Remove threadsafe properties. Fix elements because GObject
7662         complains when installing a property before declaring a
7663         set/get_property handler.
7664         Rearrange gstelement.h file, use STATE macros for state locks.
7665         Free mutexes in the finalize method instead of dispose.
7667 2005-03-08  Wim Taymans  <wim@fluendo.com>
7669         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7670         * gst/gstthread.c: (gst_thread_release_children_locks):
7671         Added parentage check.
7672         Fix build og GstThread again.
7674 2005-03-08  Wim Taymans  <wim@fluendo.com>
7676         * docs/design/part-MT-refcounting.txt:
7677         * docs/design/part-conventions.txt:
7678         * docs/design/part-gstobject.txt:
7679         * docs/design/part-relations.txt:
7680         * docs/design/part-standards.txt:
7681         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7682         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7683         (gst_bin_get_by_name), (gst_bin_get_by_interface),
7684         (gst_bin_iterate_all_by_interface):
7685         * gst/gstbuffer.h:
7686         * gst/gstclock.h:
7687         * gst/gstelement.c: (gst_element_class_init),
7688         (gst_element_change_state), (gst_element_set_loop_function):
7689         * gst/gstelement.h:
7690         * gst/gstiterator.c:
7691         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7692         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7693         (gst_object_dispatch_properties_changed), (gst_object_set_name),
7694         (gst_object_set_parent), (gst_object_unparent),
7695         (gst_object_check_uniqueness):
7696         * gst/gstobject.h:
7697         Docs updates, clean up some headers.
7699 2005-03-07  Wim Taymans  <wim@fluendo.com>
7701         * check/.cvsignore:
7702         * check/Makefile.am:
7703         * check/gst-libs/.cvsignore:
7704         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7705         * check/gst/.cvsignore:
7706         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7707         (START_TEST), (gstbus_suite), (main):
7708         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7709         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7710         (gst_data_suite), (main):
7711         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7712         (add_fold_func), (gstiterator_suite), (main):
7713         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7714         (thread_name_object), (thread_name_object_default),
7715         (gst_object_name_compare), (gst_object_suite), (main):
7716         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7717         (gst_pad_suite), (main):
7718         * check/gstcheck.c: (gst_check_log_message_func),
7719         (gst_check_log_critical_func), (gst_check_init):
7720         * check/gstcheck.h:
7721         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7722         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7723         Added checks.
7725 2005-03-07  Wim Taymans  <wim@fluendo.com>
7727         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7728         (gst_list_iterator_next), (gst_list_iterator_resync),
7729         (gst_list_iterator_free), (gst_iterator_new_list),
7730         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7731         (gst_iterator_free), (gst_iterator_push), (filter_next),
7732         (filter_resync), (filter_uninit), (filter_free),
7733         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7734         (gst_iterator_foreach), (find_custom_fold_func),
7735         (gst_iterator_find_custom):
7736         * gst/gstiterator.h:
7737         Added missing files.
7739 2005-03-07  Wim Taymans  <wim@fluendo.com>
7741         * Makefile.am:
7742         * configure.ac:
7743         * docs/design/part-MT-refcounting.txt:
7744         * docs/design/part-conventions.txt:
7745         * docs/design/part-gstobject.txt:
7746         * docs/design/part-relations.txt:
7747         * examples/mixer/mixer.c: (main):
7748         * examples/thread/thread.c: (eos), (main):
7749         * gst/Makefile.am:
7750         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7751         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7752         (gst_spider_plug_from_srcpad):
7753         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7754         (gst_spider_identity_change_state),
7755         (gst_spider_identity_sink_loop_type_finding):
7756         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7757         * gst/elements/gstidentity.c: (gst_identity_init):
7758         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7759         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7760         * gst/elements/gsttypefindelement.c: (free_entry):
7761         * gst/gst.c:
7762         * gst/gst.h:
7763         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7764         (gst_bin_set_clock_func), (gst_bin_auto_clock),
7765         (gst_bin_set_index), (gst_bin_set_element_sched),
7766         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7767         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7768         (gst_bin_iterate_elements), (iterate_child_recurse),
7769         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7770         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7771         (compare_interface), (gst_bin_get_by_interface),
7772         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7773         * gst/gstbin.h:
7774         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7775         (gst_buffer_default_free), (gst_buffer_default_copy),
7776         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7777         (gst_buffer_create_sub):
7778         * gst/gstbuffer.h:
7779         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7780         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7781         (gst_caps_unref), (gst_static_caps_get),
7782         (gst_caps_remove_and_get_structure), (gst_caps_append),
7783         (gst_caps_append_structure), (gst_caps_remove_structure),
7784         (gst_caps_copy_nth), (gst_caps_set_simple),
7785         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7786         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7787         (gst_caps_structure_intersect_field), (gst_caps_intersect),
7788         (gst_caps_structure_subtract_field), (gst_caps_subtract),
7789         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7790         (gst_caps_structure_figure_out_union),
7791         (gst_caps_switch_structures), (gst_caps_do_simplify),
7792         (gst_caps_replace), (gst_caps_from_string),
7793         (gst_caps_copy_conditional):
7794         * gst/gstcaps.h:
7795         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7796         (_gst_clock_id_free), (gst_clock_id_unref),
7797         (gst_clock_id_compare_func), (gst_clock_id_wait),
7798         (gst_clock_id_wait_async), (gst_clock_class_init),
7799         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7800         (gst_clock_get_time), (gst_clock_set_time_adjust),
7801         (gst_clock_set_property), (gst_clock_get_property):
7802         * gst/gstclock.h:
7803         * gst/gstcompat.h:
7804         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7805         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7806         * gst/gstdata.h:
7807         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7808         (gst_element_requires_clock), (gst_element_provides_clock),
7809         (gst_element_set_clock), (gst_element_clock_wait),
7810         (gst_element_wait), (gst_element_set_time_delay),
7811         (gst_element_is_indexable), (gst_element_add_pad),
7812         (gst_element_add_ghost_pad), (gst_element_remove_pad),
7813         (pad_compare_name), (gst_element_get_static_pad),
7814         (gst_element_request_pad), (gst_element_get_request_pad),
7815         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7816         (gst_element_class_get_pad_template_list),
7817         (gst_element_class_get_pad_template), (gst_element_error_func),
7818         (gst_element_get_random_pad), (gst_element_get_event_masks),
7819         (gst_element_send_event), (gst_element_seek),
7820         (gst_element_get_query_types), (gst_element_query),
7821         (gst_element_get_formats), (gst_element_convert),
7822         (gst_element_is_locked_state), (gst_element_set_locked_state),
7823         (gst_element_sync_state_with_parent), (gst_element_change_state),
7824         (gst_element_finalize), (gst_element_yield),
7825         (gst_element_interrupt), (gst_element_set_scheduler),
7826         (gst_element_get_scheduler), (gst_element_set_loop_function):
7827         * gst/gstelement.h:
7828         * gst/gstevent.h:
7829         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7830         (gst_format_get_by_nick), (gst_format_get_details),
7831         (gst_format_iterate_definitions):
7832         * gst/gstformat.h:
7833         * gst/gstindex.c: (gst_index_gtype_resolver):
7834         * gst/gstinfo.c:
7835         * gst/gstinfo.h:
7836         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7837         (gst_mem_chunk_free):
7838         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7839         (gst_object_ref), (gst_object_unref), (gst_object_sink),
7840         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7841         (gst_object_dispatch_properties_changed),
7842         (gst_object_set_name_default), (gst_object_set_name),
7843         (gst_object_get_name), (gst_object_set_name_prefix),
7844         (gst_object_get_name_prefix), (gst_object_set_parent),
7845         (gst_object_get_parent), (gst_object_unparent),
7846         (gst_object_check_uniqueness), (gst_object_save_thyself),
7847         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7848         (gst_object_set_property), (gst_object_get_property),
7849         (gst_object_get_path_string):
7850         * gst/gstobject.h:
7851         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7852         (gst_real_pad_init), (gst_real_pad_get_property),
7853         (gst_pad_custom_new), (gst_pad_get_direction),
7854         (gst_pad_set_active), (gst_pad_is_active),
7855         (gst_pad_set_event_function), (gst_pad_is_linked),
7856         (gst_pad_link_free), (gst_pad_link_intersect),
7857         (gst_pad_link_fixate), (gst_pad_set_caps),
7858         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
7859         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
7860         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
7861         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
7862         (gst_pad_get_caps), (gst_pad_peer_get_caps),
7863         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
7864         (gst_pad_realize), (gst_pad_get_allowed_caps),
7865         (gst_real_pad_dispose), (gst_real_pad_finalize),
7866         (gst_pad_collectv), (gst_pad_collect_valist),
7867         (gst_pad_template_dispose), (gst_pad_template_new),
7868         (gst_pad_get_internal_links):
7869         * gst/gstpad.h:
7870         * gst/gstpipeline.c: (gst_pipeline_dispose),
7871         (gst_pipeline_change_state):
7872         * gst/gstpipeline.h:
7873         * gst/gstplugin.c:
7874         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
7875         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
7876         * gst/gstpluginfeature.h:
7877         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
7878         * gst/gstquery.c: (_gst_query_type_initialize),
7879         (gst_query_type_register), (gst_query_type_get_by_nick),
7880         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
7881         * gst/gstquery.h:
7882         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
7883         * gst/gstscheduler.c: (gst_scheduler_add_element),
7884         (gst_scheduler_factory_create):
7885         * gst/gststructure.c: (gst_structure_set_parent_refcount),
7886         (gst_structure_free), (gst_structure_set_name),
7887         (gst_structure_id_set_value), (gst_structure_set_value),
7888         (gst_structure_set_valist), (gst_structure_remove_field),
7889         (gst_structure_remove_fields),
7890         (gst_structure_remove_fields_valist),
7891         (gst_structure_remove_all_fields), (gst_structure_foreach),
7892         (gst_structure_map_in_place),
7893         (gst_caps_structure_fixate_field_nearest_int),
7894         (gst_caps_structure_fixate_field_nearest_double):
7895         * gst/gststructure.h:
7896         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7897         (gst_system_clock_init), (gst_system_clock_dispose),
7898         (gst_system_clock_async_thread),
7899         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
7900         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7901         * gst/gstsystemclock.h:
7902         * gst/gsttag.c: (gst_tag_list_add_value_internal),
7903         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
7904         * gst/gsttaginterface.c:
7905         * gst/gstthread.c: (gst_thread_dispose),
7906         (gst_thread_release_children_locks), (gst_thread_change_state),
7907         (gst_thread_main_loop):
7908         * gst/gsttrashstack.h:
7909         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
7910         * gst/gsttypes.h:
7911         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7912         (gst_element_request_pad), (gst_element_get_pad_from_template),
7913         (gst_element_request_compatible_pad),
7914         (gst_element_get_compatible_pad_filtered),
7915         (gst_element_get_compatible_pad), (gst_element_state_get_name),
7916         (gst_element_link_pads_filtered), (gst_element_link_filtered),
7917         (gst_element_link_many), (gst_element_link),
7918         (gst_element_link_pads), (gst_element_unlink_pads),
7919         (gst_element_unlink_many), (gst_element_unlink),
7920         (gst_pad_can_link_filtered), (gst_pad_can_link),
7921         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
7922         (gst_object_default_error), (gst_bin_add_many),
7923         (gst_bin_remove_many), (gst_element_populate_std_props),
7924         (gst_element_class_install_std_props), (gst_buffer_merge),
7925         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
7926         (link_fold_func), (gst_pad_proxy_setcaps):
7927         * gst/gstutils.h:
7928         * gst/gstvalue.c: (gst_value_deserialize_string):
7929         * gst/parse/grammar.y:
7930         * gst/schedulers/gstbasicscheduler.c:
7931         (gst_basic_scheduler_cothreaded_chain),
7932         (gst_basic_scheduler_chain_recursive_add),
7933         (gst_basic_scheduler_pad_link):
7934         * gst/schedulers/gstoptimalscheduler.c:
7935         (get_group_schedule_function),
7936         (gst_opt_scheduler_state_transition),
7937         (gst_opt_scheduler_add_element), (element_get_reachables_func):
7938         * libs/gst/bytestream/bytestream.c:
7939         * libs/gst/dataprotocol/dataprotocol.c:
7940         (gst_dp_header_from_buffer):
7941         * po/nb.po:
7942         * po/ru.po:
7943         * tests/threadstate/threadstate2.c: (eos):
7944         * tools/gst-compprep.c: (main):
7945         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
7946         (print_pad_info), (print_children_info):
7947         * tools/gst-launch.c: (idle_func), (main):
7948         * tools/gst-md5sum.c: (idle_func), (main):
7949         * tools/gst-xmlinspect.c: (print_element_info):
7950         First THREADED backport attempt, focusing on adding locks and
7951         making sure the API is threadsafe. Needs more work. More docs
7952         follow this week.
7954 2005-02-24  Andy Wingo  <wingo@pobox.com>
7956         * tests/bench-complexity.scm:
7957         * tests/complexity.gnuplot: New files, good for running complexity
7958         benchmarks.
7960         * tests/Makefile.am:
7961         * tests/complexity.c: New test, sets up N elements, at each level
7962         teeing into M streams per element. Eeeenteresting.
7964         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
7965         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
7966         running bench-mass_elements.scm.
7968         * tests/bench-mass_elements.scm: New script, runs mass_elements
7969         for various numbers of identities, outputting the results to a
7970         file. Requires guile 1.6. Just for testing.
7972 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7974         * gst/schedulers/fairscheduler.c:
7975           compile with debug disabled
7977 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7979         * configure.ac:
7980           hunting season on 0.9 is now OPEN