]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - ChangeLog
gst/gstevent.*: New event for future idea.
[glsdk/gstreamer0-10.git] / ChangeLog
1 2005-10-07  Wim Taymans  <wim@fluendo.com>
3         * gst/gstevent.c: (gst_event_new_buffersize),
4         (gst_event_parse_buffersize):
5         * gst/gstevent.h:
6         New event for future idea.
8 2005-10-07  Andy Wingo  <wingo@pobox.com>
10         * gst/gstelement.c (gst_element_post_message): Doc update.
12         * docs/gst/gstreamer-sections.txt: Update.
14         * gst/gstmessage.c (gst_message_new_application): Made into a
15         function like honest API calls.
16         (gst_message_new_element): New message type.
18         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22         times.
24         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
25         NO_PREROLL from gst_element_change_state to fall through.
27 2005-10-07  Wim Taymans  <wim@fluendo.com>
29         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
30         (gst_ghost_pad_do_activate_push):
31         Activating a ghostpad with no internal pad in push mode
32         is ok.
34 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
36         * gst/gstobject.h:
37           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
38           Fixes compilation on Windows.
40 2005-10-07  Michael Smith <msmith@fluendo.com>
42         * tools/gst-inspect.c:
43           Print out feature and plugin count at the end when printing out
44           all features.
46 2005-10-04  Michael Smith <msmith@fluendo.com>
48         * gst/gsterror.c: (_gst_stream_errors_init):
49           Add another error string used in a few existing plugins.
51         * gst/gstplugin.c:
52         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
53         * tools/gst-inspect.c: (print_element_info):
54           When a feature disappears from a plugin (and the feature exists in
55           the cached registry file), things went horribly wrong. This isn't a
56           complete fix, we should actually be removing the 'missing' features
57           from the features list when we load the actual plugin. That's not
58           yet implemented. 
60 2005-10-04  Johan Dahlin  <johan@gnome.org>
62         * check/gst/gstiterator.c: (GST_START_TEST):
63         * gst/gstbin.c: (gst_bin_iterate_elements),
64         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
65         * gst/gstelement.c: (gst_element_iterate_pads):
66         * gst/gstformat.c: (gst_format_iterate_definitions):
67         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
68         (gst_iterator_new_list), (gst_iterator_filter):
69         * gst/gstiterator.h:
70         * gst/gstquery.c: (gst_query_type_iterate_definitions):
71         Add a GType to GstIterator, update callsites and tests.
73 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
75         * gst/gstpad.c: (gst_pad_event_default_dispatch):
76           give events a chance to be handled by event probes when the pad
77           is not linked
79 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
81         * gst/gstevent.c: (gst_event_type_get_name),
82         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
83         * gst/gstevent.h:
84           add string representations for event types
86 2005-10-06  Wim Taymans  <wim@fluendo.com>
88         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
89         Don't use NULL pointers.
91 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
93         * gst/gst_private.h:
94         * gst/gstbus.c:
95         * gst/gstelement.c:
96         * gst/gstinfo.c:
97         * gst/gstpluginfeature.c:
98           widen the debug category in output to fit the biggest one we have
99           add a bus category and use it
100           play with the colors
101           fix up some categories
103 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
105         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
106           add push activation of sink ghost pads.
107           Andye, please verify
109 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
111         * gst/gstutils.c: (gst_element_link_pads):
112           fix a bug in the case where neither element has a pad
113         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
114           add a test for that case
116 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
118         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
119           emit have-data before checking for peers.  This allows
120           for probe handlers to connect elements.  This helps autopluggers.
121         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
122         (gst_pad_suite):
123           add six checks, linked/unlinked with no/true/false probe
125 2005-10-04  Wim Taymans  <wim@fluendo.com>
127         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
128         (gst_fake_sink_event), (gst_fake_sink_preroll),
129         (gst_fake_sink_render), (gst_fake_sink_change_state):
130         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
131         (gst_fake_src_get_property), (gst_fake_src_create),
132         (gst_fake_src_stop):
133         * gst/elements/gstidentity.c: (gst_identity_stop):
134         Protect last_message with lock.
136 2005-10-04  Edward Hervey  <edward@fluendo.com>
138         * gst/gstformat.h: 
139         Added precision in the comments for GST_FORMAT_DEFAULT
141 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
143         * tools/gst-launch.c: (main):
144           Don't try to run erroneous pipelines.
146 2005-10-04  Julien MOUTTE  <julien@moutte.net>
148         * gst/gstbus.c: We don't need this header.
150 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
152         * configure.ac:
153           back to development
155 === release 0.9.3 ===
157 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
159         * README:
160         * configure.ac:
161           Releasing 0.9.3, "Unregistered"
163 2005-10-03  Andy Wingo  <wingo@pobox.com>
165         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
166         whereby calling a pad's activatepush() function can start a thread
167         that starts to push or pull before the pad gets the FLUSHING flag
168         unset. Hack around it by holding the stream lock until the flag is
169         set. Need to replace this with a proper solution. Together with
170         the ghost pad fixes, this fixes mp3 playing/tagreading.
172         * docs/design/part-gstghostpad.txt: Add a note about activation of
173         proxy pads outside of ghost pads.
175         * gst/gstghostpad.c: Implement the ghost pad activation design.
177 2005-10-02  Andy Wingo  <wingo@pobox.com>
179         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
180         It is volatile, after all.
182         * docs/design/part-gstghostpad.txt: Flesh out activation with
183         ghost pads.
185         * gst/base/gstbasesrc.c (gst_base_src_init): Use
186         GST_DEBUG_FUNCPTR.
188 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
190         * configure.ac:
191           Fix (unused) AM_CONDITIONAL tests.
193 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
195         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
197         * gst/gstutils.c: (gst_pad_query_convert):
198           Add assertion that makes sure src_val is >=0, just like
199           gst_query_new_convert() has. (#315895)
201 2005-09-30  Edward Hervey  <edward@fluendo.com>
203         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
204         Let's not iterate pads we're not interested in, it avoids getting 
205         sky-high refcounts on sinkpad.
207 2005-09-30  Wim Taymans  <wim@fluendo.com>
209         * gst/gstelement.c: (gst_element_set_state),
210         (gst_element_change_state):
211         Small tweak, element in ASYNC remains ASYNC.
213 2005-09-30  Wim Taymans  <wim@fluendo.com>
215         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
216         Only error is an error.
218         * gst/gstbin.c: (gst_bin_change_state):
219         Better debugging.
221         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
222         Also call pad_block in pad alloc.
224         * gst/gstutils.c: (gst_flow_get_name):
225         Better debugging.
227 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
229         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
230         (gst_base_src_get_range):
231           Fix documentation typos. Add some more debug info.
233 2005-09-29  David Schleef  <ds@schleef.org>
235         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
236           more end-user friendly.
237         * tools/gst-inspect.c: (main): Check if command-line argument is
238           a file and attempt to load that file as a plugin.
240 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
242         * check/gst/gstbin.c:
243         * check/states/sinks.c:
244           fix tests for the new warning
245         * check/gst/gstpipeline.c:
246           add a test for pipeline and bus interaction
247         * gst/gstelement.c:
248           elements should be NULL if they get disposed; add a warning if not
250 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
252         * gst/gstobject.c:
253           for 2.6 refcounting, make debug log more correct by printing
254           the actual refcounts at the time of swap (Wim)
256 2005-09-29  Andy Wingo  <wingo@pobox.com>
258         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
259         removes signal watches previously added via
260         gst_bus_add_signal_watch.
261         (gst_bus_add_signal_watch): Don't return the source id, just store
262         it on the bus if there wasn't an id already.
264         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
265         add_signal_watch and remove_signal_watch.
267 2005-09-29  Edward Hervey  <edward@fluendo.com>
269         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
270         Better if we actually iterate the list :)
272 2005-09-29  Wim Taymans  <wim@fluendo.com>
274         * check/gst/gstbin.c: (GST_START_TEST):
275         Change for new bus API.
277         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
278         (send_messages), (GST_START_TEST), (gstbus_suite):
279         Change for new bus signal API.
281         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
282         (gst_bus_source_prepare), (gst_bus_source_check),
283         (gst_bus_create_watch), (gst_bus_add_watch_full),
284         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
285         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
286         * gst/gstbus.h:
287         Remove support for multiple GSources operating on different
288         message types as it is too complex and unneeded when using
289         signals.
290         Added support for receiving signals from the bus.
292 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
294         * docs/libs/tmpl/gstdataprotocol.sgml:
295         * docs/manual/advanced-dataaccess.xml:
296         * gst/elements/gstcapsfilter.c:
297         * gst/gstutils.c:
298           rename filter-caps to caps property
300 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
302         * gst/gstvalue.c: (gst_value_deserialize_fraction):
303           More robust fraction string parsing.
305         * docs/pwg/appendix-porting.xml:
306           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
308 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
310         * gst/gstcaps.c: (gst_caps_do_simplify):
311           Thou shalt not free a structure and then continue using it
312           in the next loop iteration.
314         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
315         (gst_caps_suite):
316           Add test case for caps simplification.
318 2005-09-29  Wim Taymans  <wim@fluendo.com>
320         * check/gst/gstbin.c: (GST_START_TEST):
321         Oops.
323 2005-09-29  Wim Taymans  <wim@fluendo.com>
325         * check/gst/gstbin.c: (GST_START_TEST):
326         Add bus to bin.
328         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
329         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
330         (find_element), (gst_bin_sort_iterator_next),
331         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
332         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
333         (gst_bin_change_state), (gst_bin_dispose):
334         A bin does not have a bus, it gets the bus from the parent.
336         * gst/gstelement.c: (gst_element_requires_clock),
337         (gst_element_provides_clock), (gst_element_is_indexable),
338         (gst_element_is_locked_state), (gst_element_change_state),
339         (gst_element_set_bus_func):
340         Small cleanups.
342         * gst/gstpipeline.c: (gst_pipeline_class_init),
343         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
344         The pipeline provides a bus.
346 2005-09-28  Johan Dahlin  <johan@gnome.org>
348         * gst/gstmessage.c (gst_message_parse_state_changed): Use
349         gst_structure_get_enum instead of gst_structure_get_int
351         * gst/gststructure.c (gst_structure_get_enum): Impl.
353         * gst/gststructure.h (gst_structure_get_enum): Add
355         * docs/gst/gstreamer-sections.txt: Ditto
357         * gst/gstmessage.c (gst_message_new_state_changed): Use
358         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
359         which does introspection.
360         Reviewed by Christian Schaller
362 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
364         * gst/gstinfo.c: (gst_debug_log_default):
365           don't do dummy g_strdup()s
366         * libs/gst/controller/gstcontroller.c:
367         (on_object_controlled_property_changed),
368         (gst_controlled_property_new), (gst_controller_new_valist),
369         (gst_controller_new_list),
370         (gst_controller_remove_properties_valist), (gst_controller_set),
371         (gst_controller_get), (gst_controller_sync_values),
372         (gst_controller_get_value_array), (_gst_controller_class_init),
373         (gst_controller_get_type):
374         * libs/gst/controller/gstcontroller.h:
375         * libs/gst/controller/gstinterpolation.c:
376         (gst_controlled_property_find_timed_value_node):
377           convert // to /**/ comments
379 2005-09-28  Wim Taymans  <wim@fluendo.com>
381         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
382         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
383         (gst_bus_sync_signal_handler):
384         * gst/gstbus.h:
385         Added async-message and sync-message signals to the bus.
386         Added helper BusFunc to emit signals for all posted messages.
388         * gst/gstmessage.c: (gst_message_type_get_name),
389         (gst_message_type_to_quark), (gst_message_get_type):
390         * gst/gstmessage.h:
391         Register quarks for message names.
393 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
395         * docs/libs/gstreamer-libs-sections.txt:
396         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
397         (gst_controller_new_list):
398         * libs/gst/controller/gstcontroller.h:
399           added another constructor for language bindings
401 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
403         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
404           add another check
405         * gst/gstbus.c:
406           add some doc
407         * gst/gstinfo.c: (_gst_debug_init):
408           slightly more readable color for refcount debugging
410 2005-09-28  Wim Taymans  <wim@fluendo.com>
412         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
413         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
414         (find_element), (gst_bin_sort_iterator_next),
415         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
416         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
417         (gst_bin_change_state), (gst_bin_dispose):
418         Small doc fixes. get_clock -> provide_clock.
420         * gst/gstelement.c: (gst_element_class_init),
421         (gst_element_provides_clock), (gst_element_provide_clock),
422         (gst_element_get_clock), (gst_element_commit_state),
423         (gst_element_lost_state):
424         * gst/gstelement.h:
425         Make get/set_clock() symetric. Add provide_clock vmethod since
426         that is actually what this function does.
428         * gst/gstpipeline.c: (gst_pipeline_class_init),
429         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
430         (gst_pipeline_get_clock):
431         get_clock -> provide_clock.
433 2005-09-28  Andy Wingo  <wingo@pobox.com>
435         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
436         lieu of real docs...
438         * gst/elements/gstfdsrc.c: Cleaned up a bit.
440 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
442         * gst/elements/gstcapsfilter.c:
443         * gst/elements/gstfakesink.c:
444         * gst/elements/gstfakesrc.c:
445         * gst/elements/gstfdsink.c:
446         * gst/elements/gstfdsrc.c:
447         * gst/elements/gstfilesink.c:
448         * gst/elements/gstfilesrc.c:
449         * gst/elements/gstidentity.c:
450         * gst/elements/gsttee.c:
451         * gst/elements/gsttypefindelement.c:
452           Make element details static.
454 2005-09-28  Wim Taymans  <wim@fluendo.com>
456         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
457         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
458         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
459         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
460         (gst_bin_change_state), (gst_bin_dispose):
461         Some documentation updates.
462         Clean up dispose handlers.
464         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
465         * gst/gstpad.c: (gst_pad_dispose):
466         Clean up dispose handler.
468         * gst/gstpipeline.c: (gst_pipeline_change_state):
469         Removed spurious UNLOCK.
471 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
473         * docs/gst/gstreamer-sections.txt:
474         * gst/base/gstbasesrc.h:
475         * gst/gstelement.h:
476         * gst/gstevent.h:
477         * gst/gstobject.h:
478         * gst/gstpad.h:
479         * gst/gstpipeline.c:
480         * gst/gstpipeline.h:
481         * gst/gstutils.h:
482         * gst/gstxml.h:
483           added two new functions to the docs
484                 documents all undocumented GstXXXFlags
485                 completed some incomplete docs 
487 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
489         * gst/gstbin.c: (gst_bin_dispose):
490         * gst/gstelement.c: (gst_element_dispose):
491           remove now useless and leaky resurrection code in dispose
492         * gst/base/gstbasesrc.c: (gst_base_src_init):
493         * gst/gstelementfactory.c: (gst_element_factory_create):
494         * gst/gstobject.c: (gst_object_set_parent):
495           add some debugging
497 2005-09-27  Wim Taymans  <wim@fluendo.com>
499         * docs/design/part-TODO.txt:
500         Update TODO.
502         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
503         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
504         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
505         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
506         (gst_bin_change_state):
507         * gst/gstelement.h:
508         Remove element variable, we keep element info in the iterator now.
510 2005-09-27  Andy Wingo  <wingo@pobox.com>
512         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
513         values.
515 2005-09-27  Wim Taymans  <wim@fluendo.com>
517         * check/gst/gstbin.c: (GST_START_TEST):
518         Enable check that works now.
520         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
521         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
522         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
523         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
524         (gst_bin_change_state):
525         * gst/gstbin.h:
526         Redid the state change algorithm using a topological sort algo.
527         Handles all cases correctly.
528         Exposed iterator for state change order.
530         * gst/gstelement.h:
531         Temp storage for state changes. Need to get rid of this soon.
533 2005-09-27  Wim Taymans  <wim@fluendo.com>
535         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
536         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
537         (link_fold_func), (gst_pad_proxy_setcaps):
538         Leak fixes, the fold functions need to unref the passed object and
539         _get_parent_*() returns ref to parent.
541 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
543         * check/gst/gstbuffer.c: (test_make_writable):
544           Plug leak in test case and fix 'make check-valgrind'
546 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
548         * gst/gstbuffer.c: (gst_subbuffer_init):
549           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
550           works correctly in all circumstances (we could have just copied
551           the parent buffer's readonly flag, but conceptually it seems
552           cleaner to mark all subbuffers as read-only). (based on patch
553           by Alessandro Decina, #314710).
554         
555         * check/gst/gstbuffer.c: (create_read_only_buffer),
556         (test_make_writable), (test_subbuffer_make_writable),
557         (gst_test_suite):
558           Add some tests for gst_buffer_make_writable().
560 2005-09-27  Wim Taymans  <wim@fluendo.com>
562         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
563         use gst_object_has_ancestor().
565         * gst/gstobject.c: (gst_object_has_ancestor):
566         * gst/gstobject.h:
567         gst_object_has_ancestor() copied from gstbin.c as it is a
568         usefull function.
570         * tests/instantiate/create.c: (create_all_elements):
571         * tests/lat.c: (handoff_src), (handoff_sink):
572         * tests/sched/runxml.c: (main):
573         * tests/seeking/seeking1.c: (main):
574         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
575         (main):
576         Fix compilation of some tests.
578 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
580         * gst/gsterror.h:
581           Remove comment. GST_TYPE_G_ERROR is here to stay,
582           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
583           (#316961, #300610).
585 2005-09-26  Wim Taymans  <wim@fluendo.com>
587         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
588         Added check that shows error in state change order.
590 2005-09-26  Wim Taymans  <wim@fluendo.com>
592         * gst/gstbin.c: (gst_bin_change_state):
593         Make state change function use 3 queues again, we were
594         adding elements in the wrong order.
596         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
597         Some debug info,
599         * gst/gstpad.c: (gst_pad_dispose):
600         Added some debug info first.
602 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
604         * docs/design/draft-push-pull.txt:
605         * docs/design/part-events.txt:
606         * docs/design/part-overview.txt:
607         * docs/design/part-scheduling.txt:
608           Replace all _pull_region() with _pull_range()
609           
610 2005-09-26  Andy Wingo  <wingo@pobox.com>
612         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
614         * check/gst-libs/controller.c: Update for controller api change.
616         * configure.ac: 
617         * tests/Makefile.am:
618         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
619         over by GLib bug 118439.
620         
621         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
622         routines to a function.
624         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
626         * libs/gst/controller/gsthelper.c:
627         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
628         (gst_object_sync_values): Renamed from sink_values. Ugh.
630         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
632         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
633         Renamed from controller_key, as it is exported.
635         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
637 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
639         * gst/Makefile.am:
640         * gst/gst.h:
641         * gst/gstpad.h:
642         * gst/gstpadtemplate.h:
643         * gst/gstquery.c:
644         * gst/gstquery.h:
645         * gst/gstqueryutils.c:
646         * gst/gstqueryutils.h:
647           remove queryutils headers after moving the two used functions
648           to gstquery.  also fixes build problem for gstsiddec
650 2005-09-26  Michael Smith <msmith@fluendo.com>
652         * tools/gst-launch.1.in:
653         Correct documentation in manpage of debug syntax
655 2005-09-26  Wim Taymans  <wim@fluendo.com>
657         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
658         (gst_base_src_is_seekable), (gst_base_src_change_state):
659         Some more debugging info.
661 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
663         * docs/gst/gstreamer-sections.txt:
664         * gst/base/gstbasetransform.h:
665         * gst/gstindex.h:
666           added more docs
668 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
670         * docs/gst/.cvsignore:
671         * docs/gst/tmpl/.cvsignore:
672         * docs/gst/tmpl/gstpipeline.sgml:
673         * docs/gst/tmpl/gstplugin.sgml:
674         * gst/gstpipeline.c:
675         * gst/gstplugin.c:
676         * gst/gstplugin.h:
677           inlined the last two docs files
678           removed the tmpl directory from cvs (no more conflicts here!)
680 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
682         * docs/gst/gstreamer-sections.txt:
683         * docs/gst/tmpl/.cvsignore:
684         * docs/gst/tmpl/gstpad.sgml:
685         * docs/gst/tmpl/gstpadtemplate.sgml:
686         * gst/Makefile.am:
687         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
688         (gst_pad_finalize), (gst_pad_set_pad_template):
689         * gst/gstpad.h:
690         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
691         (gst_pad_template_class_init), (gst_pad_template_init),
692         (gst_pad_template_dispose), (name_is_valid),
693         (gst_static_pad_template_get), (gst_pad_template_new),
694         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
695         (gst_pad_template_pad_created):
696         * gst/gstpadtemplate.h:
697           inlined two more docs
698           factored gstpadtemplate out of gstpad
700 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
702         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
703         (test_children_state_change_order_semi_sink):
704           Fix test case: we can't rely on a fixed state change order when
705           going from READY => PAUSED because the sink might commit its 
706           new state first when the first buffer created by the source 
707           reaches the sink before the source has finished its change state.
708           (Test case still fails at times, see #316856, comment 5 onwards)
710 2005-09-24  Wim Taymans  <wim@fluendo.com>
712         * docs/design/part-events.txt:
713         * docs/design/part-gstbus.txt:
714         * docs/design/part-gstpipeline.txt:
715         * docs/design/part-messages.txt:
716         * docs/design/part-overview.txt:
717         * docs/design/part-segments.txt:
718         * gst/gstbin.c:
719         * gst/gstbuffer.c:
720         * gst/gstclock.c:
721         * gst/gstelement.c:
722         * gst/gstevent.c:
723         * gst/gstfilter.c:
724         * gst/gstiterator.c:
725         Various documentation updates.
727 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
729         * gst/gstclock.h:
730           Well, that's embarassing.  Luckily we weren't using
731           GST_CLOCK_DIFF anywhere.
733 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
735         * common/gtk-doc.mak:
736           don't fail on building XML, FC4 slave shows a bunch of doc
737           missing bits that I don't get
738         * gst/gstpad.c:
739         * gst/gstpipeline.c:
740         * gst/gststructure.c:
741           some doc updates
743 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
745         * docs/design/part-gstbin.txt:
746         * docs/design/part-gstbus.txt:
747         * gst/gstbus.c:
748           Add blurb about how the bus goes into flushing mode and
749           drops all messages when its bin goes from READY into NULL 
750           state.
752 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
754         * docs/gst/gstreamer-sections.txt:
755         * gst/gststructure.c: (gst_structure_get_clock_time):
756         * gst/gststructure.h:
757           add a method to get a GstClockTime out of a structure
759 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
761         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
762         (test_children_state_change_order_semi_sink), (gst_bin_suite):
763           Added test to check state change order in bins (can still be made
764           to fail here under heavy disk load; bails out with 'Push on pad
765           fakesink:sink0, but it was not activated in push mode').
767         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
768           Fix state change order when there is only a semi sink (#316856)
770         * gst/gstbus.c: (gst_bus_class_init):
771           Use _class_peek_parent(), not _class_ref(); fix docs to say
772           'default main context' instead of 'mainloop' where that is
773           what's meant.
775         * gst/gstelement.c: (gst_element_commit_state),
776         (gst_element_set_state):
777           Fix typos in debug messages
779 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
781         * docs/README:
782         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
783         * gst/gstpluginfeature.c:
784         * gst/gstutils.c:
785           various doc updates
786         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
787           change an assert into an error until it gets fixed properly
789 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
791         * docs/gst/gstreamer-sections.txt:
792         * docs/gst/tmpl/.cvsignore:
793         * docs/gst/tmpl/gstelement.sgml:
794         * docs/gst/tmpl/gstinfo.sgml:
795         * docs/gst/tmpl/gstobject.sgml:
796         * gst/gstelement.c:
797         * gst/gstelement.h:
798         * gst/gstinfo.c:
799         * gst/gstinfo.h:
800         * gst/gstobject.c: (gst_object_class_init):
801         * gst/gstobject.h:
802           inlined 3 more biiiig doc files and added some missing docs on the fly
804 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
806         * check/gst/.cvsignore:
807         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
808         * gst/gstregistryxml.c: (load_plugin),
809         (gst_registry_xml_save_plugin):
810           put back source in registry.  add checks for find_plugin.
811         * testsuite/states/bin.c: (assert_state), (empty_bin),
812         (test_adding_one_element), (main):
813         * testsuite/states/locked.c: (main):
814           some compile/run fixes
816 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
818         * check/gst/gstvalue.c: (GST_START_TEST):
819           fix leaks in the test itself
821 2005-09-22  Wim Taymans  <wim@fluendo.com>
823         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
824         (gst_base_sink_send_event), (gst_base_sink_peer_query),
825         (gst_base_sink_query):
826         Prepare for more accurate position reporting and query
827         handling.
829         * gst/gstelement.c: (gst_element_send_event),
830         (gst_element_set_state):
831         Add some comment.
833 2005-09-22  Wim Taymans  <wim@fluendo.com>
835         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
836         (gst_query_parse_segment):
837         * gst/gstquery.h:
838         More documentation.
839         Add segment query for future use.
841 2005-09-22  Wim Taymans  <wim@fluendo.com>
843         * gst/gstbin.c: (gst_bin_add_func):
844         Some more debug info.
846         * gst/gstelement.c: (gst_element_send_event):
847         Simplify send_event
849         * gst/gstelement.h:
850         Don't know how flags got broken.
852         * gst/gstquery.h:
853         Added new query.
855 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
857         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
858           Add simplistic test suite for GST_TYPE_DATE serialisation and
859           deserialisation.
861 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
863         * docs/gst/gstreamer-sections.txt:
864         * gst/gststructure.c: (gst_structure_set_valist),
865         (gst_structure_get_date):
866         * gst/gststructure.h:
867         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
868         (gst_date_copy), (gst_value_compare_date),
869         (gst_value_serialize_date), (gst_value_deserialize_date),
870         (gst_value_transform_date_string),
871         (gst_value_transform_string_date), (_gst_value_initialize):
872         * gst/gstvalue.h:
873           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
874           bunch of utility functions along with a hack that checks that
875           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
876           is required. Part of the grand scheme in #170777.
878 2005-09-22  Andy Wingo  <wingo@pobox.com>
880         * gst/gstconfig.h.in: Psych out gtk-doc.
882         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
884         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
886         * tools/gst-inspect.c (print_element_list): Plug some
887         inconsequential leaks.
889         * gst/gstregistry.c (gst_registry_get_default): Doc.
891         * check/gst/gstplugin.c: 
892         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
893         * gst/gstelementfactory.c (gst_element_factory_create): 
894         * gst/gstindexfactory.c (gst_index_factory_create): Update for
895         refcount changes.
897         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
898         (gst_plugin_feature_load): Doc, don't eat refs.
900         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
901         (gst_plugin_list_free): Doc.
902         (gst_plugin_load_file): Doc updates.
904         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
905         accessors returning refcounted objects, return a ref.
907         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
908         accessor for caps. IDEMPOTENCE. Oh yes.
910 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
912         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
914         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
915         (_gst_debug_register_funcptr):
916           Add mutex to serialise access to the hash table with
917           the function pointer => function name string mapping;
918           make that hash table static scope (#316809).
920         * gst/registries/.cvsignore:
921           Remove left-over file.
923 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
925         * docs/pwg/appendix-porting.xml:
926           And something about newsegment events and caps-on-buffers to
927           the porting guide (feel free to improve).
929 2005-09-21  Andy Wingo  <wingo@pobox.com>
931         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
932         data and event probes on the same pad.
933         (test_buffer_probe_once): Test that removing probes from within
934         the probe functions works.
936 2005-09-21  Andy Wingo  <wingo@pobox.com>
938         * check/gst/gstutils.c: New file.
939         (test_buffer_probe_n_times): A simple buffer probe test. More to
940         come, foolios.
942         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
943         have-data::buffer, not have-data.
944         (gst_pad_add_event_probe): Likewise for have-data::event.
945         (gst_pad_add_data_probe): More docs. The part about 'resolving the
946         peer' isn't quite right yet though.
947         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
948         (gst_pad_remove_data_probe): Change to take the guint handler_id
949         as their arg, not the function+data, which is more glib-like.
951         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
952         the signal emission to indicate if the data is a buffer or an
953         event.
954         (gst_pad_get_type): Initialize buffer and event quarks.
955         (gst_pad_class_init): have-data is now a detailed signal, yes it
956         is.
958 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
960         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
961         * gst/gstutils.c: (gst_util_set_value_from_string),
962         (gst_util_set_object_arg):
963           Don't put functional code in g_return_if_fail() or
964           g_return_val_if_fail() statements, otherwise things will 
965           break when G_DISABLE_CHECKS is defined during compilation.
967 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
969         * docs/gst/tmpl/.cvsignore:
970         * docs/gst/tmpl/gstvalue.sgml:
971         * gst/gstvalue.c:
972         * gst/gstvalue.h:
973           inlied another one and added  some obvious docs
975 2005-09-21  Wim Taymans  <wim@fluendo.com>
977         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
978         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
979         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
980         (gst_fdsrc_get_property), (gst_fdsrc_create):
981         * gst/elements/gstfdsrc.h:
982         Properly implement fdsrc. Removed signal and timeout,
983         better implemented somewhere else.
985 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
987         * docs/gst/tmpl/.cvsignore:
988         * docs/gst/tmpl/gstimplementsinterface.sgml:
989         * gst/gstinterface.c:
990           inlined more docs
992 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
994         * docs/gst/gstreamer-sections.txt:
995         * docs/gst/tmpl/.cvsignore:
996         * docs/gst/tmpl/gstenumtypes.sgml:
997           remove obsolete doc file
999 2005-09-21  David Schleef  <ds@schleef.org>
1001         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1002         little beer, fix a little leak.
1004 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
1006         * docs/gst/gstreamer-docs.sgml:
1007         * docs/gst/gstreamer-sections.txt:
1008         * docs/gst/tmpl/.cvsignore:
1009         * gst/Makefile.am:
1010         * gst/gst.h:
1011         * gst/gstbin.c:
1012         * gst/gstelement.h:
1013         * gst/gstindex.c: (gst_index_class_init):
1014         * gst/gstindex.h:
1015         * gst/gstindexfactory.c: (gst_index_factory_get_type),
1016         (gst_index_factory_class_init), (gst_index_factory_init),
1017         (gst_index_factory_finalize), (gst_index_factory_new),
1018         (gst_index_factory_destroy), (gst_index_factory_find),
1019         (gst_index_factory_create), (gst_index_factory_make):
1020         * gst/gstindexfactory.h:
1021         * gst/gstpluginfeature.c:
1022         * gst/gstpluginfeature.h:
1023         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1024           more docs inlined, splitted gstindex.{c,h}
1026 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1028         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1029           fix a leak
1031 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
1033         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1034           Set sync to FALSE by default.
1036 2005-09-20  Wim Taymans  <wim@fluendo.com>
1038         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1039         (gst_base_sink_init):
1040         Make sync property settable from subclass.
1042         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1043         (gst_fake_sink_change_state):
1044         Set sync to FALSE by default.
1046 2005-09-20  Wim Taymans  <wim@fluendo.com>
1048         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1049         * tools/gst-launch.c: (main):
1050         The timeout handler should have lower priority than the source
1051         so we don't timeout before popping a message with 0 timeout.
1052         Dump error messages after failed state change.
1054 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
1056         * tools/gst-inspect.c: (print_element_properties_info):
1057           Fix two typos.
1059 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1061         * check/gst/gstevent.c:
1062         * gst/elements/gstfakesink.c:
1063         * gst/elements/gstfakesink.h:
1064           remove the sync property from fakesink.
1065           has the side effect of setting sync TRUE
1066           for fakesink, which is a change.  Anyone who knows how
1067           to fix this nicely in a GObject-y way, feel free.
1069 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1071         * docs/gst/gstreamer-docs.sgml:
1072           remove probe refsection
1074 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1076         * check/Makefile.am:
1077           disable valgrinding the controller test again
1078         * docs/gst/gstreamer-sections.txt:
1079           update for api-changes
1081 2005-09-20  Wim Taymans  <wim@fluendo.com>
1083         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1084         (gst_base_sink_set_property), (gst_base_sink_get_property),
1085         (gst_base_sink_do_sync):
1086         * gst/base/gstbasesink.h:
1087         Added sync property to basesink to disable clock sync.
1089 2005-09-20  Andy Wingo  <wingo@pobox.com>
1091         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1092         eating the caller's refcount.
1094         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
1095         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1096         refcount.
1098         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1099         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1100         of GLib 2.8 public, so we can know which refcount to check in
1101         tests.
1103         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1104         (gst_object_init): Only set the gst refcount if we're going ahead
1105         with the refcount hack.
1107 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1109         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1110         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1111           more leaks plumbed, added more debug-logging
1112         * gst/gstmacros.h:
1113           whitespace fix
1115 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1117         * gst/gstmessage.c:
1118           remove include of gstmemchunk.h
1120 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1122         * gst/gstclock.c: (_gst_clock_id_free):
1123           Commit from the Political Party For More Atomic CVS Commits,
1124           so that people don't waste too much of their day fishing
1125           out obvious leaks out of massive commits.
1126           Oh, and fix a pretty damn obvious leak in the memchunk
1127           removal code.
1129 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
1131         * check/Makefile.am:
1132         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1133           plug mem-leak, re-add to valgrindable tests
1135 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1137         * gst/gstplugin.h:
1138           unbreak the build for those who have chronic arthritis
1139           and typing "make check" is just too taxing on the hands
1141 2005-09-20  Andy Wingo  <wingo@pobox.com>
1143         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1144         really want it out, you should fix plugins at the same time.
1146 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
1148         * configure.ac:
1149         * docs/gst/gstreamer-sections.txt:
1150         * gst/gstobject.c:
1151           added missing symbols to api docs
1152           disable ref-count hack if we have glib >= 2.8
1154 2005-09-19  David Schleef  <ds@schleef.org>
1156         * docs/gst/Makefile.am: Ignore a few more internal headers
1157         * docs/gst/gstreamer-docs.sgml: Remove old sections
1158         * docs/gst/gstreamer-sections.txt: Remove old sections
1159         * docs/gst/tmpl/gstobject.sgml: update
1160         * docs/gst/tmpl/gstplugin.sgml: update
1161         * docs/gst/tmpl/gstpluginfeature.sgml: update
1162         * docs/random/ds/0.9-suggested-changes: update.
1163         * gst/Makefile.am: remove memchunk and trashstack, since they're
1164           not used.
1165         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1166         * gst/gst.h: don't include some headers
1167         * gst/gstchildproxy.c: add gstmarshal.h
1168         * gst/gstclock.c: Don't use memchunks
1169         * gst/gstminiobject.c: Add some docs
1170         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1171         * gst/gstobject.h: same
1172         * gst/gstplugin.c: include gstmacros.h
1173         * gst/gstplugin.h: don't include gstmacros.h, since it's private
1174         * gst/gstquery.c: don't use memchunks
1175         * gst/gstregistry.c: rename gst_registry_deinit()
1176         * gst/gstregistry.h: same
1178 2005-09-19  David Schleef  <ds@schleef.org>
1180         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1181         * docs/libs/gstreamer-libs-sections.txt:
1182         * docs/libs/tmpl/gstgetbits.sgml:
1183         * docs/libs/tmpl/gstputbits.sgml:
1185 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1187         * win32/gstenumtypes.c:
1188         * win32/gstenumtypes.h:
1189           Update.
1191 2005-09-19  Wim Taymans  <wim@fluendo.com>
1193         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1194         Automatically PAUSE and RESUME a pipeline when a flushing seek
1195         is performed.
1197 2005-09-19  Andy Wingo  <wingo@pobox.com>
1199         * gst/gstregistry.h: Spacing fixen.
1201 2005-09-19  Wim Taymans  <wim@fluendo.com>
1203         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1204         Handle state change failure more correctly.
1206 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1208         * check/Makefile.am:
1209         * check/pipelines/cleanup.c: (run_pipeline):
1210         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1211         (GST_START_TEST):
1212           enable cleanup again after fixing the leak
1213         * docs/README:
1214           some more info on docs
1216 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1218         * check/Makefile.am:
1219           re-enable tests now that leaks are plugged
1220         * check/gst/gst.c:
1221         * check/gst/gstbin.c:
1222         * check/gst/gstpipeline.c:
1223           add some more tests while fixing leaks
1224         * common/check.mak:
1225           make sure binaries are uptodate when valgrinding/gdbing
1226         * gst/gst.c:
1227         * gst/gstelementfactory.c:
1228           remove a ref too many, and add a FIXME for when we get
1229           round to disposing of classes
1230         * gst/gstplugin.c:
1231           fix the refcounting when loading a plugin from a file and
1232           the code pretends that the pointer is the same even though
1233           of course it can change
1234         * gst/gstpluginfeature.c:
1235           unref plugins marked cached (a bit confusing as a name)
1236           as the docs state should be done
1237           various doc additions to explain refcounting
1238         * gst/gstregistry.c:
1239         * gst/gstregistryxml.c:
1240           debugging
1242 2005-09-19  Wim Taymans  <wim@fluendo.com>
1244         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1245         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1246         (send_messages), (GST_START_TEST), (gstbus_suite):
1247         * check/gst/gstpipeline.c: (GST_START_TEST):
1248         * check/pipelines/cleanup.c: (run_pipeline):
1249         * check/pipelines/simple_launch_lines.c: (run_pipeline),
1250         (GST_START_TEST):
1251         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1252         (gst_bus_source_check), (gst_bus_source_dispatch),
1253         (gst_bus_create_watch), (gst_bus_add_watch_full),
1254         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1255         * gst/gstbus.h:
1256         * tools/gst-launch.c: (event_loop):
1257         * tools/gst-md5sum.c: (event_loop):
1258         GstBusHandler -> GstBusFunc, return value has the same meaning as
1259         any other GSource (FALSE == remove source).
1260         _add_watch() and _add_watch_full() now take a MessageType mask to
1261         only handle specific types of messages.
1262         _poll() returns the GstMessage instead of the message type to avoid
1263         race conditions.
1264         _have_pending() takes a MessageType mask now too.
1265         Added testsuite for multiple bus watches.
1266         Fix testsuites and applications for new bus API.
1268 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1270         * check/Makefile.am:
1271           mark a bunch of the tests as to fix until we fix them
1273 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1275         * common/check.mak:
1276           use GST_PLUGIN settings for valgrind tests as well, so we're
1277           valgrinding the correct thing
1278         * gst/gst.c: (init_post):
1279           plug another leak
1281 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1283         * gst/gst.c: (init_post), (gst_deinit):
1284         * gst/gstelementfactory.c: (gst_element_factory_class_init),
1285         (gst_element_factory_finalize), (gst_element_factory_cleanup):
1286         * gst/gstindex.c: (gst_index_factory_class_init),
1287         (gst_index_factory_finalize):
1288         * gst/gstobject.c: (gst_object_dispose):
1289         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1290         (gst_plugin_load_file), (gst_plugin_desc_free):
1291         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1292         (gst_plugin_feature_finalize):
1293         * gst/gstregistry.c: (gst_registry_class_init),
1294         (gst_registry_init), (gst_registry_finalize),
1295         (gst_registry_get_default), (gst_registry_deinit):
1296         * gst/gstregistry.h:
1297         * gst/gstregistryxml.c: (load_feature), (load_plugin):
1298           various cleanups and memleak plugging.  make valgrind is happy now.
1300 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1302         * common/check.mak:
1303           add a check-valgrind target
1305 2005-09-18  David Schleef  <ds@schleef.org>
1307         * tools/gst-inspect.c: Revert the GOption code.
1309 2005-09-17  David Schleef  <ds@schleef.org>
1311         * check/Makefile.am: Fix environment variables.
1312         * check/gst/gstplugin.c: Fix for API changes.
1313         * tools/gst-inspect.c: Fix for API changes.
1314         * tools/gst-xmlinspect.c: Fix for API changes.
1315         * gst/gstelementfactory.c:
1316         * gst/gstplugin.c:
1317         * gst/gstplugin.h:
1318         * gst/gstpluginfeature.c:
1319         * gst/gstpluginfeature.h:
1320         * gst/gstregistry.c:
1321         * gst/gstregistry.h:
1322         * gst/gstregistryxml.c:
1323         * gst/gsttypefind.c:
1324         * gst/gsttypefindfactory.c:
1325         * gst/indexers/gstfileindex.c:
1326         * gst/indexers/gstmemindex.c:
1327         * gst/schedulers/Makefile.am:
1328           Change registry to keep track of both plugins and features,
1329           removing the feature tracking from plugins themselves.
1331 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1333         * check/Makefile.am:
1334         * tools/gst-register.1.in:
1335           remove gst-register
1337 2005-09-15  David Schleef  <ds@schleef.org>
1339         * check/gst/gstplugin.c:
1340         * gst/gstelementfactory.c:
1341         * gst/gstplugin.c:
1342         * gst/gstpluginfeature.c:
1343         * gst/gstregistry.c:
1344           Getting tired of debugging.  Disabled all the unreffing of
1345           plugins and features, which fixes the segfaults, but of
1346           course leaks like crazy.  At least playbin works.
1348 2005-09-15  David Schleef  <ds@schleef.org>
1350         * check/gst/gstplugin.c: (register_check_elements),
1351         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1352         More testing
1353         * gst/elements/gsttypefindelement.c: Fix refcounting.
1354         * gst/gsttypefind.c:
1355         * gst/gsttypefindfactory.c:
1356         * gst/gsttypefindfactory.h:
1358 2005-09-15  David Schleef  <ds@schleef.org>
1360         * gst/gstindex.c: get refcounting correct.
1361         * gst/gstregistry.c: Handle the case where a feature/plugin is
1362           not found.
1364 2005-09-15  David Schleef  <ds@schleef.org>
1366         * check/Makefile.am:
1367         * check/gst/gstplugin.c: Add test
1368         * gst/gstplugin.c: Fix problems noticed by testsuite
1369         * gst/gstplugin.h:
1370         * gst/gstregistry.c: 
1371         * gst/gstregistry.h:
1373 2005-09-15  David Schleef  <ds@schleef.org>
1375         * gst/gstplugin.c: Implement semi-decent recounting and locking
1376           in plugins and plugin features.
1377         * gst/gstplugin.h:
1378         * gst/gstpluginfeature.c:
1379         * gst/gstpluginfeature.h:
1380         * gst/gstregistry.c:
1382 2005-09-15  Michael Smith <msmith@fluendo.com>
1384         * gst/gstregistry.c: (gst_registry_get_feature_list):
1385           Implement this. Makes oggdemux work; decodebin still broken.
1387 2005-09-14  David Schleef  <ds@schleef.org>
1389         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1390           #316076)
1391         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1392         * gst/check/Makefile.am:
1393         * libs/gst/controller/Makefile.am:
1394         * libs/gst/dataprotocol/Makefile.am:
1396 2005-09-14  David Schleef  <ds@schleef.org>
1398         * configure.ac: Remove getbits library.  Nothing uses it, and
1399           it should be in something like liboil if someone did want
1400           to use it.
1401         * libs/gst/Makefile.am:
1402         * libs/gst/getbits/Makefile.am:
1403         * libs/gst/getbits/gbtest.c:
1404         * libs/gst/getbits/getbits.c:
1405         * libs/gst/getbits/getbits.h:
1406         * libs/gst/getbits/gstgetbits_generic.c:
1407         * libs/gst/getbits/gstgetbits_i386.s:
1408         * libs/gst/getbits/gstgetbits_inl.h:
1410 2005-09-14  David Schleef  <ds@schleef.org>
1412         * gst/Makefile.am: Dist glib-compat.h
1414 2005-09-14  David Schleef  <ds@schleef.org>
1416         * configure.ac: Remove gst/registries, since it's no longer used.
1417         * gst/registries/Makefile.am:
1418         * gst/registries/gstlibxmlregistry.c:
1419         * gst/registries/gstlibxmlregistry.h:
1420         * gst/registries/gstxmlregistry.c:
1421         * gst/registries/gstxmlregistry.h:
1422         * gst/registries/registrytest.c:
1424 2005-09-14  David Schleef  <ds@schleef.org>
1426         * gst/glib-compat.h:
1427         * gst/gstregistryxml.c:
1428           Convergence is near.  Seriously.
1430 2005-09-14  David Schleef  <ds@schleef.org>
1432         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1433         * gst/glib-compat.h:
1434           Attempt #4 to appease the buildbots.
1436 2005-09-14  David Schleef  <ds@schleef.org>
1438         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1439           Attempt #3.
1441 2005-09-14  David Schleef  <ds@schleef.org>
1443         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1444         Attempt #2.
1446 2005-09-14  David Schleef  <ds@schleef.org>
1448         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1449           the new functions.
1451 2005-09-14  David Schleef  <ds@schleef.org>
1453         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1454         * gst/glib-compat.h: Add some functions that are in newer versions
1455           of glib than we care to require.
1456         * gst/gstregistryxml.c: Use them.
1458 2005-09-14  David Schleef  <ds@schleef.org>
1460         * po/POTFILES.in: remove gst-register.c
1462 2005-09-14  David Schleef  <ds@schleef.org>
1464         * docs/gst/gstreamer-docs.sgml:
1465         * docs/gst/gstreamer-sections.txt:
1466         * docs/gst/gstreamer.types:
1467         * docs/gst/tmpl/gstelement.sgml:
1468         * docs/gst/tmpl/gstplugin.sgml:
1469         * docs/gst/tmpl/gstpluginfeature.sgml:
1470           Documentation updates for registry changes.
1472 2005-09-14  David Schleef  <ds@schleef.org>
1474         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1475           because we don't require glib-2.8.
1477 2005-09-14  David Schleef  <ds@schleef.org>
1479         * gst/gstregistryxml.c: Added.  Essentially moved out of the
1480           registries directory.
1482 2005-09-14  David Schleef  <ds@schleef.org>
1484         * check/Makefile.am:
1485         * check/generic/states.c:
1486         * gst/Makefile.am:
1487         * gst/gst.c:
1488         * gst/gst.h:
1489         * gst/gst_private.h:
1490         * gst/gstelementfactory.c:
1491         * gst/gstindex.c:
1492         * gst/gstinfo.c:
1493         * gst/gstplugin.c:
1494         * gst/gstplugin.h:
1495         * gst/gstpluginfeature.c:
1496         * gst/gstpluginfeature.h:
1497         * gst/gstregistry.c:
1498         * gst/gstregistry.h:
1499         * gst/gstregistrypool.c: remove
1500         * gst/gstregistrypool.h: remove
1501         * gst/gsttypefind.c:
1502         * gst/gsttypefindfactory.c:
1503         * gst/gsturi.c:
1504         * tools/Makefile.am:
1505         * tools/gst-compprep.c:
1506         * tools/gst-inspect.c:
1507         * tools/gst-register.c: remove
1508         * tools/gst-xmlinspect.c:
1509           Registry rewrite.  Changes registry from being a file created
1510           by a tool into a simple cache file created automatically by 
1511           libgstreamer.  Removed gst-register (because it's no longer
1512           needed).  Remove registry pools, because we only have one
1513           registry implementation (XML).  Fix up other subsystems as
1514           necessary.
1516 2005-09-13  Michael Smith <msmith@fluendo.com>
1518         * gst/gstconfig.h.in:
1519           Don't Use windows linking attributes for MinGW. Fixes #316157
1521 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1523         * gst/gstutils.c: (set_state_async_thread_func),
1524         (gst_element_set_state_async):
1525           Apparently people think it's better if this function doesn't
1526           try to set the state to whatever state was asked for on the first
1527           call to this function for any object.  Seriously.
1529 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1531         * check/gst/gstpipeline.c: (GST_START_TEST):
1532         * docs/gst/gstreamer-sections.txt:
1533         * gst/gstutils.c: (set_state_async_thread_func),
1534         (gst_element_set_state_async):
1535         * gst/gstutils.h:
1536           add a "gst_element_set_state_async" method that
1537           sets the state and starts a thread to make sure the state
1538           change completes as best as it can
1540 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1542         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1543           codify design+behaviour in testsuite after discussion
1545 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1547         * docs/gst/tmpl/gstelement.sgml:
1548         * docs/manual/appendix-quotes.xml:
1549           add a quote
1550         * gst/gstelement.c: (gst_element_set_state):
1551           add some debug
1553 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
1555         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1556         (gst_base_transform_prepare_output_buf),
1557         (gst_base_transform_handle_buffer):
1558         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1559         (gst_capsfilter_prepare_buf):
1560           Remove the requirement for sub-classes to call the parent
1561           implementation of prepare_output_buffer with a wrapper function.
1562           
1563         * gst/gsttaglist.h:
1564         * gst/gsttagsetter.h:
1565           Fix #define wrapper
1567 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
1569         * docs/gst/gstreamer-sections.txt:
1570           more doc cleanups
1572 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1574         * docs/gst/gstreamer-sections.txt:
1575         * docs/gst/tmpl/gstelement.sgml:
1576         * docs/gst/tmpl/gstplugin.sgml:
1577         * gst/gstminiobject.c:
1578         * gst/gstvalue.h:
1579           docs now stop throwing warnings
1581 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1583         * docs/gst/gstreamer-sections.txt:
1584         * docs/gst/gstreamer.types:
1585         * docs/gst/tmpl/gstpad.sgml:
1586         * docs/gst/tmpl/gsttypes.sgml:
1587         * gst/base/gstadapter.h:
1588         * gst/base/gstbasesink.h:
1589         * gst/base/gstbasesrc.h:
1590         * gst/gstbin.h:
1591         * gst/gstbuffer.h:
1592         * gst/gstbus.h:
1593         * gst/gstcaps.h:
1594         * gst/gstclock.h:
1595         * gst/gstelement.h:
1596         * gst/gstevent.h:
1597         * gst/gstmessage.h:
1598         * gst/gstpad.h:
1599         * gst/gststructure.c:
1600         * gst/registries/gstlibxmlregistry.h:
1601           various documentation fixes
1603 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1605         * docs/gst/gstreamer-sections.txt:
1606         * docs/gst/tmpl/gstvalue.sgml:
1607           rearrange gstvalue section
1608         * gst/gstutils.c: (gst_element_state_get_name):
1609           NONE -> VOID
1610         * gst/gstvalue.c: (_gst_value_initialize):
1611         * gst/gstvalue.h:
1612           doc updates
1614 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
1616         * check/gst-libs/controller.c:
1617           Header include fix.
1618         * gst/base/gstbasetransform.c:
1619         (gst_base_transform_default_prepare_buf),
1620         (gst_base_transform_handle_buffer):
1621         * gst/base/gstbasetransform.h:
1622           Some more basetransform changes and fixes to enable sub-classes
1623           that modify buffer metadata only.
1624         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1625         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1626         (gst_capsfilter_prepare_buf):
1627           If the output pad has fixed allowed caps and input buffers 
1628           don't have any, set the fixed caps on outgoing buffers.
1630 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
1631         * check/elements/identity.c: (GST_START_TEST):
1632           Make the error a little clearer when the test fails because
1633           identity made a copy of the buffer.
1634         * docs/gst/gstreamer-sections.txt:
1635           New symbols in gstbasetransform.h
1636         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1637         (gst_base_transform_init), (gst_base_transform_transform_size),
1638         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1639         (gst_base_transform_default_prepare_buf),
1640         (gst_base_transform_get_unit_size),
1641         (gst_base_transform_buffer_alloc),
1642         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1643         (gst_base_transform_change_state),
1644         (gst_base_transform_set_passthrough),
1645         (gst_base_transform_set_in_place),
1646         (gst_base_transform_is_in_place):
1647         * gst/base/gstbasetransform.h:
1648           Change BaseTransform to separate in_place operate from same_caps
1649           output. in_place implies that the element can perform the transform
1650           on incoming buffers in-place, even if the caps on the output are
1651           different.
1652           Sub-class elements can now implement special buffer allocation
1653           methods for outgoing buffers if they wish to.
1654           Big documentation addition.
1655         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1656         * gst/elements/gstelements.c:
1657           Changes for basetransform modifications.
1658         * gst/elements/Makefile.am:
1659         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1660           Compile fix. Extra debug output.
1662 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1664         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1665         (gst_pad_suite):
1666           add tests for valid pad naming
1667         * gst/check/gstcheck.c: (gst_check_log_message_func),
1668         (gst_check_log_critical_func):
1669           add ASSERT_WARNING
1670           remove printing of code, it is fragile when the code contains
1671           % and the line number is enough info
1672         * gst/check/gstcheck.h:
1673         * gst/gstpad.c: (gst_pad_template_new):
1674           fix memleaks
1676 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1678         * configure.ac:
1679           say what CHECK flags we use
1680         * docs/libs/gstreamer-libs.types:
1681         * libs/gst/controller/Makefile.am:
1682         * libs/gst/controller/gst-controller.c:
1683         * libs/gst/controller/gst-controller.h:
1684         * libs/gst/controller/gst-helper.c:
1685         * libs/gst/controller/gst-interpolation.c:
1686         * libs/gst/controller/gstcontroller.c:
1687         * libs/gst/controller/gsthelper.c:
1688         * libs/gst/controller/gstinterpolation.c:
1689         * tools/gst-inspect.c: (print_plugin_info):
1690           we don't use dashes in header names
1692 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1694         * check/Makefile.am:
1695         * check/gst/.cvsignore:
1696         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1697         (gst_pipeline_suite), (main):
1698           adding a test for pipelines and state changes
1699         * gst/gstutils.c: (get_state_func):
1700           add some debugging
1701         * gstreamer.spec.in:
1702           fix up spec file
1704 2005-09-08  Michael Smith <msmith@fluendo.com>
1706         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1707         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1708         (gst_file_src_is_seekable), (gst_file_src_get_size),
1709         (gst_file_src_start):
1710         * gst/elements/gstfilesrc.h:
1711           Various fixes for unseekable, unmmapable, and non-normal files, so
1712           that fallback to read() rather than mmap() works.
1713         * gst/gstevent.c: (gst_event_new_newsegment):
1714           Allow newsegment events with segment_start == segment_end, as will
1715           correctly happen if you use filesrc on a zero-size file, for
1716           example.
1718 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1720         * gst/gstplugin.c: (gst_plugin_load_file):
1721           Call g_module_close when we don't load the module
1723         * gst/registries/gstlibxmlregistry.c:
1724         (gst_xml_registry_get_property):
1725           Port leak fix from 0.8
1727 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1729         * docs/gst/gstreamer-docs.sgml:
1730         * docs/gst/tmpl/.cvsignore:
1731         * docs/gst/tmpl/gsttrace.sgml:
1732         * docs/gst/tmpl/gsttrashstack.sgml:
1733         * gst/Makefile.am:
1734         * gst/gst.h:
1735         * gst/gstelement.h:
1736         * gst/gstevent.h:
1737         * gst/gstmessage.c:
1738         * gst/gstmessage.h:
1739         * gst/gsttag.c:
1740         * gst/gsttag.h:
1741         * gst/gsttaginterface.c:
1742         * gst/gsttaginterface.h:
1743         * gst/gsttaglist.c:
1744         * gst/gsttaglist.h:
1745         * gst/gsttagsetter.c:
1746         * gst/gsttagsetter.h:
1747         * gst/gsttrace.c:
1748         * gst/gsttrace.h:
1749         * gst/gsttrashstack.c:
1750           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1751           inlined docs for gsttrace, gsttrashstack
1753 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1755         * gst/Makefile.am:
1756         * gst/elements/gstbufferstore.h:
1757         * gst/elements/gsttypefindelement.c:
1758         * gst/elements/gsttypefindelement.h:
1759         * gst/gst.h:
1760         * gst/gsttypefind.c:
1761         * gst/gsttypefind.h:
1762         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1763         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1764         (gst_type_find_factory_dispose),
1765         (gst_type_find_factory_unload_thyself),
1766         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1767         (gst_type_find_factory_get_caps),
1768         (gst_type_find_factory_get_extensions),
1769         (gst_type_find_factory_call_function):
1770         * gst/gsttypefindfactory.h:
1771         * gst/registries/gstlibxmlregistry.c:
1772         * gst/registries/gstxmlregistry.c:
1773           splitted gsttypefind into gsttypefind, gsttypefindfactory
1775 2005-09-07  Andy Wingo  <wingo@pobox.com>
1777         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1778         condition whereby the pad's task function is entered before the
1779         pad_mode variable was set.
1781 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
1783         * gst/gstpad.c: (gst_pad_alloc_buffer):
1784           Catch misbehaving pad_alloc functions that don't
1785           set up caps and do it for them.
1787 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
1789         * check/pipelines/simple_launch_lines.c: (run_pipeline):
1790           test for pipe!=NULL
1791         * docs/gst/tmpl/.cvsignore:
1792         * docs/gst/tmpl/gstmemchunk.sgml:
1793         * docs/gst/tmpl/gstparse.sgml:
1794         * docs/gst/tmpl/gsttaglist.sgml:
1795         * docs/gst/tmpl/gsttagsetter.sgml:
1796         * docs/gst/tmpl/gsttypefind.sgml:
1797         * docs/gst/tmpl/gsttypefindfactory.sgml:
1798         * gst/gstmemchunk.c:
1799         * gst/gstparse.c:
1800         * gst/gsttag.c:
1801         * gst/gsttaginterface.c:
1802         * gst/gsttypefind.c:
1803         * gst/gsttypefind.h:
1804           inlined more docs
1806 === release 0.9.2 ===
1808 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1810         * NEWS:
1811         * RELEASE:
1812         * configure.ac:
1813           releasing 0.9.2, "South"
1815 2005-09-05  Andy Wingo  <wingo@pobox.com>
1817         * gst/registries/gstxmlregistry.h:
1818         * gst/registries/gstxmlregistry.c: Um... resurrect...
1819         
1820         * gst/registries/gstxmlregistry.h:
1821         * gst/registries/gstxmlregistry.c: and update to newer API.
1822         Incidentally they should be a bit faster now that they don't have
1823         to parse the caps.
1824         
1825 2005-09-05  Andy Wingo  <wingo@pobox.com>
1827         * gst/registries/gstxmlregistry.h:
1828         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1829         replaced by the libxml registry a while back
1831 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1833         * docs/gst/tmpl/gstplugin.sgml:
1834         * gst/elements/gstelements.c:
1835         * gst/gst.c:
1836         * gst/gstplugin.c: (gst_plugin_register_func),
1837         (gst_plugin_desc_copy), (gst_plugin_desc_free),
1838         (gst_plugin_get_source):
1839         * gst/gstplugin.h:
1840         * gst/registries/gstlibxmlregistry.c: (load_plugin),
1841         (gst_xml_registry_save_plugin):
1842         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1843         (gst_xml_registry_save_plugin):
1844         * tools/gst-inspect.c: (print_plugin_info):
1845           add a "source" plugin description field, to represent the source
1846           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
1847           will set it to PACKAGE, which is automake's idea of the name of
1848           the source project.
1850 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1852         * Makefile.am:
1853         * autogen.sh:
1854         * configure.ac:
1855         * docs/Makefile.am:
1856         * docs/faq/Makefile.am:
1857         * docs/gst/tmpl/gstelement.sgml:
1858         * docs/gst/tmpl/gsttypes.sgml:
1859         * docs/htmlinstall.mak:
1860         * docs/manual/Makefile.am:
1861         * docs/pwg/Makefile.am:
1862           reorganize doc build a little
1863           split out docbook and gtk-doc stuff
1864           have two separate --enable's and enable them through autogen
1865           but disable by default in configure (to be similar to other
1866           projects)
1867         * gstreamer.spec.in:
1868           clean up docs install
1869         * po/af.po:
1870         * po/az.po:
1871         * po/ca.po:
1872         * po/cs.po:
1873         * po/de.po:
1874         * po/en_GB.po:
1875         * po/fr.po:
1876         * po/it.po:
1877         * po/nb.po:
1878         * po/nl.po:
1879         * po/ru.po:
1880         * po/sq.po:
1881         * po/sr.po:
1882         * po/sv.po:
1883         * po/tr.po:
1884         * po/uk.po:
1885         * po/vi.po:
1886           translation updates
1888 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
1890         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1891           Add comment.
1892           
1893         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1894         (gst_fake_sink_change_state):
1895           Make state change function thread-safe.
1896           
1897         * gst/gstpad.c: (gst_pad_alloc_buffer):
1898           Set offset on generic buffer allocated by fallback.
1900 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
1902         * docs/gst/gstreamer-sections.txt:
1903         * docs/gst/tmpl/gstelement.sgml:
1904         * gst/gstpad.c:
1905         * libs/gst/controller/gst-controller.c:
1906         (gst_controlled_property_set_interpolation_mode),
1907         (gst_controlled_property_new),
1908         (gst_controller_find_controlled_property):
1909          run the wingo-magic script against the docs
1911 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
1913         * docs/gst/gstreamer-docs.sgml:
1914         * docs/gst/gstreamer-sections.txt:
1915         * docs/gst/tmpl/.cvsignore:
1916         * docs/gst/tmpl/gstelementdetails.sgml:
1917         * docs/gst/tmpl/gstelementfactory.sgml:
1918         * gst/gst.c:
1919         * gst/gstbus.c:
1920         * gst/gstelementfactory.c:
1921         * gst/gstelementfactory.h:
1922           merged elementdetails docs into elementfactory docs
1923           inlined both
1925 2005-09-02  Andy Wingo  <wingo@pobox.com>
1927         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1928         consider this enum an enum and not a flags.
1930 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
1932         * docs/gst/gstreamer-docs.sgml:
1933         * docs/gst/tmpl/.cvsignore:
1934         * docs/gst/tmpl/gstghostpad.sgml:
1935         * docs/gst/tmpl/gstiterator.sgml:
1936         * docs/gst/tmpl/gstmacros.sgml:
1937         * docs/gst/tmpl/gstrealpad.sgml:
1938         * docs/gst/tmpl/gstregistry.sgml:
1939         * docs/gst/tmpl/gstregistrypool.sgml:
1940         * docs/gst/tmpl/gststructure.sgml:
1941         * docs/gst/tmpl/gstsystemclock.sgml:
1942         * docs/gst/tmpl/gsttrace.sgml:
1943         * gst/gstghostpad.c:
1944         * gst/gstmacros.h:
1945         * gst/gstmemchunk.c:
1946         * gst/gstmemchunk.h:
1947         * gst/gstqueue.c:
1948         * gst/gstregistry.c:
1949         * gst/gstregistrypool.c:
1950         * gst/gststructure.c:
1951         * gst/gstsystemclock.c:
1952           more docs inlined
1954 2005-09-02  Andy Wingo  <wingo@pobox.com>
1956         * gst/gstelement.h (GstState): Renamed from GstElementState,
1957         changed to be a normal enum instead of flags.
1958         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1959         munged to be GST_STATE_CHANGE_*.
1960         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1961         work with the new state representation.
1962         (GstStateChange): New enumeration of possible state transitions.
1963         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1964         (GstElementClass::change_state): Pass the GstStateChange along as
1965         an argument. Helps language bindings, so they don't have to use
1966         tricky lock-needing macros like GST_STATE_CHANGE ().
1968         * scripts/update-states (file): New script. Run it on a file to
1969         update it for state naming and API changes. Updates files in
1970         place.
1972         * All files updated for the new API.
1974 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1976         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1977         * gst/gstutils.c: (gst_util_set_value_from_string),
1978         (gst_util_set_object_arg):
1979           fix a bunch of unchecked return values
1980         * tools/gst-complete.c: (main):
1981         * gstreamer.spec.in:
1982           clean up a little
1984 2005-09-01  Wim Taymans  <wim@fluendo.com>
1986         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1987         (gst_base_sink_event), (gst_base_sink_do_sync),
1988         (gst_base_sink_handle_event):
1989         * gst/base/gstbasesink.h:
1990         Handle newsegments more correctly.
1992         * gst/gstbus.c:
1993         Fix docs.
1995         * gst/gstevent.c: (gst_event_new_newsegment):
1996         A newsegment cannot have a start_time of -1
1998 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
2000         * win32/gstenumtypes.c:
2001         * win32/gstenumtypes.h:
2002           Update
2004 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2006         * libs/gst/controller/gst-controller.c:
2007         (gst_controlled_property_set_interpolation_mode),
2008         (gst_controlled_property_new):
2009          fixed boolean again
2011 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2013         * docs/faq/gst-uninstalled:
2014           add -good
2015         * gst/gstevent.c:
2016         * gst/gstevent.h:
2017           remove wrong docs
2018         * gst/gstutils.c: (gst_element_link_filtered):
2019         * gst/gstutils.h:
2020           add gst_element_link_filtered
2022 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2024         * docs/gst/gstreamer-docs.sgml:
2025         * docs/gst/gstreamer-sections.txt:
2026         * docs/gst/tmpl/.cvsignore:
2027         * docs/gst/tmpl/gsterror.sgml:
2028         * docs/gst/tmpl/gstfilter.sgml:
2029         * docs/gst/tmpl/gsturihandler.sgml:
2030         * docs/gst/tmpl/gsturitype.sgml:
2031         * docs/gst/tmpl/gstutils.sgml:
2032         * docs/gst/tmpl/gstxml.sgml:
2033         * gst/gsterror.c:
2034         * gst/gsterror.h:
2035         * gst/gstfilter.c:
2036         * gst/gsturi.c:
2037         * gst/gsturitype.c:
2038         * gst/gstutils.c:
2039         * gst/gstxml.c:
2040           inlined more docs, fixed double id-ref
2042 2005-08-31  Wim Taymans  <wim@fluendo.com>
2044         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2045         (gst_base_transform_handle_buffer):
2046         Passthrough elements don't need the caps as they don't care.
2048 2005-08-31  Wim Taymans  <wim@fluendo.com>
2050         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2051         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2052         Don't leak refcounts on buffers.
2054 2005-08-31  Wim Taymans  <wim@fluendo.com>
2056         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2057         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2058         (gst_base_transform_chain), (gst_base_transform_change_state):
2059         * gst/base/gstbasetransform.h:
2060         Handle the case where we are not negotiated more gracefully.
2062 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
2064         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2065         (gst_file_src_map_region):
2066           Set READONLY flag on mmap'ed buffers, otherwise
2067           gst_buffer_make_writable() won't work properly (#314708).
2069 2005-08-31  Wim Taymans  <wim@fluendo.com>
2071         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2072         passthrough elements can even do inplace on non writable
2073         buffers (as they don't touch them).
2075 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
2077         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2078         (gst_test_mono_source_set_property),
2079         (gst_test_mono_source_class_init), (GST_START_TEST),
2080         (gst_controller_suite):
2081           more tests (hehe I have the most)
2082         * gst/gstbus.c:
2083           describe popping messages whenusing mulltiple sources
2084         * libs/gst/controller/gst-controller.c:
2085         (gst_controlled_property_set_interpolation_mode),
2086         (gst_controlled_property_new):
2087         * libs/gst/controller/gst-controller.h:
2088         * libs/gst/controller/gst-interpolation.c:
2089           implement boolean properties
2091 2005-08-31  Wim Taymans  <wim@fluendo.com>
2093         * gst/gstminiobject.c: (gst_mini_object_ref):
2094         Cannot assert that the refcount has to be positive
2095         since a disposed object can be resurrected.
2097 2005-08-31  Wim Taymans  <wim@fluendo.com>
2099         * gst/gstpad.c: (gst_pad_init):
2100         Revert change, need to first fix badly behaving 
2101         apps.
2103 2005-08-30  Wim Taymans  <wim@fluendo.com>
2105         * check/elements/fakesrc.c: (setup_fakesrc):
2106         * check/elements/identity.c: (setup_identity):
2107         Activate pads before using them.
2109 2005-08-30  Wim Taymans  <wim@fluendo.com>
2111         * gst/base/gstadapter.c: (gst_adapter_flush):
2112         Flushing out 0 bytes is ok for this function.
2114         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2115         no newsegment gives a warning and sets the start/stop to 
2116         invalid.
2118         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2119         (gst_base_transform_set_passthrough):
2120         Some debug info.
2122         * gst/gstminiobject.c: (gst_mini_object_ref):
2123         Check refcount here too.
2125         * gst/gstpad.c: (gst_pad_init):
2126         Pads are initially flushing and refusing data.
2128         * gst/gstutils.c: (gst_element_link_pads_filtered):
2129         When adding a capsfilter element make sure it has the
2130         same state as the parent bin.
2132 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2134         * docs/gst/tmpl/.cvsignore:
2135         * docs/gst/tmpl/gstformat.sgml:
2136         * docs/gst/tmpl/gstversion.sgml:
2137         * gst/gstbus.h:
2138         * gst/gstformat.c:
2139         * gst/gstformat.h:
2140         * gst/gstversion.h.in:
2141           more docs and two more inlined
2143 2005-08-30  Wim Taymans  <wim@fluendo.com>
2145         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2146         Don't sync to clock.
2148 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2150         * docs/gst/gstreamer-sections.txt:
2151           ultral33t func10ns deserve to appear in the docs actually
2152         * docs/gst/tmpl/.cvsignore:
2153         * docs/gst/tmpl/gstcompat.sgml:
2154         * docs/gst/tmpl/gstconfig.sgml:
2155         * gst/check/gstcheck.c:
2156         * gst/gstcompat.h:
2157         * gst/gstconfig.h.in:
2158           inlined more docs
2160 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2162         * docs/gst/tmpl/.cvsignore:
2163         * docs/gst/tmpl/gstquery.sgml:
2164         * docs/gst/tmpl/gstutils.sgml:
2165         * gst/gstquery.c:
2166         * gst/gstquery.h:
2167           inlined and extended docs
2169 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
2171         * check/gst-libs/controller.c: (GST_START_TEST),
2172         (gst_controller_suite):
2173           more tests
2174         * docs/gst/tmpl/gstutils.sgml:
2175         * docs/libs/gstreamer-libs-sections.txt:
2176         * docs/libs/tmpl/gstdataprotocol.sgml:
2177           include path fixes
2178         * examples/controller/audio-example.c: (main):
2179           controller example works now
2180         * gst/gstclock.h:
2181           doc fixes
2182         * tools/gst-inspect.c: (print_element_properties_info):
2183           show param spec flags
2185 2005-08-29  Andy Wingo  <wingo@pobox.com>
2187         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2189 2005-08-28  Andy Wingo  <wingo@pobox.com>
2191         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2192         as having two arguments instead of just one. Allows superclasses
2193         to access information on subclasses -- see the terrible for() loop
2194         in gtype.c:g_type_create_instance for the reason why. All callers
2195         changed.
2197 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2199         * docs/design/part-messages.txt:
2200           update info
2201         * docs/gst/tmpl/.cvsignore:
2202         * docs/gst/tmpl/gstcaps.sgml:
2203         * docs/gst/tmpl/gstclock.sgml:
2204         * gst/gstbus.c:
2205         * gst/gstcaps.c:
2206         * gst/gstcaps.h:
2207         * gst/gstclock.c:
2208         * gst/gstclock.h:
2209         * gst/gstmessage.c:
2210           added descriptions for bus and message
2211           inline caps and clock docs
2213 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2215         * gst/gstmessage.c:
2216         * gst/gstmessage.h:
2217           doc fixes
2219 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
2221         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2222           fix div-by-zero
2224 2005-08-26  Andy Wingo  <wingo@pobox.com>
2226         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2227         element_set_state's return val.
2228         (test_2_elements): Add test that's been disabled for months.
2230         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2231         can-activate-pull properties.
2233         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2234         can-activate-pull properties. Implement is_seekable so fakesrc can
2235         operate in pull mode.
2237         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2238         properties.
2239         (gst_base_sink_activate, gst_base_sink_activate_pull)
2240         (gst_base_sink_activate_push): Make activation mode choosing work.
2241         Cleanups.
2242         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2243         is right. Make pull mode work. Post an eos before pausing in pull
2244         mode.
2245         (gst_base_sink_change_state): Pay attention to the core's
2246         change_state() return val.
2247         
2248         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2249         has-getrange properties. Cleanups.
2250         
2251         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2252         has_getrange and replace with can_activate_pull and
2253         can_activate_push.
2255         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2256         locking comments. Remove has_loop, has_chain and replace with
2257         can_activate_pull and can_activate_push.
2259 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
2261         * configure.ac:
2262         * examples/Makefile.am:
2263         * examples/metadata/Makefile.am:
2264         * examples/metadata/read-metadata.c: (message_loop),
2265         (have_pad_handler), (make_pipeline), (print_tag), (main):
2266           Add metadata reading example that loops over a list of filenames,
2267           dumping any tags found.
2269         * gst/gstbus.c: (gst_bus_dispose):
2270         * gst/gstelement.c: (gst_element_dispose):
2271           Release a few potentially-held references in dispose.
2273 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2275         * docs/gst/tmpl/gstminiobject.sgml:
2276           do *not* add tmpl/*.sgml files to CVS!
2278 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2280         * libs/gst/bytestream/.cvsignore:
2281         * libs/gst/bytestream/Makefile.am:
2282         * libs/gst/bytestream/adapter.c:
2283         * libs/gst/bytestream/adapter.h:
2284         * libs/gst/bytestream/bytestream.c:
2285         * libs/gst/bytestream/bytestream.h:
2286         * libs/gst/bytestream/filepad.c:
2287         * libs/gst/bytestream/filepad.h:
2288           removing obsolete files
2290 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2292         * docs/gst/gstreamer-docs.sgml:
2293         * docs/libs/gstreamer-libs-docs.sgml:
2294           disabed additional index entries again, as this makes docs-gen just
2295           slow and they aren't useful yet
2296         * docs/libs/gstreamer-libs-sections.txt:
2297           little -section.txt cleanup for libs
2299 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2301         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2302         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2303           fix up some debugging
2304         (gst_base_transform_get_unit_size),
2305         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2306         (gst_base_transform_handle_buffer):
2307         * gst/base/gstbasetransform.h:
2308           handle and store timed NEWSEGMENT events so that subclasses that
2309           calculate time by counting samples have a segment_start time they
2310           need to add to their timestamps - see audioresample
2312 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
2314         * gst/gstbin.h:
2315           removed ';' from the end of macro defs
2316         * docs/gst/gstreamer-docs.sgml:
2317         * docs/gst/gstreamer-sections.txt:
2318         * docs/gst/tmpl/.cvsignore:
2319         * gst/gstbus.h:
2320         * gst/gstelement.c: (gst_element_class_init),
2321         (gst_element_set_state), (activate_pads),
2322         (gst_element_save_thyself):
2323         * gst/gstevent.c: (gst_event_new_newsegment):
2324         * gst/gstevent.h:
2325         * gst/gstiterator.c:
2326         * gst/gstiterator.h:
2327         * gst/gstpad.c:
2328         * gst/gstprobe.h:
2329         * gst/gstutils.c: (gst_pad_query_convert):
2330         * gst/gstutils.h:
2331           fixed parameter name mismatches between source, header and docs
2332           added some more docs, resolved the last batch of unused elements in
2333           docs (now someone needs to doc them)
2335 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2337         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2338         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2339           don't walk through the plugins backwards.  Where is all this
2340           reversed logic coming from ?
2342 2005-08-25  Wim Taymans  <wim@fluendo.com>
2344         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2345         (gst_base_transform_transform_size),
2346         (gst_base_transform_configure_caps),
2347         (gst_base_transform_get_unit_size),
2348         (gst_base_transform_buffer_alloc),
2349         (gst_base_transform_change_state):
2350         * gst/base/gstbasetransform.h:
2351         Cache caps unit_size.
2352         Make sure we cannot negotiate up and downstream at the
2353         same time.
2355 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2357         * gst/gst.c: (init_pre), (init_post):
2358           register the installed plugin path after the env var
2359         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2360         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2361           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2362           directories, so the tests can prefer uninstalled over installed
2364 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
2366         * gst/base/gstbasetransform.h:
2367           comment
2368         * gst/gstpad.c:
2369           add to docs
2371 2005-08-25  Wim Taymans  <wim@fluendo.com>
2373         * gst/gstbin.c: (bin_bus_handler):
2374         Be a bit more conservative about the posted message.
2375         
2376         * gst/gstbus.c: (gst_bus_post):
2377         Some cleanups, warn wrong return values.
2379 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
2381         * check/gst/gstbin.c: (GST_START_TEST):
2382         * gst/gstbin.c: (bin_bus_handler):
2383         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2384         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2385         (gst_message_new_warning), (gst_message_new_tag),
2386         (gst_message_new_state_changed), (gst_message_new_segment_start),
2387         (gst_message_new_segment_done), (gst_message_new_custom):
2388         * gst/gstmessage.h:
2389         * tools/gst-launch.c: (event_loop):
2390         * tools/gst-md5sum.c: (event_loop):
2391           Revert unpopular change for GST_MESSAGE_SRC to GObject.
2393 2005-08-25  Wim Taymans  <wim@fluendo.com>
2395         * check/generic/states.c: (GST_START_TEST):
2396         Cleanup can be done at the end.
2398         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2399         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2400         (gst_task_get_state), (gst_task_start), (gst_task_pause):
2401         Oh boy.. Thanks for finding this, Thomas. 
2403 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2405         * docs/gst/gstreamer.types:
2406           added missing types
2408 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
2410         * docs/gst/gstreamer-docs.sgml:
2411         * docs/gst/gstreamer-sections.txt:
2412         * docs/gst/tmpl/.cvsignore:
2413         * gst/gstbin.c:
2414         * gst/gstiterator.c:
2415         * gst/gstutils.c:
2416         * gst/registries/gstxmlregistry.h:
2417           added missing classes and symbols (123 more to go)
2418           removed removed symbols from section file
2419           fixed many doc-comments
2421 2005-08-24  Wim Taymans  <wim@fluendo.com>
2423         * check/generic/states.c: (GST_START_TEST):
2424         Make sure all tasks are stopped.
2426         * check/gst/gstbin.c: (GST_START_TEST):
2427         Unref after usage for proper valgrinding.
2429         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2430         Really wait for the task to stop before destroying the
2431         mutex.
2433         * gst/gstqueue.c: (gst_queue_sink_activate_push),
2434         (gst_queue_src_activate_push):
2435         Small cleanups. Don't stop the task when we did not start
2436         it.
2438         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2439         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2440         (gst_task_get_state), (gst_task_start), (gst_task_pause),
2441         (gst_task_join):
2442         * gst/gsttask.h:
2443         Protect the stream lock with the object lock.
2444         Disallow setting the stream lock when running.
2445         Add cleanup_all to wait for the threadpool to finish.
2446         Remove code to autoallocate a mutex if none was provided.
2447         Add _join() to wait for a task to stop.
2448         Protect the thread pool with a global lock.
2450 2005-08-24  Wim Taymans  <wim@fluendo.com>
2452         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2453         (gst_base_sink_get_times), (gst_base_sink_do_sync),
2454         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2455         * gst/base/gstbasesink.h:
2456         Handle newsegment events correctly.
2457         Drop buffers out of the segment range.
2459 2005-08-22  Andy Wingo  <wingo@pobox.com>
2461         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2462         macro, implements an interface and gstimplementsinterface for a
2463         new type.
2465 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2467         * check/Makefile.am:
2468         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2469           add a test that does a bunch of state changes on elements
2470           needs some fixing for valgrind
2471         * check/states/sinks.c: (gst_object_suite):
2472           whitespace
2473         * gst/gstcaps.h:
2474           add prototype for gst_caps_is_equal_fixed
2475         * gst/gstplugin.c:
2476         * gst/gstregistrypool.c:
2477           doc fixes
2479 2005-08-24  Andy Wingo  <wingo@pobox.com>
2481         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2482         convert a negative value. Doesn't make much sense. Mostly this is
2483         here to force callers to ensure -1 maps to -1.
2485 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2487         * docs/pwg/advanced-types.xml:
2488           Well done to Michael for catching my deliberate introduction
2489           of this spelling mistake. 
2490         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2491         * gst/gstelement.h:
2492           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2493           unlink pads before removing the element from the bin.
2495 2005-08-24  Andy Wingo  <wingo@pobox.com>
2497         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2498         the same thing as GST_DEBUG=*:4.
2499         (parse_debug_level, parse_debug_category): New helper parsers.
2501 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2503         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2504         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2505         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2506         (gst_base_transform_buffer_alloc),
2507         (gst_base_transform_handle_buffer):
2508           use gboolean return values and pointers to size so we can use the
2509           full GST_BUFFER_SIZE range (guint) for buffer sizes
2510           use GstPadDirection for transform_caps
2511         * gst/base/gstbasetransform.h:
2512           rename get_size to get_unit_size since that's what it is
2513         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2514           use GstPadDirection for transform_caps
2515         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2516         * gst/gstutils.h:
2517           cleanup and debugging
2519 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2521         * gst/gstelement.c: (gst_element_class_init),
2522         (gst_element_set_state), (activate_pads),
2523         (gst_element_save_thyself):
2524         * tools/gst-compprep.c: (main):
2525         * tools/gst-inspect.c: (print_element_properties_info):
2526         * tools/gst-xmlinspect.c: (print_element_properties):
2527           Fixed long standing mem-leak
2529 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2531         * check/gst/gstbin.c: (GST_START_TEST):
2532         * gst/gstbin.c: (bin_bus_handler):
2533         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2534         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2535         (gst_message_new_warning), (gst_message_new_tag),
2536         (gst_message_new_state_changed), (gst_message_new_segment_start),
2537         (gst_message_new_segment_done), (gst_message_new_custom):
2538         * gst/gstmessage.h:
2539         * tools/gst-launch.c: (event_loop):
2540         * tools/gst-md5sum.c: (event_loop):
2541           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2542           that applications can sensibly post custom messages with references
2543           to their own objects.
2545 2005-08-24  Andy Wingo  <wingo@pobox.com>
2547         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2548         already.
2550 2005-08-24  Wim Taymans  <wim@fluendo.com>
2552         * gst/base/gstbasetransform.c: (gst_base_transform_init),
2553         (gst_base_transform_transform_caps),
2554         (gst_base_transform_transform_size),
2555         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2556         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2557         (gst_base_transform_handle_buffer):
2558         * gst/base/gstbasetransform.h:
2559         Many fixes and new features added by Thomas. Can now also do
2560         transforms with variable sizes and a custom fixate_caps function.
2562 2005-08-24  Wim Taymans  <wim@fluendo.com>
2564         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2565         Some debugging.
2567         * gst/gstclock.h:
2568         Cast to ClockTime before formatting to time.
2570         * gst/gstutils.h:
2571         Cleanups.
2573 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
2575         * check/gst-libs/controller.c: (GST_START_TEST),
2576         (gst_controller_suite):
2577         * docs/gst/tmpl/gstcaps.sgml:
2578         * docs/gst/tmpl/gstghostpad.sgml:
2579         * docs/gst/tmpl/gstquery.sgml:
2580         * docs/gst/tmpl/gstutils.sgml:
2581         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2582         (gst_object_sink_values), (gst_object_get_value_arrays),
2583         (gst_object_get_value_array):
2584           gracefully handle helper method calls to objects that are not beeing
2585           controlled, added test case for that          
2587 2005-08-23  Wim Taymans  <wim@fluendo.com>
2589         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2590         (gst_event_new_newsegment), (gst_event_parse_newsegment),
2591         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2592         (gst_event_parse_qos), (gst_event_new_seek),
2593         (gst_event_parse_seek):
2594         * gst/gstevent.h:
2595         Some more debugging output and doc cleanups.
2597         * gst/gstqueue.c: (gst_queue_handle_sink_event):
2598         Fix possible deadlock.
2600 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2602         * docs/gst/gstreamer-docs.sgml:
2603         * docs/gst/gstreamer-sections.txt:
2604         * docs/gst/gstreamer.types:
2605         * docs/gst/tmpl/.cvsignore:
2606         * gst/gstbin.h:
2607         * gst/gstbus.c:
2608         * gst/gstelement.c:
2609         * gst/gstevent.h:
2610           added 100 symbols from gstreamer-unused.txt to the right sections
2611           fixed more broken comments
2612           added GstBus to docs
2614 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2616         * docs/gst/gstreamer-sections.txt:
2617         * docs/gst/tmpl/.cvsignore:
2618         * docs/gst/tmpl/gstbin.sgml:
2619         * docs/gst/tmpl/gstbuffer.sgml:
2620         * gst/base/gstbasesrc.c:
2621         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2622         * gst/gstbuffer.c:
2623         * gst/gstbuffer.h:
2624         * tools/gst-launch.1.in:
2625           inlined more doc comments, added missing comments and fixed comments
2626           fixed typos
2628 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2630         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2631           some debugging
2632         * gst/gstcaps.h:
2633           whitespace fixes
2634         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2635           more debugging
2636         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2637         * gst/gststructure.h:
2638           add a fixate function for booleans; add a FIXME that these func
2639           names should probably be gst_structure_fixate_*
2641 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
2643         * docs/gst/gstreamer-docs.sgml:
2644         * docs/gst/gstreamer-sections.txt:
2645         * gst/Makefile.am:
2646         * gst/gstbin.c: (gst_bin_get_type),
2647         (gst_bin_child_proxy_get_child_by_index),
2648         (gst_bin_child_proxy_get_children_count),
2649         (gst_bin_child_proxy_init):
2650         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2651         (gst_child_proxy_get_child_by_index),
2652         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2653         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2654         (gst_child_proxy_get), (gst_child_proxy_set_property),
2655         (gst_child_proxy_set_valist), (gst_child_proxy_set),
2656         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2657         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2658         * gst/gstchildproxy.h:
2659         * gst/parse/grammar.y:
2660         * tools/gst-inspect.c: (print_interfaces),
2661         (print_element_properties_info), (print_element_info):
2662           ported gstchildproxy over from 0.8
2663           ported gst-inspect fixes and enhancements over from 0.8
2665 2005-08-22  Wim Taymans  <wim@fluendo.com>
2667         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2668         (gst_base_transform_handle_buffer):
2669         Also call the transform function if we have ANY caps.
2671         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2672         Fix debug info.
2674 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2676         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2677           Don't pretend to handle seek events if the source is not seekable
2679 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
2681         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2682           Remove extra parameter to debug output
2684         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2685         (gst_base_src_do_seek), (gst_base_src_activate_push):
2686           Fix seek event handling.
2688         * gst/gstpipeline.c: (gst_pipeline_change_state):
2689         * gst/gstqueue.c: (gst_queue_handle_sink_event),
2690         (gst_queue_src_activate_push):
2691           Don't start the src pad task on FLUSH_STOP if the pad
2692           isn't linked.
2693           Debug changes.
2695 2005-08-22  Wim Taymans  <wim@fluendo.com>
2697         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2698         Added check for gst_static_caps_get() refcounting.
2700 2005-08-22  Wim Taymans  <wim@fluendo.com>
2702         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2703         Make _static_caps_get() refcounting sane.
2704         
2705         * gst/gstelement.c: (gst_element_set_state):
2706         Add g_return_val_if_fail() to protect against segfaults.
2708 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
2710         * docs/gst/tmpl/gstevent.sgml:
2711         * gst/gstevent.c:
2712         * gst/gstevent.h:
2713           inlined remaining docs, added missing doc comments
2715 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2717         * check/gst/gstbin.c: (GST_START_TEST):
2718           since we don't know when preroll is done, use refcount range
2719           check for the sink
2720         * gst/check/gstcheck.h:
2721           add macro for checking refcount range
2723 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2725         * check/Makefile.am:
2726           clean up environment for when registry gets built versus
2727           when actual tests are run; valgrind seems to not report
2728           leaks if GST_PLUGIN_PATH is set to some specific values
2729         * check/gst/gstbin.c: (GST_START_TEST):
2730           add more refcounting checks; maybe this exposes a
2731           preroll lock bug ?
2732         * common/check.mak:
2733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2734         * gst/check/gstcheck.h:
2735         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2736         (gst_bin_change_state):
2737         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2738           add/fix debugging/whitespace
2740 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2742         * check/gst/gstevent.c: (event_probe), (test_event),
2743         (GST_START_TEST):
2744          Er, don't call gst_bin_watch_for_state_change you idiot.
2746 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
2748         * check/Makefile.am:
2749           Use CHECK_CFLAGS and CHECK_LIBS
2750         * check/gst/gstevent.c: (event_probe), (test_event),
2751         (GST_START_TEST):
2752           Don't leak events.
2753         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2754         (gst_base_src_start), (gst_base_src_stop),
2755         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2756         (gst_base_src_change_state):
2757           Sprinkle gst_base_src_stop liberally around error paths to fix
2758           problems reusing a source after failed state changes.
2759         * gst/base/gsttypefindhelper.c: (helper_find_peek),
2760         (helper_find_suggest), (gst_type_find_helper):
2761           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2762         * gst/gstevent.h:
2763         * docs/gst/tmpl/gstevent.sgml:
2764           Migrate part of the docs from the SGML file. Wait for ensonic to
2765           tell me how I did it wrong ;)
2766         * tools/gst-typefind.c: (main):
2767           Extra robustness to state changes between files.
2769 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2771         * check/Makefile.am:
2772           don't valgrind the controller test - it's leaking - Stefan, HELP
2773         * gst/check/gstcheck.c: (gst_check_message_error),
2774         (gst_check_chain_func), (gst_check_setup_element),
2775         (gst_check_teardown_element), (gst_check_setup_src_pad),
2776         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2777         (gst_check_teardown_sink_pad):
2778         * gst/check/gstcheck.h:
2779           add a bunch of methods to set up elements, and src and sink pads
2780         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2781         * check/elements/identity.c: (setup_identity), (cleanup_identity),
2782         (GST_START_TEST):
2783           use them
2784         * gst/gstmessage.c:
2785         * gst/gsttag.h:
2786           whitespace/doc fixes
2788 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2790         * gst/gstelement.h:
2791           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2792           be handled by the application and not always printed as well
2794 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2796         * check/Makefile.am:
2797           set GST_TOOLS_DIR
2798         * gst/check/gstcheck.c: (gst_check_message_error):
2799         * gst/check/gstcheck.h:
2800           add a fail_unless_equals_int
2801           add fail_unless for error messages
2803 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2805         * check/Makefile.am:
2806         * check/gst.supp:
2807         * common/Makefile.am:
2808         * common/check.mak:
2809         * common/gst.supp:
2810           factor out some of the common stuff so we can use it
2812 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2814         * check/Makefile.am:
2815         * check/gst/gstiterator.c: (GST_START_TEST):
2816         * check/gst/gstsystemclock.c: (GST_START_TEST),
2817         (gst_systemclock_suite):
2818         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2819         * gst/gstclock.c:
2820           valgrind more tests
2822 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2824         * check/elements/.cvsignore:
2825         * check/elements/gstfakesrc.c:
2826           rename to name of element
2827         * check/elements/identity.c: (chain_func), (event_func),
2828         (setup_identity), (cleanup_identity), (GST_START_TEST),
2829         (identity_suite), (main):
2830           add a test for identity
2831         * check/Makefile.am:
2832         * pkgconfig/Makefile.am:
2833         * pkgconfig/gstreamer-check.pc.in:
2834         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2835         * gst/check:
2836         * gst/Makefile.am:
2837         * configure.ac:
2838           move the check stuff to a library that gets installed
2839         * check/gst-libs/controller.c: (GST_START_TEST):
2840         * check/gst-libs/gdp.c:
2841         * check/gst/gst.c: (GST_START_TEST):
2842         * check/gst/gstbin.c:
2843         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2844         * check/gst/gstbus.c:
2845         * check/gst/gstcaps.c: (GST_START_TEST):
2846         * check/gst/gstelement.c:
2847         * check/gst/gstghostpad.c:
2848         * check/gst/gstiterator.c:
2849         * check/gst/gstmessage.c:
2850         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2851         * check/gst/gstobject.c:
2852         * check/gst/gstpad.c: (GST_START_TEST):
2853         * check/gst/gststructure.c: (GST_START_TEST):
2854         * check/gst/gstsystemclock.c: (GST_START_TEST),
2855         (gst_systemclock_suite):
2856         * check/gst/gsttag.c: (gst_tag_suite):
2857         * check/gst/gstvalue.c:
2858         * check/pipelines/cleanup.c:
2859         * check/pipelines/simple_launch_lines.c:
2860         * check/states/sinks.c:
2861           change include statement
2863         * docs/gst/gstreamer-sections.txt:
2864         * docs/gst/tmpl/gstpad.sgml:
2865           document more pad stuff
2866         * gst/gstminiobject.c: (gst_mini_object_ref),
2867         (gst_mini_object_unref):
2868           debug refcounting
2870 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
2872         * docs/gst/tmpl/gst.sgml:
2873         * gst/gst.c:
2874           eliminate another tmpl file, fix spelling in the long-description
2876 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2878         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2879         (test_event), (timediff), (gstevents_suite):
2880           Should fix build on 64-bit arch's
2882 2005-08-18  Andy Wingo  <wingo@pobox.com>
2884         Make sure that when a pipeline goes to PLAYING, that data has
2885         actually hit the sink.
2887         * check/states/sinks.c (test_sink): A sink that doesn't get any
2888         data shouldn't return SUCCESS for going to either PLAYING or
2889         PAUSED. Test also the return values on the way back down.
2891         * gst/gstelement.c (gst_element_set_state): When changing the
2892         state of an element currently changing state asynchronously, go to
2893         lost-state after commiting the pending state. Makes future calls
2894         to get_state continue to return ASYNC.
2896         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2897         ASYNC when going to PLAYING if we still don't have preroll, as can
2898         happen with live sources.
2900 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2902         * docs/pwg/advanced-types.xml:
2903           Hack long paragraph into 2 chunks as a workaround for buggy
2904           jadetex version in sid and breezy that loops infinitely and
2905           eats all RAM.
2907 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2909         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2910         (test_event), (timediff), (gstevents_suite):
2911           Provide more error margin in clock measurements to allow for 
2912           g_get_current_time inaccuracies.
2914 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2916         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2917         (test_event), (timediff), (gstevents_suite):
2918            Fix error message output so I might be able to tell why the
2919            test works here but fails on the build farm.
2921 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
2923         * check/Makefile.am:
2924         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2925         (test_event), (timediff), (gstevents_suite), (main):
2926           I wrote a test!
2928         * docs/design/part-seeking.txt:
2929           Spelling correction
2931         * docs/gst/tmpl/gstevent.sgml:
2932         * docs/gst/tmpl/gstfakesrc.sgml:
2933           Docs updates.
2935         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2936           Treat a buffer-without-newsegment the same as a receiving 
2937           a newsegment not in time format, and disable syncing to the clock
2938           with a warning.
2940         * gst/gstbus.c: (gst_bus_set_sync_handler):
2941           Assert if anyone tries to replace the existing sync_handler for bus, 
2942           as only the owner should be setting it.
2944         * gst/gstevent.h:
2945           Have a fixed set of custom event enums with events identified by
2946           their structure name (as in 0.8), rather than a free-for-all
2947           allowing collisions between enum values from different plugins.
2949         * gst/gstpad.c: (gst_pad_class_init):
2950           Docs change.
2951           
2952         * gst/gstqueue.c: (gst_queue_handle_sink_event):
2953           Handle out-of-band downstream events from the sending thread.
2955 2005-08-17  Andy Wingo  <wingo@pobox.com>
2957         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2958         play-timeout==0 to mean no timeout at all. In that case, don't
2959         bother with a get_state or a warning, just return directly, even
2960         if it's ASYNC.
2962         * gst/base/gstbasetransform.c: Debug changes.
2964         * gst/gstutils.h:
2965         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2966         ensure bins post state change messages. A bit of a hack but I can't
2967         think of a way to avoid it.
2969         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2971 2005-08-16  Andy Wingo  <wingo@pobox.com>
2973         * gst/base/gstadapter.h:
2974         * gst/base/gstadapter.c (gst_adapter_take): New function, like
2975         peek() but you own the data. Not terribly efficient atm.
2977 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2979         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2980         (gst_element_found_tags):
2981         * gst/gstutils.h:
2982           Add two utility functions for tag handling.
2984 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2986         * docs/manual/advanced-dataaccess.xml:
2987         * docs/manual/basics-helloworld.xml:
2988           Fix docs to use _bin_add() before _link(), which fixes the examples
2989           with recent core versions (reported by Madhan Raj M
2990           <raj_madan@rediffmail.com>, #313199).
2992 2005-08-16  Wim Taymans  <wim@fluendo.com>
2994         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2995         Added subtract checks.
2997         * docs/design/part-events.txt:
2998         Some more docs about newsegment
3000         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3001         Fix FIXME
3003         * gst/gstcaps.c: (gst_caps_to_string):
3004         Add comments, cleanups.
3005         
3006         * gst/gstelement.c: (gst_element_save_thyself):
3007         cleanups
3008         
3009         * gst/gstvalue.c: (gst_value_collect_int_range),
3010         (gst_string_unwrap), (gst_value_union_int_int_range),
3011         (gst_value_union_int_range_int_range),
3012         (gst_value_intersect_int_int_range),
3013         (gst_value_intersect_int_range_int_range),
3014         (gst_value_intersect_double_double_range),
3015         (gst_value_intersect_double_range_double_range),
3016         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3017         (gst_value_subtract_int_range_int),
3018         (gst_value_subtract_double_range_double),
3019         (gst_value_subtract_double_range_double_range),
3020         (gst_value_subtract_from_list), (gst_value_subtract_list),
3021         (gst_value_can_compare), (gst_value_compare_fraction):
3022         Cleanups, add comments, remove unneeded asserts.
3024 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3026         * tools/gst-launch.c: (event_loop):
3027           don't convert NULL structures to strings
3029 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
3031         * docs/gst/gstreamer-sections.txt:
3032           made some defines private
3033         * docs/gst/tmpl/gstconfig.sgml:
3034         * docs/gst/tmpl/gstqueue.sgml:
3035         * docs/gst/tmpl/gsttaglist.sgml:
3036         * docs/gst/tmpl/gsttypes.sgml:
3037         * docs/gst/tmpl/gstutils.sgml:
3038         * docs/pwg/appendix-porting.xml:
3039         * gst/base/gstbasesink.h:
3040         * gst/base/gstbasesrc.c:
3041         * gst/base/gstbasesrc.h:
3042         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3043         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3044         * gst/gstelement.c: (gst_element_class_init):
3045         * gst/gstpad.c: (gst_pad_class_init):
3046         * gst/gstqueue.c: (gst_queue_class_init):
3047         * gst/gstxml.c: (gst_xml_class_init):
3048           documented all undocumented signal inline
3049         * libs/gst/controller/gst-controller.h:
3050           added padding
3052 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3054         * docs/pwg/appendix-porting.xml:
3055           Document _set_link_function -> _set_setcaps_function.
3057 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3059         * check/Makefile.am:
3060           add a .check target for running the check
3061         * check/gst-libs/controller.c: (GST_START_TEST):
3062           cosmetic fixups
3063         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3064           complete checks for gstbuffer; would be nice if I could get the
3065           gcov stuff to work so I can see if I actually completed gstbuffer.c
3066         * check/gstcheck.h:
3067           add ASSERT_BUFFER_REFCOUNT
3069 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
3071         * docs/gst/gstreamer-sections.txt:
3072         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3073         * gst/gsttag.h:
3074           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3075           spew out a warning if a tag that is already registered
3076           is re-registered, unless it is re-registered with a 
3077           different type (#308438).
3079 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
3081         * docs/pwg/appendix-porting.xml:
3082         * docs/pwg/building-state.xml:
3083           Add some paragraphs about state changes in 0.9 to the PWG
3084           and the porting guide, in particular about the new meaning
3085           of GST_STATE_PAUSED and how to write state change functions
3086           with concurrent access by multiple threads in mind.
3088 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
3090         * docs/gst/gstreamer-docs.sgml:
3091         * docs/libs/gstreamer-libs-docs.sgml:
3092           added deprecation and since indexes
3093         * libs/gst/controller/gst-controller.c:
3094         * libs/gst/controller/gst-helper.c:
3095           added since tags
3098 2005-08-11  Wim Taymans  <wim@fluendo.com>
3100         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3101         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3102         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3103         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3104         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3105         (gst_ghost_pad_set_target):
3106         Actually implement (re)setting the target on a ghostpad
3107         as described in the docs.
3109 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3111         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3112           Check whether GST_DEBUG_NO_COLOR environment variable is
3113           set and disable coloured debug output if that is the case.
3115 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3117         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3118         (gst_type_find_helper):
3119           The memory returned by gst_type_find_peek() needs to
3120           stay valid until the end of a typefind function, and
3121           typefind functions may keep results from different 
3122           offsets around, so we can't just unref the buffer from
3123           the previous _peek(), but have to save all buffers 
3124           returned by _peek() until typefinding is done and only
3125           free them then.
3127 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
3129         * docs/gst/gstreamer-sections.txt:
3130         * gst/gstutils.h:
3131           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3133 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3135         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3136           Fix a pretty good memleak.
3138 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3140         * gst/gstiterator.h:
3141           Fix wrong include and 'make distcheck'.
3143 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3145         * gst/gstbin.c: (bin_bus_handler):
3146           Use gst_element_post_message() instead.
3148 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3150         * gst/base/gstadapter.h:
3151         * gst/base/gstbasesink.h:
3152         * gst/base/gstbasesrc.h:
3153         * gst/base/gstbasetransform.h:
3154         * gst/base/gstcollectpads.h:
3155         * gst/base/gstpushsrc.h:
3156         * gst/gstiterator.h:
3157           Add padding to our base elements' class and instance structs and
3158           to GstIterator (you will need to rebuild all plugins and apps!)
3160 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3162         * gst/gstbin.c: (bin_bus_handler):
3163           Make default message forwarding from child->bus to bin->bus
3164           threadsafe and make it not emit warnings if the parent has no bus.
3166 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3168         * gst/gstelement.c: (activate_pads):
3169           On paused->ready, set pad->caps to NULL, as is the documented
3170           behaviour in this state change. Fixes playback of series of
3171           media files when visualization is enabled in Totem.
3173 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3175         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3176           Allow NULL as filter-caps (which means "any").
3178 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3180         * docs/libs/gstreamer-libs-sections.txt:
3181         * libs/gst/controller/gst-controller.c:
3182         * libs/gst/controller/gst-controller.h:
3183         * libs/gst/controller/gst-helper.c:
3184           adding more entries to the docs and fix small doc-bugs
3186 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3188         * docs/gst/gstreamer-docs.sgml:
3189         * docs/gst/gstreamer-sections.txt:
3190         * docs/gst/gstreamer.types:
3191         * docs/gst/tmpl/gstbasesink.sgml:
3192         * docs/gst/tmpl/gstbasesrc.sgml:
3193         * docs/gst/tmpl/gstbasetransform.sgml:
3194         * docs/gst/tmpl/gstfakesrc.sgml:
3195         * gst/base/gstcollectpads.c:
3196         * gst/base/gstcollectpads.h:
3197         * libs/gst/controller/gst-controller.c:
3198         * libs/gst/controller/gst-controller.h:
3199         * libs/gst/controller/gst-helper.c:
3200         * libs/gst/controller/gst-interpolation.c:
3201         * libs/gst/controller/lib.c:
3202           added long/short desc for controller docs
3203           added collectpads base class docs
3204           added correct includes to base-class docs
3206 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
3208         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3209         (gst_test_mono_source_set_property),
3210         (gst_test_mono_source_class_init), (GST_START_TEST),
3211         (gst_controller_suite):
3212         * docs/gst/gstreamer-docs.sgml:
3213         * docs/gst/gstreamer-sections.txt:
3214         * docs/gst/gstreamer.types:
3215         * docs/libs/gstreamer-libs-docs.sgml:
3216         * docs/libs/gstreamer-libs-sections.txt:
3217         * gst/base/gstadapter.c:
3218         * libs/gst/controller/gst-controller.c:
3219         (gst_controlled_property_new), (gst_controlled_property_free),
3220         (gst_controller_new_valist),
3221         (gst_controller_remove_properties_valist),
3222         (gst_controller_sink_values), (_gst_controller_finalize):
3223         * libs/gst/controller/gst-controller.h:
3224         * libs/gst/controller/gst-helper.c:
3225         (gst_object_control_properties), (gst_object_uncontrol_properties),
3226         (gst_object_get_controller), (gst_object_set_controller),
3227         (gst_object_sink_values), (gst_object_get_value_arrays),
3228         (gst_object_get_value_array):
3229           more tests (and fixes) for the controller
3230           more docs for the controller
3231           integrated companies docs for the adapter 
3233 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3235         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3236         (GST_START_TEST), (fakesrc_suite):
3237           add tests for sizetype
3239 2005-08-04  Andy Wingo  <wingo@pobox.com>
3241         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3242         fixes buffer_alloc proxying among other things.
3244         * gst/base/gstbasetransform.c:
3245         * gst/base/gstbasetransform.h:
3246         Revert patch to gstbasetransform from 7-28 removing
3247         delay_configure.
3249         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3250         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3251         Semantics changed, should return not the size of the output buffer
3252         but the byte size of a buffer with a given caps.
3254         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3255         debug object.
3256         (gst_base_transform_configure_caps): Don't set out_size here: (in,
3257         out) are not the pad caps until setcaps finishes.
3258         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3259         not-in-place case as well. Deal with changing from in-place to
3260         not-in-place within calling pad_alloc_buffer. Still a bit
3261         concerned about the overhead here...
3263 2005-08-03  Andy Wingo  <wingo@pobox.com>
3265         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3266         fixating is an error.
3268 2005-08-04  Edward Hervey  <edward@fluendo.com>
3270         * gst/base/gstadapter.h: 
3271         Added gst_adapter_get_type() to the header
3273 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3275         * check/Makefile.am:
3276         * check/gst-libs/controller.c:
3277         * libs/gst/controller/gst-controller.c:
3278         (gst_controller_new_valist):
3279           added check test suite for the controller
3280         * gst/base/gstpushsrc.c:
3281           fixed a doc typo
3283 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3285         * docs/gst/Makefile.am:
3286         * docs/gst/gstreamer-docs.sgml:
3287         * docs/gst/gstreamer-sections.txt:
3288         * docs/gst/gstreamer.types:
3289         * docs/gst/tmpl/gstfakesrc.sgml:
3290         * gst/base/README:
3291         * gst/base/gstbasesink.c:
3292         * gst/base/gstbasesink.h:
3293         * gst/base/gstbasesrc.c:
3294         * gst/base/gstbasesrc.h:
3295         * gst/base/gstbasetransform.c:
3296         * gst/base/gstpushsrc.c:
3297         * gst/base/gstpushsrc.h:
3298           add short/long description docs to base classes
3299           add pushsrc to the docs
3300           remove consolidated doc fragments
3302 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
3304         * configure.ac:
3305         * docs/libs/Makefile.am:
3306         * docs/libs/gstreamer-libs-docs.sgml:
3307         * docs/libs/gstreamer-libs-sections.txt:
3308         * docs/libs/gstreamer-libs.types:
3309         * examples/Makefile.am:
3310         * examples/controller/.cvsignore:
3311         * examples/controller/Makefile.am:
3312         * examples/controller/audio-example.c: (main):
3313         * libs/gst/Makefile.am:
3314         * libs/gst/controller/.cvsignore:
3315         * libs/gst/controller/Makefile.am:
3316         * libs/gst/controller/gst-controller.c:
3317         (on_object_controlled_property_changed), (gst_timed_value_compare),
3318         (gst_timed_value_find),
3319         (gst_controlled_property_set_interpolation_mode),
3320         (gst_controlled_property_new), (gst_controlled_property_free),
3321         (gst_controller_find_controlled_property),
3322         (gst_controller_new_valist), (gst_controller_new),
3323         (gst_controller_remove_properties_valist),
3324         (gst_controller_remove_properties), (gst_controller_set),
3325         (gst_controller_set_from_list), (gst_controller_unset),
3326         (gst_controller_get), (gst_controller_get_all),
3327         (gst_controller_sink_values), (gst_controller_get_value_arrays),
3328         (gst_controller_get_value_array),
3329         (gst_controller_set_interpolation_mode),
3330         (_gst_controller_finalize), (_gst_controller_init),
3331         (_gst_controller_class_init), (gst_controller_get_type):
3332         * libs/gst/controller/gst-controller.h:
3333         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3334         (g_object_uncontrol_properties), (g_object_get_controller),
3335         (g_object_set_controller), (g_object_sink_values),
3336         (g_object_get_value_arrays), (g_object_get_value_array):
3337         * libs/gst/controller/gst-interpolation.c:
3338         (gst_controlled_property_find_timed_value_node),
3339         (interpolate_none_get), (interpolate_trigger_get),
3340         (interpolate_trigger_get_value_array):
3341         * libs/gst/controller/lib.c: (gst_controller_init):
3342         * pkgconfig/Makefile.am:
3343         * pkgconfig/gstreamer-control-uninstalled.pc.in:
3344         * pkgconfig/gstreamer-control.pc.in:
3345         * testsuite/Makefile.am:
3346         * testsuite/controller/.cvsignore:
3347         * testsuite/controller/Makefile.am:
3348         * testsuite/controller/interpolator.c: (main):
3349           added controller code
3350           removed dparam pc files
3352 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3353         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3354         (gst_collectpads_stop):
3355           Broadcast the condition when shutting down, to make sure we wake all
3356           threads up. Shut down pads on finalize, for safety.
3358 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
3359         * gst/base/gstbasetransform.c: (gst_base_transform_init),
3360         (gst_base_transform_handle_buffer),
3361         (gst_base_transform_change_state):
3362           Handle PAUSED->READY->PAUSED transition after negotiation
3363           occurred already.
3364         * gst/gstmessage.c: (gst_message_init):
3365           Extra piece of debug for new messages.
3367 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
3369         * configure.ac:
3370         * docs/gst/tmpl/gstbasesrc.sgml:
3371         * docs/gst/tmpl/gstelement.sgml:
3372         * docs/gst/tmpl/gstevent.sgml:
3373         * docs/gst/tmpl/gstfakesrc.sgml:
3374         * docs/gst/tmpl/gstformat.sgml:
3375         * docs/gst/tmpl/gstghostpad.sgml:
3376         * docs/gst/tmpl/gstpad.sgml:
3377         * docs/gst/tmpl/gstquery.sgml:
3378         * docs/gst/tmpl/gststructure.sgml:
3379         * docs/gst/tmpl/gsttaglist.sgml:
3380         * docs/gst/tmpl/gstvalue.sgml:
3381         * docs/libs/gstreamer-libs-docs.sgml:
3382         * docs/libs/gstreamer-libs-sections.txt:
3383         * docs/libs/gstreamer-libs.types:
3384         * libs/gst/Makefile.am:
3385         * libs/gst/control/.cvsignore:
3386         * libs/gst/control/Makefile.am:
3387         * libs/gst/control/control.c:
3388         * libs/gst/control/control.h:
3389         * libs/gst/control/dparam.c:
3390         * libs/gst/control/dparam.h:
3391         * libs/gst/control/dparam_smooth.c:
3392         * libs/gst/control/dparam_smooth.h:
3393         * libs/gst/control/dparamcommon.h:
3394         * libs/gst/control/dparammanager.c:
3395         * libs/gst/control/dparammanager.h:
3396         * libs/gst/control/dplinearinterp.c:
3397         * libs/gst/control/dplinearinterp.h:
3398         * libs/gst/control/unitconvert.c:
3399         * libs/gst/control/unitconvert.h:
3400         * testsuite/Makefile.am:
3401         * testsuite/dynparams/.cvsignore:
3402         * testsuite/dynparams/Makefile.am:
3403         * testsuite/dynparams/dparamstest.c:
3404         * tools/Makefile.am:
3405         * tools/gst-inspect.c: (print_element_info), (main):
3406         * tools/gst-xmlinspect.c: (print_element_info), (main):
3407           deactivate and remove dparams (libgstcontrol)
3409 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3411         * gst/elements/gsttypefindelement.c:
3412         (gst_type_find_element_have_type), (gst_type_find_element_init),
3413         (stop_typefinding), (gst_type_find_element_handle_event),
3414         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3415         * gst/elements/gsttypefindelement.h:
3416           Set caps on all outgoing buffers, not just the first one.
3418 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3420         * gst/elements/gsttypefindelement.c:
3421         (gst_type_find_element_have_type),
3422         (gst_type_find_element_check_set_buffer_caps),
3423         (gst_type_find_element_init), (stop_typefinding),
3424         (gst_type_find_element_handle_event),
3425         (gst_type_find_element_chain), (gst_type_find_element_getrange):
3426         * gst/elements/gsttypefindelement.h:
3427           Set caps on first outgoing buffer when we've found the type.
3429 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
3431         * docs/gst/gstreamer-docs.sgml:
3432         * docs/gst/gstreamer-sections.txt:
3433         * docs/gst/tmpl/gstscheduler.sgml:
3434         * docs/gst/tmpl/gstschedulerfactory.sgml:
3435           Remove some old cruft from docs.
3437 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
3439         * gst/gstpad.h:
3440           Fix inline docs for GstPadLinkReturn.
3441           
3442         * gst/gststructure.c: (gst_structure_has_name):
3443         * gst/gststructure.h:
3444         * docs/gst/gstreamer-sections.txt:
3445           New API: gst_structure_has_name().
3447 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
3449         * configure.ac:
3450           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3451           and _LARGEFILE_SOURCE in config.h as required. Do not 
3452           export those flags in our .pc files any longer (#142209).
3454           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3456         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3457         (gst_file_sink_do_seek), (gst_file_sink_event),
3458         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3459           Redo seek/tell calls with large file support in mind; add some
3460           debugging messages; add log message that tells us when large
3461           file support is unavailable or not enabled for some reason.
3463         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3464           Add log message that tells us when large file support 
3465           is unavailable or not enabled for some reason.
3467 2005-07-29  Wim Taymans  <wim@fluendo.com>
3469         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3470         Added test for removing an element with ghostpad from a bin.
3471         Fixed test as current implementation does the right thing.
3473         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3474         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3475         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3476         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3477         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3478         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3479         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3480         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3481         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3482         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3483         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3484         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3485         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3486         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3487         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3488         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3489         * gst/gstghostpad.h:
3490         Clean up ghostpads, remove properties for internal stuff.
3491         Make threadsafe.
3492         Fix refcounting.
3493         Prepare for switching targets, not all use cases work yet.
3495 2005-07-29  Wim Taymans  <wim@fluendo.com>
3497         * docs/design/part-gstghostpad.txt:
3498         Small update.
3500         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3501         (gst_bin_remove_func):
3502         Unlinking pads while holding the bin LOCK is not a good
3503         idea.
3505         * gst/gstpad.c: (gst_pad_class_init),
3506         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3507         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3508         No prob setting template after creating the pad.
3510 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
3512         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3513         (gst_bus_peek), (gst_bus_source_dispatch),
3514         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3515         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3516           gst_bus_poll may be called from other threads. Handle
3517           this nicely by not making poll_data disappear off the
3518           stack once gst_bus_poll returns.
3519           gst_bus_peek now increments the refcount on the returned
3520           message.
3522 2005-07-29  Wim Taymans  <wim@fluendo.com>
3524         * docs/design/part-gstghostpad.txt:
3525         Overview of current GhostPad datastructures and use
3526         cases for changing the target.
3528 2005-07-28  Wim Taymans  <wim@fluendo.com>
3530         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3531         Added checks for hierarchy consistency whan adding linked
3532         elements to bins.
3534         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3535         Added check to test element scheduling without bin/pipeline.
3537         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3538         First add elements to bin, then link.
3539         
3540         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3541         (gst_bin_remove_func):
3542         Unlink pads from elements added/removed from bin to maintain
3543         hierarchy consistency.
3545 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3547         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3548         (gst_base_transform_handle_buffer):
3549         * gst/base/gstbasetransform.h:
3550           Remove broken delay_configure (fixes renegotiation of software
3551           scaling pipelines); remove some leftover printf()s.
3553 2005-07-28  Wim Taymans  <wim@fluendo.com>
3555         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3556         Added some more tests for wrong hierarchy
3558         * docs/design/part-overview.txt:
3559         Some updates.
3561         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3562         Cleanups.
3564         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3565         (gst_element_dispose):
3566         Some more cleanups.
3568         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3569         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3570         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3571         (gst_pad_set_caps), (gst_pad_send_event):
3572         Check for correct hierarchy when linking pads. Moving to
3573         strict requirement for ghostpads when linking elements in
3574         different bins.
3576         * gst/gstpad.h:
3577         Clean ups. Added WRONG_HIERARCHY return value.
3579 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3581         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3582           Better debug if no transform is possible.
3584 2005-07-27  Wim Taymans  <wim@fluendo.com>
3586         * docs/random/wtay/network-transp:
3587         Some old doc I had.
3589 2005-07-27  Wim Taymans  <wim@fluendo.com>
3591         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3592         (gst_dp_event_from_packet):
3593         Fix serialization of seek events.
3595 2005-07-27  Wim Taymans  <wim@fluendo.com>
3597         * check/gst-libs/gdp.c: (GST_START_TEST):
3598         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3599         Fix compilation and fix event serialization.
3601 2005-07-27  Wim Taymans  <wim@fluendo.com>
3603         * CHANGES-0.9:
3604         * docs/design/part-TODO.txt:
3605         * docs/design/part-events.txt:
3606         Some docs updates
3608         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3609         (gst_base_sink_event), (gst_base_sink_do_sync),
3610         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3611         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3612         (gst_base_src_do_seek), (gst_base_src_event_handler),
3613         (gst_base_src_loop):
3614         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3615         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3616         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3617         (gst_base_transform_event), (gst_base_transform_handle_buffer),
3618         (gst_base_transform_set_passthrough),
3619         (gst_base_transform_is_passthrough):
3620         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3621         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3622         Event updates.
3624         * gst/gstbuffer.h:
3625         Use faster casts.
3627         * gst/gstelement.c: (gst_element_seek):
3628         * gst/gstelement.h:
3629         Update gst_element_seek.
3631         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3632         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3633         (gst_event_new_flush_start), (gst_event_new_flush_stop),
3634         (gst_event_new_eos), (gst_event_new_newsegment),
3635         (gst_event_parse_newsegment), (gst_event_new_tag),
3636         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3637         (gst_event_parse_qos), (gst_event_new_seek),
3638         (gst_event_parse_seek), (gst_event_new_navigation):
3639         * gst/gstevent.h:
3640         Make GstEvent use GstStructure. Add parsing code, make sure the
3641         API is sufficiently generic.
3642         Mark possible directions of events and serialization.
3644         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3645         (_gst_message_copy), (gst_message_new_segment_start),
3646         (gst_message_new_segment_done), (gst_message_new_custom),
3647         (gst_message_parse_segment_start),
3648         (gst_message_parse_segment_done):
3649         Small cleanups.
3651         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3652         (gst_pad_set_caps), (gst_pad_send_event):
3653         Update for new events. 
3654         Catch events sent in wrong directions.
3656         * gst/gstqueue.c: (gst_queue_link_src),
3657         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3658         (gst_queue_handle_src_query):
3659         Event updates.
3661         * gst/gsttag.c:
3662         * gst/gsttag.h:
3663         Remove event code from this file.
3665         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3666         (gst_dp_event_from_packet):
3667         Event updates.
3669 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3671         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3672         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3673         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3674           Make debugging actually useful.
3676 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3678         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3679         (gst_pad_fixate_caps):
3680           Implement default fixation once again, so that gst_pad_fixate()
3681           actually does anything at all. This probably needs to be some
3682           sort of a last resort, and use profile-based fixation first, but
3683           since that doesn't exist yet, this is the best we have. Fixes
3684           visualization in Totem.
3686 2005-07-22  Wim Taymans  <wim@fluendo.com>
3688         * docs/design/part-events.txt:
3689         Small update.
3691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3692         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3693         (gst_base_sink_activate_pull):
3694         Some more comments.
3696         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3697         (gst_fake_src_create):
3698         Fix handoff marshall.
3700         * gst/elements/gstidentity.c: (gst_identity_class_init),
3701         (gst_identity_transform_ip):
3702         We're a real inplace element.
3704         * gst/gstbus.c: (gst_bus_post):
3705         Added some comments.
3707         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3708         * tests/muxing/case1.c: (main):
3709         * tests/sched/dynamic-pipeline.c: (main):
3710         * tests/sched/interrupt1.c: (main):
3711         * tests/sched/interrupt2.c: (main):
3712         * tests/sched/interrupt3.c: (main):
3713         * tests/sched/runxml.c: (main):
3714         * tests/sched/sched-stress.c: (main):
3715         * tests/seeking/seeking1.c: (event_received), (main):
3716         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3717         (main):
3718         * tests/threadstate/threadstate3.c: (main):
3719         * tests/threadstate/threadstate4.c: (main):
3720         * tests/threadstate/threadstate5.c: (main):
3721         Fix the tests.
3723 2005-07-21  Wim Taymans  <wim@fluendo.com>
3725         * docs/design/part-seeking.txt:
3726         Some small additions.
3728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3729         (gst_base_sink_get_times), (gst_base_sink_do_sync),
3730         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3731         * gst/base/gstbasesink.h:
3732         discont values are gint64, handle the math correctly.
3734         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3735         Make the basesrc report error if the source pad is not linked.
3737         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3738         (gst_queue_loop), (gst_queue_handle_src_query),
3739         (gst_queue_src_activate_push):
3740         Make queue collect data even if the srcpad is not linked.
3741         Start pushing out data as soon as it is linked.
3743         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3744         * gst/gstutils.h:
3745         Added gst_flow_get_name() to ease error reporting.
3747 2005-07-20  Wim Taymans  <wim@fluendo.com>
3749         * gst/gstmessage.c: (gst_message_new_segment_start),
3750         (gst_message_new_segment_done), (gst_message_parse_segment_start),
3751         (gst_message_parse_segment_done):
3752         * gst/gstmessage.h:
3753         Added a bunch of messages for advanced seeking.
3755         * gst/parse/grammar.y:
3756         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3757         (gst_dpman_state_changed):
3758         Fix some new-pad -> pad-added signals
3760 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3762         * docs/manual/appendix-porting.xml:
3763         * docs/pwg/appendix-porting.xml:
3764           Document new-pad/state-change signal renames and the FixedList
3765           type rename.
3767 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3769         * docs/manual/advanced-autoplugging.xml:
3770         * docs/manual/basics-helloworld.xml:
3771         * docs/manual/basics-pads.xml:
3772         * docs/random/ds/0.9-suggested-changes:
3773         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3774         * gst/gstelement.h:
3775         * gst/gstevent.h:
3776         * gst/gstformat.h:
3777         * gst/gstquery.h:
3778         * gst/gststructure.c: (gst_structure_value_get_generic_type),
3779         (gst_structure_parse_array), (gst_structure_parse_value):
3780         * gst/gstvalue.c: (gst_type_is_fixed),
3781         (gst_value_list_prepend_value), (gst_value_list_append_value),
3782         (gst_value_list_get_size), (gst_value_list_get_value),
3783         (gst_value_transform_array_string), (gst_value_serialize_array),
3784         (gst_value_deserialize_array), (gst_value_intersect_array),
3785         (gst_value_is_fixed), (_gst_value_initialize):
3786         * gst/gstvalue.h:
3787           GstElement::new-pad -> pad-added, GstElement::state-change ->
3788           state-changed, GstValueFixedList -> GstValueArray, add format and
3789           flags as their own arguments in gst_element_seek() (should improve
3790           "bindeability"), remove function generators since they don't work
3791           under a whole bunch of compilers (they were deprecated already
3792           anyway).
3794 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3796         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3797         (_gst_debug_register_funcptr):
3798         * gst/gstinfo.h:
3799           Fix illegal cast on some platforms (#309253).
3801 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3803         * gst/gstmessage.c: (gst_message_new_custom):
3804         * gst/gstmessage.h:
3805           Add _new_custom, make _new_application a macro to _new_custom.
3807 2005-07-20  Wim Taymans  <wim@fluendo.com>
3809         * gst/base/gstbasesrc.c: (gst_base_src_init),
3810         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3811         * gst/base/gstbasesrc.h:
3812         Add a gboolean to decide when to push out a discont.
3814         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3815         (gst_queue_loop), (gst_queue_handle_src_query),
3816         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3817         (gst_queue_set_property), (gst_queue_get_property):
3818         Some cleanups.
3820         * tests/threadstate/threadstate1.c: (main):
3821         Make a thread test compile and run... very silly..
3824 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3826         * docs/manual/appendix-porting.xml:
3827           Mention removal of libgstgconf-0.9.la and existence of gconf
3828           elements.
3830 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3832         * docs/pwg/advanced-clock.xml:
3833         * docs/pwg/appendix-porting.xml:
3834         * docs/pwg/intro-preface.xml:
3835         * docs/pwg/other-base.xml:
3836         * docs/pwg/other-manager.xml:
3837         * docs/pwg/other-nton.xml:
3838         * docs/pwg/other-ntoone.xml:
3839         * docs/pwg/other-oneton.xml:
3840         * docs/pwg/pwg.xml:
3841           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3842           demuxer), remove n-to-n (was never written), fix some code examples
3843           and links and update the porting section to include all this.
3845 2005-07-19  Wim Taymans  <wim@fluendo.com>
3847         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3848         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3849         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3850         (gst_queue_src_activate_push), (gst_queue_change_state),
3851         (gst_queue_get_property):
3852         * gst/gstqueue.h:
3853         Propagate GstFlowReturn more intelligently upstream and output
3854         an ERROR/EOS when streaming stopped due to fatal error.
3856 2005-07-19  Wim Taymans  <wim@fluendo.com>
3858         * tools/gst-launch.c: (check_intr), (event_loop), (main):
3859         Don't block forever for the state change to complete, the
3860         pipeline already did with a sensible timeout.
3862 2005-07-19  Wim Taymans  <wim@fluendo.com>
3864         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3865         Make sure we never call the create function is we
3866         got deactivated.
3868 2005-07-19  Andy Wingo  <wingo@pobox.com>
3870         * gst/parse/parse.l: Attempt to solve bug #172815.
3872 2005-07-19  Wim Taymans  <wim@fluendo.com>
3874         * docs/design/part-clocks.txt:
3875         * docs/design/part-events.txt:
3876         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3877         Small docs updates.
3878         Only update the seeking values when we are not
3879         busy streaming.
3881 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
3883         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3884           Oops, ignore the result of gst_pad_push_event here.
3886 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
3888         * gst/base/gstbasesrc.c: (gst_base_src_loop),
3889         (gst_base_src_activate_push):
3890           Send discont event from the loop function, as pads
3891           aren't activated yet in the activate_push handler.
3893         * gst/gstbin.c: (bin_bus_handler):
3894           Don't leak element name.
3896 2005-07-18  Andy Wingo  <wingo@pobox.com>
3898         * configure.ac: Use AS_LIBTOOL_TAGS.
3900 2005-07-18  Wim Taymans  <wim@fluendo.com>
3902         * docs/gst/gstreamer.types:
3903         Remove deleted types.
3905 2005-07-18  Wim Taymans  <wim@fluendo.com>
3907         * check/elements/gstfakesrc.c: (GST_START_TEST):
3908         * configure.ac:
3909         * gst/Makefile.am:
3910         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3911         (init_popt_callback):
3912         * gst/gst.h:
3913         * gst/gst_private.h:
3914         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3915         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3916         * gst/gstbin.h:
3917         * gst/gstbus.h:
3918         * gst/gstconfig.h.in:
3919         * gst/gstelement.c: (gst_element_class_init),
3920         (gst_element_set_base_time), (gst_element_get_base_time),
3921         (iterator_fold_with_resync), (gst_element_change_state),
3922         (gst_element_dispose), (gst_element_get_bus):
3923         * gst/gstelement.h:
3924         * gst/gstelementfactory.h:
3925         * gst/gsterror.c: (_gst_core_errors_init):
3926         * gst/gsterror.h:
3927         * gst/gstevent.h:
3928         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3929         * gst/gstindex.c:
3930         * gst/gstinfo.c: (_gst_debug_init):
3931         * gst/gstmessage.c: (_gst_message_copy):
3932         * gst/gstmessage.h:
3933         * gst/gstminiobject.h:
3934         * gst/gstobject.c:
3935         * gst/gstobject.h:
3936         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3937         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3938         * gst/gstpad.h:
3939         * gst/gstparse.h:
3940         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3941         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3942         (gst_pipeline_get_last_stream_time):
3943         * gst/gstpipeline.h:
3944         * gst/gstpluginfeature.h:
3945         * gst/gstquery.h:
3946         * gst/gstscheduler.c:
3947         * gst/gstscheduler.h:
3948         * gst/gststructure.h:
3949         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3950         (gst_task_finalize), (gst_task_func), (gst_task_create),
3951         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3952         (gst_task_stop), (gst_task_pause):
3953         * gst/gsttask.h:
3954         * gst/gsttypefind.h:
3955         * gst/gsttypes.h:
3956         * gst/registries/gstlibxmlregistry.c: (load_feature),
3957         (gst_xml_registry_load), (gst_xml_registry_save_feature):
3958         * gst/registries/gstxmlregistry.c:
3959         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3960         * gst/schedulers/threadscheduler.c:
3961         * libs/gst/control/dparammanager.h:
3962         * tools/gst-inspect.c: (print_element_list),
3963         (print_plugin_features), (print_element_features):
3964         * tools/gst-xmlinspect.c: (print_element_list),
3965         (print_plugin_info), (main):
3966         Removed plugable schedulers.
3967         Removed Scheduler/Manager from elements.
3968         Removed gsttypes.h, rearranged includes.
3969         Removed dependency pad<->element, element<>pipeline, and
3970         various others,  fix includes.
3971         implement gst_pad_get_parent() with gst_object_get_parent()
3972         Make GstTask sefcontained.
3973         Fix _get_state() on GstBin, it did not return ASYNC with a 0
3974         timeout.
3975         Fix endless loop in iterator_fold_with_resync.
3978 2005-07-18  Wim Taymans  <wim@fluendo.com>
3980         * gst/Makefile.am:
3981         * gst/gstarch.h:
3982         Remove old file.
3984 2005-07-18  Wim Taymans  <wim@fluendo.com>
3986         * gst/Makefile.am:
3987         No more cothreads.h
3989 2005-07-18  Wim Taymans  <wim@fluendo.com>
3991         * gst/cothreads.c:
3992         * gst/cothreads.h:
3993         Let's remove these.
3995 2005-07-18  Wim Taymans  <wim@fluendo.com>
3997         * docs/design/part-dynamic.txt:
3998         * docs/design/part-events.txt:
3999         * docs/design/part-seeking.txt:
4000         Some more docs in the works.
4002         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4003         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4004         (gst_base_transform_setcaps), (gst_base_transform_get_size),
4005         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4006         (gst_base_transform_handle_buffer),
4007         (gst_base_transform_sink_activate_push),
4008         (gst_base_transform_src_activate_pull),
4009         (gst_base_transform_set_passthrough),
4010         (gst_base_transform_is_passthrough):
4011         Refcounting fixes.
4013         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4014         Cleanups.
4016         * gst/gstevent.c: (gst_event_finalize):
4017         Set SRC to NULL.
4019         * gst/gstutils.c: (gst_element_unlink),
4020         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4021         (gst_pad_proxy_setcaps):
4022         * gst/gstutils.h:
4023         Add _get_parent_element() to get a pads parent as an element.
4025 2005-07-18  Wim Taymans  <wim@fluendo.com>
4027         * check/gst/gstbin.c: (GST_START_TEST):
4028         Remove bogus test.
4030 2005-07-18  Wim Taymans  <wim@fluendo.com>
4032         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4033         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4034         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4035         (gst_base_sink_event), (gst_base_sink_do_sync),
4036         (gst_base_sink_chain), (gst_base_sink_loop),
4037         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4038         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4039         Refcounting fixes.
4040         Fix logic for returning ASYNC when not prerolled.
4042 2005-07-18  Wim Taymans  <wim@fluendo.com>
4044         * gst/gstqueue.c: (gst_queue_handle_sink_event):
4045         Fix nasty refcount bug.
4047 2005-07-16 Philippe Khalaf <burger@speedy.org>
4049         * gst/elements/gstfdsrc.c:
4050         * gst/elements/gstfdsrc.h:
4051         * gst/elements/gstelements.c:
4052         * gst/elements/Makefile.am:
4053         Ported fdsrc to 0.9.
4055 2005-07-16  Wim Taymans  <wim@fluendo.com>
4057         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4058         (gst_base_sink_do_sync):
4059         Fix compile error.
4061 2005-07-16  Wim Taymans  <wim@fluendo.com>
4063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4064         (gst_base_sink_event), (gst_base_sink_get_times),
4065         (gst_base_sink_do_sync), (gst_base_sink_change_state):
4066         * gst/base/gstbasesink.h:
4067         Store and use discont values when syncing buffers as described
4068         in design docs.
4069         
4070         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4071         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4072         (gst_base_src_activate_push):
4073         Push discont event when starting.
4075         * gst/elements/gstidentity.c: (gst_identity_transform):
4076         Small cleanups.
4078         * gst/gstbin.c: (gst_bin_change_state):
4079         Small cleanups in base_time  distribution.
4081         * gst/gstelement.c: (gst_element_set_base_time),
4082         (gst_element_get_base_time), (gst_element_change_state):
4083         * gst/gstelement.h:
4084         Added methods for the base_time of the element.
4085         Some MT fixes.
4087         * gst/gstpipeline.c: (gst_pipeline_send_event),
4088         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4089         (gst_pipeline_get_last_stream_time):
4090         * gst/gstpipeline.h:
4091         MT fixes.
4092         Handle seeking as described in design doc, remove stream_time
4093         hack.
4094         Cleanups clock and stream_time selection code. Added accessors
4095         for the stream_time.
4096         
4098 2005-07-16  Andy Wingo  <wingo@pobox.com>
4100         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4101         (#305291).
4103 2005-07-16  Wim Taymans  <wim@fluendo.com>
4105         * check/gst/gstbin.c: (GST_START_TEST):
4106         Make elements silent as the deep_notify refs the
4107         parent, which might make the test fail.
4109         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4110         Don't hold the lock for too long.
4112 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
4114         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4115           Don't unref the caps we passed to gst_caps_make_writable() after
4116           passing them. gst_caps_make_writable() will do that for us.
4118 2005-07-15  Andy Wingo  <wingo@pobox.com>
4120         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4121         (#157311).
4123         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4124         own marshalling function for the handoff signal. Properly type the
4125         buffer as a buffer. Fixes some warnings. Should do a more general
4126         solution.
4127         (gst_identity_class_init): Plug into the right marshaller.
4129 2005-07-15  Wim Taymans  <wim@fluendo.com>
4131         * docs/design/part-TODO.txt:
4132         * docs/design/part-clocks.txt:
4133         * docs/design/part-element-sink.txt:
4134         * docs/design/part-events.txt:
4135         * docs/design/part-gstpipeline.txt:
4136         Updated docs, mostly DISCONT related.
4138 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
4140         * docs/pwg/building-pads.xml:
4141           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4143 2005-07-15  Andy Wingo  <wingo@pobox.com>
4145         * tools/gst-typefind.c: Update, add copyright block.
4147         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4148         Normalize and truncate caps before fixation.
4150         * gst/gstcaps.h:
4151         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4152         discards all but the first structure from its argument.
4154 2005-07-15  Wim Taymans  <wim@fluendo.com>
4156         * gst/base/gstbasetransform.c: (gst_base_transform_init),
4157         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4158         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4159         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4160         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4161         (gst_base_transform_chain), (gst_base_transform_change_state),
4162         (gst_base_transform_set_passthrough),
4163         (gst_base_transform_is_passthrough):
4164         * gst/base/gstbasetransform.h:
4165         Make passthrough work using the bufferpools.
4166         Changed API a bit, subclasses have to write into a buffer
4167         provided by the base class.
4168         More debug info in nego functions.
4169         
4170         * gst/elements/gstidentity.c: (gst_identity_init),
4171         (gst_identity_transform):
4172         Port to new base class.
4174 2005-07-15  Wim Taymans  <wim@fluendo.com>
4176         * gst/gstmessage.c: (gst_message_new_state_changed):
4177         * tools/gst-launch.c: (event_loop), (main):
4178         Totally dump messages in -launch with the -m option.
4179         Fix message name for State messages,
4181 2005-07-14  Wim Taymans  <wim@fluendo.com>
4183         * gst/base/gstbasesrc.c: (gst_base_src_loop):
4184         Post error messages on errors.
4186 2005-07-14  Wim Taymans  <wim@fluendo.com>
4188         * gst/gstcaps.c: (gst_caps_do_simplify):
4189         Remove debug info.
4191         * gst/gsterror.h:
4192         Define error for stream stopped.
4194         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4195         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4196         Do proper return values.
4198         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4199         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4200         (gst_pad_get_range):
4201         Better return values.
4203         * gst/gstpad.h:
4204         Reorganise return values, add macro to check for fatal errors.
4206         * gst/gstqueue.c: (gst_queue_chain):
4207         Return proper GstFlowReturn values,
4209 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4211         * docs/gst/gstreamer-sections.txt:
4212         * docs/gst/gstreamer.types:
4213         * docs/gst/tmpl/gst.sgml:
4214         * docs/gst/tmpl/gstbasesink.sgml:
4215         * docs/gst/tmpl/gstbasesrc.sgml:
4216         * docs/gst/tmpl/gstbasetransform.sgml:
4217         * docs/gst/tmpl/gstbin.sgml:
4218         * docs/gst/tmpl/gstbuffer.sgml:
4219         * docs/gst/tmpl/gstcaps.sgml:
4220         * docs/gst/tmpl/gstclock.sgml:
4221         * docs/gst/tmpl/gstcompat.sgml:
4222         * docs/gst/tmpl/gstconfig.sgml:
4223         * docs/gst/tmpl/gstelement.sgml:
4224         * docs/gst/tmpl/gstelementdetails.sgml:
4225         * docs/gst/tmpl/gstelementfactory.sgml:
4226         * docs/gst/tmpl/gstenumtypes.sgml:
4227         * docs/gst/tmpl/gsterror.sgml:
4228         * docs/gst/tmpl/gstevent.sgml:
4229         * docs/gst/tmpl/gstfakesink.sgml:
4230         * docs/gst/tmpl/gstfakesrc.sgml:
4231         * docs/gst/tmpl/gstfilesink.sgml:
4232         * docs/gst/tmpl/gstfilesrc.sgml:
4233         * docs/gst/tmpl/gstfilter.sgml:
4234         * docs/gst/tmpl/gstformat.sgml:
4235         * docs/gst/tmpl/gstghostpad.sgml:
4236         * docs/gst/tmpl/gstimplementsinterface.sgml:
4237         * docs/gst/tmpl/gstindex.sgml:
4238         * docs/gst/tmpl/gstindexfactory.sgml:
4239         * docs/gst/tmpl/gstinfo.sgml:
4240         * docs/gst/tmpl/gstiterator.sgml:
4241         * docs/gst/tmpl/gstmacros.sgml:
4242         * docs/gst/tmpl/gstmemchunk.sgml:
4243         * docs/gst/tmpl/gstminiobject.sgml:
4244         * docs/gst/tmpl/gstobject.sgml:
4245         * docs/gst/tmpl/gstpad.sgml:
4246         * docs/gst/tmpl/gstpadtemplate.sgml:
4247         * docs/gst/tmpl/gstparse.sgml:
4248         * docs/gst/tmpl/gstpipeline.sgml:
4249         * docs/gst/tmpl/gstplugin.sgml:
4250         * docs/gst/tmpl/gstpluginfeature.sgml:
4251         * docs/gst/tmpl/gstquery.sgml:
4252         * docs/gst/tmpl/gstqueue.sgml:
4253         * docs/gst/tmpl/gstregistry.sgml:
4254         * docs/gst/tmpl/gstregistrypool.sgml:
4255         * docs/gst/tmpl/gstscheduler.sgml:
4256         * docs/gst/tmpl/gstschedulerfactory.sgml:
4257         * docs/gst/tmpl/gststructure.sgml:
4258         * docs/gst/tmpl/gstsystemclock.sgml:
4259         * docs/gst/tmpl/gsttaglist.sgml:
4260         * docs/gst/tmpl/gsttagsetter.sgml:
4261         * docs/gst/tmpl/gsttrace.sgml:
4262         * docs/gst/tmpl/gsttrashstack.sgml:
4263         * docs/gst/tmpl/gsttypefind.sgml:
4264         * docs/gst/tmpl/gsttypefindfactory.sgml:
4265         * docs/gst/tmpl/gsttypes.sgml:
4266         * docs/gst/tmpl/gsturihandler.sgml:
4267         * docs/gst/tmpl/gsturitype.sgml:
4268         * docs/gst/tmpl/gstutils.sgml:
4269         * docs/gst/tmpl/gstvalue.sgml:
4270         * docs/gst/tmpl/gstversion.sgml:
4271         * docs/gst/tmpl/gstxml.sgml:
4272         * docs/libs/tmpl/gstcontrol.sgml:
4273         * docs/libs/tmpl/gstdataprotocol.sgml:
4274         * docs/libs/tmpl/gstdparam.sgml:
4275         * docs/libs/tmpl/gstdplinint.sgml:
4276         * docs/libs/tmpl/gstdpman.sgml:
4277         * docs/libs/tmpl/gstdpsmooth.sgml:
4278         * docs/libs/tmpl/gstgetbits.sgml:
4279         * docs/libs/tmpl/gstunitconvert.sgml:
4280         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4281         (gst_push_src_base_init), (gst_push_src_class_init),
4282         (gst_push_src_init), (gst_push_src_create):
4283         * gst/base/gstpushsrc.h:
4284         * gst/elements/gstelements.c:
4285         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4286         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4287         (gst_fake_sink_init), (gst_fake_sink_set_property),
4288         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4289         (gst_fake_sink_event), (gst_fake_sink_preroll),
4290         (gst_fake_sink_render), (gst_fake_sink_change_state):
4291         * gst/elements/gstfakesink.h:
4292         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4293         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4294         (gst_fake_src_base_init), (gst_fake_src_class_init),
4295         (gst_fake_src_init), (gst_fake_src_event_handler),
4296         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4297         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4298         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4299         (gst_fake_src_create_buffer), (gst_fake_src_create),
4300         (gst_fake_src_start), (gst_fake_src_stop):
4301         * gst/elements/gstfakesrc.h:
4302         * gst/elements/gstfilesink.c: (_do_init),
4303         (gst_file_sink_base_init), (gst_file_sink_class_init),
4304         (gst_file_sink_init), (gst_file_sink_dispose),
4305         (gst_file_sink_set_location), (gst_file_sink_set_property),
4306         (gst_file_sink_get_property), (gst_file_sink_open_file),
4307         (gst_file_sink_close_file), (gst_file_sink_query),
4308         (gst_file_sink_event), (gst_file_sink_render),
4309         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4310         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4311         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4312         * gst/elements/gstfilesink.h:
4313         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4314         (gst_file_src_class_init), (gst_file_src_init),
4315         (gst_file_src_finalize), (gst_file_src_set_location),
4316         (gst_file_src_set_property), (gst_file_src_get_property),
4317         (gst_file_src_map_region), (gst_file_src_map_small_region),
4318         (gst_file_src_create_mmap), (gst_file_src_create_read),
4319         (gst_file_src_create), (gst_file_src_is_seekable),
4320         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4321         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4322         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4323         (gst_file_src_uri_handler_init):
4324         * gst/elements/gstfilesrc.h:
4325           more autistic cleanliness in functions/names/defines
4327 2005-07-13  Andy Wingo  <wingo@pobox.com>
4329         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4330         source couldn't negotiate.
4332         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4333         connections again.
4335         * gst/gstutils.h:
4336         * gst/gstutils.c (gst_element_link_pads_filtered): New old
4337         function. I am channeling Hades. Put your boots on suckers!!!
4339 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4341         * testsuite/caps/Makefile.am:
4342         * testsuite/caps/value_compare.c:
4343         * testsuite/caps/value_intersect.c:
4344         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4345           move two testsuite apps over to the check dir
4347 2005-07-12  Wim Taymans  <wim@fluendo.com>
4349         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4350         Added more debug info in the negotiate process.
4352         * gst/gstmessage.h:
4353         Prepare for segment playback.
4355         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4356         Better debugging.
4358         * gst/gstutils.c:
4359         Some more docs.
4361         * tools/gst-launch.c: (main):
4362         NULL pipeline on errors.
4364 2005-07-12  Andy Wingo  <wingo@pobox.com>
4366         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4367         not it comes from a malloc region. Make sure our copy gets freed.
4369 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4371         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4372         * check/gst/gstmessage.c: (GST_START_TEST):
4373         * check/gst/gststructure.c: (GST_START_TEST),
4374         (gst_structure_suite), (main):
4375           more testing
4376         * gst/gstelement.c: (gst_element_message_full):
4377           clean up GError and debug string now that they get copied
4378         * gst/gstmessage.c: (gst_message_new_error),
4379         (gst_message_new_warning), (gst_message_parse_error),
4380         (gst_message_parse_warning):
4381           use GST_TYPE_G_ERROR for structure_new, and take copies of
4382           arguments, so that we don't mess up refcounting
4384 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4386         * check/Makefile.am:
4387           add per-test valgrind targets
4388         * check/gst-libs/gdp.c: (GST_START_TEST),
4389         (gst_data_protocol_suite), (main):
4390           clean up
4392 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4394         * check/Makefile.am:
4395           instate more valgrindable tests
4396         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4397         (GST_START_TEST), (fakesrc_suite):
4398         * check/gst/gstpad.c: (GST_START_TEST):
4399         * check/gst/gststructure.c: (GST_START_TEST):
4400           fix test leaks
4401         * docs/gst/tmpl/gstminiobject.sgml:
4402         * gst/gstpad.c: (gst_pad_finalize):
4403           fix the static mutex leak
4405 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4407         * check/Makefile.am:
4408           add two more tests for valgrinding
4409         * check/gst/gstvalue.c: (GST_START_TEST):
4410           test refcount of deserialized buffer, found a leak
4411         * docs/gst/gstreamer-docs.sgml:
4412         * docs/gst/gstreamer-sections.txt:
4413         * docs/gst/gstreamer.types:
4414         * docs/gst/tmpl/gstminiobject.sgml:
4415           add miniobject to docs
4416         * gst/gstminiobject.c:
4417           add some docs
4418         * gst/gstvalue.c: (gst_value_deserialize_buffer),
4419         (gst_string_unwrap):
4420           fix a hard-to-find invalid write for one of the tests
4421           fix a leak for deserialized buffers
4423 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4425         * docs/pwg/advanced-events.xml:
4426         * docs/pwg/advanced-request.xml:
4427         * docs/pwg/advanced-scheduling.xml:
4428         * docs/pwg/appendix-porting.xml:
4429         * docs/pwg/building-boiler.xml:
4430         * docs/pwg/intro-preface.xml:
4431         * docs/pwg/other-ntoone.xml:
4432           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4433           of example code and explanation for pad activation, loop() and
4434           getrange() functions and a bit more. Remove old comments pointing
4435           to loop-functions.
4436         * examples/pwg/Makefile.am:
4437           Add loop/getrange examples.
4439 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4441         * configure.ac:
4442           check for valgrind binary + some fixes
4443         * check/gst.supp:
4444           valgrind suppressions for the tests
4445         * check/Makefile.am:
4446           add a valgrind: target that valgrinds the unit tests
4447         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4448         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4449         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4450         * check/gst/gstghostpad.c:
4451           added some cleanup
4452         * check/gst/gstdata.c:
4453           removed
4454         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4455         (thread_unref), (gst_mini_object_suite), (main):
4456           added
4457         * gst/gst.c: (gst_deinit):
4458         * gst/gst.h:
4459           add a method to clean up.
4460         * gst/gstsystemclock.c: (gst_system_clock_dispose),
4461         (gst_system_clock_obtain):
4462           allow for disposing the system clock.
4463         * tools/gst-launch.c: (main):
4464           deinit
4466 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4468         * docs/gst/tmpl/gstbasesrc.sgml:
4469         * docs/gst/tmpl/gstfakesrc.sgml:
4470         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4471         (gst_base_src_init), (gst_base_src_set_property),
4472         (gst_base_src_get_property), (gst_base_src_get_range),
4473         (gst_base_src_start):
4474         * gst/base/gstbasesrc.h:
4475           add num-buffers property
4476         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4477         (gst_fakesrc_init), (gst_fakesrc_set_property),
4478         (gst_fakesrc_get_property), (gst_fakesrc_create),
4479         (gst_fakesrc_start):
4480           remove num-buffers property
4482 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4484         * docs/gst/gstreamer-sections.txt:
4485         * docs/gst/tmpl/gstbasesink.sgml:
4486         * docs/gst/tmpl/gstbasesrc.sgml:
4487         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4488         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4489         (gst_base_sink_finalize), (gst_base_sink_set_clock),
4490         (gst_base_sink_set_property), (gst_base_sink_get_property),
4491         (gst_base_sink_handle_object), (gst_base_sink_event),
4492         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4493         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4494         (gst_base_sink_loop), (gst_base_sink_deactivate),
4495         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4496         (gst_base_sink_change_state):
4497         * gst/base/gstbasesink.h:
4498         * gst/base/gstbasesrc.h:
4499         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4500         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4501         (gst_filesink_init):
4502           more macro splitting
4504 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4506         * gst/gstelement.c: (gst_element_get_bus):
4507           add debug
4508         * tools/gst-launch.c: (check_intr), (event_loop):
4509           fix bus leaks
4511 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4513         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4514           fix a caps leak
4516 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4518         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4519         (gst_base_src_finalize):
4520           add finalize method and clean up properly
4521         * gst/gstpipeline.c: (gst_pipeline_dispose):
4522           add debug
4524 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4526         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4527         (gst_bin_suite):
4528           add more things to check
4529         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4530         * gst/gstelement.c:
4531           more debug
4533 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4535         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4536         (GST_START_TEST), (fakesrc_suite):
4537         * check/gst-libs/gdp.c: (GST_START_TEST):
4538         * check/gst/gst.c: (GST_START_TEST):
4539         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4540         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4541         * check/gst/gstbus.c: (GST_START_TEST):
4542         * check/gst/gstcaps.c: (GST_START_TEST):
4543         * check/gst/gstdata.c: (GST_START_TEST):
4544         * check/gst/gstelement.c: (GST_START_TEST):
4545         * check/gst/gstghostpad.c: (GST_START_TEST):
4546         * check/gst/gstiterator.c: (GST_START_TEST):
4547         * check/gst/gstmessage.c: (GST_START_TEST):
4548         * check/gst/gstobject.c: (GST_START_TEST):
4549         * check/gst/gstpad.c: (GST_START_TEST):
4550         * check/gst/gststructure.c: (GST_START_TEST):
4551         * check/gst/gstsystemclock.c: (GST_START_TEST),
4552         (gst_systemclock_suite):
4553         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4554         * check/gst/gstvalue.c: (GST_START_TEST):
4555         * check/pipelines/cleanup.c: (GST_START_TEST):
4556         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4557         * check/states/sinks.c: (GST_START_TEST):
4558         * check/gstcheck.c: (gst_check_init):
4559         * check/gstcheck.h:
4560           add debugging category
4561           use GST_START_TEST now, so we add a debug line
4563 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4565         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4566           add test for state change message on a bin
4567         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4568           add another test
4569         * gst/gstbin.c: (gst_bin_init):
4570         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4571         * gst/gstelement.c: (gst_element_post_message),
4572         (gst_element_set_state):
4573         * gst/gstelementfactory.c: (gst_element_factory_create):
4574         * gst/gstmessage.c: (gst_message_new):
4575         * gst/gstscheduler.c:
4576           various debugging additions and cleanups
4578 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4580         * check/Makefile.am:
4581         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4582         (main):
4583           adding tests for elements
4584         * gst/gstelement.c: (gst_element_dispose):
4586 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4588         * gst/registries/gstlibxmlregistry.c: (load_feature):
4589           plug more leaks.  A simple gst_init() now is leakfree, yay.
4591 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4593         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4594         (gst_xml_registry_load):
4595           plug another memleak
4597 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4599         * configure.ac:
4600           use GST_SET_ERROR_CFLAGS
4601         * docs/faq/cvs.xml:
4602           change to ERROR_CFLAGS
4604 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4606         * configure.ac:
4607           make GST_ERROR_CFLAGS overridable and re-enable Werror
4608         * docs/faq/cvs.xml:
4609           add a note about error CFLAGS
4610         * docs/gst/tmpl/gstfakesrc.sgml:
4611         * gst/elements/gstfakesrc.c:
4612           comment out some unused code
4613         * gst/gst.c: (split_and_iterate):
4614         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4615         (load_feature):
4616           plug some memleaks
4618 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4620         * common/Makefile.am:
4621         * common/gtk-doc.mak:
4622         * docs/gst/Makefile.am:
4623           factor out gtk-doc.mak
4625 2005-07-07  Wim Taymans  <wim@fluendo.com>
4627         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4628         (gst_thread_scheduler_dispose):
4629         Unlock the STREAM_LOCK completely.
4631 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4633         * check/Makefile.am:
4634         * check/elements/.cvsignore:
4635         * check/elements/gstfakesrc.c: (chain_func), (event_func),
4636         (START_TEST), (fakesrc_suite), (main):
4637         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4638         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4639         (gst_fakesrc_create), (gst_fakesrc_start):
4640         * gst/elements/gstfakesrc.h:
4641           adding a first element test
4643 2005-07-07  Andy Wingo  <wingo@pobox.com>
4645         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4646         debug message.
4648 2005-07-07  Wim Taymans  <wim@fluendo.com>
4650         * gst/gstquery.c:
4651         * gst/gstquery.h:
4652         Remove old types
4654 2005-07-07  Wim Taymans  <wim@fluendo.com>
4656         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4657         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4658         Allow subclasses to implement their own negotiation.
4660 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4662         * docs/design/part-gstbin.txt:
4663         * docs/design/part-gstpipeline.txt:
4664           Update design notes to reflect the movement of
4665           responsibility for bus handling from GstPipeline to
4666           GstBin
4668 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4670         * configure.ac:
4671           Remove unnecessary queue2/3/4 examples.
4673 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
4675         * examples/Makefile.am:
4676         * examples/helloworld/helloworld.c: (event_loop), (main):
4677         * examples/queue/queue.c: (event_loop), (main):
4678         * examples/queue2/queue2.c: (main):
4679           Update a couple of the examples to work again.
4681         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4682         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4683          Spelling corrections and extra debug.
4684         
4685         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4686         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4687         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4688         * gst/gstbin.h:
4689         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4690         (gst_pipeline_change_state):
4691         * gst/gstpipeline.h:
4692           Move the bus handler for children to the GstBin, and create a
4693           separate bus for receiving messages from children to the one the
4694           bus sends 'upwards' on.
4696 2005-07-06  Wim Taymans  <wim@fluendo.com>
4698         * gst/base/README:
4699         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4700         (gst_base_sink_handle_object), (gst_base_sink_loop),
4701         (gst_base_sink_change_state):
4702         * gst/base/gstbasesink.h:
4703         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4704         (gst_base_src_init), (gst_base_src_setcaps),
4705         (gst_base_src_getcaps), (gst_base_src_loop),
4706         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4707         (gst_base_src_start), (gst_base_src_change_state):
4708         * gst/base/gstbasesrc.h:
4709         Make basesrc negotiate.
4710         Handle the case where preroll fails in basesink.
4711         Update README.
4713 2005-07-06  Wim Taymans  <wim@fluendo.com>
4715         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4716         Implement the fixate function.
4717         Clean up acceptcaps.
4719 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4721         * docs/pwg/building-filterfactory.xml:
4722         * docs/pwg/pwg.xml:
4723           Remove never-written filter-factory chapter; I'll add the various
4724           base classes to part 4 ("other element types") later on.
4726 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4728         * docs/pwg/advanced-negotiation.xml:
4729         * docs/pwg/building-boiler.xml:
4730         * docs/pwg/building-pads.xml:
4731         * docs/pwg/pwg.xml:
4732         * examples/pwg/Makefile.am:
4733           Add a chapter on caps negotiation, simplify the original code
4734           samples a bit w.r.t. caps negotiation, add link to the advanced
4735           section. Add a bunch of examples showing different use cases of
4736           different types of caps negotiation. Upstream renegotiation isn't
4737           fully documented yet since nobody knows how that works.
4739 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4741         * check/gst/gstpad.c:
4742         * check/gstcheck.c:
4743         * gst/gstpad.c: (gst_pad_get_internal_links_default):
4744           if pad has no parent, return NULL as list of internal links
4746 2005-07-05  Andy Wingo  <wingo@pobox.com>
4748         * gst/elements/gstfilesrc.c:
4749         * gst/elements/gstfakesrc.c: 
4750         * gst/base/gstpushsrc.c:
4751         * gst/base/gstbasesrc.h: 
4752         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4753         
4754 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
4756         * Makefile.am:
4757           better report generation target (lcov needs a patch)
4759 2005-07-05  Andy Wingo  <wingo@pobox.com>
4761         * gst/elements, testsuite: Null if we got it...
4763 2005-07-05  Wim Taymans  <wim@fluendo.com>
4765         * configure.ac:
4766         * libs/gst/dataprotocol/Makefile.am:
4767         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4768         * libs/gst/dataprotocol/dataprotocol.h:
4769         * pkgconfig/Makefile.am:
4770         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4771         * pkgconfig/gstreamer-dataprotocol.pc.in:
4772         Ported dataprotol to 0.9. 
4773         Added pkgconfig files.
4775 2005-07-05  Andy Wingo  <wingo@pobox.com>
4777         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4778         Default to returning TRUE for the case when tranform_caps returns
4779         a fixed caps, like for identity or volume.
4781         * check/gst/gstbus.c (pound_bus_with_messages): 
4782         * check/gst/gstmessage.c (START_TEST): 
4783         * check/pipelines/simple_launch_lines.c (got_handoff): Application
4784         message API change.
4786         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4787         logic weaks here: always run transform_caps, trying passthrough
4788         operation only if the original caps intersects with the transform.
4790         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4791         source and sink caps.
4793         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4794         Intersect the peer caps with the pad template before going into
4795         transform_caps.
4796         (gst_base_transform_transform_caps): More debugging.
4798         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4799         src argument.
4801 2005-07-04  Edward Hervey  <edward@fluendo.com>
4803         * gst/gstutils.c:
4804         * gst/gstutils.h:
4805         (gst_pad_add_*_probe): now returns the signal id for better wrapping
4806         in bindings.
4808 2005-07-04  Andy Wingo  <wingo@pobox.com>
4810         * check/gst/gstpad.c: Only set explicit caps on pads.
4812 2005-07-01  Andy Wingo  <wingo@pobox.com>
4814         * tests/network-clock.scm: Commentary update.
4816         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4817         Didn't really make sense, not implementable with basetransform,
4818         etc.
4819         (gst_identity_transform): Unref inbuf via make_writable. Feeble
4820         attempt at implementing the sync property, needs an unlock method.
4822         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4823         New func, by default returns the same caps (the identity
4824         transformation).
4825         (gst_base_transform_getcaps): Uses transform_caps to return
4826         something sensible.
4827         (gst_base_transform_setcaps): Complicated logic to get caps on
4828         both pads, even if they are different, and to call set_caps once
4829         for every time both pads get their caps set.
4830         (gst_base_transform_handle_buffer): Give the ref to the transform
4831         function. Allows in-place modification of the buffer.
4833         * gst/base/gstbasetransform.h (transform_caps): New class method.
4834         Given caps on one side, what can I do on the other.
4835         (set_caps): Take two caps, one for each side of the element.
4837         * gst/gstpad.h:
4838         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4839         caps in place. This is safe because we can check the mutability of
4840         the caps, and a good idea because fixate functions are just called
4841         as a matter of last resort. (Not actually implemented.)
4842         (gst_pad_set_caps): If the caps we're setting is actually the same
4843         as the existing pad caps, just update the pointer without calling
4844         setcaps. Assert that caps is either NULL or fixed, as per the
4845         docs.
4847         * gst/gstghostpad.c: Update for fixate changes.
4849 2005-07-02  Andy Wingo  <wingo@pobox.com>
4851         * gst/gstcaps.c:
4852         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4853         two refcounts makes it immutable, which is enough. Doc more.
4855 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
4857         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4858           Put the mini_object into GValue as a mini_object,
4859           not a gpointer, since that's how we declared
4860           the signal.
4862 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4864         * examples/pwg/Makefile.am:
4865           Fix buildbot again.
4867 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4869         * docs/pwg/building-testapp.xml:
4870           Add extra check.
4871         * examples/pwg/Makefile.am:
4872           Fix buildbot.
4874 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4876         * configure.ac:
4877         * examples/Makefile.am:
4878         * examples/pwg/Makefile.am:
4879         * examples/pwg/extract.pl:
4880           Enable building the PWG examples.
4881         * docs/pwg/advanced-interfaces.xml:
4882           Add URI interface stub.
4883         * docs/pwg/advanced-types.xml:
4884         * docs/pwg/other-autoplugger.xml:
4885         * docs/pwg/appendix-porting.xml:
4886         * docs/pwg/pwg.xml:
4887           Add porting guide (mostly stubs), remove autoplugging (see ADM).
4888         * docs/pwg/building-boiler.xml:
4889         * docs/pwg/building-chainfn.xml:
4890         * docs/pwg/building-pads.xml:
4891         * docs/pwg/building-props.xml:
4892         * docs/pwg/building-state.xml:
4893         * docs/pwg/building-testapp.xml:
4894           Update the building-*.xml parts for 0.9 changes. All examples
4895           code blocks compile in examples/pwg/*.
4897 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4899         * docs/manual/advanced-autoplugging.xml:
4900         * docs/manual/appendix-checklist.xml:
4901         * docs/manual/appendix-integration.xml:
4902         * docs/manual/highlevel-components.xml:
4903           Fix playbin/decodebin examples, update docs a bit, mention bus
4904           instead of signals in various places, mention kmplayer and
4905           kaffeine since they have a working GStreamer backend in the KDE
4906           section.
4908 2005-06-30  Wim Taymans  <wim@fluendo.com>
4910         * CHANGES-0.9:
4911         * docs/design/draft-ghostpads.txt:
4912         * docs/design/draft-push-pull.txt:
4913         * docs/design/draft-query.txt:
4914         * docs/design/part-TODO.txt:
4915         * docs/design/part-query.txt:
4916         Added CHANGES-0.9 doc, updated status of other docs.
4917         
4918         * gst/gstquery.h:
4919         Remove "hmm" macro
4921 2005-06-30  Wim Taymans  <wim@fluendo.com>
4923         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4924         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4925         (gst_base_sink_change_state):
4926         * gst/base/gstbasesink.h:
4927         Some tweaks, only EOS and a buffer complete a preroll.
4929 2005-06-30  Andy Wingo  <wingo@pobox.com>
4931         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4932         activate_push down to the internal pad as well.
4934 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
4936         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4938         * gst/gsttaginterface.c:
4939           Some documentation fixes (#307394 and #307397).
4941 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
4943         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4945         * gst/gstvalue.c: (gst_value_intersect_list):
4946           Fix memleak (#309125).
4948 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4950         * docs/manual/advanced-dataaccess.xml:
4951           Fix fakesrc example to compile; doesn't work, bug somewhere...?
4952         * docs/manual/basics-pads.xml:
4953           Add reference for filtered caps to above chapter.
4955 2005-06-30  Wim Taymans  <wim@fluendo.com>
4957         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4958         (gst_bin_change_state):
4959         Probes are gone.
4960         Lame attempt at making the state change function a bit
4961         more readable.
4963 2005-06-30  Wim Taymans  <wim@fluendo.com>
4965         * docs/design/part-clocks.txt:
4966         * docs/design/part-element-sink.txt:
4967         * docs/design/part-events.txt:
4968         * docs/design/part-preroll.txt:
4969         * docs/design/part-states.txt:
4970         Some more tweeks and additions to the docs.
4972 2005-06-30  Wim Taymans  <wim@fluendo.com>
4974         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4975         (default_have_data), (gst_pad_class_init), (gst_pad_init),
4976         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4977         (gst_pad_check_pull_range), (gst_pad_get_range),
4978         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4979         * gst/gstpad.h:
4980         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4981         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4982         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4983         (gst_pad_remove_buffer_probe):
4984         Removed atomic operations, use existing LOCK.
4985         Move exception handling out of main code path.
4987 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4989         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4990         (silly_return_true_function), (gst_pad_class_init),
4991         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4992         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4993         (gst_pad_send_event):
4994           Fix accumulator, add default value by using _emitv() instead
4995           of _emit() for signal emission.
4997 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4999         * docs/manual/advanced-dataaccess.xml:
5000         * examples/manual/Makefile.am:
5001           Add probe example.
5002         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5003           Make work (??).
5005 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
5007         * gst/elements/gstfilesink.c: (gst_filesink_render):
5008           Simplify code so that we don't have to handle short
5009           writes and return GST_FLOW_ERROR if an error occured.
5011 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5013         * docs/gst/gstreamer-docs.sgml:
5014           Remove probes more.
5016 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5018         * docs/gst/gstreamer-sections.txt:
5019         * docs/gst/tmpl/gstpad.sgml:
5020         * docs/gst/tmpl/gstprobe.sgml:
5021         * gst/Makefile.am:
5022         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5023         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5024         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5025         (gst_pad_push_event), (gst_pad_send_event):
5026         * gst/gstpad.h:
5027         * gst/gstutils.c: (gst_pad_add_data_probe),
5028         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5029         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5030         (gst_pad_remove_buffer_probe):
5031         * gst/gstutils.h:
5032           Remove old probes, add new g-signal-based probes and some utility
5033           functions.
5035 2005-06-29  Edward Hervey  <edward@fluendo.com>
5037         * gst/gstelementfactory.c:
5038         * gst/gstutils.h:
5039         * gst/gstutils.c:
5040         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5041         the definition to the header file.
5043 2005-06-29  Andy Wingo  <wingo@pobox.com>
5045         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5046         plugins from the source directory.
5048 2005-06-29  Wim Taymans  <wim@fluendo.com>
5050         * docs/gst/tmpl/gstbuffer.sgml:
5051         * docs/gst/tmpl/gstclock.sgml:
5052         Some fixings for blantently wrong text.
5054 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5056         * check/Makefile.am:
5057         * gst/gst.c: (add_path_func), (init_pre):
5058         * gst/gstregistry.c: (gst_registry_add_path):
5059           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5060           only scan the GST_PLUGIN_PATH locations, and not add
5061           system locations
5063 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5065         * docs/gst/gstreamer-sections.txt:
5066         * docs/gst/tmpl/gstbasesrc.sgml:
5067         * gst/gstelement.c:
5068         * gst/gstelement.h:
5069         * gst/gstevent.c:
5070         * gst/gstutils.c:
5071           doc fixes
5073 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5075         * docs/manual/advanced-autoplugging.xml:
5076           Fix autoplugging example.
5078 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5080         * docs/manual/advanced-autoplugging.xml:
5081         * docs/manual/mime-world.fig:
5082           Try to get autoplugging working, fix type detection. Fix text
5083           in hello-world image.
5085 2005-06-29  Wim Taymans  <wim@fluendo.com>
5087         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5088         (gst_base_sink_change_state):
5089         Small debug line.
5091         * gst/gstclock.h:
5092         map SIGNAL and BROADCAST to the right function.
5094         * gst/gstobject.h:
5095         Remove redundant braces.
5097         * gst/gstpad.c: (gst_pad_set_caps):
5098         Don't call setcaps function when reseting caps to NULL.
5100         * gst/gstsystemclock.c: (gst_system_clock_dispose),
5101         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5102         (gst_system_clock_id_unschedule):
5103         Use BROADCAST as this is what we do.
5105 2005-06-29  Wim Taymans  <wim@fluendo.com>
5107         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5108         We are actually prerolling before commiting the state
5109         change. 
5111 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5113         * docs/manual/advanced-clocks.xml:
5114         * docs/manual/advanced-interfaces.xml:
5115         * docs/manual/advanced-metadata.xml:
5116         * docs/manual/advanced-position.xml:
5117         * docs/manual/advanced-schedulers.xml:
5118         * docs/manual/advanced-threads.xml:
5119         * docs/manual/appendix-porting.xml:
5120         * docs/manual/basics-bins.xml:
5121         * docs/manual/basics-bus.xml:
5122         * docs/manual/basics-elements.xml:
5123         * docs/manual/basics-helloworld.xml:
5124         * docs/manual/basics-pads.xml:
5125         * docs/manual/highlevel-components.xml:
5126         * docs/manual/manual.xml:
5127         * docs/manual/thread.fig:
5128           Update (until threads/scheduling) Application Development Manual;
5129           remove GstThread, add GstBus, add simple porting checklist, add
5130           documentation for tag writing, clocks, make all examples until this
5131           part compile and run.
5132         * examples/manual/Makefile.am:
5133           Update from changes to Application Development Manual; add bus
5134           example, remove thread example.
5136 2005-06-28  Wim Taymans  <wim@fluendo.com>
5138         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5139         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5140         (gst_bus_source_dispatch):
5141         Add debugging messages.
5142         Make internal methods static.
5143         Handle the case where the bus is flushed in the handler.
5144         
5145         * gst/gstelement.c: (gst_element_get_bus):
5146         Fix refcount in _get_bus();
5148         * gst/gstpipeline.c: (gst_pipeline_change_state),
5149         (gst_pipeline_get_clock_func):
5150         Clock refcounting fixes.
5151         Handle the case where preroll timed out more gracefully.
5152         
5153         * gst/gstsystemclock.c: (gst_system_clock_dispose):
5154         Clean up the internal thread in dispose. This is needed
5155         for subclasses that actually get disposed.
5156         
5157         * gst/schedulers/threadscheduler.c:
5158         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5159         (gst_thread_scheduler_dispose):
5160         Free thread pool in dispose.
5162 2005-06-28  Andy Wingo  <wingo@pobox.com>
5164         * tests/network-clock-utils.scm (debug, print-event): New utils.
5166         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5167         (*packet-loss*): Unified loss probability.
5168         (network-time): Report out-of-band events.
5170         * tests/plot-data: Add support for out-of-band events. Hack it
5171         into this script instead of passing it down the pipe; should fix
5172         this later.
5174 2005-06-28  Wim Taymans  <wim@fluendo.com>
5176         * docs/gst/gstreamer.types:
5177         * docs/gst/tmpl/gstbasesrc.sgml:
5178         * docs/gst/tmpl/gstpad.sgml:
5179         Docs fixes.
5181 2005-06-28  Wim Taymans  <wim@fluendo.com>
5183         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5184         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5185         (gst_proxy_pad_do_fixatecaps):
5186         Correctly proxy the check_pull_range function.
5188 2005-06-28  Andy Wingo  <wingo@pobox.com>
5190         * tests/network-clock.scm: Removed need for slib.
5191         
5192 2005-06-28  Wim Taymans  <wim@fluendo.com>
5194         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5195         (gst_basesink_preroll_queue_flush):
5196         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5197         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5198         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5199         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5200         (gst_proxy_pad_set_property):
5201         * gst/gstpad.c:
5202         * gst/gstpad.h:
5203         * gst/gstqueue.c: (gst_queue_init):
5204         The deprecated pad loop function is removed now.
5206 2005-06-28  Andy Wingo  <wingo@pobox.com>
5208         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5209         New parameters, simulate network packet loss.
5211         * tests/network-clock-utils.scm: Initialize the RNG.
5213 2005-06-28  Wim Taymans  <wim@fluendo.com>
5215         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5216         (gst_basesink_event), (gst_basesink_deactivate):
5217         Flushing the preroll queue always needs to unlock the waiters.
5219 2005-06-28  Edward Hervey  <edward@fluendo.com>
5221         * gst/gstpipeline.c: (gst_pipeline_send_event): 
5222         Wheen a seek was successful on a pipeline, set the stream_time to the
5223         seek offset in order to have a synchronized stream_time.
5225 2005-06-28  Wim Taymans  <wim@fluendo.com>
5227         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5228         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5229         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5230         (gst_proxy_pad_do_fixatecaps):
5231         Call wrapper function instead of just calling the function
5232         pointers. This takes care of any locking and whatmore.
5234 2005-06-28  Wim Taymans  <wim@fluendo.com>
5236         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5237         (gst_pad_pull_range):
5238         * gst/gstpad.h:
5239         CONNECTED -> LINKED.
5241 2005-06-28  Andy Wingo  <wingo@pobox.com>
5243         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5244         source-munging commit!!!
5246         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
5247         (gst_object_sink): Take gpointer arguments, not GstObject --
5248         avoids casts. Like GLib.
5250         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5251         activate.
5253 2005-06-27  Andy Wingo  <wingo@pobox.com>
5255         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5256         remaining buffer.
5258         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5259         returns a sorted copy of the trace list.
5260         (gst_alloc_trace_print_live): New API, only prints traces with
5261         live objects. Sort the list.
5262         (gst_alloc_trace_print_all): Sort the list.
5263         (gst_alloc_trace_print): Align columns.
5265         * gst/elements/gstttypefindelement.c:
5266         * gst/elements/gsttee.c:
5267         * gst/base/gstbasesrc.c:
5268         * gst/base/gstbasesink.c:
5269         * gst/base/gstbasetransform.c:
5270         * gst/gstqueue.c: Adapt for pad activation changes.
5272         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5273         sched.
5274         (gst_pipeline_dispose): Drop ref on sched.
5276         * gst/gstpad.c (gst_pad_init): Set the default activate func.
5277         (gst_pad_activate_default): Push mode by default.
5278         (pre_activate_switch, post_activate_switch): New stubs, things to
5279         do before and after switching activation modes on pads.
5280         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5281         the pad's activate function to choose which mode to activate.
5282         Shortcut on deactivation and call the right function directly.
5283         (gst_pad_activate_pull): New API, (de)activates a pad in pull
5284         mode.
5285         (gst_pad_activate_push): New API, same for push mode.
5286         (gst_pad_set_activate_function) 
5287         (gst_pad_set_activatepull_function) 
5288         (gst_pad_set_activatepush_function): Setters for new API.
5290         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5291         Trace all miniobjects.
5292         (gst_mini_object_make_writable): Unref the arg if we copy, like
5293         gst_caps_make_writable.
5295         * gst/gstmessage.c (_gst_message_initialize): No trace init.
5297         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
5298         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5299         Adapt for new pad API.
5301         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5303         * gst/gstelement.h:
5304         * gst/gstelement.c (gst_element_iterate_src_pads) 
5305         (gst_element_iterate_sink_pads): New API functions.
5306         
5307         * gst/gstelement.c (iterator_fold_with_resync): New utility,
5308         should fold into gstiterator.c in some form.
5309         (gst_element_pads_activate): Simplified via use of fold and
5310         delegation of decisions to gstpad->activate.
5312         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5313         help in debugging.
5315         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5316         class once in init, like gstmessage. Didn't run into this issue
5317         but it seems correct. Don't initialize a trace, gstminiobject does
5318         that.
5320         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5321         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5322         to the bus.
5323         (assert_live_count): New util function, uses alloc traces to check
5324         cleanup.
5326         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5327         To be modified when unlink drops the internal pad.
5329 2005-06-27  Wim Taymans  <wim@fluendo.com>
5331         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5332         (gst_bin_change_state):
5333         Cleanup the get_state() function a little, make sure it
5334         iterates the same set of elements.
5335         Added stub iterate_state_order().
5337 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5339         * docs/gst/gstreamer-docs.sgml:
5340         * docs/gst/gstreamer-sections.txt:
5341         * docs/gst/gstreamer.types:
5342         * docs/gst/tmpl/gstbasesink.sgml:
5343         * docs/gst/tmpl/gstbasesrc.sgml:
5344         * docs/gst/tmpl/gstbasetransform.sgml:
5345         * docs/gst/tmpl/gstelement.sgml:
5346         * docs/gst/tmpl/gstiterator.sgml:
5347         * gst/base/gstbasesrc.c:
5348         * gst/base/gstbasesrc.h:
5349         * gst/base/gstbasetransform.h:
5350         * gst/gstelement.c:
5351         * gst/gstiterator.h:
5352           adding basetransform and iterator docs
5354 2005-06-27  Andy Wingo  <wingo@pobox.com>
5356         * docs/design/part-activation.txt: Notes on how activation should
5357         work -- not quite implemented yet.
5359 2005-06-25  Wim Taymans  <wim@fluendo.com>
5361         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5362         At least get the chain function correct, needs more
5363         fixing.
5365 2005-06-25  Wim Taymans  <wim@fluendo.com>
5367         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5368         (gst_basesink_handle_object), (gst_basesink_event),
5369         (gst_basesink_do_sync), (gst_basesink_handle_event),
5370         (gst_basesink_change_state):
5371         * gst/gsttask.h:
5372         Right, two problems here: ghostpads don't take locks and
5373         glib _rec_mutex_lock_full() with depth==0 still locks.
5374         Catch illegal locking and g_warn them.
5376 2005-06-25  Wim Taymans  <wim@fluendo.com>
5378         * check/states/sinks.c: (START_TEST), (gst_object_suite):
5379         Have to check for completion now...
5381 2005-06-25  Wim Taymans  <wim@fluendo.com>
5383         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5384         (gst_basesink_handle_object), (gst_basesink_event),
5385         (gst_basesink_do_sync), (gst_basesink_handle_event),
5386         (gst_basesink_change_state):
5387         * gst/gstpad.h:
5388         Unlock STREAM_LOCK whatever the recursion was.
5390 2005-06-25  Wim Taymans  <wim@fluendo.com>
5392         * gst/base/gstbasesink.c: (gst_basesink_set_property),
5393         (gst_basesink_preroll_queue_empty),
5394         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5395         (gst_basesink_event), (gst_basesink_do_sync),
5396         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5397         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5398         (gst_basesink_change_state):
5399         Reworked the base sink, handle event and buffer serialisation
5400         correctly and removed possible deadlock.
5401         Handle EOS correctly.
5403 2005-06-25  Wim Taymans  <wim@fluendo.com>
5405         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5406         (gst_pipeline_change_state):
5407         * tools/gst-launch.c: (check_intr), (event_loop), (main):
5408         Allow elements to post EOS in the state change function.
5409         Fix up -launch, make it exit the poll loop when the
5410         pipeline actually changed state.
5411         Fix up warning parsing in -launch.
5413 2005-06-25  Wim Taymans  <wim@fluendo.com>
5415         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5416         (gst_tee_sink_activate):
5417         Core takes STREAM_LOCK for us now.
5419 2005-06-25  Wim Taymans  <wim@fluendo.com>
5421         * gst/gstelement.c: (gst_element_get_state_func),
5422         (gst_element_set_state):
5423         * gst/gstelement.h:
5424         * gst/gstmessage.c: (gst_message_parse_error),
5425         (gst_message_parse_warning):
5426         Keep track of current target state while performing a state
5427         change so that subclasses can do something interesting.
5428         Fix parsing of warning/error messages when GError is NULL.
5430 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5432         * docs/gst/Makefile.am:
5433         * docs/gst/gstreamer-docs.sgml:
5434         * docs/gst/gstreamer-sections.txt:
5435         * docs/gst/gstreamer.types:
5436         * docs/gst/tmpl/gstbasesink.sgml:
5437         * docs/gst/tmpl/gstbasesrc.sgml:
5438         * docs/gst/tmpl/gstbin.sgml:
5439         * docs/gst/tmpl/gstcompat.sgml:
5440         * docs/gst/tmpl/gstfakesink.sgml:
5441         * docs/gst/tmpl/gstfakesrc.sgml:
5442         * docs/gst/tmpl/gstfilesink.sgml:
5443         * docs/gst/tmpl/gstfilesrc.sgml:
5444         * docs/gst/tmpl/gstindex.sgml:
5445         * docs/manual/appendix-quotes.xml:
5446         * gst/base/gstbasesrc.h:
5447         * gst/elements/gstfakesrc.h:
5448         * gst/gstmessage.h:
5449           start pulling in base classes and elements in our docs
5451 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
5453         * docs/gst/Makefile.am:
5454         * docs/libs/Makefile.am:
5455           fixed make distcheck with gtk-doc 1.3
5457 2005-06-23  Wim Taymans  <wim@fluendo.com>
5459         * gst/gstelement.c: (gst_element_get_state_func),
5460         (gst_element_set_state), (gst_element_change_state):
5461         When the state did not change, also report NO_PREROLL
5462         when it matters.
5464 2005-06-23  Wim Taymans  <wim@fluendo.com>
5466         * gst/gstpad.c: (gst_pad_event_default):
5467         * gst/gstqueue.c: (gst_queue_loop):
5468         No unsafe task pausing please.
5470 2005-06-23  Wim Taymans  <wim@fluendo.com>
5472         * gst/schedulers/threadscheduler.c:
5473         (gst_thread_scheduler_task_start),
5474         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5475         Ref the task before pushing it on the threadpool. This
5476         makes sure that we have a ref when the threadfunction is
5477         actually called.
5479 2005-06-23  Andy Wingo  <wingo@pobox.com>
5481         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5482         offset is greater than the file's size.
5484         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
5485         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5486         * gst/gstobject.c (gst_object_class_init): Make the class lock
5487         recursive. Wim won't let me drop deep_notify. Decodebin works
5488         again, whoopdy doo.
5490         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5491         internal pad, and hacks accordingly. Doesn't do it on the target
5492         pad because we change its caps. Probably catches all cases of
5493         interest tho.
5494         (gst_ghost_pad_set_property): Connect to notify::caps as
5495         appropritate.
5497         * tests/network-clock.scm (plot-simulation): Pipe data to the
5498         elite python skript.
5500         * tests/network-clock-utils.scm (define-parameter): New macro,
5501         defines a parameter that can be set via the command line.
5502         (set-parameter!, parse-parameter-arguments): Command line args
5503         parser.
5505         * tests/plot-data: Simple matplotlib-based plotter, takes input on
5506         stdin.
5508 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
5510         * gst/elements/gsttypefindelement.c:
5511         (gst_type_find_element_handle_event):
5512           Don't restart typefinding on a discont.
5513         * gst/gstelement.c: (gst_element_set_state):
5514           Debug spelling fix.
5515         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5516           Allow changing mode of an active pad.
5517           Debug output fixes.
5518         * gst/registries/gstlibxmlregistry.c: (load_feature):
5519           Don't cast a static pad template to a normal pad template.
5521 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5523         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5524         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5525           remove gst_strtoll completely, since it didn't actually do
5526           anything more than what g_ascii_strtoull already does.
5527           check for range errors when deserializing
5528           do a cast for the unsigned cases; but further fixing needs
5529           a decision on what the interpretation of "(int)" and
5530           deserialization should be for values that fall outside the
5531           type's boundaries (ie, refuse, or interpret as casting)
5533 2005-06-23  Wim Taymans  <wim@fluendo.com>
5535         * check/Makefile.am:
5536         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5537         * docs/design/part-live-source.txt:
5538         * docs/design/part-states.txt:
5539         * gst/base/gstbasesrc.c: (gst_basesrc_init),
5540         (gst_basesrc_set_live), (gst_basesrc_is_live),
5541         (gst_basesrc_get_range), (gst_basesrc_activate),
5542         (gst_basesrc_change_state):
5543         * gst/base/gstbasesrc.h:
5544         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5545         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5546         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5547         * gst/gstelement.c: (gst_element_get_state_func),
5548         (gst_element_set_state):
5549         * gst/gstelement.h:
5550         * gst/gsttypes.h:
5551         * tools/gst-launch.c: (event_loop), (main):
5552         Added support for live sources and other elements that
5553         cannot do preroll.
5554         Updated design docs, added live-source design doc.
5555         Implemented live source functionality in basesrc
5556         Fix error condition in _bin_get_state()
5557         Implement live source handling in -launch.
5558         Added check for live sources.
5559         Fixed case in GstBin where elements were changed state
5560         multiple times.
5563 2005-06-23  Andy Wingo  <wingo@pobox.com>
5565         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5566         borken refcounting.
5568         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5569         gst_caps_replace takes care of this for us.
5571         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5572         gst_pad_set_caps on the target, not just its setcaps() function.
5574         * tests/network-clock.scm: 
5575         * tests/network-clock-utils.scm: A network clock simulator.
5576         Something of an algorithmic testbed before doing something in C.
5578 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5580         * check/Makefile.am:
5581         * check/gst/capslist.h:
5582           copy over from 0.8, and add two with bitmasks specified with
5583           (int) 0xFF...
5584         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5585           add test to parse everything from capslist.h
5586         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5587         (main):
5588           add test for structure deserialization
5589         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5590           add tests for deserialization of strings to int types
5591         * gst/gststructure.c: (gst_structure_nth_field_name):
5592         * gst/gststructure.h:
5593           add a way to get the name of a field referenced by index
5594         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5595           instead of checking if the resulting long long lies between
5596           min and max, we check if the long long would fit into
5597           a number of bytes for the final type.
5598           This fixes cases where a string represents 2^32 - 1, which
5599           when cast to int would be the (valid) -1, but is bigger than
5600           G_MAXINT
5602 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5604         * gst/parse/grammar.y:
5605           add a log line for type deserialization
5607 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5609         * check/gst/gstvalue.c: (START_TEST):
5610         * gst/gstvalue.c: (gst_value_deserialize):
5611           return long long, not int, so gint64 deserialization actually
5612           works.  Is there any flag that makes the compiler check this ?
5613           Fixes #308559
5615 2005-06-22  Wim Taymans  <wim@fluendo.com>
5617         * gst/gstbuffer.h:
5618         Added convenience macros for setting buffers in GValue.
5620 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5622         * check/gst/.cvsignore:
5623         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5624           add a test deserializing int64, and comment part out because
5625           it fails, yay !
5627 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5629         * check/Makefile.am:
5630         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5631         * testsuite/Makefile.am:
5632         * testsuite/caps/Makefile.am:
5633         * testsuite/caps/value_serialize.c:
5634         * testsuite/test_gst_init.c:
5635           move a value_serialize test over
5637 2005-06-20  Wim Taymans  <wim@fluendo.com>
5639         * gst/gstpad.c:
5640         Small doc updates.
5641         
5642         * gst/gstvalue.c: (gst_value_compare_buffer),
5643         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5644         (gst_value_compare_flags), (gst_value_serialize_flags),
5645         (gst_value_deserialize_flags), (_gst_value_initialize):
5646         Fix serialisation of buffers, they are not boxed types anymore
5648 2005-06-20  Wim Taymans  <wim@fluendo.com>
5650         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5651         Testcase to show error in buffer-on-caps serialisation.
5653 2005-06-20  Andy Wingo  <wingo@pobox.com>
5655         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5656         will be adding to later.
5658         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5659         if its socks fill with rocks.
5660         (gst_system_clock_obtain): Set the name on object construction.
5661         Avoid double-checked locking.
5663 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
5665         * gst/gsturi.c: (gst_element_make_from_uri):
5666           Fix potential endless loop.
5668 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5670         * check/Makefile.am:
5671           add gsttag
5672         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5673         (main):
5674           move over from testsuite dir and clean up
5675         * configure.ac:
5676         * gst/gsttag.c:
5677         * testsuite/Makefile.am:
5678         * testsuite/tags/.cvsignore:
5679         * testsuite/tags/Makefile.am:
5680         * testsuite/tags/merge.c:
5681           remove testsuite/tags
5683 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5685         * docs/gst/gstreamer-sections.txt:
5686         * docs/gst/tmpl/gstenumtypes.sgml:
5687         * win32/gstenumtypes.c:
5688           clean up documentation build a little
5690 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5692         * check/gstcheck.h:
5693           add macros for checking refcounts on objects and caps
5694         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5695           add some more unit tests
5696         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5697         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5698           fix leaked refcounts (I hope :)) so unittest works
5699         * gst/gstpad.h:
5700           whitespace removal
5702 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5704         * configure.ac: back to HEAD
5706 === release 0.9.1 ===
5708 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5710         * NEWS:
5711         * RELEASE:
5712           updated
5714 2005-06-17  Andy Wingo  <wingo@pobox.com>
5716         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5717         assert; it's always possible that the pad gets deactivated in
5718         between the checks in gstpad.c and the implementation. Rely on
5719         finish_preroll() to return a FLUSHING or similar instead of on the
5720         assert.
5721         
5722         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5723         clock and post an EOS message if we come out of finish_preroll in
5724         the playing state.
5726 2005-06-16  David Schleef  <ds@schleef.org>
5728         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5729         (gst_capsfilter_set_property): Allow NULL as possible value
5730         for filter_caps property, indicating GST_CAPS_ANY.
5732 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5734         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5735           fix debug output
5736         * gst/schedulers/Makefile.am:
5737           use libgst prefix
5738         * gstreamer.spec.in:
5739           fix spec for it
5741 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5743         * gstreamer.spec.in:
5744           clean up
5746 2005-06-08  Andy Wingo  <wingo@pobox.com>
5748         * gst/gstutils.c: RPAD fixes all around.
5749         (gst_element_link_pads): Refcounting fixes.
5751         * tools/gst-inspect.c:
5752         * tools/gst-xmlinspect.c:
5753         * parse/grammar.y:
5754         * gst/base/gsttypefindhelper.c:
5755         * gst/base/gstbasesink.c:
5756         * gst/gstqueue.c: RPAD fixes.
5758         * gst/gstghostpad.h:
5759         * gst/gstghostpad.c: New ghost pad implementation as full proxy
5760         pads. The tricky thing is they provide both source and sink
5761         interfaces, since they proxy the internal pad for the external
5762         pad, and vice versa. Implement with lower-level ProxyPad objects,
5763         with the interior proxy pad as a child of the exterior ghost pad.
5764         Should write a doc on this.
5765         
5766         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5767         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5768         gst_object API.
5769         
5770         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5771         pads are real pads. No ghost pads in this file. Not documenting
5772         the myriad s/RPAD/PAD/ and REALIZE fixes.
5773         (gst_pad_class_init): Add properties for "direction" and
5774         "template". Both are construct-only, so they can't change during
5775         the life of the pad. Fixes properly deriving from GstPad.
5776         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5777         derived objects, just set properties when creating the objects via
5778         g_object_new.
5779         (gst_pad_get_parent): Implement as a function, return NULL if the
5780         parent is not an element.
5781         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5782         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5783         
5784         * gst/gstobject.c (gst_object_class_init): Make name a construct
5785         property. Don't set it in the object init.
5787         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5788         with UNKNOWN direction.
5789         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5790         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5791         (gst_element_remove_pad): Remove ghost-pad special cases.
5792         (gst_element_pads_activate): Remove rpad cruft.
5794         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5795         catch the pad's-parent-not-an-element case.
5797         * gst/gst.h: Include gstghostpad.h.
5799         * gst/gst.c (init_post): No more real, ghost pads.
5801         * gst/Makefile.am: Add gstghostpad.[ch].
5803         * check/Makefile.am:
5804         * check/gst/gstbin.c:
5805         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5806         into a bin creates ghost pads, and that the refcounts are right.
5807         Partly moved from gstbin.c.
5809 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5811         * check/gst-libs/.cvsignore:
5812         * check/gst/.cvsignore:
5813         * check/pipelines/.cvsignore:
5814           ignore more
5815         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5816         (START_TEST), (cleanup_suite), (main):
5817           add some tests related to cleanup after running pipelines
5819 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5821         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5822           add a testsuite for GstBuffer
5824 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5826         * gst/gstminiobject.h:
5827           add defines for accessing the refcount
5829 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
5831         * Makefile.am: added support for html unit test coverage reports
5833 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
5835         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5836           Free existing caps if the capsfilter changes. Add a FIXME about
5837           setting those caps on the pads.
5839         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5840           Before adding a ghost pad to a parent bin, check that there isn't
5841           already one for the element on the bin. Prevents infinite recursion
5842           when using decodebin in parse pipelines. Andy says he'll rewrite the
5843           way this works anyway, so ignore the hack.
5845 2005-06-02  Andy Wingo  <wingo@pobox.com>
5847         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5848         file size, pass it on to the type find helper.
5850         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5851         segment_start and segment_end properly according to the seek
5852         method. Segment_end is still a bit flaky because offset can be
5853         negative for CUR and END cases, but it takes -1 as an "unset"
5854         value.
5856 2005-06-02  Wim Taymans  <wim@fluendo.com>
5858         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5859         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5860         (gst_basesink_activate):
5861         * gst/base/gstbasesink.h:
5862         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5863         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5864         (gst_pad_query), (gst_pad_start_task):
5865         * gst/gstpad.h:
5866         * gst/gstqueue.c: (gst_queue_bufferalloc),
5867         (gst_queue_handle_sink_event), (gst_queue_chain):
5868         Bufferalloc: return GstFlowReturn to more accuratly report
5869         why allocation failed.
5871 2005-06-02  Wim Taymans  <wim@fluendo.com>
5873         * gst/gstpipeline.c: (gst_pipeline_send_event):
5874         Take snapshot of state without blocking.
5876 2005-06-02  Wim Taymans  <wim@fluendo.com>
5878         * docs/design/part-TODO.txt:
5879         * docs/design/part-caps.txt:
5880         * docs/design/part-clocks.txt:
5881         * docs/design/part-negotiation.txt:
5882         * docs/design/part-preroll.txt:
5883         Small doc updates 
5885 2005-05-30  Wim Taymans  <wim@fluendo.com>
5887         * gst/elements/gstidentity.c: (gst_identity_event),
5888         (gst_identity_transform), (gst_identity_get_property):
5889         Protect last_message property as it is accessed from
5890         multiple threads.
5892 2005-05-30  Wim Taymans  <wim@fluendo.com>
5894         * gst/gstelement.c: (gst_element_init),
5895         (gst_element_pads_activate), (gst_element_change_state):
5896         Slicker pad activation code.
5898 2005-05-30  Wim Taymans  <wim@fluendo.com>
5900         * gst/Makefile.am:
5901         * gst/gstelement.h:
5902         * gst/gstelementfactory.h:
5903         * gst/gsttypes.h:
5904         Move elementfactory methods to separate .h file.
5906 2005-05-30  Wim Taymans  <wim@fluendo.com>
5908         * docs/design/part-overview.txt:
5909         * gst/gstsystemclock.h:
5910         Small typo fixes, doc updates.
5912 2005-05-30  Wim Taymans  <wim@fluendo.com>
5914         * gst/gst.c: (gst_init_get_popt_table), (init_post),
5915         (init_popt_callback):
5916         Remove cpu-opt flag.
5918 2005-05-30  Wim Taymans  <wim@fluendo.com>
5920         * gst/gstbuffer.c: (gst_subbuffer_finalize),
5921         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5922         * gst/gstbuffer.h:
5923         Avoid typechecking in places where not needed.
5924         Added accessor for malloc_data.
5926 2005-05-30  Wim Taymans  <wim@fluendo.com>
5928         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5929         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5930         (gst_pad_configure_sink), (gst_pad_configure_src),
5931         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5932         (gst_pad_start_task):
5933         Propagate errors from _set_caps() in configure_src/sink
5934         functions instead of returning TRUE.
5935         FLUSH events can travel up and downstream
5938 2005-05-30  Wim Taymans  <wim@fluendo.com>
5940         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5941         (gst_basesink_activate):
5942         Handle EOS in preroll.
5944 2005-05-30  Wim Taymans  <wim@fluendo.com>
5946         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5947         (gst_queue_loop), (gst_queue_handle_src_event):
5948         Remove old pieces of code
5949         Flushing the queue in an upstream event is a very bad idea.
5951 2005-05-26  Andy Wingo  <wingo@pobox.com>
5953         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5954         gst_value_set_mini_object so as to add a ref on the object (which
5955         will be removed when the value is unset).
5957         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5958         arg type in ::handoff.
5960         * gst/gstelement.c (gst_element_change_state): Also deactivate
5961         pads in READY->NULL, just in case the element didn't make it to
5962         PAUSED. Wingo tested, Wim approved.
5964 2005-05-26  Wim Taymans  <wim@fluendo.com>
5966         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5967         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5968         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5969         A flushing pad cannot be used to alloc_buffer from.
5971 2005-05-26  Wim Taymans  <wim@fluendo.com>
5973         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5974         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5975         (gst_bus_source_dispatch), (gst_bus_source_finalize),
5976         (gst_bus_create_watch), (gst_bus_add_watch_full):
5977         * gst/gstbus.h:
5978         Implement a real GSource and use g_main_context_wakeup() to
5979         signal new messages instead of the socketpair.
5981 2005-05-25  Wim Taymans  <wim@fluendo.com>
5983         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5984         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5985         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5986         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5987         (gst_pad_send_event), (gst_pad_start_task):
5988         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5989         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5990         (gst_queue_sink_activate), (gst_queue_src_activate),
5991         (gst_queue_change_state):
5992         * gst/gstqueue.h:
5993         Fix state changes for non sinks. We now change sinks, then elements
5994         with unconnected srcpads, then the rest.
5995         More efficient queue unlocking in flush and state changes.
5996         Set the pad activate mode even if it does not have an activate
5997         function.
5999 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6001         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6002           Don't go in pull mode for non-seekable sources.
6003         * gst/elements/gsttypefindelement.h:
6004         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6005         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6006         (free_entry), (stop_typefinding),
6007         (gst_type_find_element_handle_event), (find_peek),
6008         (gst_type_find_element_chain), (do_pull_typefind),
6009         (gst_type_find_element_change_state):
6010           Allow typefinding (w/o seeking) in push-mode, simplified version
6011           of what was in 0.8.
6012         * gst/gstutils.c: (gst_buffer_join):
6013         * gst/gstutils.h:
6014           gst_buffer_join() from 0.8.
6016 2005-05-25  Wim Taymans  <wim@fluendo.com>
6018         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6019         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6020         (gst_pad_send_event), (gst_pad_start_task):
6021         Disable attempt at mode switching until it is figured out.
6023 2005-05-25  Wim Taymans  <wim@fluendo.com>
6025         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6026         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6027         (gst_basesink_finish_preroll), (gst_basesink_chain),
6028         (gst_basesink_loop), (gst_basesink_activate),
6029         (gst_basesink_change_state):
6030         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6031         (gst_basesrc_get_range), (gst_basesrc_loop),
6032         (gst_basesrc_activate):
6033         * gst/elements/gsttee.c: (gst_tee_sink_activate):
6034         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6035         (gst_real_pad_init), (gst_real_pad_set_property),
6036         (gst_real_pad_get_property), (gst_pad_set_active),
6037         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6038         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6039         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6040         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6041         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6042         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6043         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6044         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6045         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6046         (gst_pad_stop_task):
6047         * gst/gstpad.h:
6048         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6049         (gst_queue_loop), (gst_queue_src_activate):
6050         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6051         (gst_task_get_state):
6052         * gst/gsttask.h:
6053         * gst/schedulers/threadscheduler.c:
6054         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6055         Implement gst_pad_pause/start/stop_task(), take STREAM lock
6056         in task function.
6057         Remove ACTIVE pad flag, use FLUSHING everywhere
6058         Added _pad_chain(), _pad_get_range() to call chain/getrange 
6059         functions.
6060         Add locks around IS_FLUSHING when reading.
6061         Take STREAM lock in chain(), get_range() functions so plugins
6062         don't need to take it anymore.
6063         
6066 2005-05-25  Wim Taymans  <wim@fluendo.com>
6068         * tools/gst-launch.c: (event_loop):
6069         Unref message after using its contents instead of
6070         before.
6072 2005-05-24  Wim Taymans  <wim@fluendo.com>
6074         * docs/design/draft-ghostpads.txt:
6075         * docs/design/draft-push-pull.txt:
6076         * docs/design/draft-query.txt:
6077         * docs/design/part-overview.txt:
6078         Docs updates, added general overview doc.
6080 2005-05-21  David Schleef  <ds@schleef.org>
6082         * docs/gst/tmpl/old/GstBin.sgml:
6083         * docs/gst/tmpl/old/GstBuffer.sgml:
6084         * docs/gst/tmpl/old/GstCaps.sgml:
6085         * docs/gst/tmpl/old/GstClock.sgml:
6086         * docs/gst/tmpl/old/GstCompat.sgml:
6087         * docs/gst/tmpl/old/GstData.sgml:
6088         * docs/gst/tmpl/old/GstElement.sgml:
6089         * docs/gst/tmpl/old/GstEvent.sgml:
6090         * docs/gst/tmpl/old/GstIndex.sgml:
6091         * docs/gst/tmpl/old/GstStructure.sgml:
6092         * docs/gst/tmpl/old/GstTag.sgml:
6093         * docs/gst/tmpl/old/cothreads.sgml:
6094         * docs/gst/tmpl/old/cothreads_compat.sgml:
6095         * docs/gst/tmpl/old/gettext.sgml:
6096         * docs/gst/tmpl/old/gobject2gtk.sgml:
6097         * docs/gst/tmpl/old/grammar.tab.sgml:
6098         * docs/gst/tmpl/old/gst-i18n-app.sgml:
6099         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6100         * docs/gst/tmpl/old/gst_private.sgml:
6101         * docs/gst/tmpl/old/gstaggregator.sgml:
6102         * docs/gst/tmpl/old/gstarch.sgml:
6103         * docs/gst/tmpl/old/gstatomic_impl.sgml:
6104         * docs/gst/tmpl/old/gstbufferstore.sgml:
6105         * docs/gst/tmpl/old/gstdata_private.sgml:
6106         * docs/gst/tmpl/old/gstdisksink.sgml:
6107         * docs/gst/tmpl/old/gstdisksrc.sgml:
6108         * docs/gst/tmpl/old/gstelementfactory.sgml:
6109         * docs/gst/tmpl/old/gstextratypes.sgml:
6110         * docs/gst/tmpl/old/gstfakesink.sgml:
6111         * docs/gst/tmpl/old/gstfakesrc.sgml:
6112         * docs/gst/tmpl/old/gstfdsink.sgml:
6113         * docs/gst/tmpl/old/gstfdsrc.sgml:
6114         * docs/gst/tmpl/old/gstfilesink.sgml:
6115         * docs/gst/tmpl/old/gstfilesrc.sgml:
6116         * docs/gst/tmpl/old/gsthttpsrc.sgml:
6117         * docs/gst/tmpl/old/gstidentity.sgml:
6118         * docs/gst/tmpl/old/gstindexfactory.sgml:
6119         * docs/gst/tmpl/old/gstmarshal.sgml:
6120         * docs/gst/tmpl/old/gstmd5sink.sgml:
6121         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6122         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6123         * docs/gst/tmpl/old/gstpadtemplate.sgml:
6124         * docs/gst/tmpl/old/gstpipefilter.sgml:
6125         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6126         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6127         * docs/gst/tmpl/old/gstshaper.sgml:
6128         * docs/gst/tmpl/old/gstspider.sgml:
6129         * docs/gst/tmpl/old/gstspideridentity.sgml:
6130         * docs/gst/tmpl/old/gststatistics.sgml:
6131         * docs/gst/tmpl/old/gsttee.sgml:
6132         * docs/gst/tmpl/old/gsttimecache.sgml:
6133         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6134         * docs/gst/tmpl/old/gstxmlregistry.sgml:
6135         * docs/gst/tmpl/old/gthread-cothreads.sgml:
6136         * docs/gst/tmpl/old/types.sgml:
6137           I didn't intend to add these or check them in.
6139 2005-05-19  David Schleef  <ds@schleef.org>
6141         * configure.ac: Use -no-common everywhere.  In a sane world, it
6142           would be the default in libtool, because without it, you can't
6143           build DLLs on Windows.
6144         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6145         * docs/gst/gstreamer-sections.txt:
6146         * docs/gst/tmpl/gstcpu.sgml:
6147         * docs/gst/tmpl/gstdata.sgml:
6148         * docs/gst/tmpl/gstthread.sgml:
6150 2005-05-19  David Schleef  <ds@schleef.org>
6152         * gst/gstminiobject.c: (gst_value_set_mini_object),
6153         (gst_value_take_mini_object), (gst_value_get_mini_object):
6154         * gst/gstminiobject.h: Add GValue set/get functions.
6156 2005-05-19  Wim Taymans  <wim@fluendo.com>
6158         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6159         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6160         (gst_subbuffer_init), (gst_buffer_is_span_fast):
6161         * gst/gstbuffer.h:
6162         * gst/gstbus.c: (gst_bus_post):
6163         * gst/gstelement.c: (gst_element_get_random_pad):
6164         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6165         Make subbufer unref the parent in finalize.
6166         some more debugging info.
6169 2005-05-19  Wim Taymans  <wim@fluendo.com>
6171         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6172         (gst_basesink_init), (gst_basesink_finalize),
6173         (gst_basesink_activate), (gst_basesink_change_state):
6174         Don't free preroll queue too early.
6176 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6178         * gst/Makefile.am:
6179         * gst/ROADMAP:
6180           Hi, I'm outdated. Please shoot me.
6182 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6184         * gst/gstpipeline.c: (gst_pipeline_send_event):
6185           Do not access variables after they have been deleted.
6187 2005-05-19  Wim Taymans  <wim@fluendo.com>
6189         * tools/gst-inspect.c: (print_plugin_features):
6190         A plugin feature does unfortunatly not use the
6191         object name yet...
6193 2005-05-18  Wim Taymans  <wim@fluendo.com>
6195         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6196         Port _span() functions to new subbuffers.
6198 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6200         * gst/gstbin.c: (gst_bin_add_func):
6201           Fix clock settery in bins when adding kids after the clock has
6202           been selected.
6204 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6206         * gst/elements/gstidentity.c: (gst_identity_class_init):
6207           Workaround until signals support GstMiniObject.
6209 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6211         * gst/gstbuffer.c:
6212         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6214 2005-05-18  Wim Taymans  <wim@fluendo.com>
6216         * gst/base/Makefile.am:
6217         * gst/base/gstadapter.c: (gst_adapter_base_init),
6218         (gst_adapter_class_init), (gst_adapter_init),
6219         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6220         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6221         (gst_adapter_flush), (gst_adapter_available),
6222         (gst_adapter_available_fast):
6223         * gst/base/gstadapter.h:
6224         Ported and added adapter to the base classes.
6226 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6228         * gst/gst.c:
6229         * gst/gstmessage.c:
6230           Make sure the class is reffed/unreffed once before threads can be
6231           used.  Fixes #304551.
6233 2005-05-17  Wim Taymans  <wim@fluendo.com>
6235         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6236         (gst_basesink_chain_unlocked), (gst_basesink_activate):
6237         * gst/gstminiobject.c: (gst_mini_object_get_type),
6238         (gst_mini_object_free):
6239         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6240         (gst_pad_push), (gst_pad_push_event):
6241         * gst/gstqueue.c: (gst_queue_change_state):
6242         Don't queue buffers in basesink when we are flushing.
6243         Unref buffer when flushing in basesink.
6244         Flush queue when going to READY
6245         Unref buffer when _push() returns an error.
6246         Don't free MiniObject instance when refcount is incremented
6247         in _finalize() so that we can recover objects.
6249 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6251         * docs/manual/advanced-schedulers.xml:
6252         * docs/manual/appendix-checklist.xml:
6253         * docs/pwg/advanced-clock.xml:
6254         * docs/pwg/advanced-interfaces.xml:
6255         * docs/pwg/advanced-request.xml:
6256         * docs/pwg/advanced-types.xml:
6257         * docs/pwg/intro-preface.xml:
6258         * examples/plugins/example.c: (gst_example_get_type),
6259         (gst_example_class_init), (gst_example_chain),
6260         (gst_example_set_property), (gst_example_get_property),
6261         (gst_example_change_state), (plugin_init):
6262         * examples/plugins/example.h:
6263           small doc fixes
6265 2005-05-17  Wim Taymans  <wim@fluendo.com>
6267         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6268         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6269         * gst/gstqueue.c: (gst_queue_change_state):
6270         Clear queue when going to READY.
6271         Remove IN_SETCAPS flag too.
6273 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
6275         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6276           Remove implicit cast from gboolean to GstElementStateReturn;
6277           make sure we still return failure in paused => ready case if
6278           the parent class fails to change state and our own stop 
6279           vfunc succeeds.
6281 2005-05-17  Wim Taymans  <wim@fluendo.com>
6283         * tools/gst-launch.c: (event_loop):
6284         Message was unreffed too soon.
6286 2005-05-16  Andy Wingo  <wingo@pobox.com>
6288         * gst/gstbin.c (sink_iterator_filter): Err... um...
6290         * check/gst/gstbin.c (test_ghost_pads): New test for the
6291         ghosting-if-elements-not-in-same-bin behavior.
6293 2005-05-16  David Schleef  <ds@schleef.org>
6295         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6296         accessing refcount directly.
6298 2005-05-15  David Schleef  <ds@schleef.org>
6300         * check/Makefile.am: remove GstData checks
6301         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6302         * gst/Makefile.am: add miniobject, remove data
6303         * gst/gst.h: add miniobject, remove data
6304         * gst/gstdata.c: remove
6305         * gst/gstdata.h: remove
6306         * gst/gstdata_private.h: remove
6307         * gst/gsttypes.h: remove GstEvent and GstMessage
6308         * gst/gstelement.c: (gst_element_post_message): fix for API changes
6309         * gst/gstmarshal.list: change BOXED -> OBJECT
6311         Implement GstMiniObject.
6312         * gst/gstminiobject.c:
6313         * gst/gstminiobject.h:
6315         Modify to be subclasses of GstMiniObject.
6316         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6317         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6318         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6319         (gst_subbuffer_get_type), (gst_subbuffer_init),
6320         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6321         (gst_buffer_span):
6322         * gst/gstbuffer.h:
6323         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6324         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6325         (_gst_event_copy), (gst_event_new):
6326         * gst/gstevent.h:
6327         * gst/gstmessage.c: (_gst_message_initialize),
6328         (gst_message_get_type), (gst_message_class_init),
6329         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6330         (gst_message_new), (gst_message_new_error),
6331         (gst_message_new_warning), (gst_message_new_tag),
6332         (gst_message_new_state_changed), (gst_message_new_application):
6333         * gst/gstmessage.h:
6334         * gst/gstprobe.c: (gst_probe_perform),
6335         (gst_probe_dispatcher_dispatch):
6336         * gst/gstprobe.h:
6337         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6338         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6339         (_gst_query_copy), (gst_query_new):
6341         Update elements for GstData -> GstMiniObject changes
6342         * gst/gstquery.h:
6343         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6344         (gst_queue_chain), (gst_queue_loop):
6345         * gst/elements/gstbufferstore.c:
6346         (gst_buffer_store_add_buffer_func),
6347         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6348         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6349         (gst_fakesink_render):
6350         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6351         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6352         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6353         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6354         (gst_filesrc_create_read):
6355         * gst/elements/gstidentity.c: (gst_identity_class_init):
6356         * gst/elements/gsttypefindelement.c:
6357         (gst_type_find_element_src_event), (free_entry_buffers),
6358         (gst_type_find_element_handle_event):
6359         * libs/gst/dataprotocol/dataprotocol.c:
6360         (gst_dp_header_from_buffer):
6361         * libs/gst/dataprotocol/dataprotocol.h:
6362         * libs/gst/dataprotocol/dp-private.h:
6364 2005-05-15  David Schleef  <ds@schleef.org>
6366         * gst/elements/gstelements.c: Don't include headers that were
6367         just removed.
6369 2005-05-15  David Schleef  <ds@schleef.org>
6371         * gst/elements/Makefile.am: Remove some elements that don't
6372         need to be in the core (or even exist at all).
6373         * gst/elements/gstaggregator.c:
6374         * gst/elements/gstaggregator.h:
6375         * gst/elements/gstmd5sink.c:
6376         * gst/elements/gstmd5sink.h:
6377         * gst/elements/gstmultifilesrc.c:
6378         * gst/elements/gstmultifilesrc.h:
6379         * gst/elements/gstpipefilter.c:
6380         * gst/elements/gstpipefilter.h:
6381         * gst/elements/gstshaper.c:
6382         * gst/elements/gstshaper.h:
6383         * gst/elements/gststatistics.c:
6384         * gst/elements/gststatistics.h:
6385         * po/POTFILES.in: Remove above files.
6387 2005-05-14  Andy Wingo  <wingo@pobox.com>
6389         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6390         so as to get the refs right.
6391         (sink_iterator_filter): New function, wraps bin_element_is_sink,
6392         unreffing objects that don't pass the filter.
6394         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6395         gst_element_set_bus.
6396         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6397         normal cases, this will destroy the bus.
6399         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6400         object.
6402         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6403         has no sinks.
6405 2005-05-13  Andy Wingo  <wingo@pobox.com>
6407         * gst/gstutils.c (gst_element_link_pads): Instead of calling
6408         gst_pad_link, call pad_link_maybe_ghosting,
6409         (pad_link_maybe_ghosting): Links pads, making sure that the
6410         elements being linked are in the same bin.
6411         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6412         Helpers for pad_link_maybe_ghosting.
6414 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6416         * configure.ac:
6417           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6419 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6421         * docs/design/part-element-source.txt:
6422           Mention GstPushSrc
6424 2005-05-12  Wim Taymans  <wim@fluendo.com>
6426         * gst/base/gstbasesink.c: (gst_basesink_init),
6427         (gst_basesink_activate):
6428         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6429         (gst_basesrc_is_seekable):
6430         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6431         (bin_element_is_sink), (gst_bin_change_state):
6432         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6433         * gst/gstelement.h:
6434         Identify sinks by their flag to avoid overly complicated
6435         checks (fow now).
6436         Do state changes even for elements not reachable from the
6437         sinks.
6438         BaseSink is a sink now :)
6439         Some more debugging info in the basesrc.
6442 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6444         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6445           Implement _query on a bin, similar to _send_event.
6447 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6449         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6450           Discont event offset format should be GST_FORMAT_BYTES,
6451           not GST_FORMAT_TIME.
6453 2005-05-12  Wim Taymans  <wim@fluendo.com>
6455         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6456         Same fix as Ronald's but without the signal. 
6458 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6460         * gst/gstutils.c: (gst_element_query_position):
6461           No, an element is not a pad.
6463 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6465         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6466         (gst_bin_get_state):
6467           If a child is removed from a bin while we remove the child from
6468           the bin and while we're retrieving its state, signal this to the
6469           get_state function so we abort the wait (instead of waiting for
6470           a timeout) and can immediately re-iterate over all other elements.
6472 2005-05-12  Wim Taymans  <wim@fluendo.com>
6474         * gst/base/Makefile.am:
6475         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6476         (gst_basesrc_start):
6477         * gst/base/gstbasesrc.h:
6478         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6479         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6480         (gst_pushsrc_init), (gst_pushsrc_create):
6481         * gst/base/gstpushsrc.h:
6482         Added is_seekable to BaseSrc
6483         Added simple PushSrc.
6485 2005-05-11  Wim Taymans  <wim@fluendo.com>
6487         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6488         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6489         (gst_element_link_pads), (gst_element_query_position),
6490         (gst_element_query_convert), (intersect_caps_func),
6491         (gst_pad_query_position), (gst_pad_query_convert):
6492         Fix refcounting in utils function.
6493         No point in trying to activate a pad when it's added, it could
6494         be added from the state change function and then we deadlock, the
6495         element has to decide what to do.
6497 2005-05-10  Andy Wingo  <wingo@pobox.com>
6499         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6500         *all* the arguments.
6502         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6503         stream lock if it's a FLUSH_DONE; normal flushes don't get the
6504         lock (according to the docs -- if this is wrong change the docs).
6506         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6507         flush messages in the NULL state.
6509         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6510         message immediately and return.
6511         (gst_bus_set_flushing): New function. If a bus is flushing, it
6512         flushes out any queued messages and immediately unrefs new
6513         messages. This is so when an element goes to NULL, all of the
6514         unhandled messages coming from it can be freed, and their
6515         references to the element dropped. In other words: message source
6516         ref considered harmful :P
6518         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6519         we're finished with it.
6521         * gst/gstmessage.c (gst_message_new_state_changed): 
6523 2005-05-10  Wim Taymans  <wim@fluendo.com>
6525         * gst/gstvalue.c: (gst_value_compare_flags),
6526         (gst_value_serialize_flags), (gst_value_deserialize_flags),
6527         (_gst_value_initialize):
6528         Added flags serialize/deserialize/compare code.
6530 2005-05-09  Andy Wingo  <wingo@pobox.com>
6532         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6533         Intersect the peer's caps with our caps.
6535 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6537         * gst/base/gsttypefindhelper.c: (helper_find_peek):
6538         * gst/elements/gsttypefindelement.c: (find_peek):
6539           Handle negative offsets better. Fixes decodebin.
6541 2005-05-09  Wim Taymans  <wim@fluendo.com>
6543         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6544         (gst_base_transform_event):
6545         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6546         Implement accept_caps.
6547         Fix silly lock/unlock mismatch in base class.
6549 2005-05-09  Wim Taymans  <wim@fluendo.com>
6551         * docs/design/draft-push-pull.txt:
6552         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6553         * gst/elements/gstfilesink.c: (gst_filesink_init),
6554         (gst_filesink_query):
6555         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6556         (gst_type_find_handle_src_query), (find_element_get_length):
6557         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6558         * gst/gstelement.h:
6559         * gst/gstmessage.c:
6560         * gst/gstmessage.h:
6561         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6562         (gst_real_pad_get_caps_unlocked),
6563         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6564         (gst_pad_event_default_dispatch), (gst_pad_event_default),
6565         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6566         (gst_real_pad_dispose), (gst_real_pad_finalize),
6567         (gst_pad_load_and_link), (gst_pad_save_thyself),
6568         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6569         (gst_pad_check_pull_range), (gst_pad_pull_range),
6570         (gst_pad_template_get_type), (gst_pad_template_class_init),
6571         (gst_pad_template_init), (gst_pad_template_dispose),
6572         (name_is_valid), (gst_static_pad_template_get),
6573         (gst_pad_template_new), (gst_static_pad_template_get_caps),
6574         (gst_pad_template_get_caps), (gst_pad_set_element_private),
6575         (gst_pad_get_element_private), (gst_pad_start_task),
6576         (gst_pad_pause_task), (gst_pad_stop_task),
6577         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6578         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6579         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6580         (gst_ghost_pad_new):
6581         * gst/gstpad.h:
6582         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6583         (gst_query_new_position), (gst_query_set_position),
6584         (gst_query_parse_position), (gst_query_new_convert),
6585         (gst_query_set_convert), (gst_query_parse_convert):
6586         * gst/gstquery.h:
6587         * gst/gstqueryutils.c:
6588         * gst/gstqueryutils.h:
6589         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6590         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6591         (gst_queue_handle_src_query):
6592         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6593         (gst_element_query_position), (gst_element_query_convert),
6594         (intersect_caps_func), (gst_pad_query_position),
6595         (gst_pad_query_convert):
6596         * gst/gstutils.h:
6597         * tools/gst-inspect.c: (print_pad_info):
6598         * tools/gst-xmlinspect.c: (print_element_info):
6599         Remove old query functions. Ported old code.
6600         Added position/convert helper functions to gstutils.
6601         Reordered gstpad.c code, grouping relevant things.
6602         Remove gst_message_new(), always need to speficy a specific
6603         message.
6606 2005-05-09  Andy Wingo  <wingo@pobox.com>
6608         * gst/gstiterator.h: Add some includes.
6610         * gst/gstqueryutils.h: Include more headers.
6612         * gst/gstpad.h:
6613         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6614         some uses of gst_pad_query.
6616         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6617         NULL out parameters.
6618         (gst_query_new_position): New proc, allocates a new position
6619         query.
6621         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6622         gstqueryutils.c to the build.
6624         * gst/gststructure.c (gst_structure_set_valist): Implement with
6625         the generic G_VALUE_COLLECT.
6626         
6627 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
6629         * gst/Makefile.am: (gst_headers):
6630         Added gstqueryutils.h to the list of headers to install, that was
6631         a 'nachty' move wingo :)
6633 2005-05-06  Andy Wingo  <wingo@pobox.com>
6635         * gst/gstquery.h
6636         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6637         GstData, init a memchunk.
6638         (standard_definitions): Add a few query types, deprecate a few.
6639         (gst_query_get_type): New proc.
6640         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6641         implementation.
6642         (gst_query_new_application, gst_query_get_structure): New public
6643         procs.
6645         * docs/design/draft-query.txt: Removed LINKS from the query types,
6646         because all the rest can be dispatched to other pads -- seemed
6647         ugly to have a query that couldn't be dispatched. internal_links
6648         is fine as a pad method.
6650         * gst/gstpad.h: Add query2 as a pad method, add the new functions
6651         in gstpad.c, but maintain binary compatibility for the moment.
6652         Will fix before 0.9 is out.
6654         * gst/gstqueryutils.c: 
6655         * gst/gstqueryutils.h: New files, implement 3 methods for each
6656         query type: parse_query, parse_response, and set. Probably need an
6657         allocator as well.
6659         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6661         * gst/elements/gstfilesink.c (gst_filesink_query2):
6662         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6663         query_types, and formats methods.
6665         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6666         (gst_pad_set_query2_function): New functions.
6667         (gst_real_pad_init): Set query2_default as the default query2
6668         function. Basically just dispatches to internally linked pads.
6670         Needs review!
6671         
6672         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6673         without using the atomic operations. Only one thread can possibly
6674         be accessing the data at this point. Changed so as to avoid
6675         gst_atomic operations.
6677 2005-05-06  Wim Taymans  <wim@fluendo.com>
6679         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6680         Also set caps if we use the fallback buffer alloc.
6682 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
6684         * docs/gst/Makefile.am:
6685         * docs/gst/gstreamer-docs.sgml:
6686         * docs/gst/gstreamer-sections.txt:
6687         * docs/gst/tmpl/gstatomic.sgml:
6688         * docs/gst/tmpl/gstmemchunk.sgml:
6689         * testsuite/elements/struct_i386.h:
6690         * win32/GStreamer.vcproj:
6691         * win32/Makefile:
6692           Purge GstAtomic stuff from docs and win32 makefiles as well
6694 2005-05-06  Wim Taymans  <wim@fluendo.com>
6696         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6697         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6698         * gst/gstpad.c: (gst_pad_peer_get_caps):
6699         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6700         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6701         (gst_queue_src_activate), (gst_queue_change_state):
6702         * gst/gstqueue.h:
6703         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6704         (intersect_caps_func):
6705         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6706         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6707         Some fixes for the peer_get_caps() change.
6709 2005-05-06  Wim Taymans  <wim@fluendo.com>
6711         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6712         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6713         (gst_basesink_activate):
6714         Actually do something with error codes returned from the push
6715         functions.
6717 2005-05-06  Wim Taymans  <wim@fluendo.com>
6719         * docs/design/part-element-sink.txt:
6720         * docs/design/part-element-source.txt:
6721         * gst/base/gstbasesink.c: (gst_basesink_class_init),
6722         (gst_basesink_event), (gst_basesink_activate):
6723         * gst/base/gstbasesink.h:
6724         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6725         (gst_basesrc_activate):
6726         * gst/base/gstbasesrc.h:
6727         * gst/gstelement.c: (gst_element_pads_activate):
6728         Some more documentation.
6729         Fixed scheduling decision in _pads_activate().
6731 2005-05-05  Andy Wingo  <wingo@pobox.com>
6733         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6734         the test suite.
6736 2005-05-05  Wim Taymans  <wim@fluendo.com>
6738         * gst/base/Makefile.am:
6739         * gst/base/gstbasesink.h:
6740         * gst/base/gstbasesrc.c: (gst_basesrc_init),
6741         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6742         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6743         (gst_collectpads_class_init), (gst_collectpads_init),
6744         (gst_collectpads_finalize), (gst_collectpads_new),
6745         (gst_collectpads_set_function), (gst_collectpads_add_pad),
6746         (find_pad), (gst_collectpads_remove_pad),
6747         (gst_collectpads_is_active), (gst_collectpads_collect),
6748         (gst_collectpads_collect_range), (gst_collectpads_start),
6749         (gst_collectpads_stop), (gst_collectpads_peek),
6750         (gst_collectpads_pop), (gst_collectpads_available),
6751         (gst_collectpads_read), (gst_collectpads_flush),
6752         (gst_collectpads_chain):
6753         * gst/base/gstcollectpads.h:
6754         * gst/elements/Makefile.am:
6755         * gst/elements/gstelements.c:
6756         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6757         (gst_fakesink_get_times), (gst_fakesink_event),
6758         (gst_fakesink_preroll), (gst_fakesink_render):
6759         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6760         (gst_filesink_init), (gst_filesink_set_location),
6761         (gst_filesink_open_file), (gst_filesink_close_file),
6762         (gst_filesink_pad_query), (gst_filesink_event),
6763         (gst_filesink_render), (gst_filesink_change_state):
6764         * gst/elements/gstfilesink.h:
6765         Added object to help in making collect pad based elements.
6766         Ported filesink.
6767         Make event function in sink baseclass return gboolean.
6769 2005-05-05  Wim Taymans  <wim@fluendo.com>
6771         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6772         (gst_bin_get_by_name):
6773         * gst/gstbuffer.h:
6774         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6775         (gst_clock_finalize):
6776         * gst/gstdata.c: (gst_data_replace):
6777         * gst/gstdata.h:
6778         * gst/gstelement.c: (gst_element_request_pad),
6779         (gst_element_pads_activate):
6780         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6781         (gst_object_unref):
6782         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6783         (gst_pad_set_checkgetrange_function),
6784         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6785         (gst_pad_check_pull_range), (gst_pad_pull_range),
6786         (gst_static_pad_template_get_caps), (gst_pad_start_task),
6787         (gst_pad_pause_task), (gst_pad_stop_task):
6788         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6789         (gst_element_request_pad), (gst_pad_proxy_getcaps):
6790         Fix name lookup in GstBin.
6791         Added _data_replace() function and _buffer_replace()
6792         Use finalize method to clean up clock.
6793         Fix refcounting on request pads.
6794         Fix pad schedule mode error.
6795         Some more object refcounting debug info,
6798 2005-05-04  Andy Wingo <wingo@pobox.com>
6800         * check/Makefile.am:
6801         * docs/gst/tmpl/gstatomic.sgml:
6802         * docs/gst/tmpl/gstplugin.sgml:
6803         * gst/base/gstbasesink.c: (gst_basesink_activate):
6804         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6805         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6806         (gst_basesrc_query), (gst_basesrc_set_property),
6807         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6808         (gst_basesrc_activate):
6809         * gst/base/gstbasesrc.h:
6810         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6811         (gst_base_transform_src_activate):
6812         * gst/elements/gstelements.c:
6813         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6814         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6815         * gst/elements/gsttee.c: (gst_tee_sink_activate):
6816         * gst/elements/gsttypefindelement.c: (find_element_get_length),
6817         (gst_type_find_element_checkgetrange),
6818         (gst_type_find_element_activate):
6819         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6820         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6821         (gst_caps_load_thyself):
6822         * gst/gstelement.c: (gst_element_pads_activate),
6823         (gst_element_save_thyself), (gst_element_restore_thyself):
6824         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6825         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6826         * gst/gstpad.h:
6827         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6828         (gst_xml_parse_file), (gst_xml_parse_memory),
6829         (gst_xml_get_element), (gst_xml_make_element):
6830         * gst/indexers/gstfileindex.c: (gst_file_index_load),
6831         (_file_index_id_save_xml), (gst_file_index_commit):
6832         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6833         (read_enum), (load_pad_template), (load_feature), (load_plugin),
6834         (load_paths):
6835         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6836         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6837         * tools/gst-complete.c: (main):
6838         * tools/gst-compprep.c: (main):
6839         * tools/gst-inspect.c: (print_element_properties_info):
6840         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6841         * tools/gst-xmlinspect.c: (print_element_properties):
6842         GCC 4 fixen.
6843         
6844 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6846         * gst/gstplugin.c: (gst_plugin_check_module),
6847         (gst_plugin_check_file), (gst_plugin_load_file):
6848             apply patch from #172526 to make register work on MacOSX
6850 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6852         * docs/gst/tmpl/gstconfig.sgml:
6853         * gst/gstconfig.h.in:
6854           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
6855         * testsuite/debug/printf_extension.c: (main):
6856           Do not use GST_PTR_FORMAT on pointers to types with
6857           sizeof < sizeof(gpointer).  Fixes test on 64-bit
6858         * testsuite/elements/property.h:
6859           use correct printf format
6861 2005-05-02  Wim Taymans  <wim@fluendo.com>
6863         * docs/design/draft-push-pull.txt:
6864         * docs/design/draft-query.txt:
6865         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6866         (gst_basesrc_start):
6867         Added draft for new query API.
6868         Added draft for better selecting scheduling methods.
6869         Make basesrc ignore length if the subclass does not support
6870         it.
6872 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6874         * gst/Makefile.am:
6875           possible fixes for automake-1.5 - _LIBADD is reserved
6877 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6879         * docs/faq/Makefile.am:
6880         * docs/manual/Makefile.am:
6881         * docs/manuals.mak:
6882         * docs/pwg/Makefile.am:
6883         * gst/Makefile.am:
6884           possible fixes for automake-1.5
6886 2005-04-28  Wim Taymans  <wim@fluendo.com>
6888         * gst/base/gstbasesink.c: (gst_basesink_base_init),
6889         (gst_basesink_pad_getcaps), (gst_basesink_init),
6890         (gst_basesink_do_sync):
6891         * gst/gstclock.c: (gst_clock_entry_new):
6892         * gst/gstevent.c: (gst_event_discont_get_value):
6893         * gst/gstpipeline.c: (pipeline_bus_handler),
6894         (gst_pipeline_change_state):
6895         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6896         Better debugging of clocking info.
6897         Allow NULL values when getting discont values.
6899 2005-04-27  Wim Taymans  <wim@fluendo.com>
6901         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6902         * check/gst/gstpad.c: (gst_pad_suite):
6903         Increase timeout for checks.
6905 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6907         * check/Makefile.am:
6908           fix the broken rule for cleanup.  Apparently this rule is
6909           only needed on FC2, so maybe this warrants further autotool
6910           inspection.
6912 2005-04-26  Wim Taymans  <wim@fluendo.com>
6914         * gst/gsttrashstack.h:
6915         Ooohh. a nasty one! After having a failed pop() from the stack,
6916         it's possible that the stack is empty. In that case, don't
6917         follow the NULL pointer.
6919 2005-04-25  Wim Taymans  <wim@fluendo.com>
6921         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6922         (gst_pad_set_checkgetrange_function),
6923         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6924         (gst_pad_check_pull_range), (gst_pad_pull_range),
6925         (gst_static_pad_template_get_caps), (gst_pad_start_task),
6926         (gst_pad_pause_task), (gst_pad_stop_task):
6927         * gst/gstplugin.c: (gst_plugin_load):
6928         * gst/gstplugin.h:
6929         Remove gst_library_load as it does more harm than good with
6930         the new g_module flags.
6931         Revert bogus caps template check in pad linking, pad caps
6932         are important when linking not the template, which is more
6933         general than the current caps.
6935 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6937         * gst/autoplug/.cvsignore:
6938         * gst/autoplug/Makefile.am:
6939         * gst/autoplug/gstsearchfuncs.c:
6940         * gst/autoplug/gstsearchfuncs.h:
6941         * gst/autoplug/gstspider.c:
6942         * gst/autoplug/gstspider.h:
6943         * gst/autoplug/gstspideridentity.c:
6944         * gst/autoplug/gstspideridentity.h:
6945         * gst/autoplug/spidertest.c:
6946           Die, spider, die.
6948 2005-04-25  Wim Taymans  <wim@fluendo.com>
6950         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6951         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6952         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6953         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6954         * gst/gstpad.h:
6955         Added stubs for unimplemented functions. 
6957 2005-04-24  David Schleef  <ds@schleef.org>
6959         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
6960         please fix.
6962 2005-04-24  David Schleef  <ds@schleef.org>
6964         Convert everything from GstAtomicInt to g_atomic_int_*, and
6965         remove gstatomic.
6966         * gst/Makefile.am:
6967         * gst/gstatomic.c:
6968         * gst/gstatomic.h:
6969         * gst/gstatomic_impl.h:
6970         * gst/gstbuffer.c:
6971         * gst/gstcaps.c:
6972         * gst/gstcaps.h:
6973         * gst/gstclock.c:
6974         * gst/gstclock.h:
6975         * gst/gstdata.c:
6976         * gst/gstdata.h:
6977         * gst/gstdata_private.h:
6978         * gst/gstevent.c:
6979         * gst/gstinfo.c:
6980         * gst/gstinfo.h:
6981         * gst/gstmessage.c:
6982         * gst/gstobject.c:
6983         * gst/gstobject.h:
6984         * gst/gststructure.c:
6985         * gst/gststructure.h:
6986         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6987         * gst/gstutils.h:
6989 2005-04-24  David Schleef  <ds@schleef.org>
6991         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6992         make the regressions tests work.  Remove some code that is no
6993         longer true.
6994         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6995         Disable warning for pads without templates.
6997 2005-04-24  David Schleef  <ds@schleef.org>
6999         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
7000         functions that handle filtered links.
7001         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7002         removed functions.
7003         * gst/gstutils.c: Fix/remove utility functions that handle
7004         filtered caps.
7005         * gst/gstutils.h:
7006         * gst/gstvalue.c: Add serialization/deserialization of caps
7007         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
7008         requires fixing so that the filter caps notation creates
7009         a capsfilter element and sets the filter_caps property.  I
7010         think everyone probably wants to keep the shorthand notation.
7011         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7012         * docs/gst/tmpl/gstpad.sgml:
7014         * gst/elements/gstelements.c: Register capsfilter element.
7015         * gst/Makefile.am: fix spacing
7016         * docs/random/ds/0.9-suggested-changes: random
7018 2005-04-23  David Schleef  <ds@schleef.org>
7020         * gst/elements/Makefile.am:
7021         * gst/elements/gstcapsfilter.c: New element that acts like an
7022         identity, but filters caps.  Will eventually replace filtered
7023         caps in pad linking.
7024         * gst/gstutils.c: (gst_element_create_all_pads): New function
7025         to create all the ALWAYS pads that are registered with an
7026         element class.  This functionality should eventually be
7027         merged in with GstElement initialization.
7028         * gst/gstutils.h:
7029         * testsuite/trigger/README: part of trigger test code that should
7030         have been checked in a long time ago.
7032 2005-04-23  David Schleef  <ds@schleef.org>
7034         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
7035         needed with new versions of libtool (nobody will confirm this),
7036         and hard to carry around.
7037         * gst/autoplug/Makefile.am:
7038         * gst/base/Makefile.am:
7039         * gst/elements/Makefile.am:
7040         * gst/indexers/Makefile.am:
7041         * gst/schedulers/Makefile.am:
7042         * libs/gst/bytestream/Makefile.am:
7043         * libs/gst/control/Makefile.am:
7044         * libs/gst/dataprotocol/Makefile.am:
7045         * libs/gst/getbits/Makefile.am:
7047 2005-04-21  Wim Taymans  <wim@fluendo.com>
7049         * docs/design/draft-push-pull.txt:
7050         * docs/design/part-MT-refcounting.txt:
7051         * docs/design/part-TODO.txt:
7052         * docs/design/part-caps.txt:
7053         * docs/design/part-events.txt:
7054         * docs/design/part-gstbus.txt:
7055         * docs/design/part-gstpipeline.txt:
7056         * docs/design/part-messages.txt:
7057         * docs/design/part-push-pull.txt:
7058         * docs/design/part-query.txt:
7059         Some more docs.
7061 2005-04-21  Wim Taymans  <wim@fluendo.com>
7063         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7064         (gst_message_new), (gst_message_new_error),
7065         (gst_message_new_warning), (gst_message_new_tag),
7066         (gst_message_new_state_changed), (gst_message_new_application),
7067         (gst_message_get_structure):
7068         * gst/gstmessage.h:
7069         * gst/gststructure.c: (gst_structure_set_parent_refcount),
7070         (gst_structure_copy_conditional):
7071         Use parent refcount in GstMessage to ensure GstStructure
7072         consistency.
7073         Cleaned up headers a bit.
7074         
7076 2005-04-20  Wim Taymans  <wim@fluendo.com>
7078         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7079         (gst_basesink_pad_getcaps), (gst_basesink_init),
7080         (gst_basesink_chain_unlocked):
7081         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7082         (gst_type_find_helper):
7083         * gst/elements/gsttypefindelement.c:
7084         (gst_type_find_element_have_type), (gst_type_find_element_init),
7085         (stop_typefinding), (gst_type_find_element_handle_event),
7086         (find_suggest), (gst_type_find_element_chain),
7087         (gst_type_find_element_checkgetrange),
7088         (gst_type_find_element_getrange), (do_typefind),
7089         (gst_type_find_element_activate):
7090         * gst/gstbuffer.c: (_gst_buffer_sub_free),
7091         (gst_buffer_default_free), (gst_buffer_default_copy),
7092         (gst_buffer_set_caps):
7093         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7094         (gst_caps_replace):
7095         * gst/gstmessage.c: (gst_message_new),
7096         (gst_message_new_state_changed):
7097         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7098         (gst_pad_set_checkgetrange_function),
7099         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7100         (gst_pad_set_caps), (gst_pad_check_pull_range),
7101         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7102         * gst/gstpad.h:
7103         * gst/gsttypefind.c: (gst_type_find_register):
7104         Make gst_caps_replace() work like other _replace() functions.
7105         Use _caps_replace() where possible.
7106         Make sure _message_new() initialises its field.
7107         Add gst_static_pad_template_get_caps()
7110 2005-04-18  Andy Wingo  <wingo@pobox.com>
7112         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7113         on the peer, not the pad. I think that was a typo. Pass an extra
7114         arg to see if random access is possible. Activate the pads as
7115         PULL_RANGE if possible.
7117         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7119         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
7120         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7121         to PROP_....
7123 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7125         * docs/faq/using.xml:
7126           Add note on gstreamer-properties (#154996).
7128 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7130         * docs/random/bbb/optional-properties:
7131           Some analysis on optional properties.
7133 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7135         * docs/gst/tmpl/gstelementfactory.sgml:
7136         * gst/gstelement.h:
7137         * gst/gstelementfactory.c: (gst_element_factory_init),
7138         (gst_element_factory_cleanup), (gst_element_register),
7139         (__gst_element_factory_add_static_pad_template),
7140         (gst_element_factory_get_static_pad_templates),
7141         (gst_element_factory_can_src_caps),
7142         (gst_element_factory_can_sink_caps):
7143         * gst/registries/Makefile.am:
7144         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7145         (gst_xml_registry_class_init), (gst_xml_registry_init),
7146         (gst_xml_registry_new), (gst_xml_registry_set_property),
7147         (gst_xml_registry_get_property), (get_time), (make_dir),
7148         (gst_xml_registry_get_perms_func),
7149         (plugin_times_older_than_recurse), (plugin_times_older_than),
7150         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7151         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7152         (add_to_char_array), (read_string), (read_uint), (read_enum),
7153         (load_pad_template), (load_feature), (load_plugin), (load_paths),
7154         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7155         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7156         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7157         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7158         (gst_xml_registry_rebuild):
7159         * gst/registries/gstlibxmlregistry.h:
7160         * tools/gst-compprep.c: (main):
7161         * tools/gst-inspect.c: (print_pad_templates_info):
7162         * tools/gst-xmlinspect.c: (print_element_info):
7163           Use libxml2 for registry parsing, use staticpadtemplates in
7164           elementfactories. Makes gst_init() +/- 10x faster.
7166 2005-04-12  Wim Taymans  <wim@fluendo.com>
7168         * gst/base/Makefile.am:
7169         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7170         (gst_basesink_pad_getcaps), (gst_basesink_init),
7171         (gst_basesink_event), (gst_basesink_change_state):
7172         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7173         (gst_basesrc_init), (gst_basesrc_query),
7174         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7175         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7176         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7177         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7178         (gst_basesrc_stop), (gst_basesrc_activate),
7179         (gst_basesrc_change_state):
7180         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7181         (helper_find_suggest), (gst_type_find_helper):
7182         * gst/base/gsttypefindhelper.h:
7183         * gst/elements/Makefile.am:
7184         * gst/elements/gstelements.c:
7185         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7186         (gst_fakesink_get_times), (gst_fakesink_event),
7187         (gst_fakesink_preroll), (gst_fakesink_render):
7188         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7189         (gst_fakesrc_init), (gst_fakesrc_event_handler),
7190         (gst_fakesrc_get_property), (gst_fakesrc_create),
7191         (gst_fakesrc_start), (gst_fakesrc_stop):
7192         * gst/elements/gstfakesrc.h:
7193         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7194         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7195         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7196         (gst_filesrc_create_read), (gst_filesrc_create),
7197         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7198         (gst_filesrc_start):
7199         * gst/elements/gsttypefindelement.c:
7200         (gst_type_find_element_have_type), (gst_type_find_element_init),
7201         (start_typefinding), (stop_typefinding), (push_buffer_store),
7202         (gst_type_find_element_handle_event),
7203         (gst_type_find_element_chain),
7204         (gst_type_find_element_checkgetrange),
7205         (gst_type_find_element_getrange), (do_typefind),
7206         (gst_type_find_element_activate),
7207         (gst_type_find_element_change_state):
7208         * gst/elements/gsttypefindelement.h:
7209         * gst/gstpipeline.c: (pipeline_bus_handler):
7210         Added typefind helper.
7211         Small preroll fix in the base sink.
7212         Disable typefind code in basesrc.
7213         Crude port of typefindelement.
7214         Fakesrc cleanups.
7217 2005-04-11  Wim Taymans  <wim@fluendo.com>
7219         * check/gst/gstbus.c: (gstbus_suite):
7220         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7221         * check/gstcheck.h:
7222           Fix up the timeout so that the test does not fail.
7224 2005-04-06  Wim Taymans  <wim@fluendo.com>
7226         * gst/base/README:
7227         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7228         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7229         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7230         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7231         (gst_basesrc_check_get_range), (gst_basesrc_loop),
7232         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7233         (gst_basesrc_stop), (gst_basesrc_activate),
7234         (gst_basesrc_change_state), (basesrc_find_peek),
7235         (basesrc_find_suggest), (gst_basesrc_type_find):
7236         * gst/base/gstbasesrc.h:
7237         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7238         (gst_filesrc_class_init), (gst_filesrc_init),
7239         (gst_filesrc_finalize), (gst_filesrc_set_location),
7240         (gst_filesrc_set_property), (gst_filesrc_get_property),
7241         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7242         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7243         (gst_filesrc_create_read), (gst_filesrc_create),
7244         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7245         * gst/elements/gstfilesrc.h:
7246         * gst/gstelement.c: (gst_element_get_state_func),
7247         (gst_element_lost_state), (gst_element_pads_activate):
7248         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7249         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7250         (gst_pad_pull_range):
7251         * gst/gstpad.h:
7252         More work on the generic source base class, implement seeking,
7253         query.
7254         Make filesrc extend the base source class.
7255         Added gst_pad_set_checkgetrange_function to GstPad.
7257 2005-04-06  Andy Wingo  <wingo@pobox.com>
7259         * pkgconfig/gstreamer-base.pc.in:
7260         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7262         * pkgconfig/Makefile.am:
7263         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7265 2005-04-04  Wim Taymans  <wim@fluendo.com>
7267         * gst/base/Makefile.am:
7268         * gst/base/README:
7269         * gst/base/gstbasesink.c: (gst_basesink_base_init),
7270         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7271         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7272         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7273         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7274         (gst_basesrc_base_init), (gst_basesrc_class_init),
7275         (gst_basesrc_init), (gst_basesrc_get_formats),
7276         (gst_basesrc_get_query_types), (gst_basesrc_query),
7277         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7278         (gst_basesrc_set_property), (gst_basesrc_get_property),
7279         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7280         (gst_basesrc_loop), (gst_basesrc_activate),
7281         (gst_basesrc_change_state):
7282         * gst/base/gstbasesrc.h:
7283         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7284         (gst_fakesrc_class_init), (gst_fakesrc_init),
7285         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7286         (gst_fakesrc_get_property), (gst_fakesrc_create):
7287         * gst/elements/gstfakesrc.h:
7288         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7289         (gst_filesrc_open_file), (gst_filesrc_loop),
7290         (gst_filesrc_activate), (filesrc_find_peek),
7291         (gst_filesrc_type_find):
7292         Made base source class, make fakesrc extend it.
7293         Add comments to basesink class.
7294         Some filesrc cleanup.
7296 2005-03-31  David Schleef  <ds@schleef.org>
7298         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7299         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7300         expected to link against libgstreamer.
7301         * gst/base/Makefile.am: link against libgstreamer
7302         * gst/elements/Makefile.am: same
7304 2005-03-31  Andy Wingo  <wingo@pobox.com>
7306         * tests/instantiate/Makefile.am:
7307         * tests/instantiate/caps.c: Add test to test speed of caps copy
7308         and free.
7310         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7311         GMemChunk to be fair.
7313         * gst/gsttrashstack.h: Remove warning about using the fallback
7314         trash stack implementation, it's still faster than malloc.
7316 2005-03-30  Andy Wingo  <wingo@pobox.com>
7318         * tests/complexity.c: Add a copyright.
7320 2005-03-31  Wim Taymans  <wim@fluendo.com>
7322         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7323         (gst_base_transform_class_init), (gst_base_transform_init),
7324         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7325         (gst_base_transform_get_property),
7326         (gst_base_transform_sink_activate),
7327         (gst_base_transform_src_activate),
7328         (gst_base_transform_change_state):
7329         * gst/base/gstbasetransform.h:
7330         * gst/elements/gstidentity.c: (gst_identity_class_init),
7331         (gst_identity_event), (gst_identity_check_perfect),
7332         (gst_identity_transform), (gst_identity_start),
7333         (gst_identity_stop):
7334         Added start/stop methods to transform base class so subclasses 
7335         don't need to deal with state changes even.
7337 2005-03-31  Wim Taymans  <wim@fluendo.com>
7339         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7340         (gst_event_new_discontinuous), (gst_event_discont_get_value):
7341         * gst/gstevent.h:
7342         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7343         (gst_pad_pull_range):
7344         Added rate to the discont event to prepare for variable speed
7345         and reverse playback.
7347 2005-03-29  David Schleef  <ds@schleef.org>
7349         * configure.ac:
7350         * testsuite/trigger/Makefile.am:
7351         * testsuite/trigger/trigger.c: A little example program to show
7352         how trigger-based elements can work.
7354 2005-03-29  Wim Taymans  <wim@fluendo.com>
7356         * gst/base/Makefile.am:
7357         * gst/base/README:
7358         * gst/base/gstbasesink.c: (gst_basesink_get_type),
7359         (gst_basesink_base_init), (gst_basesink_class_init),
7360         (gst_basesink_pad_getcaps), (gst_basesink_init),
7361         (gst_basesink_activate), (gst_basesink_change_state):
7362         * gst/base/gstbasesink.h:
7363         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7364         (gst_base_transform_base_init), (gst_base_transform_finalize),
7365         (gst_base_transform_class_init), (gst_base_transform_init),
7366         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7367         (gst_base_transform_event), (gst_base_transform_getrange),
7368         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7369         (gst_base_transform_set_property),
7370         (gst_base_transform_get_property),
7371         (gst_base_transform_sink_activate),
7372         (gst_base_transform_src_activate),
7373         (gst_base_transform_change_state):
7374         * gst/base/gstbasetransform.h:
7375         * gst/elements/gstidentity.c: (gst_identity_finalize),
7376         (gst_identity_class_init), (gst_identity_init),
7377         (gst_identity_event), (gst_identity_check_perfect),
7378         (gst_identity_transform), (gst_identity_set_property),
7379         (gst_identity_get_property), (gst_identity_change_state):
7380         * gst/elements/gstidentity.h:
7381         * gst/gstelement.c: (gst_element_get_state_func),
7382         (gst_element_lost_state), (gst_element_pads_activate):
7383         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7384         (gst_pad_check_pull_range), (gst_pad_pull_range):
7385         * gst/gstpad.h:
7386         Simplify pad activation.
7387         Added function to check if pull_range can be performed.
7388         Error out when pulling inactive or flushing pads.
7389         Removed const from refcounted types as it does not make sense.
7390         Simplify pad templates in basesink
7391         Added base class for simple 1-to-1 transforms.
7392         Make identity subclass the base transform.
7394 2005-03-29  Andy Wingo  <wingo@pobox.com>
7396         * docs/libs/gstreamer-libs-overrides.txt: 
7397         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7398         really don't understand what's going on, but like whatever. I want
7399         green buildbot!
7401         * docs/gst/Makefile.am:
7402         * docs/libs/Makefile.am: Dist the overrides files.
7404         * check/Makefile.am (clean-local): Remove .libs directories.
7406         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7407         elements to EXTRA_DIST, so po/ files are happy.
7409         * po/POTFILES.in: Er, remove it here.
7411         * po/POTFILES: Remove gstspider.c.
7413         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7415         * docs/libs/gstreamer-libs-docs.sgml: 
7416         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7417         bytestream.
7419         * tests/complexity.c (main): Set the length of the preroll queue
7420         on the sinks to prevent a lockup.
7422         * libs/gst/dataprotocol/Makefile.am: 
7423         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7424         the same as the one in check/gst-libs/gdp.c.
7426         * po/, docs/gst/: Commit automatic changes to docs and po files.
7428         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7429         the versioned libgstbase.
7431         * check/Makefile.am: Depend on an unversioned gst-register, seems
7432         to make autoconf happier.
7434         * gst/base/Makefile.am: Make libgstbase a versioned lib.
7436 2005-03-28  Wim Taymans  <wim@fluendo.com>
7438         * configure.ac:
7439         * docs/design/part-gstelement.txt:
7440         * docs/design/part-negotiation.txt:
7441         * docs/design/part-preroll.txt:
7442         * docs/design/part-scheduling.txt:
7443         * docs/design/part-states.txt:
7444         * gst/Makefile.am:
7445         * gst/base/Makefile.am:
7446         * gst/base/README:
7447         * gst/base/gstbasesink.c: (gst_basesink_get_template),
7448         (gst_basesink_base_init), (gst_basesink_class_init),
7449         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7450         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7451         (gst_basesink_set_pad_functions),
7452         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7453         (gst_basesink_set_property), (gst_basesink_get_property),
7454         (gst_base_sink_get_template), (gst_base_sink_get_caps),
7455         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7456         (gst_basesink_preroll_queue_push),
7457         (gst_basesink_preroll_queue_empty),
7458         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7459         (gst_basesink_event), (gst_basesink_get_times),
7460         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7461         (gst_basesink_chain_unlocked), (gst_basesink_chain),
7462         (gst_basesink_loop), (gst_basesink_activate),
7463         (gst_basesink_change_state):
7464         * gst/base/gstbasesink.h:
7465         * gst/elements/Makefile.am:
7466         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7467         (gst_fakesink_class_init), (gst_fakesink_init),
7468         (gst_fakesink_set_property), (gst_fakesink_get_property),
7469         (gst_fakesink_get_times), (gst_fakesink_event),
7470         (gst_fakesink_preroll), (gst_fakesink_render),
7471         (gst_fakesink_change_state):
7472         * gst/elements/gstfakesink.h:
7473         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7474         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7475         * gst/gstelement.c: (gst_element_add_pad),
7476         (gst_element_get_state_func), (gst_element_abort_state),
7477         (gst_element_commit_state), (gst_element_lost_state),
7478         (gst_element_set_state), (gst_element_pads_activate):
7479         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7480         * gst/gstpipeline.c: (gst_pipeline_send_event),
7481         (gst_pipeline_change_state):
7482         Added state change code.
7483         Added/updated docs.
7484         Added sink base class, make fakesink extend the base class.
7485         Small cleanups in GstPipeline.
7487 2005-03-26  David Schleef  <ds@schleef.org>
7489         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
7490         is broken and should be implemented in a different library.
7491         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7492         * gst/gst.h: remove gstcpu.h
7493         * gst/gstcpu.c: remove
7494         * gst/gstcpu.h: remove
7495         * gst/Makefile.am.future: Remove this file.  It's ancient.
7497 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7499         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7500         (gst_bin_send_event):
7501           Add default event/set_manager handlers. The set_manager handler
7502           takes care that the manager is distributed over kids that were
7503           already in the bin before the manager was set. The event handler
7504           is a utility virtual function that sends the event over all sinks,
7505           so that gst_element_send_event (bin, event); has the expected
7506           behaviour.
7507         * gst/gstpad.c: (gst_pad_event_default):
7508           Re-install default event handling for discontinuities, so that
7509           seeking works without requiring hacks in applications or extra
7510           code in sinks.
7511         * gst/gstpipeline.c: (gst_pipeline_class_init),
7512         (gst_pipeline_send_event):
7513           Half hack, half utility: set a pipeline to PAUSED for seek events,
7514           since that is the only way we can guarantee a/v sync. Means that
7515           you can do gst_element_seek (pipeline, method, pos); on a pipeline
7516           and it "just works".
7518 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7520         * gst/gstpipeline.c: (gst_pipeline_use_clock):
7521           Lock/unlock mismatch.
7523 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7525         * docs/faq/gst-uninstalled:
7526           add gst-plugins-base
7527         * docs/gst/Makefile.am:
7528           don't error out until docs are fixed
7529         * docs/gst/gstreamer.types:
7530           remove thread
7532 2005-03-22  Wim Taymans  <wim@fluendo.com>
7534         * check/Makefile.am:
7535         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7536         * gst/gststructure.c: (gst_structure_set_valist),
7537         (gst_structure_copy_conditional):
7538         Activated more tests.
7539         Added message test.
7540         Added G_TYPE_POINTER to GstStructure.
7541         
7543 2005-03-22  Wim Taymans  <wim@fluendo.com>
7545         * docs/design/part-TODO.txt:
7546         * docs/design/part-events.txt:
7547         * docs/design/part-gstbin.txt:
7548         * docs/design/part-gstbus.txt:
7549         * docs/design/part-gstpipeline.txt:
7550         * docs/design/part-messages.txt:
7551         * gst/gstbus.c:
7552         * gst/gstmessage.c:
7553         Docs updates
7555 2005-03-21  Wim Taymans  <wim@fluendo.com>
7557         * gst/gstbus.c: (gst_bus_post):
7558         Fix copy-and-paste error.
7560 2005-03-21  Wim Taymans  <wim@fluendo.com>
7562         * check/Makefile.am:
7563         * gst/Makefile.am:
7564         * gst/elements/Makefile.am:
7565         * gst/elements/gstelements.c:
7566         * gst/elements/gstfakesink.c: (gst_fakesink_init),
7567         (gst_fakesink_event), (gst_fakesink_chain):
7568         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7569         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7570         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7571         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7572         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7573         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7574         (gst_fakesrc_loop), (gst_fakesrc_activate),
7575         (gst_fakesrc_change_state):
7576         * gst/elements/gstfakesrc.h:
7577         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7578         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7579         (gst_filesrc_open_file), (gst_filesrc_loop),
7580         (gst_filesrc_activate), (gst_filesrc_change_state),
7581         (filesrc_find_peek), (filesrc_find_suggest),
7582         (gst_filesrc_type_find):
7583         * gst/elements/gstidentity.c: (gst_identity_finalize),
7584         (gst_identity_class_init), (gst_identity_init),
7585         (gst_identity_proxy_getcaps), (identity_queue_push),
7586         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7587         (gst_identity_getrange), (gst_identity_chain),
7588         (gst_identity_sink_loop), (gst_identity_src_loop),
7589         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7590         (gst_identity_set_property), (gst_identity_get_property),
7591         (gst_identity_change_state):
7592         * gst/elements/gstidentity.h:
7593         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7594         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7595         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7596         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7597         (gst_tee_sink_activate):
7598         * gst/elements/gsttee.h:
7599         * gst/gst.c: (gst_register_core_elements), (init_post):
7600         * gst/gst.h:
7601         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7602         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7603         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7604         (gst_bin_change_state):
7605         * gst/gstbin.h:
7606         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7607         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7608         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7609         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7610         (gst_bus_set_sync_handler), (gst_bus_create_watch),
7611         (bus_watch_callback), (bus_watch_destroy),
7612         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7613         (poll_timeout), (gst_bus_poll):
7614         * gst/gstbus.h:
7615         * gst/gstcaps.h:
7616         * gst/gstdata.h:
7617         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7618         (gst_element_post_message), (gst_element_message_full),
7619         (gst_element_get_state_func), (gst_element_get_state),
7620         (gst_element_abort_state), (gst_element_commit_state),
7621         (gst_element_lost_state), (gst_element_set_state),
7622         (gst_element_pads_activate), (gst_element_change_state),
7623         (gst_element_dispose), (gst_element_set_manager_func),
7624         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7625         (gst_element_set_manager), (gst_element_get_manager),
7626         (gst_element_set_bus), (gst_element_get_bus),
7627         (gst_element_set_scheduler), (gst_element_get_scheduler):
7628         * gst/gstelement.h:
7629         * gst/gstevent.c: (gst_event_new_segment_seek),
7630         (gst_event_new_flush):
7631         * gst/gstevent.h:
7632         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7633         (_gst_message_free), (gst_message_get_type), (gst_message_new),
7634         (gst_message_new_eos), (gst_message_new_error),
7635         (gst_message_new_warning), (gst_message_new_tag),
7636         (gst_message_new_state_changed), (gst_message_new_application),
7637         (gst_message_get_structure), (gst_message_parse_tag),
7638         (gst_message_parse_state_changed), (gst_message_parse_error),
7639         (gst_message_parse_warning):
7640         * gst/gstmessage.h:
7641         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7642         (gst_real_pad_set_property), (gst_pad_set_active),
7643         (gst_pad_is_active), (gst_pad_set_blocked_async),
7644         (gst_pad_set_blocked), (gst_pad_is_blocked),
7645         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7646         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7647         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7648         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7649         (gst_pad_link_filtered), (gst_pad_relink_filtered),
7650         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7651         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7652         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7653         (gst_pad_set_caps), (gst_pad_configure_sink),
7654         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7655         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7656         (gst_real_pad_dispose), (gst_real_pad_finalize),
7657         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7658         (gst_pad_event_default_dispatch), (gst_pad_event_default),
7659         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7660         * gst/gstpad.h:
7661         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7662         (pipeline_bus_handler), (gst_pipeline_change_state),
7663         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7664         * gst/gstpipeline.h:
7665         * gst/gstprobe.h:
7666         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7667         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7668         (gst_queue_link_src), (gst_queue_bufferalloc),
7669         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7670         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7671         (gst_queue_loop), (gst_queue_handle_src_event),
7672         (gst_queue_handle_src_query), (gst_queue_src_activate),
7673         (gst_queue_change_state):
7674         * gst/gstqueue.h:
7675         * gst/gstscheduler.c: (gst_scheduler_init),
7676         (gst_scheduler_dispose), (gst_scheduler_create_task),
7677         (gst_scheduler_factory_create):
7678         * gst/gstscheduler.h:
7679         * gst/gststructure.c: (gst_structure_get_type),
7680         (gst_structure_copy_conditional):
7681         * gst/gststructure.h:
7682         * gst/gsttaginterface.h:
7683         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7684         (gst_task_init), (gst_task_dispose), (gst_task_create),
7685         (gst_task_get_state), (gst_task_start), (gst_task_stop),
7686         (gst_task_pause):
7687         * gst/gsttask.h:
7688         * gst/gstthread.c:
7689         * gst/gstthread.h:
7690         * gst/gsttypes.h:
7691         * gst/schedulers/Makefile.am:
7692         * gst/schedulers/cothreads_compat.h:
7693         * gst/schedulers/entryscheduler.c:
7694         * gst/schedulers/faircothreads.c:
7695         * gst/schedulers/faircothreads.h:
7696         * gst/schedulers/fairscheduler.c:
7697         * gst/schedulers/gstbasicscheduler.c:
7698         * gst/schedulers/gstoptimalscheduler.c:
7699         * gst/schedulers/gthread-cothreads.h:
7700         * gst/schedulers/threadscheduler.c:
7701         (gst_thread_scheduler_task_get_type),
7702         (gst_thread_scheduler_task_class_init),
7703         (gst_thread_scheduler_task_init),
7704         (gst_thread_scheduler_task_start),
7705         (gst_thread_scheduler_task_stop),
7706         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7707         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7708         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7709         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7710         (plugin_init):
7711         * libs/gst/Makefile.am:
7712         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7713         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7714         (gst_file_pad_parent_set):
7715         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7716         (gst_dp_event_from_packet):
7717         * tests/complexity.c: (main):
7718         * tests/mass_elements.c: (main):
7719         * testsuite/states/locked.c: (message_received), (main):
7720         * testsuite/states/parent.c: (main):
7721         * tools/gst-inspect.c: (print_element_flag_info),
7722         (print_implementation_info), (print_pad_info):
7723         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7724         (main):
7725         * tools/gst-md5sum.c: (event_loop), (main):
7726         * tools/gst-typefind.c: (main):
7727         * tools/gst-xmlinspect.c: (print_element_info):
7728         Next big merge.
7729         Added GstBus for mainloop integration.
7730         Added GstMessage for sending notifications on the bus.
7731         Added GstTask as an abstraction for pipeline entry points.
7732         Removed GstThread.
7733         Removed Schedulers.
7734         Simplified GstQueue for multithreaded core.
7735         Made _link threadsafe, removed old capsnego.
7736         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7737         Added pad blocking functions.
7738         Reworked scheduling functions in GstPad to prepare for
7739         scheduling updates soon.
7740         Moved events out of data stream.
7741         Simplified GstEvent types.
7742         Added return values to push/pull.
7743         Removed clocking from GstElement.
7744         Added prototypes for state change function for next merge.
7745         Removed iterate from bins and state change management.
7746         Fixed some elements, disabled others for now.
7747         Fixed -inspect and -launch.
7748         Added check for GstBus.
7750 2005-03-10  Wim Taymans  <wim@fluendo.com>
7752         * docs/design/part-MT-refcounting.txt:
7753         * docs/design/part-clocks.txt:
7754         * docs/design/part-gstelement.txt:
7755         * docs/design/part-gstobject.txt:
7756         * docs/design/part-standards.txt:
7757         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7758         (gst_bin_remove_func), (gst_bin_remove):
7759         * gst/gstbin.h:
7760         * gst/gstbuffer.c:
7761         * gst/gstcaps.h:
7762         * testsuite/clock/clock1.c: (main):
7763         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7764         (main):
7765         * testsuite/dlopen/loadgst.c: (do_test):
7766         * testsuite/refcounting/bin.c: (add_remove_test1),
7767         (add_remove_test2), (main):
7768         * testsuite/refcounting/element.c: (main):
7769         * testsuite/refcounting/element_pad.c: (main):
7770         * testsuite/refcounting/pad.c: (main):
7771         * tools/gst-launch.c: (sigint_handler_sighandler):
7772         * tools/gst-typefind.c: (main):
7773         Doc updates.
7774         Added doc about clock.
7775         removed gst_bin_iterate_recurse_up(), marked methods
7776         for removal.
7777         Fix more testsuites.
7779 2005-03-09  Wim Taymans  <wim@fluendo.com>
7781         * gst/gstpad.c: (gst_pad_get_direction),
7782         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7783         (gst_pad_collect_valist):
7784         * testsuite/bins/interface.c: (main):
7785         * testsuite/caps/audioscale.c: (test_caps):
7786         * testsuite/caps/caps.c: (test1), (test2), (test3):
7787         * testsuite/caps/deserialize.c: (main):
7788         * testsuite/caps/enumcaps.c: (main):
7789         * testsuite/caps/filtercaps.c: (main):
7790         * testsuite/caps/intersect2.c: (main):
7791         * testsuite/caps/random.c: (main):
7792         * testsuite/caps/renegotiate.c: (my_fixate), (main):
7793         * testsuite/caps/sets.c: (check_caps):
7794         * testsuite/caps/simplify.c: (check_caps), (main):
7795         * testsuite/caps/subtract.c: (check_caps):
7796         Fix _pad_get_direction wrt ghostpads.
7797         Fix caps testsuite.
7799 2005-03-09  Wim Taymans  <wim@fluendo.com>
7801         * check/Makefile.am:
7802         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7803         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7804         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7805         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7806         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7807         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7808         (gst_bin_remove), (gst_bin_iterate_recurse_up),
7809         (bin_element_is_sink), (gst_bin_iterate_sinks),
7810         (gst_bin_iterate_all_by_interface):
7811         * gst/gstbin.h:
7812         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7813         (gst_element_change_state), (gst_element_dispose),
7814         (gst_element_finalize), (gst_element_set_loop_function):
7815         * gst/gstelement.h:
7816         * gst/gstiterator.c: (find_custom_fold_func):
7817         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7818         (gst_pad_collectv), (gst_pad_collect_valist),
7819         (gst_pad_template_new):
7820         * gst/gstpipeline.c: (gst_pipeline_class_init),
7821         (gst_pipeline_dispose), (gst_pipeline_set_property),
7822         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7823         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7824         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7825         * gst/gstutils.h:
7826         * gst/schedulers/entryscheduler.c:
7827         * gst/schedulers/gstbasicscheduler.c:
7828         (gst_basic_scheduler_cothreaded_chain),
7829         (gst_basic_scheduler_chain_add_element):
7830         * testsuite/bins/interface.c: (main):
7831         Added GstBin test.
7832         Added GstSystemClock test.
7833         Implemented clock distribution code in GstBin.
7834         Implemented iterate sinks method for future use.
7835         Rearranged gstelement.h
7836         Fix GstIterator comparison bug.
7837         Moved some code to GstPipeline, mostly clocking related.
7839 2005-03-09  Wim Taymans  <wim@fluendo.com>
7841         * configure.ac:
7842         * gst/gst_private.h:
7843         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7844         (gst_bin_remove_func), (gst_bin_remove),
7845         (gst_bin_get_by_name_recurse_up):
7846         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7847         (gst_clock_id_compare_func), (gst_clock_id_wait),
7848         (gst_clock_id_wait_async), (gst_clock_init),
7849         (gst_clock_adjust_unlocked), (gst_clock_get_time):
7850         * gst/gstelement.h:
7851         * gst/gstinfo.c: (_gst_debug_init):
7852         * gst/gstobject.h:
7853         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7854         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7855         * gst/gstpad.h:
7856         Bump version number, we're now 0.9.0
7857         Add future debugging category.
7858         Fix NULL _unref() in _get_by_name_recurse_up
7859         Rearrange gstpad.h.
7860         Update some docs.
7862 2005-03-08  Wim Taymans  <wim@fluendo.com>
7864         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7865         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7866         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7867         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7868         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7869         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7870         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7871         * gst/elements/gstidentity.c: (gst_identity_class_init):
7872         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7873         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7874         * gst/elements/gstshaper.c: (gst_shaper_class_init):
7875         * gst/elements/gststatistics.c: (gst_statistics_class_init):
7876         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7877         (gst_tee_link):
7878         * gst/gstelement.c: (gst_element_class_init),
7879         (gst_element_base_class_init), (gst_element_init),
7880         (gst_element_get_random_pad), (gst_element_wait_state_change),
7881         (gst_element_change_state), (gst_element_dispose),
7882         (gst_element_finalize), (gst_element_set_loop_function):
7883         * gst/gstelement.h:
7884         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7885         * gst/gstthread.c: (gst_thread_class_init),
7886         (gst_thread_release_children_locks), (gst_thread_change_state):
7887         * gst/schedulers/gstbasicscheduler.c:
7888         (gst_basic_scheduler_loopfunc_wrapper),
7889         (gst_basic_scheduler_chain_wrapper),
7890         (gst_basic_scheduler_src_wrapper),
7891         (gst_basic_scheduler_remove_element):
7892         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7893         Remove threadsafe properties. Fix elements because GObject
7894         complains when installing a property before declaring a
7895         set/get_property handler.
7896         Rearrange gstelement.h file, use STATE macros for state locks.
7897         Free mutexes in the finalize method instead of dispose.
7899 2005-03-08  Wim Taymans  <wim@fluendo.com>
7901         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7902         * gst/gstthread.c: (gst_thread_release_children_locks):
7903         Added parentage check.
7904         Fix build og GstThread again.
7906 2005-03-08  Wim Taymans  <wim@fluendo.com>
7908         * docs/design/part-MT-refcounting.txt:
7909         * docs/design/part-conventions.txt:
7910         * docs/design/part-gstobject.txt:
7911         * docs/design/part-relations.txt:
7912         * docs/design/part-standards.txt:
7913         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7914         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7915         (gst_bin_get_by_name), (gst_bin_get_by_interface),
7916         (gst_bin_iterate_all_by_interface):
7917         * gst/gstbuffer.h:
7918         * gst/gstclock.h:
7919         * gst/gstelement.c: (gst_element_class_init),
7920         (gst_element_change_state), (gst_element_set_loop_function):
7921         * gst/gstelement.h:
7922         * gst/gstiterator.c:
7923         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7924         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7925         (gst_object_dispatch_properties_changed), (gst_object_set_name),
7926         (gst_object_set_parent), (gst_object_unparent),
7927         (gst_object_check_uniqueness):
7928         * gst/gstobject.h:
7929         Docs updates, clean up some headers.
7931 2005-03-07  Wim Taymans  <wim@fluendo.com>
7933         * check/.cvsignore:
7934         * check/Makefile.am:
7935         * check/gst-libs/.cvsignore:
7936         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7937         * check/gst/.cvsignore:
7938         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7939         (START_TEST), (gstbus_suite), (main):
7940         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7941         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7942         (gst_data_suite), (main):
7943         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7944         (add_fold_func), (gstiterator_suite), (main):
7945         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7946         (thread_name_object), (thread_name_object_default),
7947         (gst_object_name_compare), (gst_object_suite), (main):
7948         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7949         (gst_pad_suite), (main):
7950         * check/gstcheck.c: (gst_check_log_message_func),
7951         (gst_check_log_critical_func), (gst_check_init):
7952         * check/gstcheck.h:
7953         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7954         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7955         Added checks.
7957 2005-03-07  Wim Taymans  <wim@fluendo.com>
7959         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7960         (gst_list_iterator_next), (gst_list_iterator_resync),
7961         (gst_list_iterator_free), (gst_iterator_new_list),
7962         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7963         (gst_iterator_free), (gst_iterator_push), (filter_next),
7964         (filter_resync), (filter_uninit), (filter_free),
7965         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7966         (gst_iterator_foreach), (find_custom_fold_func),
7967         (gst_iterator_find_custom):
7968         * gst/gstiterator.h:
7969         Added missing files.
7971 2005-03-07  Wim Taymans  <wim@fluendo.com>
7973         * Makefile.am:
7974         * configure.ac:
7975         * docs/design/part-MT-refcounting.txt:
7976         * docs/design/part-conventions.txt:
7977         * docs/design/part-gstobject.txt:
7978         * docs/design/part-relations.txt:
7979         * examples/mixer/mixer.c: (main):
7980         * examples/thread/thread.c: (eos), (main):
7981         * gst/Makefile.am:
7982         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7983         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7984         (gst_spider_plug_from_srcpad):
7985         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7986         (gst_spider_identity_change_state),
7987         (gst_spider_identity_sink_loop_type_finding):
7988         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7989         * gst/elements/gstidentity.c: (gst_identity_init):
7990         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7991         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7992         * gst/elements/gsttypefindelement.c: (free_entry):
7993         * gst/gst.c:
7994         * gst/gst.h:
7995         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7996         (gst_bin_set_clock_func), (gst_bin_auto_clock),
7997         (gst_bin_set_index), (gst_bin_set_element_sched),
7998         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7999         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8000         (gst_bin_iterate_elements), (iterate_child_recurse),
8001         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8002         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8003         (compare_interface), (gst_bin_get_by_interface),
8004         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8005         * gst/gstbin.h:
8006         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8007         (gst_buffer_default_free), (gst_buffer_default_copy),
8008         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8009         (gst_buffer_create_sub):
8010         * gst/gstbuffer.h:
8011         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8012         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8013         (gst_caps_unref), (gst_static_caps_get),
8014         (gst_caps_remove_and_get_structure), (gst_caps_append),
8015         (gst_caps_append_structure), (gst_caps_remove_structure),
8016         (gst_caps_copy_nth), (gst_caps_set_simple),
8017         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8018         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8019         (gst_caps_structure_intersect_field), (gst_caps_intersect),
8020         (gst_caps_structure_subtract_field), (gst_caps_subtract),
8021         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8022         (gst_caps_structure_figure_out_union),
8023         (gst_caps_switch_structures), (gst_caps_do_simplify),
8024         (gst_caps_replace), (gst_caps_from_string),
8025         (gst_caps_copy_conditional):
8026         * gst/gstcaps.h:
8027         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8028         (_gst_clock_id_free), (gst_clock_id_unref),
8029         (gst_clock_id_compare_func), (gst_clock_id_wait),
8030         (gst_clock_id_wait_async), (gst_clock_class_init),
8031         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8032         (gst_clock_get_time), (gst_clock_set_time_adjust),
8033         (gst_clock_set_property), (gst_clock_get_property):
8034         * gst/gstclock.h:
8035         * gst/gstcompat.h:
8036         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8037         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8038         * gst/gstdata.h:
8039         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8040         (gst_element_requires_clock), (gst_element_provides_clock),
8041         (gst_element_set_clock), (gst_element_clock_wait),
8042         (gst_element_wait), (gst_element_set_time_delay),
8043         (gst_element_is_indexable), (gst_element_add_pad),
8044         (gst_element_add_ghost_pad), (gst_element_remove_pad),
8045         (pad_compare_name), (gst_element_get_static_pad),
8046         (gst_element_request_pad), (gst_element_get_request_pad),
8047         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8048         (gst_element_class_get_pad_template_list),
8049         (gst_element_class_get_pad_template), (gst_element_error_func),
8050         (gst_element_get_random_pad), (gst_element_get_event_masks),
8051         (gst_element_send_event), (gst_element_seek),
8052         (gst_element_get_query_types), (gst_element_query),
8053         (gst_element_get_formats), (gst_element_convert),
8054         (gst_element_is_locked_state), (gst_element_set_locked_state),
8055         (gst_element_sync_state_with_parent), (gst_element_change_state),
8056         (gst_element_finalize), (gst_element_yield),
8057         (gst_element_interrupt), (gst_element_set_scheduler),
8058         (gst_element_get_scheduler), (gst_element_set_loop_function):
8059         * gst/gstelement.h:
8060         * gst/gstevent.h:
8061         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8062         (gst_format_get_by_nick), (gst_format_get_details),
8063         (gst_format_iterate_definitions):
8064         * gst/gstformat.h:
8065         * gst/gstindex.c: (gst_index_gtype_resolver):
8066         * gst/gstinfo.c:
8067         * gst/gstinfo.h:
8068         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8069         (gst_mem_chunk_free):
8070         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8071         (gst_object_ref), (gst_object_unref), (gst_object_sink),
8072         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8073         (gst_object_dispatch_properties_changed),
8074         (gst_object_set_name_default), (gst_object_set_name),
8075         (gst_object_get_name), (gst_object_set_name_prefix),
8076         (gst_object_get_name_prefix), (gst_object_set_parent),
8077         (gst_object_get_parent), (gst_object_unparent),
8078         (gst_object_check_uniqueness), (gst_object_save_thyself),
8079         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8080         (gst_object_set_property), (gst_object_get_property),
8081         (gst_object_get_path_string):
8082         * gst/gstobject.h:
8083         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8084         (gst_real_pad_init), (gst_real_pad_get_property),
8085         (gst_pad_custom_new), (gst_pad_get_direction),
8086         (gst_pad_set_active), (gst_pad_is_active),
8087         (gst_pad_set_event_function), (gst_pad_is_linked),
8088         (gst_pad_link_free), (gst_pad_link_intersect),
8089         (gst_pad_link_fixate), (gst_pad_set_caps),
8090         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8091         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8092         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8093         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8094         (gst_pad_get_caps), (gst_pad_peer_get_caps),
8095         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8096         (gst_pad_realize), (gst_pad_get_allowed_caps),
8097         (gst_real_pad_dispose), (gst_real_pad_finalize),
8098         (gst_pad_collectv), (gst_pad_collect_valist),
8099         (gst_pad_template_dispose), (gst_pad_template_new),
8100         (gst_pad_get_internal_links):
8101         * gst/gstpad.h:
8102         * gst/gstpipeline.c: (gst_pipeline_dispose),
8103         (gst_pipeline_change_state):
8104         * gst/gstpipeline.h:
8105         * gst/gstplugin.c:
8106         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8107         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8108         * gst/gstpluginfeature.h:
8109         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8110         * gst/gstquery.c: (_gst_query_type_initialize),
8111         (gst_query_type_register), (gst_query_type_get_by_nick),
8112         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8113         * gst/gstquery.h:
8114         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8115         * gst/gstscheduler.c: (gst_scheduler_add_element),
8116         (gst_scheduler_factory_create):
8117         * gst/gststructure.c: (gst_structure_set_parent_refcount),
8118         (gst_structure_free), (gst_structure_set_name),
8119         (gst_structure_id_set_value), (gst_structure_set_value),
8120         (gst_structure_set_valist), (gst_structure_remove_field),
8121         (gst_structure_remove_fields),
8122         (gst_structure_remove_fields_valist),
8123         (gst_structure_remove_all_fields), (gst_structure_foreach),
8124         (gst_structure_map_in_place),
8125         (gst_caps_structure_fixate_field_nearest_int),
8126         (gst_caps_structure_fixate_field_nearest_double):
8127         * gst/gststructure.h:
8128         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8129         (gst_system_clock_init), (gst_system_clock_dispose),
8130         (gst_system_clock_async_thread),
8131         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8132         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8133         * gst/gstsystemclock.h:
8134         * gst/gsttag.c: (gst_tag_list_add_value_internal),
8135         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8136         * gst/gsttaginterface.c:
8137         * gst/gstthread.c: (gst_thread_dispose),
8138         (gst_thread_release_children_locks), (gst_thread_change_state),
8139         (gst_thread_main_loop):
8140         * gst/gsttrashstack.h:
8141         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8142         * gst/gsttypes.h:
8143         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8144         (gst_element_request_pad), (gst_element_get_pad_from_template),
8145         (gst_element_request_compatible_pad),
8146         (gst_element_get_compatible_pad_filtered),
8147         (gst_element_get_compatible_pad), (gst_element_state_get_name),
8148         (gst_element_link_pads_filtered), (gst_element_link_filtered),
8149         (gst_element_link_many), (gst_element_link),
8150         (gst_element_link_pads), (gst_element_unlink_pads),
8151         (gst_element_unlink_many), (gst_element_unlink),
8152         (gst_pad_can_link_filtered), (gst_pad_can_link),
8153         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8154         (gst_object_default_error), (gst_bin_add_many),
8155         (gst_bin_remove_many), (gst_element_populate_std_props),
8156         (gst_element_class_install_std_props), (gst_buffer_merge),
8157         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8158         (link_fold_func), (gst_pad_proxy_setcaps):
8159         * gst/gstutils.h:
8160         * gst/gstvalue.c: (gst_value_deserialize_string):
8161         * gst/parse/grammar.y:
8162         * gst/schedulers/gstbasicscheduler.c:
8163         (gst_basic_scheduler_cothreaded_chain),
8164         (gst_basic_scheduler_chain_recursive_add),
8165         (gst_basic_scheduler_pad_link):
8166         * gst/schedulers/gstoptimalscheduler.c:
8167         (get_group_schedule_function),
8168         (gst_opt_scheduler_state_transition),
8169         (gst_opt_scheduler_add_element), (element_get_reachables_func):
8170         * libs/gst/bytestream/bytestream.c:
8171         * libs/gst/dataprotocol/dataprotocol.c:
8172         (gst_dp_header_from_buffer):
8173         * po/nb.po:
8174         * po/ru.po:
8175         * tests/threadstate/threadstate2.c: (eos):
8176         * tools/gst-compprep.c: (main):
8177         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8178         (print_pad_info), (print_children_info):
8179         * tools/gst-launch.c: (idle_func), (main):
8180         * tools/gst-md5sum.c: (idle_func), (main):
8181         * tools/gst-xmlinspect.c: (print_element_info):
8182         First THREADED backport attempt, focusing on adding locks and
8183         making sure the API is threadsafe. Needs more work. More docs
8184         follow this week.
8186 2005-02-24  Andy Wingo  <wingo@pobox.com>
8188         * tests/bench-complexity.scm:
8189         * tests/complexity.gnuplot: New files, good for running complexity
8190         benchmarks.
8192         * tests/Makefile.am:
8193         * tests/complexity.c: New test, sets up N elements, at each level
8194         teeing into M streams per element. Eeeenteresting.
8196         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8197         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8198         running bench-mass_elements.scm.
8200         * tests/bench-mass_elements.scm: New script, runs mass_elements
8201         for various numbers of identities, outputting the results to a
8202         file. Requires guile 1.6. Just for testing.
8204 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8206         * gst/schedulers/fairscheduler.c:
8207           compile with debug disabled
8209 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8211         * configure.ac:
8212           hunting season on 0.9 is now OPEN